Fri, 11 Mar 2011 21:39:41 +0100
Import new package specs for introduction into repository.
michael@0 | 1 | # package information |
michael@0 | 2 | Name: inetutils |
michael@0 | 3 | Summary: GNU Internet Utilities |
michael@0 | 4 | URL: http://www.gnu.org/software/inetutils/ |
michael@1 | 5 | Vendor: Europalab Software |
michael@0 | 6 | Packager: Michael Schloh von Bennewitz |
michael@1 | 7 | Distribution: MeeGo Thirdparty |
michael@0 | 8 | Group: Network |
michael@0 | 9 | License: GPL |
michael@0 | 10 | Version: 1.8 |
michael@0 | 11 | Release: 20101201 |
michael@0 | 12 | |
michael@0 | 13 | # list of sources |
michael@0 | 14 | Source0: ftp://ftp.gnu.org/gnu/inetutils/inetutils-%{version}.tar.gz |
michael@0 | 15 | |
michael@0 | 16 | # build information |
michael@0 | 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
michael@1 | 18 | BuildRequires: make |
michael@1 | 19 | #Requires(pre): ncurses |
michael@0 | 20 | |
michael@0 | 21 | %description |
michael@0 | 22 | The GNU Internet Utilities are a collection of common network |
michael@1 | 23 | programs. A subset of the GNU Internet Utilities is provided, |
michael@1 | 24 | namely only the client programs are installed. These clients |
michael@1 | 25 | all start with the letter 'g' to allow them to coexist with |
michael@1 | 26 | vendor neutral network programs like ftp(1) and telnet(1). |
michael@0 | 27 | |
michael@0 | 28 | %prep |
michael@0 | 29 | %setup -q |
michael@0 | 30 | |
michael@0 | 31 | %build |
michael@0 | 32 | CFLAGS="$RPM_OPT_FLAGS" \ |
michael@0 | 33 | ./configure \ |
michael@0 | 34 | --prefix=%{_prefix} \ |
michael@0 | 35 | --mandir=%{_mandir} \ |
michael@0 | 36 | --infodir=%{_infodir} \ |
michael@1 | 37 | --disable-servers \ |
michael@0 | 38 | --program-prefix=g \ |
michael@0 | 39 | --disable-libls \ |
michael@0 | 40 | --disable-encryption \ |
michael@0 | 41 | --disable-authentication \ |
michael@0 | 42 | --without-krb4 \ |
michael@0 | 43 | --without-krb5 \ |
michael@0 | 44 | --without-wrap \ |
michael@0 | 45 | --without-pam |
michael@1 | 46 | |
michael@0 | 47 | make %{?_smp_mflags} |
michael@0 | 48 | |
michael@0 | 49 | %install |
michael@0 | 50 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 51 | make install DESTDIR=$RPM_BUILD_ROOT |
michael@0 | 52 | strip $RPM_BUILD_ROOT%{_bindir}/* >/dev/null 2>&1 || true |
michael@0 | 53 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
michael@1 | 54 | for i in syslog.conf ftpd inetd rexecd \ |
michael@1 | 55 | rlogind rshd syslogd talkd telnetd tftpd; do |
michael@0 | 56 | rm -f $RPM_BUILD_ROOT%{_mandir}/man?/g$i.? |
michael@0 | 57 | done |
michael@0 | 58 | |
michael@0 | 59 | %clean |
michael@0 | 60 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 61 | |
michael@0 | 62 | %files |
michael@0 | 63 | %defattr(-,root,root,-) |
michael@1 | 64 | %attr(755,root,root) %{_bindir}/* |
michael@1 | 65 | %{_mandir}/man1/* |
michael@1 | 66 | %{_infodir}/* |
michael@0 | 67 |