2011-04-18 20:06:34 +00:00
|
|
|
# vim: set sw=4 ts=4 et nu:
|
2014-06-05 06:11:06 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Crypt-OpenSSL-X509
|
|
|
|
#
|
2015-08-28 07:00:55 +00:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-04-18 20:06:34 +00:00
|
|
|
|
|
|
|
Name: perl-Crypt-OpenSSL-X509
|
2011-05-08 10:06:32 +00:00
|
|
|
Version: 1.800.2
|
2011-04-18 20:06:34 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Perl extension to OpenSSL's X509 API
|
2014-06-05 06:11:06 +00:00
|
|
|
License: Artistic-1.0 or GPL-2.0+
|
2011-04-18 20:06:34 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2014-06-05 06:11:06 +00:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/Crypt-OpenSSL-X509-%{version}.tar.gz
|
2015-08-28 07:00:55 +00:00
|
|
|
# Patch proposed upstream https://github.com/dsully/perl-crypt-openssl-x509/pull/43
|
|
|
|
Patch1: 0001-fix-compilation-with-gcc5.patch
|
2014-06-05 06:11:06 +00:00
|
|
|
Url: http://search.cpan.org/dist/Crypt-OpenSSL-X509
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-04-18 20:06:34 +00:00
|
|
|
%{perl_requires}
|
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
|
2014-06-05 06:11:06 +00:00
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
2011-04-18 20:06:34 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This implements a large majority of OpenSSL's useful X509 API.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n "Crypt-OpenSSL-X509-%{version}"
|
|
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
2015-08-28 07:00:55 +00:00
|
|
|
%patch1 -p1
|
2011-04-18 20:06:34 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%check
|
|
|
|
%__make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes TODO README
|
|
|
|
%dir %{perl_vendorarch}/Crypt
|
|
|
|
%dir %{perl_vendorarch}/Crypt/OpenSSL
|
|
|
|
%{perl_vendorarch}/Crypt/OpenSSL/X509.pm
|
|
|
|
%dir %{perl_vendorarch}/auto/Crypt
|
|
|
|
%dir %{perl_vendorarch}/auto/Crypt/OpenSSL
|
|
|
|
%{perl_vendorarch}/auto/Crypt/OpenSSL/X509
|
|
|
|
%doc %{perl_man3dir}/Crypt::OpenSSL::X509.%{perl_man3ext}%{ext_man}
|
|
|
|
|
2014-06-05 06:11:06 +00:00
|
|
|
%changelog
|