|
|
f177bd |
Summary: A perfect hash function generator
|
|
|
f177bd |
Name: gperf
|
|
|
f177bd |
Version: 3.1
|
|
|
f177bd |
Release: 5%{?dist}
|
|
|
f177bd |
License: GPLv3+
|
|
|
f177bd |
Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
|
|
|
f177bd |
URL: http://www.gnu.org/software/gperf/
|
|
|
f177bd |
Requires(post): /sbin/install-info
|
|
|
f177bd |
Requires(preun): /sbin/install-info
|
|
|
f177bd |
|
|
|
f177bd |
%description
|
|
|
f177bd |
Gperf is a perfect hash function generator written in C++. Simply
|
|
|
f177bd |
stated, a perfect hash function is a hash function and a data
|
|
|
f177bd |
structure that allows recognition of a key word in a set of words
|
|
|
f177bd |
using exactly one probe into the data structure.
|
|
|
f177bd |
|
|
|
f177bd |
%prep
|
|
|
f177bd |
%setup -q
|
|
|
f177bd |
|
|
|
f177bd |
%build
|
|
|
f177bd |
%configure
|
|
|
f177bd |
make %{?_smp_mflags}
|
|
|
f177bd |
|
|
|
f177bd |
%install
|
|
|
f177bd |
#mkdir -p $RPM_BUILD_ROOT/usr/share/{man,info}
|
|
|
f177bd |
|
|
|
f177bd |
make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p'
|
|
|
f177bd |
|
|
|
f177bd |
# remove the stuff from the buildroot
|
|
|
f177bd |
rm -rf $RPM_BUILD_ROOT{%{_mandir}/{dvi,html},%{_datadir}/doc}
|
|
|
f177bd |
|
|
|
f177bd |
%post
|
|
|
f177bd |
/sbin/install-info %{_infodir}/gperf.info.gz %{_infodir}/dir >/dev/null 2>&1 || :
|
|
|
f177bd |
exit 0
|
|
|
f177bd |
|
|
|
f177bd |
%preun
|
|
|
f177bd |
if [ $1 = 0 ]; then
|
|
|
f177bd |
/sbin/install-info --delete %{_infodir}/gperf.info.gz %{_infodir}/dir >/dev/null 2>&1|| :
|
|
|
f177bd |
fi
|
|
|
f177bd |
exit 0
|
|
|
f177bd |
|
|
|
f177bd |
%files
|
|
|
f177bd |
%doc README NEWS doc/*.{html,pdf} COPYING
|
|
|
f177bd |
%{_bindir}/%{name}
|
|
|
f177bd |
%{_mandir}/man1/gperf.1*
|
|
|
f177bd |
%{_infodir}/gperf.info*
|
|
|
f177bd |
|
|
|
f177bd |
%changelog
|
|
|
f177bd |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-5
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-4
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-3
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Thu Jan 26 2017 Richard W.M. Jones <rjones@redhat.com> - 3.1-1
|
|
|
f177bd |
- New upstream version 3.1.
|
|
|
f177bd |
- Remove some obsolete cruft from the spec file.
|
|
|
f177bd |
|
|
|
f177bd |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-12
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-11
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 3.0.4-10
|
|
|
f177bd |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
f177bd |
|
|
|
f177bd |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-9
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-8
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-7
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-6
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-5
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-4
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-3
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Mon Mar 01 2010 Roman Rakus <rrakus@redhat.com> - 3.0.4-2
|
|
|
f177bd |
- Fixed license to the right GPLv3+
|
|
|
f177bd |
|
|
|
f177bd |
* Mon Mar 01 2010 Roman Rakus <rrakus@redhat.com> - 3.0.4-1
|
|
|
f177bd |
- Version 3.0.4
|
|
|
f177bd |
|
|
|
f177bd |
* Tue Aug 11 2009 Roman Rakus <rrakus@redhat.com> - 3.0.3-9
|
|
|
f177bd |
- Don't print errors in post and preun sections (#515942)
|
|
|
f177bd |
|
|
|
f177bd |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.3-8
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.3-7
|
|
|
f177bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Tue Jan 27 2009 Roman Rakus <rrakus@redhat.com> - 3.0.3-6
|
|
|
f177bd |
- Don't use makeinstall
|
|
|
f177bd |
- Remove ps files from doc
|
|
|
f177bd |
Resolves: #225854
|
|
|
f177bd |
|
|
|
f177bd |
* Mon Jan 19 2009 Roman Rakus <rrakus@redhat.com> - 3.0.3-5
|
|
|
f177bd |
- Specfile fixes
|
|
|
f177bd |
Resolves: #225854
|
|
|
f177bd |
|
|
|
f177bd |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.0.3-4
|
|
|
f177bd |
- Autorebuild for GCC 4.3
|
|
|
f177bd |
|
|
|
f177bd |
* Tue Jan 08 2008 Florian La Roche <laroche@redhat.com> - 3.0.3-3
|
|
|
f177bd |
- fix license tag and summary
|
|
|
f177bd |
|
|
|
f177bd |
* Tue Aug 21 2007 Florian La Roche <laroche@redhat.com> - 3.0.3-2
|
|
|
f177bd |
- rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Sun Jun 03 2007 Florian La Roche <laroche@redhat.com> - 3.0.3-1
|
|
|
f177bd |
- 3.0.3
|
|
|
f177bd |
|
|
|
f177bd |
* Mon Jan 22 2007 Florian La Roche <laroche@redhat.com>
|
|
|
f177bd |
- rhbz#223695
|
|
|
f177bd |
|
|
|
f177bd |
* Sat Nov 04 2006 Florian La Roche <laroche@redhat.com>
|
|
|
f177bd |
- 3.0.2 (#213852)
|
|
|
f177bd |
|
|
|
f177bd |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.0.1-7.2.2
|
|
|
f177bd |
- rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.0.1-7.2.1
|
|
|
f177bd |
- bump again for double-long bug on ppc(64)
|
|
|
f177bd |
|
|
|
f177bd |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.0.1-7.2
|
|
|
f177bd |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
f177bd |
|
|
|
f177bd |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
f177bd |
- rebuilt
|
|
|
f177bd |
|
|
|
f177bd |
* Tue Aug 02 2005 Karsten Hopp <karsten@redhat.de> 3.0.1-7
|
|
|
f177bd |
- Gcc4 fix (Tomo Vuckovic) #164885
|
|
|
f177bd |
|
|
|
f177bd |
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 3.0.1-6
|
|
|
f177bd |
- build with gcc-4
|
|
|
f177bd |
|
|
|
f177bd |
* Wed Feb 09 2005 Karsten Hopp <karsten@redhat.de> 3.0.1-5
|
|
|
f177bd |
- rebuilt
|
|
|
f177bd |
|
|
|
f177bd |
* Mon Oct 11 2004 Ivana Varekova <varekova@redhat.com>
|
|
|
f177bd |
- minor spec updates
|
|
|
f177bd |
|
|
|
f177bd |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
f177bd |
- rebuilt
|
|
|
f177bd |
|
|
|
f177bd |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
f177bd |
- rebuilt
|
|
|
f177bd |
|
|
|
f177bd |
* Fri Jun 13 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
f177bd |
- 3.0.1
|
|
|
f177bd |
|
|
|
f177bd |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
f177bd |
- rebuilt
|
|
|
f177bd |
|
|
|
f177bd |
* Thu May 08 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
f177bd |
- update to 3.0
|
|
|
f177bd |
|
|
|
f177bd |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
f177bd |
- rebuilt
|
|
|
f177bd |
|
|
|
f177bd |
* Fri Nov 22 2002 Tim Powers <timp@redhat.com>
|
|
|
f177bd |
- remove unpackaged files from the buildroot
|
|
|
f177bd |
|
|
|
f177bd |
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
|
|
|
f177bd |
- rebuilt with gcc-3.2 (we hope)
|
|
|
f177bd |
|
|
|
f177bd |
* Mon Jul 22 2002 Tim Powers <timp@redhat.com>
|
|
|
f177bd |
- rebuild using gcc-3.2-0.1
|
|
|
f177bd |
|
|
|
f177bd |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
f177bd |
- automated rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
f177bd |
- automated rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
f177bd |
- automated rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Wed Sep 12 2001 Tim Powers <timp@redhat.com>
|
|
|
f177bd |
- rebuild with new gcc and binutils
|
|
|
f177bd |
|
|
|
f177bd |
* Tue Apr 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.7.2-1
|
|
|
f177bd |
- Update to 2.7.2
|
|
|
f177bd |
|
|
|
f177bd |
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
|
f177bd |
- automatic rebuild
|
|
|
f177bd |
|
|
|
f177bd |
* Tue Jul 4 2000 Jakub Jelinek <jakub@redhat.com>
|
|
|
f177bd |
- Rebuild with new C++
|
|
|
f177bd |
|
|
|
f177bd |
* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
|
|
|
f177bd |
- user infodir and mandir macros for FHS
|
|
|
f177bd |
- use %%makeinstall
|
|
|
f177bd |
|
|
|
f177bd |
* Fri Feb 4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
f177bd |
- rebuild to gzip manpage
|
|
|
f177bd |
- don't use CC=egcs
|
|
|
f177bd |
- fix description
|
|
|
f177bd |
|
|
|
f177bd |
* Wed Mar 24 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
f177bd |
- added patches for egcs from UP
|
|
|
f177bd |
|
|
|
f177bd |
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
f177bd |
- auto rebuild in the new build environment (release 4)
|
|
|
f177bd |
|
|
|
f177bd |
* Thu Oct 29 1998 Bill Nottingham <notting@redhat.com>
|
|
|
f177bd |
- patch for latest egcs
|
|
|
f177bd |
|
|
|
f177bd |
* Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
f177bd |
- strip binary
|
|
|
f177bd |
|
|
|
f177bd |
* Tue Jul 28 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
f177bd |
- create.
|