]>
Commit | Line | Data |
---|---|---|
5169228e JR |
1 | Summary: The standard UNIX FTP (file transfer protocol) client. |
2 | Name: ftp | |
3 | Version: 0.10 | |
4 | Release: 23 | |
5 | Copyright: BSD | |
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 | Requires: inetd | |
10 | BuildRoot: /tmp/%{name}-%{version}-root | |
ad813cb7 JR |
11 | |
12 | %description | |
13 | The ftp package provides the standard UNIX command-line FTP client. | |
14 | FTP is the file transfer protocol, which is a widely used Internet | |
15 | protocol for transferring files and for archiving files. | |
16 | ||
17 | If your system is on a network, you should install ftp in order to do | |
18 | file transfers. | |
19 | ||
20 | %prep | |
5169228e | 21 | %setup -q -n netkit-ftp-0.10 |
ad813cb7 JR |
22 | %patch0 -p1 |
23 | ||
24 | %build | |
25 | make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" | |
26 | ||
27 | %install | |
28 | rm -rf $RPM_BUILD_ROOT | |
5169228e | 29 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
ad813cb7 | 30 | |
5169228e JR |
31 | make install \ |
32 | BINDIR=$RPM_BUILD_ROOT%{_bindir} \ | |
33 | MANDIR=$RPM_BUILD_ROOT%{_mandir} | |
34 | ||
35 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1 | |
36 | echo ".so ftp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1 | |
37 | ||
38 | gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* | |
ad813cb7 JR |
39 | |
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
5169228e JR |
44 | %defattr(644,root,root,755) |
45 | %attr(755,root,root) %{_bindir}/ftp | |
46 | %attr(755,root,root) %{_bindir}/pftp | |
47 | %{_mandir}/man1/ftp.1.gz | |
48 | %{_mandir}/man1/pftp.1.gz |