%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-EV Version: 4.17 Release: 1mamba Summary: EV - Perl interface to libev, a high performance full-featured event loop 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/EV-%{version}.tar.gz License: GPL Requires: perl >= %perl_major_ver ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: perl-devel >= %perl_major_ver ## AUTOBUILDREQ-END BuildRequires: perl-common-sense BuildRoot: %{_tmppath}/%{name}-%{version}-root %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 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" rm -f .packlist %files -f .packlist %defattr(-,root,root) %changelog * Mon May 26 2014 Automatic Build System 4.17-1mamba - automatic update by autodist * Sat Mar 15 2014 Automatic Build System 4.16-1mamba - automatic update by autodist * Sat Mar 02 2013 Automatic Build System 4.15-1mamba - automatic version update by autodist * Mon Nov 12 2012 Silvan Calarco 4.11-2mamba - perl 5.16 mass rebuild * Tue Aug 07 2012 Automatic Build System 4.11-1mamba - automatic version update by autodist * Mon Jan 17 2011 Silvan Calarco 4.03-1mamba - update to 4.03 * Tue Mar 31 2009 Silvan Calarco 3.53-1mamba - automatic update by autodist * Thu Feb 05 2009 Silvan Calarco 3.52-1mamba - automatic update by autodist * Tue Nov 04 2008 Silvan Calarco 3.42-2mamba - automatic rebuild by autodist * Wed Jul 02 2008 gil 3.42-1mamba - package created by autospec