]> git.pld-linux.org Git - packages/ftp.git/blob - ftp.spec
ftpd-BSD.spec
[packages/ftp.git] / ftp.spec
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 BuildRoot:      /tmp/%{name}-%{version}-root
10
11 %description
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.
15
16 If your system is on a network, you should install ftp in order to do
17 file transfers.
18
19 %prep
20 %setup -q -n netkit-ftp-0.10
21 %patch0 -p1
22
23 %build
24 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
29
30 make install \
31         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
32         MANDIR=$RPM_BUILD_ROOT%{_mandir}
33
34 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1
35 echo ".so ftp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1
36
37 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
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
This page took 0.211806 seconds and 3 git commands to generate.