Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37574758
en ru br
ALT Linux repos
S:3.2.0.1.d89c-alt1
5.0: 3.0.4-alt1
4.1: 3.0.3-alt1
4.0: 3.0.1-alt2
3.0: 3.0.1-alt1.1

Group :: Development/C
RPM: gperf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: gperf
Version: 3.0.4
Release: alt1

Summary: A perfect hash function generator
License: GPLv2+
Group: Development/C
Url: http://www.gnu.org/software/gperf/
Packager: Dmitry V. Levin <ldv at altlinux.org>

Source: ftp://ftp.gnu.org/gnu/gperf/gperf-%version.tar
Patch: gperf-%version-%release.patch

BuildRequires: gcc-c++

%description
Gperf is a perfect hash function generator written in C++.  Simply
stated, a perfect hash function is a hash function and a data structure
that allows recognition of a key word in a set of words using exactly
one probe into the data structure.

%prep
%setup -q
%patch -p1

%build
%add_optflags -fno-strict-aliasing
%define docdir %_docdir/%name-%version
%configure --docdir=%docdir
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make -k check}}}

%install
%makeinstall_std
install -pm644 AUTHORS NEWS README %buildroot%docdir/

%post
%install_info %name.info

%preun
%uninstall_info %name.info

%files
%_bindir/*
%_mandir/man?/*
%_infodir/*.info*
%docdir

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin