diff --git a/README.md b/README.md index 859832b..23868e5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-IO-AIO +This module implements asynchronous I/O using whatever means your operating system supports. + diff --git a/perl-IO-AIO.spec b/perl-IO-AIO.spec new file mode 100644 index 0000000..c4e573f --- /dev/null +++ b/perl-IO-AIO.spec @@ -0,0 +1,86 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-IO-AIO +Version: 4.18 +Release: 2mamba +Summary: IO::AIO - Asynchronous Input/Output +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/IO-AIO-%{version}.tar.gz +License: Artistic, GPL +Requires: perl >= %perl_major_ver +BuildRequires: libgdbm-devel +BuildRequires: libdb47-devel +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: perl-devel >= %perl_major_ver +## AUTOBUILDREQ-END + +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Mon Nov 12 2012 Silvan Calarco 4.18-2mamba +- perl 5.16 mass rebuild + +* Wed Oct 24 2012 Automatic Build System 4.18-1mamba +- automatic version update by autodist + +* Thu Apr 26 2012 Automatic Build System 4.15-1mamba +- automatic version update by autodist + +* Mon Jul 18 2011 Automatic Build System 4.0-1mamba +- automatic update by autodist + +* Fri Jul 03 2009 Automatic Build System 3.261-1mamba +- automatic update by autodist + +* Mon Jun 22 2009 Automatic Build System 3.23-1mamba +- automatic update by autodist + +* Tue May 05 2009 Automatic Build System 3.19-1mamba +- automatic update by autodist + +* Fri Feb 06 2009 Silvan Calarco 3.17-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 3.05-2mamba +- automatic rebuild by autodist + +* Wed Jul 02 2008 gil 3.05-1mamba +- package created by autospec