Name: perl-Compress-Raw-Bzip2 Version: 2.037 Release: 1%{?dist} Summary: Low-Level Interface to bzip2 compression library License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Compress-Raw-Bzip2/ Source0: http://www.cpan.org/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Compress::Raw::Bzip2 provides an interface to the in-memory compression/uncompression functions from the bzip2 compression library. %prep %setup -q -n Compress-Raw-Bzip2-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$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 {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Compress* %{_mandir}/man3/* %changelog * Tue Jul 05 2011 Dave Cross 2.037-1 - Specfile autogenerated by cpanspec 1.77.