2014-06-05 06:11:06 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Crypt-OpenSSL-X509
|
|
|
|
#
|
2021-04-13 14:49:47 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2014-06-05 06:11:06 +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.
|
|
|
|
|
2018-10-07 09:07:42 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-06-05 06:11:06 +00:00
|
|
|
#
|
|
|
|
|
2011-04-18 20:06:34 +00:00
|
|
|
|
2021-04-13 14:49:47 +00:00
|
|
|
%define cpan_name Crypt-OpenSSL-X509
|
2011-04-18 20:06:34 +00:00
|
|
|
Name: perl-Crypt-OpenSSL-X509
|
2021-04-29 15:07:02 +00:00
|
|
|
Version: 1.906
|
2011-04-18 20:06:34 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Perl extension to OpenSSL's X509 API
|
2018-10-07 09:07:42 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2020-11-09 11:13:22 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2018-10-07 09:07:42 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/J/JO/JONASBN/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2019-10-27 14:22:15 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
%{perl_requires}
|
|
|
|
# MANUAL BEGIN
|
2014-06-05 06:11:06 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: glibc-devel
|
2011-04-18 20:06:34 +00:00
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: openssl-devel
|
2019-07-22 09:38:26 +00:00
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
2019-10-27 14:22:15 +00:00
|
|
|
# MANUAL END
|
2011-04-18 20:06:34 +00:00
|
|
|
|
|
|
|
%description
|
2019-10-27 14:22:15 +00:00
|
|
|
This implement a large majority of OpenSSL's useful X509 API.
|
2018-10-07 09:07:42 +00:00
|
|
|
|
2019-10-27 14:22:15 +00:00
|
|
|
The email() method supports both certificates where the
|
|
|
|
subject is of the form:
|
|
|
|
"... CN=Firstname lastname/emailAddress=user@domain", and also
|
|
|
|
certificates where there is a X509v3 Extension of the form
|
|
|
|
"X509v3 Subject Alternative Name: email=user@domain".
|
2011-04-18 20:06:34 +00:00
|
|
|
|
|
|
|
%prep
|
2021-04-13 14:49:47 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2011-04-18 20:06:34 +00:00
|
|
|
|
|
|
|
%build
|
2019-10-27 14:22:15 +00:00
|
|
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
2021-04-13 14:49:47 +00:00
|
|
|
%make_build
|
2018-10-07 09:07:42 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
2011-04-18 20:06:34 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2018-10-07 09:07:42 +00:00
|
|
|
%perl_gen_filelist
|
2011-04-18 20:06:34 +00:00
|
|
|
|
2018-10-07 09:07:42 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%doc Changes README TODO
|
2011-04-18 20:06:34 +00:00
|
|
|
|
2014-06-05 06:11:06 +00:00
|
|
|
%changelog
|