Sisyphus repository
Last update: 16 september 2019 | SRPMs: 17434 | Visits: 15108478
en ru br
ALT Linux repos
S:1.1-alt2

Group :: Development/C++
RPM: farmhash

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: farmhash
Version: 1.1
Release: alt2
Summary: FarmHash, a family of hash functions
Group: Development/C++
# https://github.com/google/farmhash
Source: %name-%version.tar
License: MIT
Url: http://code.google.com/p/farmhash
BuildRequires: gcc-c++

%description
FarmHash provides hash functions for strings and other data.
The functions  mix the input bits thoroughly but are not suitable for
cryptography.

This package contains the shared library.

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

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

%prep
%setup

%build
%autoreconf
%ifarch x86_64
export CXXFLAGS="-g -maes -mavx -msse4.2 -O3"
%else
export CXXFLAGS="-g -O3"
%endif

%configure  
%make

%install
%makeinstall

%files
%doc README NEWS
%_libdir/*.so.*

%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