perl-EV/perl-EV.spec

110 lines
3.2 KiB
RPMSpec
Raw Permalink Normal View History

%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-EV
Version: 4.34
Release: 1mamba
Summary: EV - Perl interface to libev, a high performance full-featured event loop
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/M/ML/MLEHMANN/EV-%{version}.tar.gz
License: GPL
Requires: perl >= %perl_major_ver
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libperl
BuildRequires: perl-common-sense
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl >= 2:5.36.0
BuildRequires: perl-common-sense
%description
This module provides an interface to libev
(http://software.schmorp.de/pkg/libev.html).
%prep
%setup -q -n EV-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor << _EOF
_EOF
%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
find %{buildroot} -name *.so -exec chmod u+w {} \;
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Mon Oct 09 2023 Automatic Build System <autodist@mambasoft.it> 4.34-1mamba
- automatic version update by autodist
* Sun Apr 16 2023 Sdk Build System <sdk@mambasoft.it> 4.33-2mamba
- rebuilt with perl 5.36.0
* Fri May 01 2020 Automatic Build System <autodist@mambasoft.it> 4.33-1mamba
- automatic update by autodist
* Fri Oct 27 2017 Automatic Build System <autodist@mambasoft.it> 4.22-1mamba
- automatic update by autodist
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.18-2mamba
- rebuilt with perl 5.24
* Tue Sep 09 2014 Automatic Build System <autodist@mambasoft.it> 4.18-1mamba
- automatic update by autodist
* Mon May 26 2014 Automatic Build System <autodist@mambasoft.it> 4.17-1mamba
- automatic update by autodist
* Sat Mar 15 2014 Automatic Build System <autodist@mambasoft.it> 4.16-1mamba
- automatic update by autodist
* Sat Mar 02 2013 Automatic Build System <autodist@mambasoft.it> 4.15-1mamba
- automatic version update by autodist
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11-2mamba
- perl 5.16 mass rebuild
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 4.11-1mamba
- automatic version update by autodist
* Mon Jan 17 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.03-1mamba
- update to 4.03
* Tue Mar 31 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.53-1mamba
- automatic update by autodist
* Thu Feb 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.52-1mamba
- automatic update by autodist
* Tue Nov 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.42-2mamba
- automatic rebuild by autodist
* Wed Jul 02 2008 gil <puntogil@libero.it> 3.42-1mamba
- package created by autospec