1 Summary: The Internet superserver daemon -- inetd
2 Summary(de.UTF-8): Enthält die Netzwerkprogramm inetd
3 Summary(fr.UTF-8): Inclut les programm réseau inetd
4 Summary(pl.UTF-8): Super-serwer sieciowy -- inetd
5 Summary(tr.UTF-8): inetd programlarını içerir
11 Source0: http://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-base-%{version}.tar.gz
12 # Source0-md5: 1f0193358e92559ec0f598b09ccbc0ec
13 Source1: %{name}.inet.sh
14 Source2: %{name}.conf.5
15 Source3: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
16 # Source3-md5: 6e7cdb6277c4333a9c0d1e3e2231f29f
17 Patch0: netkit-base-configure.patch
18 Patch1: netkit-base-fixes.patch
19 BuildRequires: rpmbuild(macros) >= 1.268
20 Requires: rc-inetd >= 0.8.1
22 Requires: tcp_wrappers
25 Obsoletes: netkit-base
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 The netkit-base package contains the basic networking program inetd.
32 Inetd listens on certain Internet sockets for connection requests,
33 decides what program should receive each request, and starts up that
36 %description -l de.UTF-8
37 Dieses Paket stellt das inetd-Programm bereit, der für elementare
38 Netzwerkaufgaben benutzt wird.
40 %description -l fr.UTF-8
41 Ce paquetage contient les programm inetd, tous deux utilisés pour le
44 %description -l pl.UTF-8
45 W pakiecie tym znajduje się program inetd. Inetd wychwytuje żądania
46 połączeń na portach sieciowych, odsyłając je do uruchamianego przez
47 siebie konkretnego programu, który ma je obsłużyć.
49 %description -l tr.UTF-8
50 Bu paket ağ hizmetlerinde kullanılan temel yazılımlardan inetd içerir.
53 %setup -q -n netkit-base-%{version}
58 export RPM_OPT_FLAGS="%{rpmcflags}"
60 --with-c-compiler="%{__cc}"
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} \
66 $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{5,8}}
68 install inetd/inetd $RPM_BUILD_ROOT%{_sbindir}
69 install inetd/*.8 $RPM_BUILD_ROOT%{_mandir}/man8
71 > $RPM_BUILD_ROOT%{_sysconfdir}/inetd.conf
73 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inet.script
74 install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man5
76 bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
79 rm -rf $RPM_BUILD_ROOT
82 %service -q rc-inetd restart
85 if [ "$1" = "0" ]; then
86 %service -q rc-inetd restart
90 %defattr(644,root,root,755)
91 %doc BUGS ChangeLog README
92 %attr(640,root,root) %ghost %{_sysconfdir}/inetd.conf
93 %attr(640,root,root) /etc/sysconfig/rc-inet.script
94 %attr(755,root,root) %{_sbindir}/inetd
95 %{_mandir}/man5/inetd.conf.5*
96 %{_mandir}/man8/inetd.8*
97 %lang(es) %{_mandir}/es/man8/inetd.8*
98 %lang(ja) %{_mandir}/ja/man8/inetd.8*
99 %lang(pl) %{_mandir}/pl/man8/inetd.8*