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 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: readline-devel >= 4.1
15 BuildRequires: ncurses-devel >= 5.2
16 URL: http://www.xbill.org/sftp/
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 sftp is an ftp replacement that runs over an ssh tunnel. Two programs
21 are included - sftp and sftpserv. When sftp is run and a host is
22 connected to (either by running 'sftp remotehost' or 'open remotehost'
23 from the sftp prompt), an ssh connection is initiated to the remote
24 host, and sftpserv is run. From within sftp, all of the normal FTP
25 commands are present: open, close, get, put, pwd, cd, ls, lcd, quit,
26 etc. There's also exec, which runs a program on the remote end.
28 %description -l pl.UTF-8
29 sftp jest zamiennikiem ftp działającym poprzez tunel ssh. Dołączone są
30 dwa programy - sftp i sftpserv.
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
49 mv $RPM_BUILD_ROOT%{_bindir}/sftp \
50 $RPM_BUILD_ROOT%{_bindir}/sftpc
51 mv $RPM_BUILD_ROOT%{_mandir}/man1/sftp.1 \
52 $RPM_BUILD_ROOT%{_mandir}/man1/sftpc.1
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_bindir}/*