# # spec file for package perl-Crypt-OpenSSL-RSA # # Copyright (c) 2017 SUSE LINUX 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/ # %define cpan_name Crypt-OpenSSL-RSA Name: perl-Crypt-OpenSSL-RSA Version: 0.28 Release: 0 Summary: RSA encoding and decoding, using the openSSL libraries License: GPL-1.0+ OR Artistic-1.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Crypt-OpenSSL-RSA Source: http://search.cpan.org/CPAN/authors/id/P/PE/PERLER/Crypt-OpenSSL-RSA-%{version}.tar.gz Patch0: %{cpan_name}.patch Patch1: openssl110.patch BuildRequires: openssl-devel BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Crypt::OpenSSL::Random) Requires: perl(Crypt::OpenSSL::Random) %{perl_requires} %description 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. %prep %setup -q -n %{cpan_name}-%{version} %patch0 %patch1 -p1 %build perl Makefile.PL OPTIMIZE="%{optflags} -Wall" make %{?_smp_mflags} %check make %{?_smp_mflags} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes LICENSE README %changelog