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

Revision 2724, 2.3 KB checked in by inagaki, 13 years ago (diff)

update: kdepim-runtime, qhull

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