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