87 lines
2.5 KiB
RPMSpec
87 lines
2.5 KiB
RPMSpec
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
Name: perl-Crypt-RSA
|
|
Version: 1.99
|
|
Release: 3mamba
|
|
Summary: Crypt::RSA - RSA encryption module
|
|
Group: Development/Libraries/Perl
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.cpan.org/
|
|
Source: http://www.cpan.org/authors/id/V/VI/VIPUL/Crypt-RSA-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libperl
|
|
BuildRequires: perl-Class-Loader
|
|
BuildRequires: perl-Convert-ASCII-Armour
|
|
BuildRequires: perl-Crypt-CBC
|
|
BuildRequires: perl-Crypt-Primes
|
|
BuildRequires: perl-Crypt-Random
|
|
BuildRequires: perl-Data-Buffer
|
|
BuildRequires: perl-Digest-MD2
|
|
BuildRequires: perl-Digest-SHA1
|
|
BuildRequires: perl-Math-Pari
|
|
BuildRequires: perl-Sort-Versions
|
|
BuildRequires: perl-Tie-EncryptedHash
|
|
BuildRequires: perl-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: perl-Crypt-Blowfish
|
|
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
|
|
* Sat Aug 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99-3mamba
|
|
- rebuilt
|
|
|
|
* 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
|