Merged from SVN repos fedora and centos
This commit is contained in:
47
fedora/SPECS/perl-IO-AIO.spec
Normal file
47
fedora/SPECS/perl-IO-AIO.spec
Normal 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.
|
||||
Reference in New Issue
Block a user