%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Crypt-RSA Version: 1.99 Release: 2mamba Summary: Crypt::RSA - RSA encryption module Group: Development/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.cpan.org Source: http://www.cpan.org/authors/id/V/VI/VIPUL/Crypt-RSA-%{version}.tar.gz License: GPL BuildRequires: perl-Crypt-Blowfish BuildRequires: perl-Crypt-Primes BuildRequires: perl-Crypt-CBC BuildRequires: perl-Digest-MD2 BuildRequires: perl-Sort-Versions BuildRequires: perl-Tie-EncryptedHash BuildRequires: perl-Convert-ASCII-Armour BuildRequires: perl-devel >= %perl_major_ver Requires: perl >= %perl_major_ver BuildRoot: %{_tmppath}/perl-root %description Crypt::RSA - RSA encryption module. %prep %setup -q -n Crypt-RSA-%{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 * Mon Jul 15 2013 Automatic Build System 1.99-2mamba - automatic rebuild by autodist * Mon Jun 08 2009 Automatic Build System 1.99-1mamba - automatic update by autodist * Thu Feb 05 2009 Silvan Calarco 1.98-1mamba - automatic update by autodist * Wed Nov 05 2008 Silvan Calarco 1.58-2mamba - automatic rebuild by autodist * Fri Sep 14 2007 Aleph0 1.58-1mamba - update to 0.58 - spec file fixed and updated * Thu May 06 2004 Silvan Calarco 1.50-1qilnx - first build