michael@0: # package information michael@0: Name: inetutils michael@0: Summary: GNU Internet Utilities michael@0: URL: http://www.gnu.org/software/inetutils/ michael@0: Vendor: Free Software Foundation michael@0: Packager: Michael Schloh von Bennewitz michael@0: Distribution: OpenPKG Community michael@0: Group: Network michael@0: License: GPL michael@0: Version: 1.8 michael@0: Release: 20101201 michael@0: michael@0: # list of sources michael@0: Source0: ftp://ftp.gnu.org/gnu/inetutils/inetutils-%{version}.tar.gz michael@0: michael@0: # build information michael@0: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root michael@0: BuildRequires: ncurses, make michael@0: Requires(pre): ncurses michael@0: michael@0: %description michael@0: The GNU Internet Utilities are a collection of common network michael@0: programs. Please note that specific to this OpenPKG version only a michael@0: subset of the original GNU Internet Utilities is provided. Mainly we michael@0: provide networking clients only. michael@0: michael@0: %prep michael@0: %setup -q michael@0: michael@0: %build michael@0: CFLAGS="$RPM_OPT_FLAGS" \ michael@0: ./configure \ michael@0: --prefix=%{_prefix} \ michael@0: --mandir=%{_mandir} \ michael@0: --infodir=%{_infodir} \ michael@0: --program-prefix=g \ michael@0: --disable-servers \ michael@0: --disable-tftp \ michael@0: --disable-whois \ michael@0: --disable-libls \ michael@0: --disable-encryption \ michael@0: --disable-authentication \ michael@0: --without-krb4 \ michael@0: --without-krb5 \ michael@0: --without-wrap \ michael@0: --without-pam michael@0: make %{?_smp_mflags} michael@0: michael@0: %install michael@0: rm -rf $RPM_BUILD_ROOT michael@0: make install DESTDIR=$RPM_BUILD_ROOT michael@0: strip $RPM_BUILD_ROOT%{_bindir}/* >/dev/null 2>&1 || true michael@0: rm -f $RPM_BUILD_ROOT%{_infodir}/dir michael@0: for i in tftp syslog.conf ftpd inetd rexecd rlogind rshd syslogd talkd \ michael@0: telnetd tftpd; do michael@0: rm -f $RPM_BUILD_ROOT%{_mandir}/man?/g$i.? michael@0: done michael@0: michael@0: %clean michael@0: rm -rf $RPM_BUILD_ROOT michael@0: michael@0: %files michael@0: %defattr(-,root,root,-) michael@0: %{_bindir}/* michael@0: