Name: perl-Compress-Raw-Zlib Epoch: 1 Version: 2.055 Release: 1%{?dist} Summary: Low-Level Interface to zlib compression library License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Compress-Raw-Zlib/ Source0: http://www.cpan.org/authors/id/P/PM/PMQS/Compress-Raw-Zlib-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The Compress::Raw::Zlib module provides a Perl interface to the zlib compression library (see "AUTHOR" for details about where to get zlib). %prep %setup -q -n Compress-Raw-Zlib-%{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 META.json README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Compress* %{_mandir}/man3/* %changelog * Thu Aug 09 2012 Dave Cross 2.055-1 - Specfile autogenerated by cpanspec 1.78.