Summary: Perl extension for using OpenSSL Name: perl-Net-SSLeay Version: 1.85 Release: 2%{?dist} License: Perl Artistic License 2.0 Group: Development/Libraries URL: http://search.cpan.org/~mikem/Net-SSLeay-%{version}/ Source: https://cpan.metacpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-%{version}.tar.gz %define sha1 Net-SSLeay=5f1c7b6ccac81efd5b78b1e076c694f96ca5c439 %if 0%{?with_fips:1} Source100: openssl-fips-2.0.9-lin64.tar.gz %define sha1 openssl-fips=e834d3678fb190f9483f48f037fb17041abba6a1 %endif Vendor: VMware, Inc. Distribution: Photon Requires: perl >= 5.28.0 Requires: openssl BuildRequires: perl >= 5.28.0 BuildRequires: openssl-devel %description Net::SSLeay module contains perl bindings to openssl (http://www.openssl.org) library. Net::SSLeay module basically comprise of: * High level functions for accessing web servers (by using HTTP/HTTPS) * Low level API (mostly mapped 1:1 to openssl's C functions) * Convenience functions (related to low level API but with more perl friendly interface) * There is also a related module called Net::SSLeay::Handle included in this distribution that you might want to use instead. It has its own pod documentation. %prep %setup -q -n Net-SSLeay-%{version} %build %if 0%{?with_fips:1} tar xf %{SOURCE100} --no-same-owner -C .. # Do not package it to src.rpm :> %{SOURCE100} cp ../openssl-fips-2.0.9/include/openssl/fips.h /usr/include/openssl/ %endif env PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name '*.bs' -empty -delete %check make test %files %{perl_vendorlib}/* %{_mandir}/man?/* %changelog * Wed Oct 17 2018 Alexey Makhalov 1.85-2 - Move fips logic to spec file * Fri Sep 21 2018 Dweep Advani 1.85-1 - Update to version 1.85 * Fri Oct 13 2017 Alexey Makhalov 1.81-2 - Remove BuildArch * Wed Apr 05 2017 Robert Qi 1.81-1 - Update version to 1.81 * Tue May 24 2016 Priyesh Padmavilasom 1.72-2 - GA - Bump release of all rpms * Mon Mar 28 2016 Mahmoud Bassiouny 1.72-1 - Initial version.