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