%define module IO-All %define name perl-%{module} %define version 0.38 %define release %mkrel 3 Version: %{version} Name: %{name} Release: %{release} Summary: Magic all-in-one IO class License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/IO/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildrequires: perl(IO::String) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description IO::All combines all of the best Perl IO modules into a single Spiffy object oriented interface to greatly simplify your everyday Perl IO idioms. It exports a single function called io, which returns a new IO::All object. And that object can do it all! %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %{makeinstall_std} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{_mandir}/man*/* %{perl_vendorlib}/IO %changelog * Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.38-3mdv2009.0 + Revision: 241542 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Tue May 01 2007 Olivier Thauvin <nanardon@mandriva.org> 0.38-1mdv2008.0 + Revision: 20197 - 0.38 * Tue Dec 12 2006 Olivier Thauvin <nanardon@mandriva.org> 0.36-1mdv2007.0 + Revision: 95141 - 0.36 * Sat Oct 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.35-3mdv2007.1 + Revision: 73503 - import perl-IO-All-0.35-3mdv2007.1 * Sat Jun 24 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.35-2mdv2007.0 - drop perl(Spiffy) buildrequires * Fri Jun 02 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.35-1mdv2007.0 - New release 0.35 - fix directory ownership * Fri Sep 30 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.33-2mdk - fix buildrequires * Sat Dec 18 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.33-1mdk - First MDK release