gperf-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. Summary: A perfect hash function generator.
  2. Name: gperf
  3. Version: 3.0.4
  4. Release: 1%{?_dist_release}
  5. License: GPLv3
  6. Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
  7. Group: Development/Tools
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. Requires(post): /sbin/install-info
  10. Requires(preun): /sbin/install-info
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. %description
  14. Gperf is a perfect hash function generator written in C++. Simply
  15. stated, a perfect hash function is a hash function and a data
  16. structure that allows recognition of a key word in a set of words
  17. using exactly one probe into the data structure.
  18. %prep
  19. %setup -q
  20. %build
  21. %configure
  22. make
  23. %install
  24. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  25. %makeinstall
  26. # remove the stuff from the buildroot
  27. rm -rf $RPM_BUILD_ROOT/%{_mandir}/{dvi,html}
  28. rm -rf $RPM_BUILD_ROOT%{_prefix}/share/doc
  29. %clean
  30. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  31. %post
  32. /sbin/install-info %{_infodir}/gperf.info.gz %{_infodir}/dir
  33. %preun
  34. if [ $1 = 0 ]; then
  35. /sbin/install-info --delete %{_infodir}/gperf.info.gz %{_infodir}/dir
  36. fi
  37. %files
  38. %defattr(-,root,root)
  39. %doc README NEWS doc/gperf.html
  40. %{_bindir}/gperf
  41. %{_mandir}/man1/gperf.1*
  42. %{_infodir}/gperf.info*
  43. %changelog
  44. * Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.4-1
  45. - new upstream release
  46. - built with new toolchain
  47. * Sat Sep 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.3-1
  48. - applied new versioning policy
  49. * Sun Jun 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.3-0vl1
  50. - new upstream release
  51. * Sun Jul 13 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.1-1vl1
  52. - based on Redhat Rawhide 3.0.1-1
  53. - s/Copyright/License/
  54. * Fri Feb 22 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  55. - modified for Vine
  56. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  57. - automated rebuild
  58. * Wed Sep 12 2001 Tim Powers <timp@redhat.com>
  59. - rebuild with new gcc and binutils
  60. * Tue Apr 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.7.2-1
  61. - Update to 2.7.2
  62. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  63. - automatic rebuild
  64. * Tue Jul 4 2000 Jakub Jelinek <jakub@redhat.com>
  65. - Rebuild with new C++
  66. * Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
  67. - user infodir and mandir macros for FHS
  68. - use %%makeinstall
  69. * Fri Feb 4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  70. - rebuild to gzip manpage
  71. - don't use CC=egcs
  72. - fix description
  73. * Wed Mar 24 1999 Cristian Gafton <gafton@redhat.com>
  74. - added patches for egcs from UP
  75. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  76. - auto rebuild in the new build environment (release 4)
  77. * Thu Oct 29 1998 Bill Nottingham <notting@redhat.com>
  78. - patch for latest egcs
  79. * Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
  80. - strip binary
  81. * Tue Jul 28 1998 Jeff Johnson <jbj@redhat.com>
  82. - create.