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

86 lines
2.4 KiB
RPMSpec

%define PERL_VERSION %(eval `perl -V:version`; echo $version)
Name: perl-Net-SSH-Perl
Version: 1.30
Release: 3mamba
Summary: Perl implementations of both the SSH1 and SSH2 protocols.
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@openmamba.org>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/D/DB/DBROBINS/Net-SSH-Perl-%{version}.tar.gz
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## 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
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* 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