70 lines
2.3 KiB
RPMSpec
70 lines
2.3 KiB
RPMSpec
|
|
Name: perl-IO-Socket-SSL
|
||
|
|
Version: 2.066
|
||
|
|
Release: 1
|
||
|
|
Summary: Perl library for transparent SSL
|
||
|
|
License: GPL+ or Artistic
|
||
|
|
URL: https://metacpan.org/release/IO-Socket-SSL
|
||
|
|
Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Socket-SSL-%{version}.tar.gz
|
||
|
|
|
||
|
|
# https://fedoraproject.org/wiki/Changes/CryptoPolicy
|
||
|
|
Patch0: IO-Socket-SSL-2.060-use-system-default-cipher-list.patch
|
||
|
|
Patch1: IO-Socket-SSL-2.060-use-system-default-SSL-version.patch
|
||
|
|
BuildArch: noarch
|
||
|
|
#For Build
|
||
|
|
BuildRequires: coreutils findutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker)
|
||
|
|
# For Runtime
|
||
|
|
BuildRequires: openssl >= 0.9.8 perl(Carp) perl(Config) perl(constant) perl(Errno) perl(Exporter)
|
||
|
|
BuildRequires: perl(HTTP::Tiny) perl(IO::Socket) perl(IO::Socket::INET6) >= 2.62 perl(Net::SSLeay) >= 1.46
|
||
|
|
BuildRequires: perl(Scalar::Util) perl(Socket) perl(Socket6) perl(strict) perl(vars) perl(warnings)
|
||
|
|
# For Test
|
||
|
|
BuildRequires: perl(Data::Dumper) perl(File::Temp) perl(FindBin) perl(IO::Select)
|
||
|
|
BuildRequires: perl(IO::Socket::INET) perl(Test::More) >= 0.88 perl(utf8) procps
|
||
|
|
BuildRequires: perl(IO::Socket::IP) >= 0.20, perl(Socket) >= 1.95
|
||
|
|
BuildRequires: perl(Net::IDN::Encode) perl(Net::LibIDN) perl(URI::_idna)
|
||
|
|
|
||
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||
|
|
Requires: openssl >= 0.9.8
|
||
|
|
Requires: perl(Config)
|
||
|
|
Requires: perl(HTTP::Tiny)
|
||
|
|
Requires: perl(IO::Socket::IP) >= 0.20, perl(Socket) >= 1.95
|
||
|
|
Requires: perl(URI::_idna)
|
||
|
|
|
||
|
|
%description
|
||
|
|
IO::Socket::SSL is a class implementing an object oriented
|
||
|
|
interface to SSL sockets. The class is a descendent of
|
||
|
|
IO::Socket::INET.
|
||
|
|
|
||
|
|
%package_help
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n IO-Socket-SSL-%{version} -p1
|
||
|
|
|
||
|
|
%build
|
||
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_NETWORK_TESTING=1 NO_PACKLIST=1
|
||
|
|
%make_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
make pure_install DESTDIR=%{buildroot}
|
||
|
|
%{_fixperms} -c %{buildroot}
|
||
|
|
|
||
|
|
%check
|
||
|
|
make test
|
||
|
|
|
||
|
|
%files
|
||
|
|
%doc BUGS Changes README docs/ certs/ example/
|
||
|
|
%dir %{perl_vendorlib}/IO/
|
||
|
|
%dir %{perl_vendorlib}/IO/Socket/
|
||
|
|
%doc %{perl_vendorlib}/IO/Socket/SSL.pod
|
||
|
|
%{perl_vendorlib}/IO/Socket/SSL.pm
|
||
|
|
%{perl_vendorlib}/IO/Socket/SSL/
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%{_mandir}/man3/IO::Socket::SSL.3*
|
||
|
|
%{_mandir}/man3/IO::Socket::SSL::Intercept.3*
|
||
|
|
%{_mandir}/man3/IO::Socket::SSL::PublicSuffix.3*
|
||
|
|
%{_mandir}/man3/IO::Socket::SSL::Utils.3*
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.066-1
|
||
|
|
- Package init
|