2024-01-05 23:22:08 +01:00
|
|
|
Name: gperf
|
2024-01-05 23:22:09 +01:00
|
|
|
Version: 3.1
|
2024-04-20 22:17:09 +02:00
|
|
|
Release: 2mamba
|
2024-01-05 23:22:08 +01:00
|
|
|
Summary: A perfect hash function generator
|
|
|
|
Group: Applications/Development
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-04-20 22:17:09 +02:00
|
|
|
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
|
2024-01-05 23:22:08 +01:00
|
|
|
License: GPL
|
2024-04-20 22:17:09 +02:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 23:22:08 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-04-20 22:17:09 +02:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: bash
|
2024-01-05 23:22:08 +01:00
|
|
|
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.
|
|
|
|
|
2024-04-20 22:17:09 +02:00
|
|
|
%debug_package
|
2024-01-05 23:22:08 +01:00
|
|
|
|
|
|
|
%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
|
2024-04-20 22:17:09 +02:00
|
|
|
:
|
2024-01-05 23:22:08 +01:00
|
|
|
|
|
|
|
%preun
|
|
|
|
%uninstall_info gperf.info
|
2024-04-20 22:17:09 +02:00
|
|
|
:
|
2024-01-05 23:22:08 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/gperf
|
|
|
|
%{_infodir}/gperf.info.*
|
|
|
|
%{_mandir}/man1/gperf.*
|
2024-04-20 22:17:09 +02:00
|
|
|
%doc AUTHORS COPYING
|
2024-01-05 23:22:08 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-04-20 22:17:09 +02:00
|
|
|
* Sat Apr 20 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1-2mamba
|
|
|
|
- rebuilt with debug package and other specfile fixes
|
|
|
|
|
2024-01-05 23:22:09 +01:00
|
|
|
* Tue Feb 07 2017 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:22:08 +01:00
|
|
|
* 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
|