Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37047429
en ru br
ALT Linux repos
S:1.1.1-alt2

Group :: Development/C++
RPM: libcityhash

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

%{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}

Name: libcityhash
Version: 1.1.1
Release: alt2
Summary: A family of hash functions for strings
Group: Development/C++
License: MIT
Url: http://code.google.com/p/cityhash/

Source: cityhash-%version.tar

# Automatically added by buildreq on Sat Jul 23 2011

# optimized out: libstdc++-devel
BuildRequires: gcc-c++

%description
CityHash provides hash functions for strings. The functions mix the
input bits thoroughly but are not suitable for cryptography.

The README contains a good explanation of the various CityHash functions.

%package devel
Group: Development/C++
Summary: Developmen environment for %name
Requires: %name = %EVR
%description devel
Development environment for %name, %summary

%package devel-static
Group: Development/C++
Summary: Static developmen environment for %name
Requires: %name-devel = %EVR
%description devel-static
Static development environment for %name, %summary

%prep
%setup -n cityhash-%version

%build
%autoreconf
%configure
%make

%install
%makeinstall

%check
%make check

%files
%doc README NEWS
%_libdir/*.so.*
%exclude %_defaultdocdir/cityhash

%files devel
%_libdir/*.so
%_includedir/*

%files devel-static
%_libdir/*.a

%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