# FIXME: noarch or generate debuginfo
%define debug_package %{nil}
Summary: SSL sockets with IO::Socket interface
Name: perl-IO-Socket-SSL
Version: 2.024
Release: 3%{?dist}
License: Perl Artistic License 2.0
Group: Development/Libraries
URL: http://search.cpan.org/~sullr/IO-Socket-SSL-2.024/lib/IO/Socket/SSL.pod
Source: http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version}.tar.gz
%define sha1 IO-Socket-SSL=2c624f52d1c53c36f8cc0b21c15575e64114f53c
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: x86_64
Requires: perl-Net-SSLeay
BuildRequires: perl-Net-SSLeay
%description
IO::Socket::SSL makes using SSL/TLS much easier by wrapping the necessary functionality into the familiar IO::Socket interface and providing secure defaults whenever possible. This way, existing applications can be made SSL-aware without much effort, at least if you do blocking I/O and don't use select or poll.
%prep
%setup -q -n IO-Socket-SSL-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f \( -name .packlist -o \
-name '*.bs' -size 0 \) -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%check
make test
%files
%{perl_vendorlib}/*
%{_mandir}/man?/*
%changelog
* Wed Jun 06 2018 Xiaolin Li <xiaolinl@vmware.com> 2.024-3
- Bump release after upgraded perl to 5.24.1
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.024-2
- GA - Bump release of all rpms
* Mon Mar 28 2016 Mahmoud Bassiouny <mbassiounu@vmware.com> 2.024-1
- Initial version.