%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) Name: perl-Compress-Zlib Version: 1.37 Release: 0.%{mysig} Summary: A module providing Perl interfaces to the zlib compression library. License: distributable Group: Development/Libraries URL: http://search.cpan.org/dist/Compress-Zlib/ BuildRoot: %{_tmppath}/%{name}-root BuildRequires: perl >= 0:5.00503, zlib-devel Source0: Compress-Zlib-%{version}.tar.gz %description The Compress::Zlib module provides a Perl interface to the zlib compression library. Most of the functionality provided by zlib is available in Compress::Zlib. The module can be split into two general areas of functionality, namely in-memory compression/decompression and read/write access to gzip files. %prep %setup -q -n Compress-Zlib-%{version} %build BUILD_ZLIB=False OLD_ZLIB=False ZLIB_LIB=%{_libdir} ZLIB_INCLUDE=%{_includedir} export BUILD_ZLIB OLD_ZLIB ZLIB_LIB ZLIB_INCLUDE CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor make %{?_smp_mflags} %check make test %clean rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT %makeinstall rm -rf %{buildroot}%{perl_archlib} \ %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/{.packlist,*.bs} %files %defattr(-, root, root, 0755) %doc ANNOUNCE README %doc %{_mandir}/man?/* %{perl_vendorarch}/Compress/ %{perl_vendorarch}/auto/Compress/ %changelog * Wed Sep 07 2005 Milan Kerslager 1.37-0.ker.rhel4 - rebuild for RHEL4, package now from FC4 updates * Fri Sep 02 2005 Steven Pritchard 1.37-1 - Update to 1.37 (#167471) * Thu Mar 31 2005 Joe Orton 1.34-2 - really delete the .bs file per #152536 * Thu Mar 31 2005 Joe Orton 1.34-1 - update to 1.34; synch with Dag Wieers (#152536) - BR zlib-devel (#137556) * Wed Mar 30 2005 Warren Togami - remove brp-compress * Sat Mar 19 2005 Joe Orton 1.33-7 - rebuild * Tue Jun 15 2004 Elliot Lee - rebuilt * Wed Apr 21 2004 Joe Orton 1.33-5 - use system zlib * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Chip Turner 1.33-1 - move to 1.33 * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Jun 04 2003 Elliot Lee - rebuilt * Wed Jan 22 2003 Tim Powers - rebuilt * Tue Aug 6 2002 Chip Turner - automated release bump and build * Mon Mar 25 2002 cturner@redhat.com - Specfile autogenerated