rebuilt with debug package and other specfile fixes [release 3.1-2mamba;Sat Apr 20 2024]

This commit is contained in:
Silvan Calarco 2024-04-20 22:17:09 +02:00
parent 00ec9351ac
commit 7a7b2d655b
2 changed files with 14 additions and 13 deletions

View File

@ -4,5 +4,3 @@ 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.
Output from the gperf program is used to recognize reserved words in the GNU C, GNU C++, and GNU Pascal compilers, as well as with the GNU indent program.

View File

@ -1,28 +1,29 @@
Name: gperf
Version: 3.1
Release: 1mamba
Release: 2mamba
Summary: A perfect hash function generator
Group: Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.gnu.org/software/gperf
Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
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
BuildRequires: bash
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: bash
BuildRequires: texinfo
Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
Output from the gperf program is used to recognize reserved words in the GNU C, GNU C++, and GNU Pascal compilers, as well as with the GNU indent program.
%debug_package
%prep
%setup -q
@ -42,21 +43,23 @@ rm -f %{buildroot}%{_datadir}/doc/gperf.html
%post
%install_info gperf.info
exit 0
:
%preun
%uninstall_info gperf.info
exit 0
:
%files
%defattr(-,root,root)
%{_bindir}/gperf
%{_infodir}/gperf.info.*
%{_mandir}/man1/gperf.*
%doc AUTHORS COPYING ChangeLog NEWS README
%doc doc/gperf.html
%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