1 Summary: System V initialization program
2 Summary(de): System V-Intialisierungsprogramm
3 Summary(fr): Programme d'initialisation Sys V
4 Summary(pl): Program inicjalizuj±cy w Systemie V
5 Summary(tr): System V baþlatma programý
12 Source0: ftp://ftp.cistron.nl/pub/people/miquels/software/sysvinit-%{version}.tar.gz
13 Source1: sysvinit.logrotate
14 Patch0: sysvinit-paths.patch
15 Patch1: sysvinit-bequiet.patch
16 Patch2: sysvinit-md5-bigendian.patch
17 Patch3: sysvinit-wtmpx.patch
18 Patch4: sysvinit-man.patch
19 BuildRequires: glibc-static
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 The SysVinit package contains a group of processes that control the
28 very basic functions of your system. SysVinit includes the init
29 program, the first program started by the Linux kernel when the system
30 boots. Init then controls the startup, running and shutdown of all
34 SysVinit ist das erste Programm, das beim Systemstart vom Linux-Kernel
35 gestartet wird. Es steuert das Starten, Ausführen und Beenden aller
39 SysVinit est le premier programme exécuté par le noyau de Linux
40 lorsque le système démarre, il contrôle le lancement, l'exécution et
41 l'arrêt de tous les autres programmes.
44 SysVinit jest pierwszym programem uruchamianym przez j±dro, podczas
45 startu systemu. Kontroluje start, pracê oraz zamykanie wszystkich
49 SysVinit, sistem açýlýrken Linux çekirdeði tarafýndan çalýþtýrýlan ilk
50 programdýr. Diðer programlarýn baþlamalarýný, çalýþmalarýný ve
51 sonlanmalarýný saðlar/denetler.
54 %setup -q -n sysvinit-%{version}
62 make -C src OPTIMIZE="$RPM_OPT_FLAGS"
65 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_bindir},/sbin,%{_mandir}/man{1,5,8}} \
68 $RPM_BUILD_ROOT/{etc/{logrotate.d,sysconfig},var/log}
71 ROOT=$RPM_BUILD_ROOT \
75 install %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/sysvinit
77 ln -sf ../var/run/initrunlvl $RPM_BUILD_ROOT%{_sysconfdir}
78 ln -sf killall5 $RPM_BUILD_ROOT/sbin/pidof
80 touch $RPM_BUILD_ROOT/var/log/{lastlog,wtmpx,btmpx}
82 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/poweroff.8
83 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/telinit.8
84 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/reboot.8
86 echo .so halt.8 > $RPM_BUILD_ROOT%{_mandir}/man8/reboot.8
87 echo .so halt.8 > $RPM_BUILD_ROOT%{_mandir}/man8/telinit.8
88 echo .so halt.8 > $RPM_BUILD_ROOT%{_mandir}/man8/poweroff.8
89 echo .so last.1 > $RPM_BUILD_ROOT%{_mandir}/man1/lastb.1
91 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
92 doc/Propaganda debian/changelog doc/sysvinit-%{version}.lsm
95 groupadd -f -r -g 60 utmp
103 rm -rf $RPM_BUILD_ROOT
106 %defattr(644,root,root,755)
107 %doc doc/Propaganda.gz debian/changelog.gz doc/sysvinit-%{version}.lsm.gz
109 %attr(755,root,root) /sbin/*
110 %attr(755,root,root) %{_bindir}/last
111 %attr(755,root,root) %{_bindir}/lastb
112 %attr(755,root,root) %{_bindir}/mesg
113 %attr(755,root,root) %{_bindir}/utmpx-dump
114 %attr(2555,root,tty) %{_bindir}/wall
116 %attr(640,root,root) /etc/logrotate.d/*
117 %ghost %{_sysconfdir}/initrunlvl
118 %attr(660,root,utmp) %ghost /var/log/lastlog
119 %attr(660,root,utmp) %ghost /var/log/wtmpx
120 %attr(640,root,root) %ghost /var/log/btmpx