9
0

Accepting request 36928 from devel:languages:perl

Copy from devel:languages:perl/perl-Crypt-OpenSSL-RSA based on submit request 36928 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/36928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Crypt-OpenSSL-RSA?expand=0&rev=5
This commit is contained in:
OBS User autobuild
2010-04-05 16:47:40 +00:00
committed by Git OBS Bridge
parent 85153cd7d2
commit 39520a916a
5 changed files with 55 additions and 40 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package perl-Crypt-OpenSSL-RSA (Version 0.25)
# spec file for package perl-Crypt-OpenSSL-RSA (Version 0.26)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,26 +17,32 @@
# norootforbuild
Url: http://search.cpan.org/~iroberts/Crypt-OpenSSL-RSA-0.25/
Name: perl-Crypt-OpenSSL-RSA
BuildRequires: openssl-devel
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: RSA encoding and decoding, using the openSSL libraries
Version: 0.26
Release: 1
License: GPLv2
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
AutoReqProv: on
Summary: RSA encoding and decoding, using the openSSL libraries
Version: 0.25
Release: 4
Source: Crypt-OpenSSL-RSA-%{version}.tar.gz
Patch: Crypt-OpenSSL-RSA.patch
Url: http://search.cpan.org/dist/Crypt-OpenSSL-RSA
Source: http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-RSA-0.26.tar.gz
Patch: %{cpan_name}.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: openssl-devel
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Crypt::OpenSSL::Random)
Requires: perl = %{perl_version}
Requires: perl(Crypt::OpenSSL::Random)
%description
Crypt::OpenSSL::RSA provides the ability to RSA encrypt strings which
are somewhat shorter than the block size of a key. It also allows for
decryption, signatures and signature verification.
Crypt::OpenSSL::RSA is an XS perl module designed to provide basic RSA
functionality. It does this by providing a glue to the RSA functions
in the OpenSSL library.
Authors:
@@ -44,34 +50,26 @@ Authors:
Ian Robertson, <iroberts@cpan.org>
%prep
%setup -n Crypt-OpenSSL-RSA-%{version}
%setup -n %{cpan_name}-%{version}
%patch
%build
perl Makefile.PL
make %{?_smp_mflags}
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-, root, root)
%dir %{perl_vendorarch}/Crypt
%dir %{perl_vendorarch}/Crypt/OpenSSL
%{perl_vendorarch}/Crypt/OpenSSL/RSA.pm
%dir %{perl_vendorarch}/auto/Crypt
%dir %{perl_vendorarch}/auto/Crypt/OpenSSL
%dir %{perl_vendorarch}/auto/Crypt/OpenSSL/RSA
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/RSA.bs
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/RSA.so
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/autosplit.ix
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/get_key_parameters.al
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/import_random_seed.al
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/new_key_from_parameters.al
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/new_public_key.al
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/.packlist
%doc %{_mandir}/man3/Crypt::OpenSSL::RSA.3pm.gz
/var/adm/perl-modules/perl-Crypt-OpenSSL-RSA
%doc Changes LICENSE README
%changelog