]> git.pld-linux.org Git - packages/sftp.git/blame - sftp.spec
- fix format string error
[packages/sftp.git] / sftp.spec
CommitLineData
4f5b8d06 1Summary: sftp: a ftp-replacement over an rsh/ssh tunnel
27d2616e 2Summary(pl.UTF-8): Zamiennik ftp działający poprzez tunel rsh/ssh
4f5b8d06 3Name: sftp
b077dcac 4Version: 0.9.9
1fc0ba32 5Release: 8
4f5b8d06 6License: GPL
e23b04f7 7Group: Applications/Networking
d5c7e9f1 8Source0: http://www.xbill.org/sftp/download/old/%{name}-%{version}.tar.gz
cde72f75 9# Source0-md5: 9880c86ed928997da069bdb108bf4ad9
887ab6bb 10Patch0: %{name}-DESTDIR.patch
38b9ca84 11Patch1: %{name}-open.patch
1fc0ba32 12Patch2: format-security.patch
e528ddc1 13BuildRequires: autoconf
14BuildRequires: automake
690b522c 15BuildRequires: readline-devel >= 4.1
604508f7 16BuildRequires: ncurses-devel >= 5.2
4f5b8d06 17URL: http://www.xbill.org/sftp/
51dc8425 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
82364cef 19
20%description
887ab6bb 21sftp is an ftp replacement that runs over an ssh tunnel. Two programs
22are included - sftp and sftpserv. When sftp is run and a host is
23connected to (either by running 'sftp remotehost' or 'open remotehost'
24from the sftp prompt), an ssh connection is initiated to the remote
328200ad 25host, and sftpserv is run. From within sftp, all of the normal FTP
887ab6bb 26commands are present: open, close, get, put, pwd, cd, ls, lcd, quit,
27etc. There's also exec, which runs a program on the remote end.
82364cef 28
26e839dd
JR
29%description -l pl.UTF-8
30sftp jest zamiennikiem ftp działającym poprzez tunel ssh. Dołączone są
604508f7
AM
31dwa programy - sftp i sftpserv.
32
82364cef 33%prep
4f5b8d06 34%setup -q
35%patch0 -p1
38b9ca84 36%patch1 -p1
1fc0ba32 37%patch2 -p1
82364cef 38
39%build
37bdeabd 40%{__aclocal}
47f3abae 41%{__autoconf}
4f5b8d06 42%configure
d403c908 43%{__make}
82364cef 44
45%install
e23b04f7 46rm -rf $RPM_BUILD_ROOT
82364cef 47
604508f7
AM
48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
4f5b8d06 50
88c8b73c 51mv $RPM_BUILD_ROOT%{_bindir}/sftp \
577ea078 52 $RPM_BUILD_ROOT%{_bindir}/sftpc
88c8b73c 53mv $RPM_BUILD_ROOT%{_mandir}/man1/sftp.1 \
577ea078 54 $RPM_BUILD_ROOT%{_mandir}/man1/sftpc.1
82364cef 55
56%clean
3ed8be83 57rm -rf $RPM_BUILD_ROOT
82364cef 58
4f5b8d06 59%files
60%defattr(644,root,root,755)
1dd5bc3e 61%doc README Changelog
4f5b8d06 62%attr(755,root,root) %{_bindir}/*
604508f7 63%{_mandir}/man?/*
This page took 0.079227 seconds and 4 git commands to generate.