# # spec file for package perl-Crypt-OpenSSL-RSA (Version 0.25) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Url: http://search.cpan.org/~iroberts/Crypt-OpenSSL-RSA-0.25/ Name: perl-Crypt-OpenSSL-RSA BuildRequires: openssl-devel 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build %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. Authors: -------- Ian Robertson, %prep %setup -n Crypt-OpenSSL-RSA-%{version} %patch %build perl Makefile.PL make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %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 %changelog