gperf-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. Summary: A perfect hash function generator.
  2. Summary(ja): 完全ハッシュ関数生成プログラム
  3. Name: gperf
  4. Version: 3.1
  5. Release: 1%{?_dist_release}
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPLv3+
  9. Source: https://ftp.gnu.org/gnu/gperf/gperf-%{version}.tar.gz
  10. Requires(post): /sbin/install-info
  11. Requires(preun): /sbin/install-info
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  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 %{_smp_mflags}
  23. %install
  24. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  25. %makeinstall
  26. # remove the stuff from the buildroot
  27. rm -rf %{buildroot}/%{_mandir}/{dvi,html}
  28. rm -rf %{buildroot}%{_prefix}/share/doc
  29. %clean
  30. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  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. * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.1-1
  45. - new upstream release.
  46. * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.0.4-4
  47. - rebuild with gcc-5.4.0
  48. * Wed Oct 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.0.4-3
  49. - rebuild with VineSeed environment
  50. * Sat Mar 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.0.4-2
  51. - rebuild
  52. * Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.4-1
  53. - new upstream release
  54. - built with new toolchain
  55. * Sat Sep 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.3-1
  56. - applied new versioning policy
  57. * Sun Jun 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.3-0vl1
  58. - new upstream release
  59. * Sun Jul 13 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.1-1vl1
  60. - based on Redhat Rawhide 3.0.1-1
  61. - s/Copyright/License/
  62. * Fri Feb 22 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  63. - modified for Vine
  64. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  65. - automated rebuild
  66. * Wed Sep 12 2001 Tim Powers <timp@redhat.com>
  67. - rebuild with new gcc and binutils
  68. * Tue Apr 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.7.2-1
  69. - Update to 2.7.2
  70. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  71. - automatic rebuild
  72. * Tue Jul 4 2000 Jakub Jelinek <jakub@redhat.com>
  73. - Rebuild with new C++
  74. * Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
  75. - user infodir and mandir macros for FHS
  76. - use %%makeinstall
  77. * Fri Feb 4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  78. - rebuild to gzip manpage
  79. - don't use CC=egcs
  80. - fix description
  81. * Wed Mar 24 1999 Cristian Gafton <gafton@redhat.com>
  82. - added patches for egcs from UP
  83. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  84. - auto rebuild in the new build environment (release 4)
  85. * Thu Oct 29 1998 Bill Nottingham <notting@redhat.com>
  86. - patch for latest egcs
  87. * Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
  88. - strip binary
  89. * Tue Jul 28 1998 Jeff Johnson <jbj@redhat.com>
  90. - create.