perl-Net-SSLeay/perl-Net-SSLeay.spec

137 lines
4.1 KiB
RPMSpec
Raw Permalink Normal View History

%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Net-SSLeay
Version: 1.88
Release: 1mamba
Summary: Net::SSLeay - Perl module for using OpenSSL
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cpan.org
Source: https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-%{version}.tar.gz
Patch: perl-Net_SSLeay-no_net_tests.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libopenssl-devel
BuildRequires: libperl
BuildRequires: libz-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl-Sub-Uplevel
BuildRequires: perl-Test-Exception
BuildRequires: perl-Array-Compare
BuildRequires: perl-Tree-DAG_Node
BuildRequires: perl-Test-Warn
BuildRequires: perl-Test-NoWarnings
BuildRequires: perl-Test-Kwalitee
BuildRequires: openssl
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Net::SSLeay Perl module for using OpenSSL.
%prep
%setup -q -n Net-SSLeay-%{version}
#%patch0 -p1
%build
PERL_MM_USE_DEFAULT=1 \
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make
%ifnarch arm aarch64
%make test
%endif
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Mon Dec 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.88-1mamba
- update to 1.88
* Thu Nov 23 2017 Automatic Build System <autodist@mambasoft.it> 1.82-1mamba
- automatic update by autodist
* Fri Oct 27 2017 Automatic Build System <autodist@mambasoft.it> 1.81-1mamba
- automatic update by autodist
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.78-2mamba
- rebuilt with perl 5.24
* Thu Sep 01 2016 Automatic Build System <autodist@mambasoft.it> 1.78-1mamba
- automatic update by autodist
* Fri Feb 05 2016 Automatic Build System <autodist@mambasoft.it> 1.72-1mamba
- automatic update by autodist
* Wed Jul 08 2015 Automatic Build System <autodist@mambasoft.it> 1.70-1mamba
- automatic update by autodist
* Mon Feb 09 2015 Automatic Build System <autodist@mambasoft.it> 1.68-1mamba
- automatic update by autodist
* Fri Sep 19 2014 Automatic Build System <autodist@mambasoft.it> 1.66-1mamba
- automatic update by autodist
* Wed Jul 23 2014 Automatic Build System <autodist@mambasoft.it> 1.65-1mamba
- automatic update by autodist
* Thu Jul 10 2014 Automatic Build System <autodist@mambasoft.it> 1.64-1mamba
- automatic update by autodist
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 1.63-1mamba
- automatic update by autodist
* Tue Feb 18 2014 Automatic Build System <autodist@mambasoft.it> 1.58-1mamba
- automatic update by autodist
* Sat Jun 08 2013 Automatic Build System <autodist@mambasoft.it> 1.55-1mamba
- automatic version update by autodist
* Mon Mar 25 2013 Automatic Build System <autodist@mambasoft.it> 1.54-1mamba
- automatic version update by autodist
* Fri Feb 08 2013 Automatic Build System <autodist@mambasoft.it> 1.52-1mamba
- update to 1.52
* Sat Nov 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36-2mamba
- perl 5.16 mass rebuild
* Thu Aug 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36-1mamba
- update to 1.36
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.35-2mamba
- automatic rebuild by autodist
* Mon Oct 20 2008 gil <puntogil@libero.it> 1.35-1mamba
- update to 1.35
* Fri Nov 09 2007 Aleph0 <aleph0@openmamba.org> 1.32-1mamba
- update to 1.32
* Fri Oct 15 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.25-1qilnx
- package created by autospec