]> git.pld-linux.org Git - packages/perl-Net-SFTP.git/blame - perl-Net-SFTP.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Net-SFTP.git] / perl-Net-SFTP.spec
CommitLineData
f1f1a7d5 1#
2# Conditional build:
41bfc3fe 3%bcond_without tests # do not perform "make test"
67aaae3e 4
e2ff3728 5%define pdir Net
6%define pnam SFTP
f1f1a7d5 7Summary: Net::SFTP - Secure File Transfer Protocol client
26b85bf7 8Summary(pl.UTF-8): Net::SFTP - klient protokołu SFTP (Secure File Transfer Protocol)
f1f1a7d5 9Name: perl-Net-SFTP
3f6ab675 10Version: 0.10
540a2219 11Release: 1
f1f1a7d5 12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
3f6ab675 16# Source0-md5: 8383eb0839178cab8cbfe619b232b8c0
67aaae3e 17URL: http://search.cpan.org/dist/Net-SFTP/
1bacf6d8 18BuildRequires: perl-devel >= 1:5.8.0
f1f1a7d5 19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
21BuildRequires: perl-Net-SSH-Perl >= 1.24
22%endif
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
1bacf6d8
JB
27Net::SFTP is a pure-Perl implementation of the Secure File Transfer
28Protocol (SFTP) - file transfer built on top of the SSH protocol.
29Net::SFTP uses Net::SSH::Perl to build a secure, encrypted tunnel
30through which files can be transferred and managed. It provides a
31subset of the commands listed in the SSH File Transfer Protocol IETF
32draft, which can be found at
33http://www.openssh.com/txt/draft-ietf-secsh-filexfer-00.txt .
f1f1a7d5 34
d06c00e8
JR
35%description -l pl.UTF-8
36Net::SFTP to czysto perlowa implementacja protokołu SFTP (Secure File
37Transfer Protocol) - przesyłania plików w oparciu o protokół SSH.
38Net::SFTP używa Net::SSH::Perl do utworzenia bezpiecznego,
39szyfrowanego tunelu, przez który można przesyłać pliki i zarządzać
40nimi. Udostępnia podzbiór poleceń podanych w szkicu IETF "SSH File
41Transfer Protocol", dostępnym pod adresem
1bacf6d8 42http://www.openssh.com/txt/draft-ietf-secsh-filexfer-00.txt .
f1f1a7d5 43
44%prep
45%setup -q -n %{pdir}-%{pnam}-%{version}
46
47%build
48%{__perl} Makefile.PL \
49 INSTALLDIRS=vendor
50%{__make}
51
52%{?with_tests:%{__make} test}
53
54%install
55rm -rf $RPM_BUILD_ROOT
56
57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
59
60install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
61cp -a eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
68%doc Changes README ToDo
69%{perl_vendorlib}/%{pdir}/*.pm
70%{perl_vendorlib}/%{pdir}/%{pnam}
71%{_mandir}/man3/*
72%{_examplesdir}/%{name}-%{version}
This page took 0.072824 seconds and 4 git commands to generate.