%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Net-SSLeay Version: 1.58 Release: 1mamba Summary: Net::SSLeay - Perl module for using OpenSSL Group: Development/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.cpan.org Source: http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-%{version}.tar.gz Patch: perl-Net_SSLeay-no_net_tests.patch License: GPL BuildRequires: perl-Sub-Uplevel BuildRequires: perl-Test-Exception BuildRequires: perl-Array-Compare BuildRequires: perl-Tree-DAG_Node BuildRequires: perl-Test-Warn BuildRequires: perl-Test-NoWarnings BuildRequires: perl-Test-Kwalitee ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libopenssl-devel BuildRequires: libz-devel BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: openssl Requires: perl >= %perl_major_ver BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Net::SSLeay Perl module for using OpenSSL. %prep %setup -q -n Net-SSLeay-%{version} #%patch0 -p1 %build perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor << _EOF n _EOF %make %ifnarch arm %make test %endif %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 Feb 18 2014 Automatic Build System 1.58-1mamba - automatic update by autodist * Sat Jun 08 2013 Automatic Build System 1.55-1mamba - automatic version update by autodist * Mon Mar 25 2013 Automatic Build System 1.54-1mamba - automatic version update by autodist * Fri Feb 08 2013 Automatic Build System 1.52-1mamba - update to 1.52 * Sat Nov 10 2012 Silvan Calarco 1.36-2mamba - perl 5.16 mass rebuild * Thu Aug 05 2010 Silvan Calarco 1.36-1mamba - update to 1.36 * Wed Nov 05 2008 Silvan Calarco 1.35-2mamba - automatic rebuild by autodist * Mon Oct 20 2008 gil 1.35-1mamba - update to 1.35 * Fri Nov 09 2007 Aleph0 1.32-1mamba - update to 1.32 * Fri Oct 15 2004 Silvan Calarco 1.25-1qilnx - package created by autospec