5 Summary: A perfect hash function generator
6 Url: http://www.gnu.org/software/gperf/
7 Group: Development/Tools
8 Source0: ftp://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.gz
9 Source1001: gperf.manifest
10 BuildRequires: gcc-c++
13 GNU gperf is a perfect hash function generator. For a given list of strings, it
14 produces a hash function and hash table, in form of C or C++ code, for looking
15 up a value depending on the input string. The hash function is perfect, which
16 means that the hash table has no collisions, and the hash table lookup needs
17 a single string comparison only.
26 %configure --disable-static
32 rm -f %{buildroot}%{_datadir}/doc/gperf.html
40 %manifest %{name}.manifest
42 %defattr(-,root,root,-)
43 %doc NEWS README doc/gperf.html
44 %doc %{_mandir}/man1/gperf.1*
45 %doc %{_infodir}/gperf.info*