gperf-vl.spec 2.9 KB

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