2008-11-05 03:44:12 +00:00
|
|
|
#
|
2010-04-05 16:47:40 +00:00
|
|
|
# spec file for package perl-Crypt-OpenSSL-RSA (Version 0.26)
|
2008-11-05 03:44:12 +00:00
|
|
|
#
|
2010-01-12 11:20:38 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-11-05 03:44:12 +00:00
|
|
|
#
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Crypt-OpenSSL-RSA
|
2010-04-05 16:47:40 +00:00
|
|
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
|
|
|
Summary: RSA encoding and decoding, using the openSSL libraries
|
|
|
|
|
Version: 0.26
|
2011-05-17 13:01:30 +00:00
|
|
|
Release: 4
|
2010-01-12 11:20:38 +00:00
|
|
|
License: GPLv2
|
2008-11-05 03:44:12 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
|
AutoReqProv: on
|
2010-04-05 16:47:40 +00:00
|
|
|
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
|
2008-11-05 03:44:12 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 13:59:29 +00:00
|
|
|
%{perl_requires}
|
2010-04-05 16:47:40 +00:00
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
|
BuildRequires: perl(Crypt::OpenSSL::Random)
|
|
|
|
|
Requires: perl(Crypt::OpenSSL::Random)
|
2008-11-05 03:44:12 +00:00
|
|
|
|
|
|
|
|
%description
|
2010-04-05 16:47:40 +00:00
|
|
|
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.
|
2008-11-05 03:44:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Ian Robertson, <iroberts@cpan.org>
|
|
|
|
|
|
|
|
|
|
%prep
|
2010-04-05 16:47:40 +00:00
|
|
|
%setup -n %{cpan_name}-%{version}
|
2008-11-05 03:44:12 +00:00
|
|
|
%patch
|
|
|
|
|
|
|
|
|
|
%build
|
2010-04-05 16:47:40 +00:00
|
|
|
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%{__make} test
|
2008-11-05 03:44:12 +00:00
|
|
|
|
|
|
|
|
%install
|
2010-04-05 16:47:40 +00:00
|
|
|
%perl_make_install
|
2008-11-05 03:44:12 +00:00
|
|
|
%perl_process_packlist
|
2010-04-05 16:47:40 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2008-11-05 03:44:12 +00:00
|
|
|
|
2010-04-05 16:47:40 +00:00
|
|
|
%files -f %{name}.files
|
2008-11-05 03:44:12 +00:00
|
|
|
%defattr(-, root, root)
|
2010-04-05 16:47:40 +00:00
|
|
|
%doc Changes LICENSE README
|
2008-11-05 03:44:12 +00:00
|
|
|
|
|
|
|
|
%changelog
|