diff --git a/Compress-LZ4-0.25.tar.gz b/Compress-LZ4-0.25.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f4b22f77c901be31ce4aa6e2234fa41d608a784e Binary files /dev/null and b/Compress-LZ4-0.25.tar.gz differ diff --git a/perl-Compress-LZ4.spec b/perl-Compress-LZ4.spec new file mode 100644 index 0000000000000000000000000000000000000000..e830eabe0ac7181a94b7466d63cf2f46a261d2c1 --- /dev/null +++ b/perl-Compress-LZ4.spec @@ -0,0 +1,54 @@ +Name: perl-Compress-LZ4 +Version: 0.25 +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