michael@0: # package information michael@0: Name: inetutils michael@0: Summary: GNU Internet Utilities michael@0: URL: http://www.gnu.org/software/inetutils/ michael@1: Vendor: Europalab Software michael@0: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty 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@1: BuildRequires: make michael@1: #Requires(pre): ncurses michael@0: michael@0: %description michael@0: The GNU Internet Utilities are a collection of common network michael@1: programs. A subset of the GNU Internet Utilities is provided, michael@1: namely only the client programs are installed. These clients michael@1: all start with the letter 'g' to allow them to coexist with michael@1: vendor neutral network programs like ftp(1) and telnet(1). 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@1: --disable-servers \ michael@0: --program-prefix=g \ 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@1: 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@1: for i in syslog.conf ftpd inetd rexecd \ michael@1: rlogind rshd syslogd talkd 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@1: %attr(755,root,root) %{_bindir}/* michael@1: %{_mandir}/man1/* michael@1: %{_infodir}/* michael@0: