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