source: projects/specs/trunk/q/qhull/qhull-vl.spec @ 10164

Revision 10164, 2.9 KB checked in by ara_t, 8 years ago (diff)

add Provides:libqhull.so

RevLine 
[521]1%define name qhull
[9249]2%define version 2012.1
[521]3
4Summary: General dimension convex hull programs
5Name: %{name}
6Version: %{version}
[10164]7Release: 2%{?_dist_release}
[2724]8License: Distributable
[521]9Group: System Environment/Libraries
10URL: http://www.qhull.org
11
[9249]12Source0: http://www.qhull.org/download/qhull-%{version}-src.tgz
[521]13
[2724]14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15
[10164]16%ifarch %{ix86}
17Provides: libqhull.so
18Provides: libqhull_p.so
19%endif
20%ifarch x86_64
21Provides: libqhull.so()(64bit)
22Provides: libqhull_p.so()(64bit)
23%endif
24
25
[521]26%description
27Qhull is a general dimension convex hull program that reads a set
28of points from stdin, and outputs the smallest convex set that contains
29the points to stdout.  It also generates Delaunay triangulations, Voronoi
30diagrams, furthest-site Voronoi diagrams, and halfspace intersections
31about a point.
32
33%package devel
[2724]34Summary: Development files for qhull
[521]35Group: Development/Libraries
36Requires: %{name} = %{version}-%{release}
37
38%description devel
39Qhull is a general dimension convex hull program that reads a set
40of points from stdin, and outputs the smallest convex set that contains
41the points to stdout.  It also generates Delaunay triangulations, Voronoi
42diagrams, furthest-site Voronoi diagrams, and halfspace intersections
43about a point.
44
45%prep
[2724]46%setup -q -n %{name}-%{version}
[521]47
[9249]48sed -i "s|\$(DESTDIR)/bin|\$(DESTDIR)%{_bindir}|g" Makefile
49sed -i "s|\$(DESTDIR)/include|\$(DESTDIR)%{_includedir}|g" Makefile
50sed -i "s|\$(DESTDIR)/lib|\$(DESTDIR)%{_libdir}|g" Makefile
51sed -i "s|\$(DESTDIR)/share|\$(DESTDIR)%{_datadir}|g" Makefile
[521]52
53%build
54make
55
56%install
57rm -rf $RPM_BUILD_ROOT
[9249]58make DESTDIR=$RPM_BUILD_ROOT install
[521]59
60## remove unuse files
61rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
[9249]62rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
[521]63
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
[2724]68%post -p /sbin/ldconfig
[521]69
[2724]70%postun -p /sbin/ldconfig
[521]71
72%files
73%defattr(-,root,root)
[9249]74%doc %{_docdir}/%{name}
[2724]75%{_bindir}/*
76%{_libdir}/libqhull.so.*
[9249]77%{_libdir}/libqhull_p.so.*
[2724]78%{_mandir}/man1/*
[521]79
80%files devel
81%defattr(-,root,root)
[9249]82%{_includedir}/libqhull
83%{_includedir}/libqhullcpp
[2724]84%{_libdir}/libqhull.so
[9249]85%{_libdir}/libqhull_p.so
[521]86
87%changelog
[10164]88* Tue Apr 12 2016 Toshiaki Ara <ara_t@384.jp> 2012.1-2
89- add Provides: libqhull.so
90- add Provides: libqhull_p.so
91
[9249]92* Sun Jan 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2012.1-1
93- update to 2012.1
94
[2724]95* Sat Feb 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2003.1-2
96- added Patch0 from upstream
97- added --disable-static to %%configure
98
[521]99* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2003.1-1vl5
100- applied new versioning policy
101- removed *.la
102
103*Thu Jan 03 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2003.1-0vl2
104- rebuild on VineSeed
105
106*Thu Oct 6 2005 g-staff <g-staff@math.sci.hokudai.ac.jp> 2003.1-0vl1
107- taken from FC
108- rebuild on Vine Linux 3.2
109
110* Sun Aug 08 2004 Ralf Corsepius <ralf[AT]links2linux.de>       - 2003.1-0.fdr.2
111- Use default documentation installation scheme.
112
113* Fri Jul 16 2004 Ralf Corsepius <ralf[AT]links2linux.de>       - 2003.1-0.fdr.1
114- Initial Fedora RPM.
Note: See TracBrowser for help on using the repository browser.