perl-Net-SSH-Perl/perl-Net-SSH-Perl.spec

90 lines
2.5 KiB
RPMSpec
Raw Normal View History

%define PERL_VERSION %(eval `perl -V:version`; echo $version)
Name: perl-Net-SSH-Perl
Version: 2.14
Release: 1mamba
Summary: Perl implementations of both the SSH1 and SSH2 protocols.
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.cpan.org
Source: https://cpan.metacpan.org/modules/by-module/Net/Net-SSH-Perl-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-Compress-Zlib
BuildRequires: perl-Convert-PEM
BuildRequires: perl-Crypt-DES
BuildRequires: perl-Crypt-DH
BuildRequires: perl-Crypt-DSA
BuildRequires: perl-Crypt-IDEA
BuildRequires: perl-Crypt-RSA
BuildRequires: perl-devel >= %PERL_VERSION
BuildRequires: perl-Digest-HMAC
BuildRequires: perl-Digest-SHA1
BuildRequires: perl-Math-GMP
BuildRequires: perl-Math-Pari
BuildRequires: perl-String-CRC32
## AUTOBUILDREQ-END
BuildRequires: perl-Digest-BubbleBabble
Requires: perl >= %PERL_VERSION
%description
This is Net::SSH::Perl.
It contains implementations of both the SSH1 and SSH2 protocols.
%prep
%setup -q -n Net-SSH-Perl-%{version}
%build
perl Makefile.PL << EOF
3
1
n
EOF
%make
#make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
%define PERL_SITEARCH %(eval `perl -V:sitearch`; echo $sitearch)
cat %{buildroot}%PERL_SITEARCH/auto/Net/SSH/Perl/.packlist | \
sed "s@%{buildroot}@@g;s@.*/man/.*@&.gz@g" | \
grep -v "Win32.pm" | \
sort -u > .packlist
rm -f %{buildroot}%PERL_SITEARCH/auto/Net/SSH/Perl/.packlist
rm -f %{buildroot}%{perl_sitelib}/*/Net/SSH/Perl/Util/Win32.pm
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Fri Feb 26 2021 Automatic Build System <autodist@mambasoft.it> 2.14-1mamba
- automatic version update by autodist
* Thu Aug 29 2013 Automatic Build System <autodist@mambasoft.it> 1.30-3mamba
- automatic rebuild by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.30-2mamba
- automatic rebuild by autodist
* Thu Jun 12 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.30-1mamba
- update to 1.30
* Wed Jan 19 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.25-3qilnx
- fixed perl requires version check (>= instead of =)
* Thu May 06 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.25-2qilnx
- rebuild with perl-Crypt-RSA installed
* Thu May 06 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.25-1qilnx
- first build