From 590570c43c5c1f3b723c573ea91efaaa08e9c03e Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:32:54 +0100 Subject: [PATCH] automatic rebuild by autodist [release 1.1-2mamba;Wed Jul 31 2013] --- README.md | 2 ++ perl-AnyEvent-AIO.spec | 66 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 perl-AnyEvent-AIO.spec diff --git a/README.md b/README.md index 2fb70da..ccde729 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-AnyEvent-AIO +This module is an AnyEvent user, you need to make sure that you use and run a supported event loop. + diff --git a/perl-AnyEvent-AIO.spec b/perl-AnyEvent-AIO.spec new file mode 100644 index 0000000..6c4793f --- /dev/null +++ b/perl-AnyEvent-AIO.spec @@ -0,0 +1,66 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-AnyEvent-AIO +Version: 1.1 +Release: 2mamba +Summary: AnyEvent::AIO - truly asynchronous file and directrory I/O +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/AnyEvent-AIO-%{version}.tar.gz +License: Artistic, GPL +Requires: perl >= %perl_major_ver + +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-AnyEvent +BuildRequires: perl-devel >= %perl_major_ver +BuildRequires: perl-IO-AIO +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This module is an AnyEvent user, you need to make sure that you use and run a supported event loop. + +%prep + +%setup -q -n AnyEvent-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 +* Wed Jul 31 2013 Automatic Build System 1.1-2mamba +- automatic rebuild by autodist + +* Tue Jul 21 2009 Automatic Build System 1.1-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 1.0-2mamba +- automatic rebuild by autodist + +* Thu Jul 03 2008 gil 1.0-1mamba +- package created by autospec