Name: perl-Compress-Raw-Zlib Version: 2.005 Release: 2%{?dist} Summary: Low-Level Interface to the zlib compression library Group: Development/Libraries License: Artistic or GPL URL: http://search.cpan.org/dist/Compress-Raw-Zlib/ Source0: http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Zlib-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl, perl(ExtUtils::MakeMaker), zlib-devel, perl(Test::Pod) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides a Perl interface to the zlib compression library. It is used by IO::Compress::Zlib. %prep %setup -q -n Compress-Raw-Zlib-%{version} %build BUILD_ZLIB=False OLD_ZLIB=False ZLIB_LIB=%{_libdir} ZLIB_INCLUDE=%{_includedir} export BUILD_ZLIB OLD_ZLIB ZLIB_LIB ZLIB_INCLUDE %{__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' -a -size 0 -exec rm -f {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc %{perl_vendorarch}/auto/Compress %{perl_vendorarch}/Compress %{_mandir}/man3/*.3* %changelog * Tue Jul 17 2007 Robin Norwood - 2.005-2 - Bump release to beat F-7 version * Sun Jul 01 2007 Robin Norwood - 2.005-1 - update to 2.005. * Tue Jun 05 2007 Robin Norwood - 2.004-1 - Initial build from CPAN