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