Name: perl-Compress-LZ4 Version: 0.20 Release: 1%{?dist} Summary: Perl interface to the LZ4 compression library License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Compress-LZ4/ Source0: http://www.cpan.org/modules/by-module/Compress/Compress-LZ4-%{version}.tar.gz Patch1: compress_lz4_unbundle.patch BuildRequires: lz4-devel BuildRequires: perl BuildRequires: perl(Config) BuildRequires: perl(Exporter) >= 5.57 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(overload) BuildRequires: perl(strict) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(warnings) BuildRequires: perl(XSLoader) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The Compress::LZ4 module provides an interface to the LZ4 compression library %prep %setup -q -n Compress-LZ4-%{version} %patch1 -p1 rm -Rf lz4* chmod -c -x ex/* %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README ex %{perl_vendorarch}/auto/* %{perl_vendorarch}/Compress* %{_mandir}/man3/* %changelog * Sat Aug 23 2014 David Dick - 0.20-1 - Initial release