perl-IO-Async/perl-IO-Async.spec

121 lines
3.8 KiB
RPMSpec
Raw Normal View History

%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-IO-Async
Version: 0.71
Release: 2mamba
Summary: IO::Async - perform asynchronous filehandle IO and other operations
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://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: libperl
BuildRequires: perl-Encode
BuildRequires: perl-Future
BuildRequires: perl-Scalar-List-Utils
BuildRequires: perl-Struct-Dumb
BuildRequires: perl-Test-Fatal
BuildRequires: perl-Test-Refcount
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl >= 2:5.36.0
BuildRequires: perl-devel >= %perl_major_ver
BuildRequires: perl-Test-Exception
BuildRequires: perl-Test-Identity
BuildRequires: perl-Test-Warn
BuildRequires: perl-CPS
%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
* Mon Apr 17 2023 Sdk Build System <sdk@mambasoft.it> 0.71-2mamba
- rebuilt with perl 5.36.0
* Thu Oct 26 2017 Automatic Build System <autodist@mambasoft.it> 0.71-1mamba
- automatic update by autodist
* Sun Sep 11 2016 Automatic Build System <autodist@mambasoft.it> 0.70-1mamba
- automatic update by autodist
* Tue Dec 15 2015 Automatic Build System <autodist@mambasoft.it> 0.69-1mamba
- automatic update by autodist
* Wed Jun 10 2015 Automatic Build System <autodist@mambasoft.it> 0.67-1mamba
- automatic update by autodist
* Thu May 07 2015 Automatic Build System <autodist@mambasoft.it> 0.66-1mamba
- automatic update by autodist
* Wed Feb 18 2015 Automatic Build System <autodist@mambasoft.it> 0.65-1mamba
- automatic update by autodist
* Sun Oct 19 2014 Automatic Build System <autodist@mambasoft.it> 0.64-1mamba
- automatic update by autodist
* Fri Aug 08 2014 Automatic Build System <autodist@mambasoft.it> 0.63-1mamba
- automatic update by autodist
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 0.62-1mamba
- automatic update by autodist
* Tue Sep 03 2013 Automatic Build System <autodist@mambasoft.it> 0.59-1mamba
- automatic update by autodist
* Wed Jun 26 2013 Automatic Build System <autodist@mambasoft.it> 0.58-1mamba
- automatic version update by autodist
* Wed Jun 12 2013 Automatic Build System <autodist@mambasoft.it> 0.57-1mamba
- automatic version update by autodist
* Sun Apr 14 2013 Automatic Build System <autodist@mambasoft.it> 0.56-1mamba
- automatic version update by autodist
* Tue Mar 19 2013 Automatic Build System <autodist@mambasoft.it> 0.55-1mamba
- automatic version update by autodist
* Thu Feb 21 2013 Automatic Build System <autodist@mambasoft.it> 0.54-1mamba
- automatic version update by autodist
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.53-1mamba
- perl 5.16 mass rebuild
* Wed Nov 16 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.44-1mamba
- update to 0.44
* Wed Jan 20 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.27-1mamba
- package created by autospec