Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37038622
en ru br
ALT Linux repositórios
S:1.1-alt3

Group :: Desenvolvimento/C++
RPM: farmhash

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: farmhash
Version: 1.1
Release: alt3
Summary: FarmHash, a family of hash functions
Group: Development/C++
# https://github.com/google/farmhash
Source: %name-%version.tar
Patch0: 61c7939-upstream-namespace-std.patch
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
%patch0 -p1

%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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009