54 lines
1.3 KiB
RPMSpec
54 lines
1.3 KiB
RPMSpec
|
|
Name: perl-Net-SSLeay
|
||
|
|
Version: 1.88
|
||
|
|
Release: 2
|
||
|
|
Summary: Perl module for using OpenSSL
|
||
|
|
License: Artistic 2.0
|
||
|
|
URL: https://metacpan.org/release/Net-SSLeay
|
||
|
|
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-%{version}.tar.gz
|
||
|
|
# Build requires
|
||
|
|
BuildRequires: openssl-devel perl-devel perl-generators
|
||
|
|
# Test Suite requires
|
||
|
|
BuildRequires: perl-Test-Warn perl-Test-NoWarnings perl-Test-Exception perl-Test-Pod
|
||
|
|
# Runtime requires
|
||
|
|
Requires: perl perl-MIME-Base64
|
||
|
|
|
||
|
|
%description
|
||
|
|
This Package provides perl modules(Net::SSLeay and Net::SSLeay::Handle) for using OpenSSL.
|
||
|
|
|
||
|
|
%package help
|
||
|
|
Summary: Man page and examples for Net::SSLeay
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
%description help
|
||
|
|
This package provides %{summary}.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n Net-SSLeay-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
|
||
|
|
%make_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%make_install
|
||
|
|
|
||
|
|
%check
|
||
|
|
make test
|
||
|
|
|
||
|
|
%files
|
||
|
|
%license LICENSE
|
||
|
|
%doc Changes Credits README CONTRIBUTING.md
|
||
|
|
%{perl_vendorarch}/auto/Net/*
|
||
|
|
%{perl_vendorarch}/Net/SSLeay*
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%{_mandir}/man3/Net::SSLeay*
|
||
|
|
%doc QuickRef examples/
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.88-2
|
||
|
|
- Adjust requires
|
||
|
|
|
||
|
|
* Sat Aug 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.88-1
|
||
|
|
- Package init
|