1 Summary: The standard UNIX FTP (file transfer protocol) client.
6 Group: Applications/Internet
7 Source0: ftp://sunsite.unc.edu/pub/Linux/system/network/file-transfer/netkit-ftp-0.10.tar.gz
8 Patch0: netkit-ftp-0.10-misc.patch
9 BuildRoot: /tmp/%{name}-%{version}-root
12 The ftp package provides the standard UNIX command-line FTP client.
13 FTP is the file transfer protocol, which is a widely used Internet
14 protocol for transferring files and for archiving files.
16 If your system is on a network, you should install ftp in order to do
20 %setup -q -n netkit-ftp-0.10
24 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
27 rm -rf $RPM_BUILD_ROOT
28 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
31 BINDIR=$RPM_BUILD_ROOT%{_bindir} \
32 MANDIR=$RPM_BUILD_ROOT%{_mandir}
34 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1
35 echo ".so ftp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1
37 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
44 %attr(755,root,root) %{_bindir}/ftp
45 %attr(755,root,root) %{_bindir}/pftp
46 %{_mandir}/man1/ftp.1.gz
47 %{_mandir}/man1/pftp.1.gz