1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- %define name qhull
- %define version 2003.1
- %define release 0
- Summary: General dimension convex hull programs
- Name: %{name}
- Version: %{version}
- Release: 1%{?_dist_release}
- License: Distributable
- Group: System Environment/Libraries
- Source0: http://www.qhull.org/download/qhull-%{version}.tar.gz
- URL: http://www.qhull.org
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- Requires(post): /sbin/ldconfig
- Requires(postun): /sbin/ldconfig
- %description
- Qhull is a general dimension convex hull program that reads a set
- of points from stdin, and outputs the smallest convex set that contains
- the points to stdout. It also generates Delaunay triangulations, Voronoi
- diagrams, furthest-site Voronoi diagrams, and halfspace intersections
- about a point.
- %package devel
- Group: Development/Libraries
- Summary: Development files for qhull
- Requires: %{name} = %{version}-%{release}
- %description devel
- Qhull is a general dimension convex hull program that reads a set
- of points from stdin, and outputs the smallest convex set that contains
- the points to stdout. It also generates Delaunay triangulations, Voronoi
- diagrams, furthest-site Voronoi diagrams, and halfspace intersections
- about a point.
- %prep
- %setup -n %{name}-%{version}
- %build
- %configure
- make
- %install
- rm -rf $RPM_BUILD_ROOT
- make DESTDIR=$RPM_BUILD_ROOT \
- docdir=%{_docdir}/%{name}-%{version} install
- ## remove unuse files
- rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post
- /sbin/ldconfig
- %postun
- /sbin/ldconfig
- %files
- %defattr(-,root,root)
- %doc %{_docdir}/%{name}-%{version}
- %_bindir/*
- %_libdir/*.so.*
- %_mandir/man1/*
- %files devel
- %defattr(-,root,root)
- %_libdir/*.*a
- %_libdir/*.so
- %_includedir/*
- %changelog
- * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2003.1-1vl5
- - applied new versioning policy
- - removed *.la
- *Thu Jan 03 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2003.1-0vl2
- - rebuild on VineSeed
- *Thu Oct 6 2005 g-staff <g-staff@math.sci.hokudai.ac.jp> 2003.1-0vl1
- - taken from FC
- - rebuild on Vine Linux 3.2
- * Sun Aug 08 2004 Ralf Corsepius <ralf[AT]links2linux.de> - 2003.1-0.fdr.2
- - Use default documentation installation scheme.
- * Fri Jul 16 2004 Ralf Corsepius <ralf[AT]links2linux.de> - 2003.1-0.fdr.1
- - Initial Fedora RPM.
|