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