86 lines
2.1 KiB
RPMSpec
86 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package ftp (Version 0.17)
|
|
#
|
|
# Copyright (c) 2007 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: ftp
|
|
URL: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit
|
|
Prefix: /usr
|
|
License: BSD License and BSD-like
|
|
BuildRequires: ncurses-devel
|
|
Group: Productivity/Networking/Ftp/Clients
|
|
Conflicts: lukemftp
|
|
Autoreqprov: on
|
|
Version: 0.17
|
|
Release: 578
|
|
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
|
|
|
|
%description
|
|
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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
David A. Holland <netbug@ftp.uk.linux.org>
|
|
|
|
%prep
|
|
%setup -n netkit-ftp-%{version}
|
|
%patch
|
|
%patch1 -p2
|
|
|
|
%build
|
|
CFLAGS=$RPM_OPT_FLAGS ./configure --without-readline
|
|
make
|
|
|
|
%install
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5
|
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
make INSTALLROOT=$RPM_BUILD_ROOT install
|
|
#ln -sf ftp $RPM_BUILD_ROOT/usr/bin/pftp
|
|
#echo ".so man1/ftp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1
|
|
|
|
%clean
|
|
if [ -n "$RPM_BUILD_ROOT" ] ; then
|
|
rm -rf $RPM_BUILD_ROOT
|
|
fi
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc BUGS README
|
|
%{_bindir}/ftp
|
|
%{_bindir}/pftp
|
|
%doc %{_mandir}/man1/ftp.1.gz
|
|
%doc %{_mandir}/man1/pftp.1.gz
|
|
%doc %{_mandir}/man5/netrc.5.gz
|
|
|
|
%changelog
|
|
* Thu Mar 29 2007 - meissner@suse.de
|
|
- added ncurses-devel
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Fri Jan 13 2006 - schwab@suse.de
|
|
- Don't strip binaries.
|
|
* Sun Jan 11 2004 - adrian@suse.de
|
|
- add %%defattr
|
|
* Wed Sep 26 2001 - kukuk@suse.de
|
|
- Add patch for LFS support
|
|
* Sun Apr 22 2001 - kukuk@suse.de
|
|
- Add USAGI IPv6 patches
|
|
* Fri Sep 29 2000 - kukuk@suse.de
|
|
- initial version
|