diff -r 4667f24fe848 -r e3665a058d13 ftp/ftp.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ftp/ftp.spec Fri Mar 11 21:39:41 2011 +0100 @@ -0,0 +1,73 @@ +# package information +Name: ftp +Summary: GNU ftp +URL: http://www.gnu.org/software/inetutils/ +Vendor: Europalab Software +Packager: Michael Schloh von Bennewitz +Distribution: MeeGo Thirdparty +Group: Network +License: GPL +Version: 1.8 +Release: 20101201 + +# list of sources +Source0: ftp://ftp.gnu.org/gnu/inetutils/inetutils-%{version}.tar.gz + +# build information +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: make +#Requires(pre): ncurses + +%description + The classic ftp command is used for interactive communication + with another host using the ftp protocol. This particular + implementation is distributed in the GNU Internet Utilities. + +%prep +%setup -q -n inetutils-%{version} + +%build + CFLAGS="$RPM_OPT_FLAGS" \ + ./configure \ + --prefix=%{_prefix} \ + --mandir=%{_mandir} \ + --infodir=%{_infodir} \ + --disable-servers \ + --disable-telnet \ + --disable-hostname \ + --disable-ping \ + --disable-ping6 \ + --disable-rcp \ + --disable-rexec \ + --disable-rlogin \ + --disable-rsh \ + --disable-logger \ + --disable-talk \ + --disable-tftp \ + --disable-whois \ + --disable-ifconfig \ + --disable-traceroute \ + --disable-libls \ + --disable-encryption \ + --disable-authentication \ + --without-krb4 \ + --without-krb5 \ + --without-wrap \ + --without-pam + + make %{?_smp_mflags} + +%install + rm -rf $RPM_BUILD_ROOT + make install DESTDIR=$RPM_BUILD_ROOT + rm -rf $RPM_BUILD_ROOT%{_infodir} + strip $RPM_BUILD_ROOT%{_bindir}/* >/dev/null 2>&1 || true + +%clean + rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{_bindir}/* +%{_mandir}/man1/* +