2024-01-06 08:46:35 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Crypt-RSA
|
|
|
|
Version: 1.99
|
2024-01-06 08:46:35 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 08:46:35 +01:00
|
|
|
Summary: Crypt::RSA - RSA encryption module
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 08:46:35 +01:00
|
|
|
URL: https://www.cpan.org/
|
2024-01-06 08:46:35 +01:00
|
|
|
Source: http://www.cpan.org/authors/id/V/VI/VIPUL/Crypt-RSA-%{version}.tar.gz
|
|
|
|
License: GPL
|
2024-01-06 08:46:35 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libperl
|
|
|
|
BuildRequires: perl-Class-Loader
|
|
|
|
BuildRequires: perl-Convert-ASCII-Armour
|
2024-01-06 08:46:35 +01:00
|
|
|
BuildRequires: perl-Crypt-CBC
|
2024-01-06 08:46:35 +01:00
|
|
|
BuildRequires: perl-Crypt-Primes
|
|
|
|
BuildRequires: perl-Crypt-Random
|
|
|
|
BuildRequires: perl-Data-Buffer
|
2024-01-06 08:46:35 +01:00
|
|
|
BuildRequires: perl-Digest-MD2
|
2024-01-06 08:46:35 +01:00
|
|
|
BuildRequires: perl-Digest-SHA1
|
|
|
|
BuildRequires: perl-Math-Pari
|
2024-01-06 08:46:35 +01:00
|
|
|
BuildRequires: perl-Sort-Versions
|
|
|
|
BuildRequires: perl-Tie-EncryptedHash
|
2024-01-06 08:46:35 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: perl-Crypt-Blowfish
|
2024-01-06 08:46:35 +01:00
|
|
|
BuildRequires: perl-devel >= %perl_major_ver
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
|
|
|
|
%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
|
2024-01-06 08:46:35 +01:00
|
|
|
* Sat Aug 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99-3mamba
|
|
|
|
- rebuilt
|
|
|
|
|
2024-01-06 08:46:35 +01:00
|
|
|
* Mon Jul 15 2013 Automatic Build System <autodist@mambasoft.it> 1.99-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Mon Jun 08 2009 Automatic Build System <autodist@mambasoft.it> 1.99-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.98-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.58-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri Sep 14 2007 Aleph0 <aleph0@openmamba.org> 1.58-1mamba
|
|
|
|
- update to 0.58
|
|
|
|
- spec file fixed and updated
|
|
|
|
|
|
|
|
* Thu May 06 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.50-1qilnx
|
|
|
|
- first build
|