]> git.pld-linux.org Git - packages/perl-Net-SSH-Perl.git/blobdiff - perl-Net-SSH-Perl.spec
- file mode fix
[packages/perl-Net-SSH-Perl.git] / perl-Net-SSH-Perl.spec
index 61916131ddebe20a8e48435ac65e635930582335..ff272d28552439622e8e35169cab5f4f083a328f 100644 (file)
@@ -1,38 +1,50 @@
 #
 # Conditional build:
 %bcond_without tests           # do not perform "make test"
-#
-%include       /usr/lib/rpm/macros.perl
+
 %define                pdir    Net
 %define                pnam    SSH-Perl
+%include       /usr/lib/rpm/macros.perl
 Summary:       Net::SSH::Perl - Perl client Interface to SSH
-Summary(pl):   Net::SSH::Perl - perlowy interfejs kliencki do SSH
+Summary(pl.UTF-8):     Net::SSH::Perl - perlowy interfejs kliencki do SSH
 Name:          perl-Net-SSH-Perl
-Version:       1.30
-Release:       0.1
+Version:       2.14
+Release:       1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 063f3dc93a4fe6108b068b6d6097992d
+# Source0-md5: f831bc57d845da9343da7b8d5a755847
+URL:           http://search.cpan.org/dist/Net-SSH-Perl/
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 %if %{with tests}
-# just taken from Makefile; probably not all are required for tests...
 BuildRequires: perl-Convert-PEM >= 0.05
 BuildRequires: perl-Crypt-DH >= 0.01
 BuildRequires: perl-Crypt-DSA >= 0.11
 BuildRequires: perl-Digest-HMAC
 BuildRequires: perl-Digest-MD5
-BuildRequires: perl-Digest-SHA1
+BuildRequires: perl-Digest-SHA1 >= 2.10
+BuildRequires: perl-MIME-Base64
 BuildRequires: perl-Math-GMP >= 1.04
 BuildRequires: perl-Math-Pari >= 2.001804
-BuildRequires: perl-MIME-Base64
-BuildRequires: perl-Scalar-List-Utils
 BuildRequires: perl-String-CRC32 >= 1.2
 %endif
+Requires:      perl-Convert-PEM >= 0.05
+Requires:      perl-Crypt-Blowfish
+Requires:      perl-Crypt-DES
+Requires:      perl-Crypt-DH >= 0.01
+Requires:      perl-Crypt-DSA >= 0.11
+Requires:      perl-Crypt-IDEA
 Requires:      perl-Crypt-RSA
-BuildArch:     noarch
+Requires:      perl-Digest-BubbleBabble
+Requires:      perl-Digest-HMAC
+Requires:      perl-Digest-MD5
+Requires:      perl-Digest-SHA1 >= 2.10
+Requires:      perl-MIME-Base64
+Requires:      perl-Math-GMP >= 1.04
+Requires:      perl-Math-Pari >= 2.001804
+Requires:      perl-String-CRC32 >= 1.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -40,16 +52,16 @@ 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.
 
-%description -l pl
-Net::SSH::Perl to napisany w ca³o¶ci w Perlu modu³ implementuj±cy
-klienta SSH (Secure Shell). Jest kompatybilny z protoko³ami zarówno
+%description -l pl.UTF-8
+Net::SSH::Perl to napisany w całości w Perlu moduł implementujący
+klienta SSH (Secure Shell). Jest kompatybilny z protokołami zarówno
 SSH-1 jak i SSH-2.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-%{__perl} -MExtUtils::MakeMaker -e 'WriteMakefile(NAME=>"Perl::Net::SSH::Perl")' \
+PERL_MM_USE_DEFAULT=1 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
 
@@ -70,8 +82,11 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes ToDo
-%dir %{perl_vendorlib}/Net/SSH
-%{perl_vendorlib}/Net/SSH/*.pm
-%{perl_vendorlib}/Net/SSH/Perl
+%dir %{perl_vendorarch}/auto/Net/SSH
+%dir %{perl_vendorarch}/auto/Net/SSH/Perl
+%dir %{perl_vendorarch}/Net/SSH
+%attr(755,root,root) %{perl_vendorarch}/auto/Net/SSH/Perl/Perl.so
+%{perl_vendorarch}/Net/SSH/*.pm
+%{perl_vendorarch}/Net/SSH/Perl
 %{_mandir}/man3/*
 %{_examplesdir}/%{name}-%{version}
This page took 0.073859 seconds and 4 git commands to generate.