Group :: Development/C++
RPM: farmhash
Main Changelog Spec Patches Sources Download Gear Bugs and 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
…
Full changelog you can see here
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
…
Full changelog you can see here