gperf/gperf.spec

126 lines
2.9 KiB
RPMSpec
Raw Normal View History

Summary: A perfect hash function generator.
Name: gperf
Version: 3.0.1
2004-10-11 13:00:01 +00:00
Release: 4
License: GPL
Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
Group: Development/Tools
2004-10-11 13:00:01 +00:00
URL: http://www.gnu.org/software/gperf/
Prereq: /sbin/install-info
2004-10-11 13:00:01 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-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.
%prep
%setup -q
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
#mkdir -p $RPM_BUILD_ROOT/usr/share/{man,info}
%makeinstall
# remove the stuff from the buildroot
2004-10-11 13:00:01 +00:00
rm -rf $RPM_BUILD_ROOT{%{_mandir}/{dvi,html},%{_datadir}/doc}
%clean
rm -rf $RPM_BUILD_ROOT
%post
2004-10-11 13:52:49 +00:00
/sbin/install-info %{_infodir}/gperf.info.gz %{_infodir}/dir
2004-10-11 13:52:49 +00:00
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/gperf.info.gz %{_infodir}/dir
fi
2004-10-11 13:52:49 +00:00
%files
%defattr(-,root,root)
%doc README NEWS doc/gperf.html
%{_bindir}/%{name}
%{_mandir}/man1/gperf.1*
%{_infodir}/gperf.info*
2004-10-11 13:52:49 +00:00
%changelog
* Mon Oct 11 2004 Ivana Varekova <varekova@redhat.com>
- minor spec updates
2004-10-11 13:52:49 +00:00
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
2004-10-11 13:52:49 +00:00
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
2004-10-11 13:52:49 +00:00
* Fri Jun 13 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- 3.0.1
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Thu May 08 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- update to 3.0
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Fri Nov 22 2002 Tim Powers <timp@redhat.com>
- remove unpackaged files from the buildroot
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
- rebuilt with gcc-3.2 (we hope)
* Mon Jul 22 2002 Tim Powers <timp@redhat.com>
- rebuild using gcc-3.2-0.1
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Wed Sep 12 2001 Tim Powers <timp@redhat.com>
- rebuild with new gcc and binutils
* Tue Apr 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.7.2-1
- Update to 2.7.2
* 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.