Merged from SVN repos fedora and centos

This commit is contained in:
Daniel Steiner
2017-02-22 18:21:37 +01:00
commit 49d82f1798
37 changed files with 6757 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
Name: perl-IO-AIO
Version: 3.71
Release: 1%{?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
BuildRequires: perl(common::sense)
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(common::sense)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module implements asynchronous I/O using whatever means your operating
system supports. It is implemented as an interface to libeio
(http://software.schmorp.de/pkg/libeio.html).
%prep
%setup -q -n IO-AIO-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes COPYING README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/IO*
%{_mandir}/man3/*
%{_bindir}/*
%changelog
* Sat Aug 09 2014 Hans de Goede <hdegoede@redhat.com> - 3.71-1
- Specfile autogenerated by cpanspec 1.78.