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

RevLine 
[521]1%define name qhull
2%define version 2003.1
3
4Summary: General dimension convex hull programs
5Name: %{name}
6Version: %{version}
[2724]7Release: 2%{?_dist_release}
8License: Distributable
[521]9Group: System Environment/Libraries
10URL: http://www.qhull.org
11
[2724]12Source0: http://www.qhull.org/download/qhull-%{version}.tar.gz
[521]13
[2724]14Patch0: poly.c-qh_gethash.patch
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17
[521]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
[2724]26Summary: Development files for qhull
[521]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
[2724]38%setup -q -n %{name}-%{version}
39%patch0 -p2
[521]40
41
42%build
[2724]43%configure --disable-static
[521]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
[2724]58%post -p /sbin/ldconfig
[521]59
[2724]60%postun -p /sbin/ldconfig
[521]61
62%files
63%defattr(-,root,root)
64%doc %{_docdir}/%{name}-%{version}
[2724]65%{_bindir}/*
66%{_libdir}/libqhull.so.*
67%{_mandir}/man1/*
[521]68
69%files devel
70%defattr(-,root,root)
[2724]71%{_includedir}/qhull
72#{_libdir}/*.*a
73%{_libdir}/libqhull.so
[521]74
75%changelog
[2724]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
[521]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.