]> git.pld-linux.org Git - packages/ftp.git/blame - ftp.spec
- misc fixes and cleanups
[packages/ftp.git] / ftp.spec
CommitLineData
5169228e
JR
1Summary: The standard UNIX FTP (file transfer protocol) client.
2Name: ftp
3Version: 0.10
4Release: 23
5Copyright: BSD
6Group: Applications/Internet
7Source0: ftp://sunsite.unc.edu/pub/Linux/system/network/file-transfer/netkit-ftp-0.10.tar.gz
8Patch0: netkit-ftp-0.10-misc.patch
9Requires: inetd
10BuildRoot: /tmp/%{name}-%{version}-root
ad813cb7
JR
11
12%description
13The ftp package provides the standard UNIX command-line FTP client.
14FTP is the file transfer protocol, which is a widely used Internet
15protocol for transferring files and for archiving files.
16
17If your system is on a network, you should install ftp in order to do
18file transfers.
19
20%prep
5169228e 21%setup -q -n netkit-ftp-0.10
ad813cb7
JR
22%patch0 -p1
23
24%build
25make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
26
27%install
28rm -rf $RPM_BUILD_ROOT
5169228e 29install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
ad813cb7 30
5169228e
JR
31make install \
32 BINDIR=$RPM_BUILD_ROOT%{_bindir} \
33 MANDIR=$RPM_BUILD_ROOT%{_mandir}
34
35rm -f $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1
36echo ".so ftp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1
37
38gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
ad813cb7
JR
39
40%clean
41rm -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
This page took 0.051082 seconds and 4 git commands to generate.