gperf-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Summary: A perfect hash function generator.
  2. Summary(ja): 完全ハッシュ関数生成プログラム
  3. Name: gperf
  4. Version: 3.0.4
  5. Release: 4%{?_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. * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.0.4-4
  46. - rebuild with gcc-5.4.0
  47. * Wed Oct 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.0.4-3
  48. - rebuild with VineSeed environment
  49. * Sat Mar 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.0.4-2
  50. - rebuild
  51. * Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.4-1
  52. - new upstream release
  53. - built with new toolchain
  54. * Sat Sep 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.3-1
  55. - applied new versioning policy
  56. * Sun Jun 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.3-0vl1
  57. - new upstream release
  58. * Sun Jul 13 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.1-1vl1
  59. - based on Redhat Rawhide 3.0.1-1
  60. - s/Copyright/License/
  61. * Fri Feb 22 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  62. - modified for Vine
  63. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  64. - automated rebuild
  65. * Wed Sep 12 2001 Tim Powers <timp@redhat.com>
  66. - rebuild with new gcc and binutils
  67. * Tue Apr 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.7.2-1
  68. - Update to 2.7.2
  69. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  70. - automatic rebuild
  71. * Tue Jul 4 2000 Jakub Jelinek <jakub@redhat.com>
  72. - Rebuild with new C++
  73. * Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
  74. - user infodir and mandir macros for FHS
  75. - use %%makeinstall
  76. * Fri Feb 4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  77. - rebuild to gzip manpage
  78. - don't use CC=egcs
  79. - fix description
  80. * Wed Mar 24 1999 Cristian Gafton <gafton@redhat.com>
  81. - added patches for egcs from UP
  82. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  83. - auto rebuild in the new build environment (release 4)
  84. * Thu Oct 29 1998 Bill Nottingham <notting@redhat.com>
  85. - patch for latest egcs
  86. * Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
  87. - strip binary
  88. * Tue Jul 28 1998 Jeff Johnson <jbj@redhat.com>
  89. - create.