Name: perl-IO-Compress-Lzma Version: 2.030 Release: 1%{?dist} Summary: Read and write lzma compressed data License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/IO-Compress-Lzma/ Source0: http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/IO-Compress-Lzma-%{version}.tar.gz Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Compress::Raw::Lzma) >= %{version} BuildRequires: perl(IO::Compress::Base) >= %{version} BuildRequires: perl(IO::String) BuildRequires: perl(Test::Pod) BuildRequires: xz, xz-lzma-compat %description This distribution provides a Perl interface to allow reading and writing of compressed data created with the lzma library. %prep %setup -q -n IO-Compress-Lzma-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null %{_fixperms} %{buildroot} %check make test %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/IO/ %{_mandir}/man3/IO::Compress::Lzma.3pm* %{_mandir}/man3/IO::Compress::Xz.3pm* %{_mandir}/man3/IO::Uncompress::UnLzma.3pm* %{_mandir}/man3/IO::Uncompress::UnXz.3pm* %changelog * Mon Jul 26 2010 Paul Howarth <paul@city-fan.org> - 2.030-1 - Update to 2.030 (no changes) * Tue May 11 2010 Paul Howarth <paul@city-fan.org> - 2.027-2 - Drop redundant buildroot tag * Thu Apr 29 2010 Paul Howarth <paul@city-fan.org> - 2.027-1 - Initial RPM version