qhull-vl.spec 2.3 KB

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