]> git.pld-linux.org Git - packages/perl-Net-SSH2.git/blame - perl-Net-SSH2.spec
- enhanced summariens and pl description
[packages/perl-Net-SSH2.git] / perl-Net-SSH2.spec
CommitLineData
0ea0a6cd
JR
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
1660ddee 4
0ea0a6cd
JR
5%define pdir Net
6%define pnam SSH2
1660ddee 7%include /usr/lib/rpm/macros.perl
a375c100
JB
8Summary: Net::SSH2 Perl module - support for the SSH 2 protocol via libssh2
9Summary(pl.UTF-8): Moduł Perla Net::SSH2 - obsługa protokołu SSH 2 poprzez libssh2
0ea0a6cd 10Name: perl-Net-SSH2
71f99434
AO
11Version: 0.63
12Release: 1
0ea0a6cd
JR
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
a375c100 16Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
71f99434 17# Source0-md5: bcac41475b9f8f20a791bcc410fee912
1660ddee 18URL: http://search.cpan.org/dist/Net-SSH2/
71f99434 19BuildRequires: libssh2-devel >= 1.7.0
0ea0a6cd 20BuildRequires: openssl-devel
0ea0a6cd 21BuildRequires: perl-devel >= 1:5.8.0
1660ddee
ER
22BuildRequires: rpm-perlprov >= 4.1-13
23BuildRequires: zlib-devel
0ea0a6cd
JR
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
a375c100
JB
27Net::SSH2 is a Perl interface to the libssh2 (http://www.libssh2.org/)
28library. It supports the SSH 2 protocol (there is no support for SSH
291) with all of the key exchanges, ciphers, and compression of libssh2.
0ea0a6cd
JR
30
31%description -l pl.UTF-8
a375c100
JB
32Net::SSH to perlowy interfejs do biblioteki libssh2
33(http://www.libssh2.org/). Obsługuje protokół SSH 2 (nie ma obsługi
34SSH 1), w tym wymianę kluczy, szyfry i kompresję z libssh2.
0ea0a6cd
JR
35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
40%{__perl} Makefile.PL \
41 INSTALLDIRS=vendor
42%{__make}
43
44%{?with_tests:%{__make} test}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
71f99434 57%doc Changes README example/read.pl
0ea0a6cd
JR
58%{perl_vendorarch}/Net/SSH2.pm
59%{perl_vendorarch}/Net/SSH2
60%dir %{perl_vendorarch}/auto/Net/SSH2
0ea0a6cd 61%attr(755,root,root) %{perl_vendorarch}/auto/Net/SSH2/SSH2.so
a375c100 62%{_mandir}/man3/Net::SSH2*.3pm*
This page took 0.257927 seconds and 4 git commands to generate.