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