qhull-vl.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. %define name qhull
  2. %define version 2003.1
  3. %define release 0
  4. Summary: General dimension convex hull programs
  5. Name: %{name}
  6. Version: %{version}
  7. Release: 1%{?_dist_release}
  8. License: Distributable
  9. Group: System Environment/Libraries
  10. Source0: http://www.qhull.org/download/qhull-%{version}.tar.gz
  11. URL: http://www.qhull.org
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. Requires(post): /sbin/ldconfig
  14. Requires(postun): /sbin/ldconfig
  15. %description
  16. Qhull is a general dimension convex hull program that reads a set
  17. of points from stdin, and outputs the smallest convex set that contains
  18. the points to stdout. It also generates Delaunay triangulations, Voronoi
  19. diagrams, furthest-site Voronoi diagrams, and halfspace intersections
  20. about a point.
  21. %package devel
  22. Group: Development/Libraries
  23. Summary: Development files for qhull
  24. Requires: %{name} = %{version}-%{release}
  25. %description devel
  26. Qhull is a general dimension convex hull program that reads a set
  27. of points from stdin, and outputs the smallest convex set that contains
  28. the points to stdout. It also generates Delaunay triangulations, Voronoi
  29. diagrams, furthest-site Voronoi diagrams, and halfspace intersections
  30. about a point.
  31. %prep
  32. %setup -n %{name}-%{version}
  33. %build
  34. %configure
  35. make
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make DESTDIR=$RPM_BUILD_ROOT \
  39. docdir=%{_docdir}/%{name}-%{version} install
  40. ## remove unuse files
  41. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %post
  45. /sbin/ldconfig
  46. %postun
  47. /sbin/ldconfig
  48. %files
  49. %defattr(-,root,root)
  50. %doc %{_docdir}/%{name}-%{version}
  51. %_bindir/*
  52. %_libdir/*.so.*
  53. %_mandir/man1/*
  54. %files devel
  55. %defattr(-,root,root)
  56. %_libdir/*.*a
  57. %_libdir/*.so
  58. %_includedir/*
  59. %changelog
  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.