]> git.pld-linux.org Git - packages/ftp.git/blame - ftp.spec
ftpd-BSD.spec
[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
5169228e 9BuildRoot: /tmp/%{name}-%{version}-root
ad813cb7
JR
10
11%description
12The ftp package provides the standard UNIX command-line FTP client.
13FTP is the file transfer protocol, which is a widely used Internet
14protocol for transferring files and for archiving files.
15
16If your system is on a network, you should install ftp in order to do
17file transfers.
18
19%prep
5169228e 20%setup -q -n netkit-ftp-0.10
ad813cb7
JR
21%patch0 -p1
22
23%build
24make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
25
26%install
27rm -rf $RPM_BUILD_ROOT
5169228e 28install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
ad813cb7 29
5169228e
JR
30make install \
31 BINDIR=$RPM_BUILD_ROOT%{_bindir} \
32 MANDIR=$RPM_BUILD_ROOT%{_mandir}
33
34rm -f $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1
35echo ".so ftp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1
36
37gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
ad813cb7
JR
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
5169228e
JR
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.066079 seconds and 4 git commands to generate.