diff --git a/README.md b/README.md index 0b08aca..14e8025 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-IO-Async +IO::Async - perform asynchronous filehandle IO and other operations. + diff --git a/perl-IO-Async.spec b/perl-IO-Async.spec new file mode 100644 index 0000000..8da9fbf --- /dev/null +++ b/perl-IO-Async.spec @@ -0,0 +1,85 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-IO-Async +Version: 0.59 +Release: 1mamba +Summary: IO::Async - perform asynchronous filehandle IO and other operations +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/IO-Async-%{version}.tar.gz +License: GPL, Artistic +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +BuildRequires: perl-Heap +BuildRequires: perl-Socket-GetAddrInfo +## AUTOBUILDREQ-END +BuildRequires: perl-devel >= %perl_major_ver +BuildRequires: perl-Test-Exception +BuildRequires: perl-Test-Identity +BuildRequires: perl-Test-Warn +BuildRequires: perl-CPS +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +IO::Async - perform asynchronous filehandle IO and other operations. + +%prep + +%setup -q -n IO-Async-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make %{?_smp_mflags} +#% 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 +* Tue Sep 03 2013 Automatic Build System 0.59-1mamba +- automatic update by autodist + +* Wed Jun 26 2013 Automatic Build System 0.58-1mamba +- automatic version update by autodist + +* Wed Jun 12 2013 Automatic Build System 0.57-1mamba +- automatic version update by autodist + +* Sun Apr 14 2013 Automatic Build System 0.56-1mamba +- automatic version update by autodist + +* Tue Mar 19 2013 Automatic Build System 0.55-1mamba +- automatic version update by autodist + +* Thu Feb 21 2013 Automatic Build System 0.54-1mamba +- automatic version update by autodist + +* Mon Nov 12 2012 Silvan Calarco 0.53-1mamba +- perl 5.16 mass rebuild + +* Wed Nov 16 2011 Silvan Calarco 0.44-1mamba +- update to 0.44 + +* Wed Jan 20 2010 Silvan Calarco 0.27-1mamba +- package created by autospec