From 5e096f9d5fa4da4f134080ff1f78e60f1ecf6b80 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:45:44 +0100 Subject: [PATCH] update to 0.28 [release 0.28-1mamba;Fri Feb 08 2013] --- README.md | 2 + perl-Crypt-OpenSSL-RSA-0.26-perl-5.16.patch | 9 +++ perl-Crypt-OpenSSL-RSA.spec | 73 +++++++++++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 perl-Crypt-OpenSSL-RSA-0.26-perl-5.16.patch create mode 100644 perl-Crypt-OpenSSL-RSA.spec diff --git a/README.md b/README.md index 68b90fe..c215924 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Crypt-OpenSSL-RSA +RSA encoding and decoding, using the openSSL libraries. + diff --git a/perl-Crypt-OpenSSL-RSA-0.26-perl-5.16.patch b/perl-Crypt-OpenSSL-RSA-0.26-perl-5.16.patch new file mode 100644 index 0000000..3a93c83 --- /dev/null +++ b/perl-Crypt-OpenSSL-RSA-0.26-perl-5.16.patch @@ -0,0 +1,9 @@ +--- RSA.pm~ 2009-11-22 21:36:07.000000000 +0100 ++++ RSA.pm 2011-05-19 21:53:08.000000000 +0200 +@@ -7,5 +7,5 @@ + + require DynaLoader; +-require AutoLoader; ++use AutoLoader 'AUTOLOAD'; + + @ISA = qw(DynaLoader); diff --git a/perl-Crypt-OpenSSL-RSA.spec b/perl-Crypt-OpenSSL-RSA.spec new file mode 100644 index 0000000..26a093d --- /dev/null +++ b/perl-Crypt-OpenSSL-RSA.spec @@ -0,0 +1,73 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Crypt-OpenSSL-RSA +Version: 0.28 +Release: 1mamba +Summary: Crypt::OpenSSL::RSA - RSA encoding and decoding, using the openSSL libraries +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/P/PE/PERLER/Crypt-OpenSSL-RSA-%{version}.tar.gz +Patch0: perl-Crypt-OpenSSL-RSA-0.26-perl-5.16.patch +License: GPL, Artistic +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libopenssl-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl-Crypt-OpenSSL-Random +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +RSA encoding and decoding, using the openSSL libraries. + +%prep +%setup -q -n Crypt-OpenSSL-RSA-%{version} +#%patch0 -p0 + +%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 +* Fri Feb 08 2013 Automatic Build System 0.28-1mamba +- update to 0.28 + +* Sat Nov 10 2012 Silvan Calarco 0.26-3mamba +- perl 5.16 rebuild + +* Wed Nov 24 2010 Silvan Calarco 0.26-2mamba +- rebuilt with openssl 1.0 + +* Tue Jan 12 2010 Automatic Build System 0.26-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 0.25-2mamba +- automatic rebuild by autodist + +* Thu Nov 08 2007 Silvan Calarco 0.25-1mamba +- package created by autospec