- up to 2.14
[packages/perl-Net-SSH-Perl.git] / perl-Net-SSH-Perl.spec
CommitLineData
ac0d4d46 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
cf2de252 4
f5364129 5%define pdir Net
6%define pnam SSH-Perl
cf2de252 7%include /usr/lib/rpm/macros.perl
ac0d4d46 8Summary: Net::SSH::Perl - Perl client Interface to SSH
7630ef22 9Summary(pl.UTF-8): Net::SSH::Perl - perlowy interfejs kliencki do SSH
ac0d4d46 10Name: perl-Net-SSH-Perl
8c5f599a
AO
11Version: 2.14
12Release: 1
ac0d4d46 13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
8c5f599a 17# Source0-md5: f831bc57d845da9343da7b8d5a755847
cf2de252 18URL: http://search.cpan.org/dist/Net-SSH-Perl/
e69968ab 19BuildRequires: perl-devel >= 1:5.8.0
ac0d4d46 20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
ac0d4d46 22BuildRequires: perl-Convert-PEM >= 0.05
446c8888 23BuildRequires: perl-Crypt-DH >= 0.01
24BuildRequires: perl-Crypt-DSA >= 0.11
ac0d4d46 25BuildRequires: perl-Digest-HMAC
26BuildRequires: perl-Digest-MD5
bb42d1be 27BuildRequires: perl-Digest-SHA1 >= 2.10
cf2de252 28BuildRequires: perl-MIME-Base64
446c8888 29BuildRequires: perl-Math-GMP >= 1.04
ac0d4d46 30BuildRequires: perl-Math-Pari >= 2.001804
ac0d4d46 31BuildRequires: perl-String-CRC32 >= 1.2
32%endif
bb42d1be
JR
33Requires: perl-Convert-PEM >= 0.05
34Requires: perl-Crypt-Blowfish
35Requires: perl-Crypt-DES
36Requires: perl-Crypt-DH >= 0.01
37Requires: perl-Crypt-DSA >= 0.11
38Requires: perl-Crypt-IDEA
4dcb086f 39Requires: perl-Crypt-RSA
bb42d1be
JR
40Requires: perl-Digest-BubbleBabble
41Requires: perl-Digest-HMAC
42Requires: perl-Digest-MD5
43Requires: perl-Digest-SHA1 >= 2.10
cf2de252 44Requires: perl-MIME-Base64
bb42d1be
JR
45Requires: perl-Math-GMP >= 1.04
46Requires: perl-Math-Pari >= 2.001804
bb42d1be 47Requires: perl-String-CRC32 >= 1.2
ac0d4d46 48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50%description
e69968ab
JB
51Net::SSH::Perl is an all-Perl module implementing an SSH (Secure
52Shell) client. It is compatible with both the SSH-1 and SSH-2
53protocols.
ac0d4d46 54
7893ce0a
JR
55%description -l pl.UTF-8
56Net::SSH::Perl to napisany w całości w Perlu moduł implementujący
57klienta SSH (Secure Shell). Jest kompatybilny z protokołami zarówno
e69968ab 58SSH-1 jak i SSH-2.
ac0d4d46 59
60%prep
61%setup -q -n %{pdir}-%{pnam}-%{version}
62
63%build
8c5f599a 64PERL_MM_USE_DEFAULT=1 %{__perl} Makefile.PL \
ac0d4d46 65 INSTALLDIRS=vendor
66%{__make}
67
68%{?with_tests:%{__make} test}
69
70%install
71rm -rf $RPM_BUILD_ROOT
72
73%{__make} install \
74 DESTDIR=$RPM_BUILD_ROOT
75
76install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
77cp -a eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%files
83%defattr(644,root,root,755)
84%doc Changes ToDo
8c5f599a
AO
85%dir %{perl_vendorarch}/auto/Net/SSH
86%dir %{perl_vendorarch}/auto/Net/SSH/Perl
87%dir %{perl_vendorarch}/Net/SSH
88%{perl_vendorarch}/auto/Net/SSH/Perl/Perl.so
89%{perl_vendorarch}/Net/SSH/*.pm
90%{perl_vendorarch}/Net/SSH/Perl
ac0d4d46 91%{_mandir}/man3/*
92%{_examplesdir}/%{name}-%{version}
This page took 0.14884 seconds and 4 git commands to generate.