ALT Linux repos
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
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