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