This commit is contained in:
82
ftp.spec
Normal file
82
ftp.spec
Normal file
@@ -0,0 +1,82 @@
|
||||
#
|
||||
# spec file for package ftp (Version 0.17)
|
||||
#
|
||||
# Copyright (c) 2006 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
|
||||
Group: Productivity/Networking/Ftp/Clients
|
||||
Conflicts: lukemftp
|
||||
Autoreqprov: on
|
||||
Version: 0.17
|
||||
Release: 539
|
||||
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 -n ftp
|
||||
* 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
|
Reference in New Issue
Block a user