%define module IO-Zlib %define name perl-%{module} %define version 1.09 %define release %mkrel 2 Name: %{name} Version: %{version} Release: %{release} Summary: IO:: style interface to Compress::Zlib License: GPL Group: Development/Perl URL: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/IO/%{module}-%{version}.tar.gz BuildRequires: perl-Compress-Zlib BuildArch: noarch Buildroot: %{_tmppath}/%{name}-%{version} %description IO::Zlib provides an IO:: style interface to Compress::Zlib and hence to gzip/zlib compressed files. It provides many of the same methods as the IO::Handle interface. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make OPTIMIZE="%{optflags}" %check %__make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc ChangeLog README %{perl_vendorlib}/IO/* %{_mandir}/man?/* %changelog * Wed Jun 18 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.09-2mdv2009.0 + Revision: 223802 - rebuild * Tue Jan 15 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.09-1mdv2008.1 + Revision: 152933 - update to new version 1.09 - update to new version 1.09 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Mon Nov 19 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.08-1mdv2008.1 + Revision: 110286 - new version * Sun Aug 05 2007 Funda Wang <fundawang@mandriva.org> 1.07-1mdv2008.0 + Revision: 59070 - New version 1.07 * Sun Jul 16 2006 Olivier Thauvin <nanardon@mandriva.org> 1.04-3mdv2007.0 + Revision: 41253 - rebuild - add %%check section - Import perl-IO-Zlib * Wed Jun 15 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.04-2mdk - Rebuild * Fri Oct 15 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.04-1mdk - 1.04 * Tue Aug 24 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.03-1mdk - 1.03 * Thu Jul 01 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1.01-1mdk - first version of rpm.