%define module IO-All %define name perl-%{module} %define version 0.33 %define release 1mdk Summary: Magic all-in-one IO class Version: %{version} Name: %{name} Release: %{release} License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{module}/ Source0: ftp://ftp.cpan.org/authors/id/I/IN/INGY/%{module}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch %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 make test %install rm -rf $RPM_BUILD_ROOT %{makeinstall_std} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes README %{_mandir}/man*/* %{perl_vendorlib}/IO/* %changelog * Sat Dec 18 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.33-1mdk - First MDK release