auto-import changelog data from gperf-2.7-9.src.rpm
Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Tue Jul 04 2000 Jakub Jelinek <jakub@redhat.com> - Rebuild with new C++ Sun Jun 18 2000 Matt Wilson <msw@redhat.com> - user infodir and mandir macros for FHS - use %makeinstall Fri Feb 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - rebuild to gzip manpage - don't use CC=egcs - fix description Wed Mar 24 1999 Cristian Gafton <gafton@redhat.com> - added patches for egcs from UP Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Thu Oct 29 1998 Bill Nottingham <notting@redhat.com> - patch for latest egcs Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> - strip binary Tue Jul 28 1998 Jeff Johnson <jbj@redhat.com> - create.
This commit is contained in:
parent
c8c9f6d434
commit
88f1697472
@ -0,0 +1 @@
|
||||
gperf-2.7.tar.gz
|
86
gperf.spec
Normal file
86
gperf.spec
Normal file
@ -0,0 +1,86 @@
|
||||
Summary: A perfect hash function generator.
|
||||
Name: gperf
|
||||
Version: 2.7
|
||||
Release: 9
|
||||
Copyright: GPL
|
||||
Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
|
||||
Patch0: gperf-2.7-egcs.patch
|
||||
Group: Development/Tools
|
||||
Prereq: /sbin/install-info
|
||||
BuildRoot: /var/tmp/gperf-root
|
||||
|
||||
%description
|
||||
Gperf is a perfect hash function generator written in C++. Simply
|
||||
stated, a perfect hash function is a hash function and a data
|
||||
structure that allows recognition of a key word in a set of words
|
||||
using exactly one probe into the data structure.
|
||||
|
||||
Install gperf if you need a program that generates perfect hash
|
||||
functions.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .egcs
|
||||
|
||||
%build
|
||||
%configure
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/{man,info}
|
||||
|
||||
%makeinstall
|
||||
|
||||
gzip -9nf $RPM_BUILD_ROOT/%{_infodir}/gperf.info*
|
||||
rm -rf $RPM_BUILD_ROOT/%{_mandir}/{dvi,html}
|
||||
strip -R .comments $RPM_BUILD_ROOT/usr/bin/gperf
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
/sbin/install-info %{_infodir}/gperf.info.gz %{_infodir}/dir
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/gperf.info.gz %{_infodir}/dir
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README NEWS doc/gperf.html
|
||||
/usr/bin/gperf
|
||||
%{_mandir}/man1/gperf.1*
|
||||
%{_infodir}/gperf.info*
|
||||
|
||||
%changelog
|
||||
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
||||
- automatic rebuild
|
||||
|
||||
* Tue Jul 4 2000 Jakub Jelinek <jakub@redhat.com>
|
||||
- Rebuild with new C++
|
||||
|
||||
* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
|
||||
- user infodir and mandir macros for FHS
|
||||
- use %%makeinstall
|
||||
|
||||
* Fri Feb 4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||
- rebuild to gzip manpage
|
||||
- don't use CC=egcs
|
||||
- fix description
|
||||
|
||||
* Wed Mar 24 1999 Cristian Gafton <gafton@redhat.com>
|
||||
- added patches for egcs from UP
|
||||
|
||||
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
||||
- auto rebuild in the new build environment (release 4)
|
||||
|
||||
* Thu Oct 29 1998 Bill Nottingham <notting@redhat.com>
|
||||
- patch for latest egcs
|
||||
|
||||
* Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
|
||||
- strip binary
|
||||
|
||||
* Tue Jul 28 1998 Jeff Johnson <jbj@redhat.com>
|
||||
- create.
|
Loading…
Reference in New Issue
Block a user