%define real_name IO-Capture Summary: IO::Capture- Abstract Base Class to build modules to capture output Name: perl-%{real_name} Version: 0.05 Release: %mkrel 4 License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{real_name} Source0: %{real_name}-%{version}.tar.bz2 BuildRequires: perl-devel BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description The IO::Capture Module defines an abstract base class that can be used to create any number of useful sub-classes that capture output being sent on a filehandle such as STDOUT or STDERR. Several modules come with the distribution that define subclasses of IO::Capture to do just that. (I.e., capture STDOUT and STDERR) See the man page IO::Capture::Overview for a discussion of these modules and how to build a module to sub-class the B<IO::Capture> class yourself. %prep %setup -q -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes %dir %{perl_vendorlib}/IO/Capture %{perl_vendorlib}/IO/Capture.pm %{perl_vendorlib}/IO/Capture/* %{_mandir}/*/* %changelog * Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.05-4mdv2009.0 + Revision: 257289 - rebuild * Thu Dec 20 2007 Olivier Blin <oblin@mandriva.com> 0.05-2mdv2008.1 + Revision: 135856 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.05-2mdv2008.0 + Revision: 86494 - rebuild * Wed Sep 13 2006 Oden Eriksson <oeriksson@mandriva.com> 0.05-1mdv2007.0 - rebuild * Fri Jul 15 2005 Oden Eriksson <oeriksson@mandriva.com> 0.05-1mdk - initial Mandriva package