]> git.pld-linux.org Git - packages/perl-Net-SSH2.git/blame - perl-Net-SSH2.spec
- rebuild with perl 5.24.0
[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
0ea0a6cd
JR
8Summary: Net::SSH2 Perl module
9Summary(cs.UTF-8): Modul Net::SSH2 pro Perl
10Summary(da.UTF-8): Perlmodul Net::SSH2
11Summary(de.UTF-8): Net::SSH2 Perl Modul
12Summary(es.UTF-8): Módulo de Perl Net::SSH2
13Summary(fr.UTF-8): Module Perl Net::SSH2
14Summary(it.UTF-8): Modulo di Perl Net::SSH2
15Summary(ja.UTF-8): Net::SSH2 Perl モジュール
16Summary(ko.UTF-8): Net::SSH2 펄 모줄
17Summary(nb.UTF-8): Perlmodul Net::SSH2
18Summary(pl.UTF-8): Moduł Perla Net::SSH2
19Summary(pt.UTF-8): Módulo de Perl Net::SSH2
20Summary(pt_BR.UTF-8): Módulo Perl Net::SSH2
21Summary(ru.UTF-8): Модуль для Perl Net::SSH2
22Summary(sv.UTF-8): Net::SSH2 Perlmodul
23Summary(uk.UTF-8): Модуль для Perl Net::SSH2
24Summary(zh_CN.UTF-8): Net::SSH2 Perl 模块
25Name: perl-Net-SSH2
6dbb1df9 26Version: 0.56
f4de5e67 27Release: 3
0ea0a6cd
JR
28# same as perl
29License: GPL v1+ or Artistic
30Group: Development/Languages/Perl
cc13eade 31Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
6dbb1df9 32# Source0-md5: f0bc18b49ee9fe07273c639dd135a67f
1660ddee 33URL: http://search.cpan.org/dist/Net-SSH2/
6dbb1df9 34BuildRequires: libssh2-devel >= 1.6.0
0ea0a6cd 35BuildRequires: openssl-devel
0ea0a6cd 36BuildRequires: perl-devel >= 1:5.8.0
1660ddee
ER
37BuildRequires: rpm-perlprov >= 4.1-13
38BuildRequires: zlib-devel
0ea0a6cd
JR
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
42Net::SSH2 is a perl interface to the libssh2 (http://www.libssh2.org)
43library. It supports the SSH2 protocol (there is no support for SSH1)
44with all of the key exchanges, ciphers, and compression of libssh2.
45
46%description -l pl.UTF-8
47Net::SSH - interfejs do biblioteki libssh2 (http://www.libssh2.org).
48
49%prep
50%setup -q -n %{pdir}-%{pnam}-%{version}
51
52%build
53%{__perl} Makefile.PL \
54 INSTALLDIRS=vendor
55%{__make}
56
57%{?with_tests:%{__make} test}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%files
69%defattr(644,root,root,755)
f7baf41a 70%doc Changes README TODO example/read.pl
0ea0a6cd
JR
71%{perl_vendorarch}/Net/SSH2.pm
72%{perl_vendorarch}/Net/SSH2
73%dir %{perl_vendorarch}/auto/Net/SSH2
f292d989 74%{perl_vendorarch}/auto/Net/SSH2/autosplit.ix
0ea0a6cd
JR
75%attr(755,root,root) %{perl_vendorarch}/auto/Net/SSH2/SSH2.so
76%{_mandir}/man3/*
This page took 0.089273 seconds and 4 git commands to generate.