File ftp.spec of Package ftp

# spec file for package ftp (Version 0.17)
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Please submit bugfixes or comments via

# norootforbuild

Name:           ftp
Prefix:         /usr
License:        BSD 3-Clause
BuildRequires:  ncurses-devel
Group:          Productivity/Networking/Ftp/Clients
Conflicts:      lukemftp
AutoReqProv:    on
Version:        0.17
Release:        639
Summary:        The Standard UNIX FTP Client
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         netkit-ftp-%{version}.tar.bz2
Patch:          netkit-ftp-%{version}.dif
Patch1:         ipv6-usagi-20010122.diff
Patch2:         netkit-ftp-0.17-glibc28.patch

This package provides the standard UNIX command line FTP client. FTP is
the file transfer protocol, which is a widely used Internet protocol
for transferring files.

    David A. Holland <>

%setup -n netkit-ftp-%{version}
%patch1 -p2

CFLAGS=$RPM_OPT_FLAGS ./configure --without-readline

mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5
mkdir -p $RPM_BUILD_ROOT%{_bindir}
#ln -sf ftp $RPM_BUILD_ROOT/usr/bin/pftp
#echo ".so man1/ftp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1


%doc %{_mandir}/man1/ftp.1.gz
%doc %{_mandir}/man1/pftp.1.gz
%doc %{_mandir}/man5/netrc.5.gz

* Fri Apr 11 2008
- fix build with glibc 2.8, ARG_MAX no longer defined
* Thu Mar 29 2007
- added ncurses-devel
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Fri Jan 13 2006
- Don't strip binaries.
* Sun Jan 11 2004
- add %%defattr
* Wed Sep 26 2001
- Add patch for LFS support
* Sun Apr 22 2001
- Add USAGI IPv6 patches
* Fri Sep 29 2000
- initial version