]> git.pld-linux.org Git - SPECS.git/blob - inetd.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / inetd.spec
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
6 Name:           inetd
7 Version:        0.17
8 Release:        15
9 License:        BSD
10 Group:          Daemons
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
21 Requires:       rc-scripts
22 Requires:       tcp_wrappers
23 Provides:       inetdaemon
24 Obsoletes:      inetdaemon
25 Obsoletes:      netkit-base
26 Obsoletes:      rlinetd
27 Obsoletes:      xinetd
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
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
34 program.
35
36 %description -l de.UTF-8
37 Dieses Paket stellt das inetd-Programm bereit, der für elementare
38 Netzwerkaufgaben benutzt wird.
39
40 %description -l fr.UTF-8
41 Ce paquetage contient les programm inetd, tous deux utilisés pour le
42 réseau.
43
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ć.
48
49 %description -l tr.UTF-8
50 Bu paket ağ hizmetlerinde kullanılan temel yazılımlardan inetd içerir.
51
52 %prep
53 %setup -q -n netkit-base-%{version}
54 %patch0 -p1
55 %patch1 -p1
56
57 %build
58 export RPM_OPT_FLAGS="%{rpmcflags}"
59 ./configure \
60         --with-c-compiler="%{__cc}"
61 %{__make}
62
63 %install
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}}
67
68 install inetd/inetd $RPM_BUILD_ROOT%{_sbindir}
69 install inetd/*.8 $RPM_BUILD_ROOT%{_mandir}/man8
70
71 > $RPM_BUILD_ROOT%{_sysconfdir}/inetd.conf
72
73 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inet.script
74 install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man5
75
76 bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post
82 %service -q rc-inetd restart
83
84 %preun
85 if [ "$1" = "0" ]; then
86         %service -q rc-inetd restart
87 fi
88
89 %files
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*
This page took 0.051508 seconds and 3 git commands to generate.