]> git.pld-linux.org Git - packages/SysVinit.git/blob - SysVinit.spec
- eh.... valid spec now
[packages/SysVinit.git] / SysVinit.spec
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ý
6 Name:           SysVinit
7 Version:        2.76
8 Release:        10
9 Copyright:      GPL
10 Group:          Base
11 Group(pl):      Podstawowe
12 Source0:        ftp://ftp.cistron.nl/pub/people/miquels/software/sysvinit-%{version}.tar.gz
13 Source1:        sysvinit-initscript
14 Source2:        sysvinit.syslog
15 Patch0:         sysvinit-misc.patch
16 Patch1:         sysvinit-man.patch
17 Requires:       /dev/initctl
18 Buildroot:      /tmp/%{name}-%{version}-root
19
20 %description
21 SysVinit is the first program started by the Linux kernel when the system
22 boots, controlling the startup, running, and shutdown of all other
23 programs.
24
25 %description -l pl
26 SysVinit jest pierwszym programem uruchamianym przez j±dro, podczas 
27 startu systemu. Kontroluje start, pracê oraz zamykanie wszystkich
28 innych programów.
29
30 %description -l de
31 SysVinit ist das erste Programm, das beim Systemstart vom Linux-Kernel 
32 gestartet wird. Es steuert das Starten, Ausführen und Beenden aller
33 anderen Programme.
34
35 %description -l fr
36 SysVinit est le premier programme exécuté par le noyau de Linux lorsque le
37 système démarre, il contrôle le lancement, l'exécution et l'arrêt de tous
38 les autres programmes.
39
40 %description -l tr
41 SysVinit, sistem açýlýrken Linux çekirdeði tarafýndan çalýþtýrýlan ilk
42 programdýr. Diðer programlarýn baþlamalarýný, çalýþmalarýný ve sonlanmalarýný
43 saðlar/denetler.
44
45 %prep
46 %setup -q -n sysvinit-%{version}
47 %patch0 -p1
48 %patch1 -p1
49
50 %build
51 make -C src OPTIMIZE="$RPM_OPT_FLAGS"
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 install -d $RPM_BUILD_ROOT%{_prefix}/{bin,share/man/man{1,5,8}}
57 install -d $RPM_BUILD_ROOT/{sbin,etc/{log.d,rc.d},var/{run,log}}
58
59 make install -C src \
60         ROOT=$RPM_BUILD_ROOT \
61         BIN_OWNER=`id -u` \
62         BIN_GROUP=`id -g`
63
64 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/initscript
65 install %{SOURCE2} $RPM_BUILD_ROOT/etc/log.d/lastlog
66
67 ln -sf ../var/run/initrunlvl $RPM_BUILD_ROOT/etc
68 ln -sf killall5 $RPM_BUILD_ROOT/sbin/pidof
69
70 :> $RPM_BUILD_ROOT/var/log/lastlog
71 :> $RPM_BUILD_ROOT/var/run/utmpx
72
73 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/poweroff.8
74 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/telinit.8
75 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/reboot.8
76
77 echo .so halt.8 > $RPM_BUILD_ROOT%{_mandir}/man8/reboot.8
78 echo .so halt.8 > $RPM_BUILD_ROOT%{_mandir}/man8/telinit.8
79 echo .so halt.8 > $RPM_BUILD_ROOT%{_mandir}/man8/poweroff.8
80
81 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
82         doc/Propaganda debian/changelog doc/sysvinit-%{version}.lsm  
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %files
88 %defattr(644,root,root,755)
89 %doc doc/Propaganda.gz debian/changelog.gz doc/sysvinit-%{version}.lsm.gz  
90
91 %attr(755,root,root) /sbin/*
92 %attr(755,root,root) %{_bindir}/*
93
94 %attr(755,root,root) %config /etc/rc.d/initscript
95 %attr(640,root,root) /etc/log.d/*
96 %ghost /etc/initrunlvl
97 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /var/log/*
98 %config(noreplace) %verify(not size mtime md5) /var/run/*
99
100 %{_mandir}/man[158]/*
101
102 %changelog
103 * Sat May 22 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
104   [2.76-10]
105 - (u,w)tmp changed to (w,u)tmpx -- Unix98 comliant (patch),
106 - removed unused `lastb',
107 - utpmdump changed to utmpx-dump, (patch)
108 - changed prefix for initscript to /etc/rc.d instead /etc (patch)
109 - added /etc/log.d/last (for logrotate) & /var/log/lastlog,
110 - removed sgid bit from `wall' -- following Debian developers advise ;) 
111 - %ghost /etc/initrunlvl,
112 - added /var/run/utmpx,
113 - fixed all patches.
114
115 * Tue May 11 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
116   [2.74-9]
117 - now package is FHS 2.0 compliant.
118
119 * Tue Apr 27 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
120 - removed /dev/initctl, now this is part of dev package.
121
122 * Tue Apr 20 1999 Artur Frysiak <wiget@pld.org.pl>
123   [2.74-8]
124 - compiled on rpm 3
125
126 * Tue Feb  9 1999 Micha³ Kuratczyk <kurkens@polbox.com>
127   [2.74-6d]
128 - gzipping instead bzipping
129 - cosmetic changes
130
131 * Fri Jun 12 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
132   [2.74-5d]
133 - build against glibc-2.1,
134 - added pl translation,
135 - changed prmissions of binaries to 711,
136 - removed a suid bit from wall,
137 - moved %changelog at the end of spec.
138 - added a Chris Evans's <chris@ferret.lmh.ox.ac.uk> patches,
139 - start at RH spec file.
This page took 0.042242 seconds and 4 git commands to generate.