]> git.pld-linux.org Git - packages/perl-Net-SSH.git/blob - perl-Net-SSH.spec
use generic url
[packages/perl-Net-SSH.git] / perl-Net-SSH.spec
1 #
2 # Conditional build:
3 %bcond_without  tests # do not perform "make test"
4
5 %define         pdir    Net
6 %define         pnam    SSH
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        Net::SSH Perl module
9 Summary(cs.UTF-8):      Modul Net::SSH pro Perl
10 Summary(da.UTF-8):      Perlmodul Net::SSH
11 Summary(de.UTF-8):      Net::SSH Perl Modul
12 Summary(es.UTF-8):      Módulo de Perl Net::SSH
13 Summary(fr.UTF-8):      Module Perl Net::SSH
14 Summary(it.UTF-8):      Modulo di Perl Net::SSH
15 Summary(ja.UTF-8):      Net::SSH Perl モジュール
16 Summary(ko.UTF-8):      Net::SSH 펄 모줄
17 Summary(nb.UTF-8):      Perlmodul Net::SSH
18 Summary(pl.UTF-8):      Moduł Perla Net::SSH
19 Summary(pt.UTF-8):      Módulo de Perl Net::SSH
20 Summary(pt_BR.UTF-8):   Módulo Perl Net::SSH
21 Summary(ru.UTF-8):      Модуль для Perl Net::SSH
22 Summary(sv.UTF-8):      Net::SSH Perlmodul
23 Summary(uk.UTF-8):      Модуль для Perl Net::SSH
24 Summary(zh_CN.UTF-8):   Net::SSH Perl 模块
25 Name:           perl-Net-SSH
26 Version:        0.09
27 Release:        1
28 # same as perl
29 License:        GPL v1+ or Artistic
30 Group:          Development/Languages/Perl
31 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
32 # Source0-md5:  96837a66d0329e49cf5febd8b1ff4315
33 URL:            http://search.cpan.org/dist/Net-SSH/
34 BuildRequires:  perl-devel >= 1:5.8.0
35 BuildRequires:  rpm-perlprov >= 4.1-13
36 BuildArch:      noarch
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 Net::SSH - perl wrapper for system 'ssh' command
41
42 %description -l pl.UTF-8
43 Net::SSH - interfejs do systemowego polecenia 'ssh'
44
45 %prep
46 %setup -q -n %{pdir}-%{pnam}-%{version}
47
48 %build
49 %{__perl} Makefile.PL \
50         INSTALLDIRS=vendor
51 %{__make}
52
53 %{?with_tests:%{__make} test}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc Changes
67 %{perl_vendorlib}/Net/SSH.pm
68 %{_mandir}/man3/*
This page took 0.062406 seconds and 3 git commands to generate.