Name: perl-IO-AIO Version: 2.51 Release: 2%{?dist} Summary: Asynchronous Input/Output License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/IO-AIO/ Source0: http://www.cpan.org/modules/by-module/IO/IO-AIO-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module implements asynchronous I/O using whatever means your operating system supports. %prep %setup -q -n IO-AIO-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes COPYING README %{perl_vendorarch}/auto/* %{perl_vendorarch}/IO* %{_mandir}/man3/* %changelog * Mon Mar 03 2008 Tom "spot" Callaway 2.51-2 - rebuild for new perl (again) * Sat Feb 09 2008 Ruben Kerkhof 2.51-1 - Sync with upstream * Thu Feb 7 2008 Tom "spot" Callaway 2.33-2 - rebuild for new perl * Sun May 13 2007 Ruben Kerkhof 2.33-1 - Initial import