Name: perl-Net-SSH-Perl Version: 1.24 Release: 1mdk License: GPL or Artistic %define realname Net-SSH-Perl Group: Development/Perl Summary: Perl client Interface to SSH Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Net/%{realname}-%{version}.tar.bz2 Url: http://www.cpan.org Prefix: %{_prefix} #Patch: patch-Net-SSH-Perl_options.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: perl-devel BuildRequires: sed BuildRequires: perl-MIME-Base64 BuildRequires: perl-Math-Pari BuildRequires: perl-Digest-MD5 BuildRequires: perl-Math-GMP BuildRequires: perl-String-CRC32 BuildRequires: perl-Crypt-IDEA BuildRequires: perl-Crypt-DH BuildRequires: perl-Convert-PEM BuildRequires: perl-Crypt-DSA BuildRequires: perl-Digest-SHA1 BuildRequires: perl-Digest-HMAC # The 2 following BuildRequire are only options, if you comment this # BuildRequires, then uncomment the few lines after %build BuildRequires: perl-Digest-BubbleBabble BuildRequires: perl-Crypt-RSA Requires: perl BuildArch: noarch %description Net::SSH::Perl is an all-Perl module implementing an SSH (Secure Shell) client. It is compatible with both the SSH-1 and SSH-2 protocols. %prep %setup -q -n %{realname}-%{version} %build ### Declane by default the optionnal perl packages download requests #mv Makefile.PL Makefile.PL_ #sed -e 's,Would you like to install it now? (y\/n)\"\,\ \"y\")),Would you like to install it now? (y\/n)\"\,\ \"n\")),g' Makefile.PL_ > Makefile.PL CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS=vendor </dev/null %make make test %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} make PREFIX=%{buildroot}%{_prefix} install %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes MANIFEST README %{perl_vendorlib} %{_mandir}/man*/* %changelog * Mon Dec 22 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.24-1mdk - 1.24 * Sun Nov 9 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 1.23-1mdk - First MandrakeSoft Package