Name: perl-Digest-xxHash Version: 1.02 Release: 1%{?dist} Summary: xxHash Implementation For Perl # A name + "I don't actually care" probably qualifies as "Copyright only" License: BSD and Copyright only Group: Development/Libraries URL: http://search.cpan.org/dist/Digest-xxHash/ Source0: http://www.cpan.org/authors/id/S/SA/SANKO/Digest-xxHash-%{version}.tar.gz BuildRequires: perl BuildRequires: perl(base) BuildRequires: perl(Config) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(lib) BuildRequires: perl(Module::Build) BuildRequires: perl(strict) BuildRequires: perl(Test::More) BuildRequires: perl(XSLoader) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description This module provides both a functional and an OO interface to xxHash functions. xxHash is an extremely fast algorithm that claims to work at speeds close to RAM limits. %prep %setup -q -n Digest-xxHash-%{version} sed -i -e 's/\r//g' README LICENSE Changes %build perl Build.PL installdirs=vendor optimize="%{optflags}" ./Build %install ./Build install destdir=%{buildroot} create_packlist=0 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} + %{_fixperms} %{buildroot}/* %check ./Build test %files %doc Changes LICENSE README TODO %{perl_vendorarch}/auto/* %{perl_vendorarch}/Digest* %{_mandir}/man3/* %changelog * Fri Feb 21 2014 Petr Ĺ abata 1.02-1 - Initial package.