1 Summary: sftp: a ftp-replacement over an rsh/ssh tunnel
2 Summary(pl.UTF-8): Zamiennik ftp działający poprzez tunel rsh/ssh
7 Group: Applications/Networking
8 Source0: http://www.xbill.org/sftp/download/old/%{name}-%{version}.tar.gz
9 # Source0-md5: 9880c86ed928997da069bdb108bf4ad9
10 Patch0: %{name}-DESTDIR.patch
11 Patch1: %{name}-open.patch
12 Patch2: format-security.patch
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: readline-devel >= 4.1
16 BuildRequires: ncurses-devel >= 5.2
17 URL: http://www.xbill.org/sftp/
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 sftp is an ftp replacement that runs over an ssh tunnel. Two programs
22 are included - sftp and sftpserv. When sftp is run and a host is
23 connected to (either by running 'sftp remotehost' or 'open remotehost'
24 from the sftp prompt), an ssh connection is initiated to the remote
25 host, and sftpserv is run. From within sftp, all of the normal FTP
26 commands are present: open, close, get, put, pwd, cd, ls, lcd, quit,
27 etc. There's also exec, which runs a program on the remote end.
29 %description -l pl.UTF-8
30 sftp jest zamiennikiem ftp działającym poprzez tunel ssh. Dołączone są
31 dwa programy - sftp i sftpserv.
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
51 mv $RPM_BUILD_ROOT%{_bindir}/sftp \
52 $RPM_BUILD_ROOT%{_bindir}/sftpc
53 mv $RPM_BUILD_ROOT%{_mandir}/man1/sftp.1 \
54 $RPM_BUILD_ROOT%{_mandir}/man1/sftpc.1
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %attr(755,root,root) %{_bindir}/*