78 lines
2.0 KiB
RPMSpec
78 lines
2.0 KiB
RPMSpec
Name: gperf
|
|
Version: 3.1
|
|
Release: 2mamba
|
|
Summary: A perfect hash function generator
|
|
Group: Applications/Development
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.gnu.org/software/gperf/
|
|
Source: https://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: bash
|
|
BuildRequires: texinfo
|
|
Requires(post):%{__install_info}
|
|
|
|
%description
|
|
GNU gperf is a perfect hash function generator.
|
|
For a given list of strings, it produces a hash function and hash table, in form of C or C++ code, for looking up a value depending on the input string.
|
|
The hash function is perfect, which means that the hash table has no collisions, and the hash table lookup needs a single string comparison only.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
rm -f %{buildroot}%{_datadir}/doc/gperf.html
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post
|
|
%install_info gperf.info
|
|
:
|
|
|
|
%preun
|
|
%uninstall_info gperf.info
|
|
:
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/gperf
|
|
%{_infodir}/gperf.info.*
|
|
%{_mandir}/man1/gperf.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%changelog
|
|
* Sat Apr 20 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1-2mamba
|
|
- rebuilt with debug package and other specfile fixes
|
|
|
|
* Tue Feb 07 2017 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jul 10 2013 Automatic Build System <autodist@mambasoft.it> 3.0.4-2mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Feb 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Jan 08 2008 Aleph0 <aleph0@openmamba.org> 3.0.3-1mamba
|
|
- update to 3.0.3
|
|
- new package maintainer
|
|
|
|
* Mon Jul 03 2006 Davide Madrisan <davide.madrisan@qilinux.it> 3.0.2-1qilnx
|
|
- package created by autospec
|