93 lines
2.6 KiB
RPMSpec
93 lines
2.6 KiB
RPMSpec
%define PERL_VERSION %(eval `perl -V:version`; echo $version)
|
|
Name: perl-Net-SSH-Perl
|
|
Version: 2.142
|
|
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: glibc-devel
|
|
BuildRequires: libperl
|
|
BuildRequires: perl(Crypt::Curve25519)
|
|
BuildRequires: perl(Crypt::IDEA)
|
|
BuildRequires: perl(IO::Socket::Socks)
|
|
BuildRequires: perl(Math::GMP)
|
|
BuildRequires: perl-CryptX
|
|
BuildRequires: perl-File-HomeDir
|
|
BuildRequires: perl-Scalar-List-Utils
|
|
BuildRequires: perl-String-CRC32
|
|
BuildRequires: perl-devel
|
|
## 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
|
|
|
|
find %{buildroot} -name *.so -exec chmod u+w {} \;
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
rm -f .packlist
|
|
|
|
%files -f .packlist
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|
|
* Thu Aug 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.142-1mamba
|
|
- update to 2.142
|
|
|
|
* 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
|