diff --git a/README.md b/README.md index 44a4280..b1ba814 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # perl-Net-SSH-Perl +This is Net::SSH::Perl. +It contains implementations of both the SSH1 and SSH2 protocols. + diff --git a/perl-Net-SSH-Perl.spec b/perl-Net-SSH-Perl.spec new file mode 100644 index 0000000..71c9171 --- /dev/null +++ b/perl-Net-SSH-Perl.spec @@ -0,0 +1,85 @@ +%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 +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 1.30-3mamba +- automatic rebuild by autodist + +* Wed Nov 05 2008 Silvan Calarco 1.30-2mamba +- automatic rebuild by autodist + +* Thu Jun 12 2008 Tiziana Ferro 1.30-1mamba +- update to 1.30 + +* Wed Jan 19 2005 Silvan Calarco 1.25-3qilnx +- fixed perl requires version check (>= instead of =) + +* Thu May 06 2004 Silvan Calarco 1.25-2qilnx +- rebuild with perl-Crypt-RSA installed + +* Thu May 06 2004 Silvan Calarco 1.25-1qilnx +- first build