diff -r 000000000000 -r 4f133201e207 inetutils/inetutils.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/inetutils/inetutils.spec Fri Mar 11 21:30:26 2011 +0100 @@ -0,0 +1,65 @@ +# package information +Name: inetutils +Summary: GNU Internet Utilities +URL: http://www.gnu.org/software/inetutils/ +Vendor: Free Software Foundation +Packager: Michael Schloh von Bennewitz +Distribution: OpenPKG Community +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: ncurses, make +Requires(pre): ncurses + +%description + The GNU Internet Utilities are a collection of common network + programs. Please note that specific to this OpenPKG version only a + subset of the original GNU Internet Utilities is provided. Mainly we + provide networking clients only. + +%prep +%setup -q + +%build + CFLAGS="$RPM_OPT_FLAGS" \ + ./configure \ + --prefix=%{_prefix} \ + --mandir=%{_mandir} \ + --infodir=%{_infodir} \ + --program-prefix=g \ + --disable-servers \ + --disable-tftp \ + --disable-whois \ + --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 + strip $RPM_BUILD_ROOT%{_bindir}/* >/dev/null 2>&1 || true + rm -f $RPM_BUILD_ROOT%{_infodir}/dir + for i in tftp syslog.conf ftpd inetd rexecd rlogind rshd syslogd talkd \ + telnetd tftpd; do + rm -f $RPM_BUILD_ROOT%{_mandir}/man?/g$i.? + done + +%clean + rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{_bindir}/* +