]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_without static # link binaries with glib dynamically | |
4 | ||
5 | Summary: inittab and /etc/rc.d scripts | |
6 | Summary(de.UTF-8): inittab und /etc/rc.d Scripts | |
7 | Summary(fr.UTF-8): inittab et scripts /etc/rc.d | |
8 | Summary(pl.UTF-8): inittab i skrypty startowe z katalogu /etc/rc.d | |
9 | Summary(tr.UTF-8): inittab ve /etc/rc.d dosyaları | |
10 | Name: rc-scripts | |
11 | Version: 0.4.15 | |
12 | Release: 5 | |
13 | License: GPL v2 | |
14 | Group: Base | |
15 | #Source0: ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz | |
16 | Source0: %{name}-%{version}.tar.gz | |
17 | # Source0-md5: 6acdba8a0df67f4cdbfcfd78a0512017 | |
18 | Source1: rc-local.service | |
19 | Source2: sys-chroots.service | |
20 | Source3: %{name}.tmpfiles | |
21 | Patch0: %{name}-git.patch | |
22 | Patch1: %{name}-modprobe-cache.patch | |
23 | Patch2: %{name}-selinuxfs.patch | |
24 | URL: http://svn.pld-linux.org/trac/svn/wiki/packages/rc-scripts | |
25 | BuildRequires: autoconf | |
26 | BuildRequires: automake | |
27 | BuildRequires: gettext-tools | |
28 | BuildRequires: glib2-devel | |
29 | %{?with_static:BuildRequires: glib2-static} | |
30 | %{?with_static:BuildRequires: glibc-static} | |
31 | BuildRequires: libcap-devel >= 1:2.17 | |
32 | BuildRequires: linux-libc-headers >= 7:2.6.27 | |
33 | BuildRequires: pkgconfig | |
34 | BuildRequires: popt-devel | |
35 | BuildRequires: rpm >= 4.4.9-56 | |
36 | Requires(post): fileutils | |
37 | %ifarch sparc sparcv9 sparc64 | |
38 | Requires: agetty | |
39 | %endif | |
40 | Requires: /bin/awk | |
41 | Requires: /bin/basename | |
42 | Requires: /bin/gettext | |
43 | Requires: /bin/nice | |
44 | Requires: /bin/ps | |
45 | Requires: SysVinit-tools >= 2.88-1 | |
46 | Requires: blockdev | |
47 | Requires: coreutils | |
48 | Requires: ethtool | |
49 | Requires: run-parts = %{version}-%{release} | |
50 | Requires: virtual(init-daemon) | |
51 | %if "%{pld_release}" == "ac" | |
52 | Requires: filesystem >= 3.0-11 | |
53 | %else | |
54 | Requires: filesystem >= 4.0-1 | |
55 | %endif | |
56 | Requires: findutils | |
57 | Requires: fsck | |
58 | Requires: gettext | |
59 | Requires: grep | |
60 | Requires: hostname | |
61 | Requires: iproute2 | |
62 | Requires: iputils-arping | |
63 | Requires: libutempter >= 1.1.6-2 | |
64 | Requires: mingetty | |
65 | Requires: mktemp | |
66 | Requires: mount >= 2.12 | |
67 | Requires: procps >= 1:3.2.6-1.1 | |
68 | Requires: psmisc >= 22.5-2 | |
69 | Requires: util-linux >= 2.22.1 | |
70 | Requires: virtual(module-tools) | |
71 | Suggests: libcgroup | |
72 | Obsoletes: initscripts | |
73 | Obsoletes: vserver-rc-scripts | |
74 | Conflicts: LPRng < 3.8.0-2 | |
75 | Conflicts: dev < 2.9.0-22 | |
76 | # character classes support required | |
77 | Conflicts: mawk < 1.3.4-0.20090727 | |
78 | Conflicts: iputils-arping < 2:s20070202-1 | |
79 | Conflicts: openssh-server < 2:3.6.1p2-6 | |
80 | Conflicts: psacct < 6.3.5-10 | |
81 | Conflicts: tzdata < 2007b-1.1 | |
82 | %if "%{pld_release}" == "th" | |
83 | Conflicts: udev-core < 1:135-2 | |
84 | %else | |
85 | Conflicts: udev-core < 1:124-3 | |
86 | %endif | |
87 | Conflicts: SysVinit < 2.88-16 | |
88 | Conflicts: lvm2 < 2.02.83 | |
89 | Conflicts: upstart | |
90 | Conflicts: wpa_supplicant < 0.6.3 | |
91 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
92 | ||
93 | %define _exec_prefix / | |
94 | %define localedir /etc/sysconfig/locale | |
95 | %define _bindir /bin | |
96 | %define _sbindir /sbin | |
97 | ||
98 | %description | |
99 | This package contains the scripts use to boot a system, change run | |
100 | levels, and shut the system down cleanly. | |
101 | ||
102 | %description -l de.UTF-8 | |
103 | Dieses Paket enthält die Scripts, die zum Hochfahren des Systems, | |
104 | Ändern der Betriebsebene und sauberem Herunterfahren des Systems | |
105 | erforderlich sind. Außerdem enthält es die Scripts, die | |
106 | Netzwerkschnittstellen aktivieren und deaktivieren. | |
107 | ||
108 | %description -l fr.UTF-8 | |
109 | Ce package contient les scripts utilisés pour démarrer le systéme, | |
110 | changer les niveaux d'exécution, et arréter le systéme proprement. Il | |
111 | contient aussi les scripts qui activent et désactivent la plupart des | |
112 | inetrfaces réseau. | |
113 | ||
114 | %description -l pl.UTF-8 | |
115 | Pakiet zawiera skrypty uruchamiane przy starcie i zamykaniu systemu, a | |
116 | także przy zmianie jego poziomu pracy. | |
117 | ||
118 | %description -l tr.UTF-8 | |
119 | Bu paket, sistem açmak, çalışma düzeylerini değiştirmek ve sistemi | |
120 | düzgün bir şekilde kapatmak için gereken dosyaları içerir. Ayrıca pek | |
121 | çok bilgisayar ağı arayüzlerini etkinleştiren ya da edilginleştiren | |
122 | programcıklar içerir. | |
123 | ||
124 | %package -n run-parts | |
125 | Summary: run scripts or programs in a directory | |
126 | Group: Base | |
127 | Conflicts: %{name} < 0.4.14-2 | |
128 | ||
129 | %description -n run-parts | |
130 | run-parts runs all the executable files named within constraints | |
131 | described below, found in directory directory. Other files and | |
132 | directories are silently ignored. | |
133 | ||
134 | %prep | |
135 | %setup -q | |
136 | %patch0 -p1 | |
137 | %patch1 -p1 | |
138 | %patch2 -p1 | |
139 | ||
140 | # hack, currently this results in errno@@GLIBC_PRIVATE symbol in ppp-watch: | |
141 | #GLIB_LIBS="-Wl,-static `$PKG_CONFIG --libs --static glib-2.0` -Wl,-Bdynamic" | |
142 | sed -i -e 's#^GLIB_LIBS=.*#GLIB_LIBS="%{_prefix}/%{_lib}/libglib-2.0.a -lrt -lpthread"#' configure.ac | |
143 | ||
144 | %build | |
145 | %{__aclocal} | |
146 | %{__autoheader} | |
147 | %{__autoconf} | |
148 | %{__automake} | |
149 | %configure \ | |
150 | --with-localedir=%{localedir} | |
151 | %{__make} \ | |
152 | %{!?with_static:ppp_watch_LDADD="$(pkg-config --libs glib-2.0)" ppp_watch_DEPENDENCIES=} | |
153 | ||
154 | %install | |
155 | rm -rf $RPM_BUILD_ROOT | |
156 | install -d $RPM_BUILD_ROOT/var/{run/netreport,log} \ | |
157 | $RPM_BUILD_ROOT/etc/sysconfig/{interfaces/data,hwprofiles} \ | |
158 | $RPM_BUILD_ROOT{%{_sysconfdir},%{_prefix}/lib}/sysctl.d \ | |
159 | $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}} | |
160 | ||
161 | %{__make} install \ | |
162 | DESTDIR=$RPM_BUILD_ROOT \ | |
163 | %{!?with_static:ppp_watch_LDADD="$(pkg-config --libs glib-2.0)" ppp_watch_DEPENDENCIES=} | |
164 | ||
165 | for i in 0 1 2 3 4 5 6; do | |
166 | install -d $RPM_BUILD_ROOT/etc/rc.d/rc$i.d | |
167 | done | |
168 | ||
169 | for i in 2 3 4 5; do | |
170 | ln -s ../init.d/local $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S99local | |
171 | ln -s ../init.d/netfs $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S25netfs | |
172 | ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S10network | |
173 | ln -s ../init.d/allowlogin $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S99allowlogin | |
174 | ln -s ../init.d/sys-chroots $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S99sys-chroots | |
175 | done | |
176 | ||
177 | for i in 1 2 3 4 5; do | |
178 | ln -s ../init.d/killall $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S00killall | |
179 | ln -s ../init.d/cpusets $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S01cpusets | |
180 | ln -s ../init.d/random $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S20random | |
181 | done | |
182 | ||
183 | for i in 0 2 3 4 5 6; do | |
184 | ln -s ../init.d/single $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K00single | |
185 | done | |
186 | ||
187 | ln -s ../init.d/single $RPM_BUILD_ROOT/etc/rc.d/rc1.d/S00single | |
188 | ||
189 | for i in 0 6; do | |
190 | ln -s ../init.d/cpusets $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K99cpusets | |
191 | ln -s ../init.d/killall $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K90killall | |
192 | ln -s ../init.d/random $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K80random | |
193 | done | |
194 | ||
195 | for i in 0 1 6; do | |
196 | ln -s ../init.d/netfs $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K75netfs | |
197 | ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K90network | |
198 | ln -s ../init.d/allowlogin $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K01allowlogin | |
199 | ln -s ../init.d/sys-chroots $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K01sys-chroots | |
200 | ln -s ../init.d/local $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K01local | |
201 | done | |
202 | ||
203 | > $RPM_BUILD_ROOT/var/log/dmesg | |
204 | ||
205 | # make /etc/init.d symlink relative | |
206 | ln -nfs rc.d/init.d $RPM_BUILD_ROOT/etc/init.d | |
207 | ||
208 | # systemd | |
209 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdunitdir}/rc-local.service | |
210 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/local.service | |
211 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{systemdunitdir}/sys-chroots.service | |
212 | cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf | |
213 | ||
214 | # packaged into SysVinit and systemd-init (supported options differ) | |
215 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man5/crypttab.5 | |
216 | ||
217 | %clean | |
218 | rm -rf $RPM_BUILD_ROOT | |
219 | ||
220 | %post | |
221 | if [ -f /etc/inittab.rpmsave ]; then | |
222 | echo "**** Found old /etc/inittab.rpmsave ****" | |
223 | echo "/etc/inittab renamed to /etc/inittab.rpmnew" | |
224 | mv -f /etc/inittab /etc/inittab.rpmnew | |
225 | echo "/etc/inittab.rpmsave renamed to /etc/inittab." | |
226 | mv -f /etc/inittab.rpmsave /etc/inittab | |
227 | fi | |
228 | touch /var/log/dmesg | |
229 | chown root:root /var/log/dmesg | |
230 | chmod 640 /var/log/dmesg | |
231 | touch /var/cache/rc-scripts/msg.cache | |
232 | chmod 644 /var/cache/rc-scripts/msg.cache | |
233 | chown root:root /var/cache/rc-scripts/msg.cache | |
234 | ||
235 | # move network interfaces description files to new location | |
236 | %triggerpostun -- initscripts | |
237 | [ -d /etc/sysconfig/network-scripts ] || exit 0 | |
238 | cd /etc/sysconfig/network-scripts | |
239 | for iface in ifcfg-* ; do | |
240 | [ -f $iface ] || continue | |
241 | if [ -f /etc/sysconfig/interfaces/$iface ]; then | |
242 | echo "/etc/sysconfig/interfaces/$iface renamed to /etc/sysconfig/interfaces/$iface.rpmnew" | |
243 | mv -f /etc/sysconfig/interfaces/$iface{,.rpmnew} | |
244 | fi | |
245 | echo "/etc/sysconfig/network-scripts/$iface moved to /etc/sysconfig/interfaces/$iface" | |
246 | mv -f /etc/sysconfig/network-scripts/$iface /etc/sysconfig/interfaces | |
247 | done | |
248 | ||
249 | %files | |
250 | %defattr(644,root,root,755) | |
251 | %doc ChangeLog | |
252 | %doc doc/*.txt doc/template.init | |
253 | %doc sysconfig/interfaces/data/chat-ppp* | |
254 | %doc sysconfig/interfaces/ifc* | |
255 | %doc sysconfig/interfaces/tnl* | |
256 | %doc sysconfig/init-colors* | |
257 | %doc doc/sysvinitfiles | |
258 | ||
259 | %dir /etc/rc.d | |
260 | %dir /etc/rc.d/init.d | |
261 | %dir /etc/rc.d/rc?.d | |
262 | /etc/init.d | |
263 | /etc/rc.d/init.d/functions | |
264 | ||
265 | %attr(754,root,root) /etc/rc.d/init.d/allowlogin | |
266 | %attr(754,root,root) /etc/rc.d/init.d/cpusets | |
267 | %attr(754,root,root) /etc/rc.d/init.d/cryptsetup | |
268 | %attr(754,root,root) /etc/rc.d/init.d/killall | |
269 | %attr(754,root,root) /etc/rc.d/init.d/local | |
270 | %attr(754,root,root) /etc/rc.d/init.d/netfs | |
271 | %attr(754,root,root) /etc/rc.d/init.d/network | |
272 | %attr(754,root,root) /etc/rc.d/init.d/random | |
273 | %attr(754,root,root) /etc/rc.d/init.d/single | |
274 | %attr(754,root,root) /etc/rc.d/init.d/sys-chroots | |
275 | ||
276 | %attr(754,root,root) /etc/rc.d/rc | |
277 | %config(noreplace) %verify(not md5 mtime size) /etc/rc.d/rc.local | |
278 | %attr(754,root,root) /etc/rc.d/rc.init | |
279 | %attr(754,root,root) /etc/rc.d/rc.sysinit | |
280 | %attr(754,root,root) /etc/rc.d/rc.shutdown | |
281 | %attr(754,root,root) /etc/rc.d/rc?.d/K??allowlogin | |
282 | %attr(754,root,root) /etc/rc.d/rc?.d/K??cpusets | |
283 | %attr(754,root,root) /etc/rc.d/rc?.d/K??killall | |
284 | %attr(754,root,root) /etc/rc.d/rc?.d/K??local | |
285 | %attr(754,root,root) /etc/rc.d/rc?.d/K??netfs | |
286 | %attr(754,root,root) /etc/rc.d/rc?.d/K??network | |
287 | %attr(754,root,root) /etc/rc.d/rc?.d/K??random | |
288 | %attr(754,root,root) /etc/rc.d/rc?.d/K??single | |
289 | %attr(754,root,root) /etc/rc.d/rc?.d/K??sys-chroots | |
290 | %attr(754,root,root) /etc/rc.d/rc?.d/S??allowlogin | |
291 | %attr(754,root,root) /etc/rc.d/rc?.d/S??cpusets | |
292 | %attr(754,root,root) /etc/rc.d/rc?.d/S??killall | |
293 | %attr(754,root,root) /etc/rc.d/rc?.d/S??local | |
294 | %attr(754,root,root) /etc/rc.d/rc?.d/S??netfs | |
295 | %attr(754,root,root) /etc/rc.d/rc?.d/S??network | |
296 | %attr(754,root,root) /etc/rc.d/rc?.d/S??random | |
297 | %attr(754,root,root) /etc/rc.d/rc?.d/S??single | |
298 | %attr(754,root,root) /etc/rc.d/rc?.d/S??sys-chroots | |
299 | ||
300 | %dir /var/cache/rc-scripts | |
301 | %ghost /var/cache/rc-scripts/msg.cache | |
302 | ||
303 | %attr(755,root,root) /etc/profile.d/lang.*sh | |
304 | ||
305 | %attr(755,root,root) %{_bindir}/doexec | |
306 | %attr(755,root,root) %{_bindir}/ipcalc | |
307 | %attr(755,root,root) %{_bindir}/resolvesymlink | |
308 | %attr(755,root,root) %{_bindir}/usleep | |
309 | ||
310 | %attr(755,root,root) %{_sbindir}/consoletype | |
311 | %attr(755,root,root) %{_sbindir}/genhostid | |
312 | %attr(755,root,root) %{_sbindir}/getkey | |
313 | %attr(755,root,root) %{_sbindir}/hwprofile | |
314 | %attr(755,root,root) %{_sbindir}/if* | |
315 | %attr(755,root,root) %{_sbindir}/initlog | |
316 | %attr(755,root,root) %{_sbindir}/loglevel | |
317 | %attr(755,root,root) %{_sbindir}/minilogd | |
318 | %attr(755,root,root) %{_sbindir}/netreport | |
319 | %attr(755,root,root) %{_sbindir}/ppp-watch | |
320 | %attr(755,root,root) %{_sbindir}/service | |
321 | %attr(755,root,root) %{_sbindir}/setsysfont | |
322 | %attr(755,root,root) %{_sbindir}/setuidgid | |
323 | %attr(755,root,root) %{_sbindir}/start-stop-daemon | |
324 | %attr(755,root,root) %{_sbindir}/tnl* | |
325 | %attr(4755,root,root) %{_sbindir}/usernetctl | |
326 | ||
327 | %attr(755,root,root) /lib/firmware/firmware-loader.sh | |
328 | ||
329 | %{systemdtmpfilesdir}/rc-scripts.conf | |
330 | %{systemdunitdir}/local.service | |
331 | %{systemdunitdir}/rc-local.service | |
332 | %{systemdunitdir}/sys-chroots.service | |
333 | ||
334 | %dir /lib/rc-scripts | |
335 | %attr(755,root,root) /lib/rc-scripts/ifdown-br | |
336 | %attr(755,root,root) /lib/rc-scripts/ifdown-irda | |
337 | %attr(755,root,root) /lib/rc-scripts/ifdown-post | |
338 | %attr(755,root,root) /lib/rc-scripts/ifdown-ppp | |
339 | %attr(755,root,root) /lib/rc-scripts/ifdown-sl | |
340 | %attr(755,root,root) /lib/rc-scripts/ifdown-vlan | |
341 | /lib/rc-scripts/ifup-aliases | |
342 | %attr(755,root,root) /lib/rc-scripts/ifup-br | |
343 | %attr(755,root,root) /lib/rc-scripts/ifup-ipx | |
344 | %attr(755,root,root) /lib/rc-scripts/ifup-irda | |
345 | %attr(755,root,root) /lib/rc-scripts/ifup-iucv | |
346 | /lib/rc-scripts/ifup-neigh | |
347 | %attr(755,root,root) /lib/rc-scripts/ifup-plip | |
348 | %attr(755,root,root) /lib/rc-scripts/ifup-plusb | |
349 | %attr(755,root,root) /lib/rc-scripts/ifup-post | |
350 | %attr(755,root,root) /lib/rc-scripts/ifup-ppp | |
351 | /lib/rc-scripts/ifup-routes | |
352 | %attr(755,root,root) /lib/rc-scripts/ifup-sl | |
353 | %attr(755,root,root) /lib/rc-scripts/ifup-vlan | |
354 | %attr(755,root,root) /lib/rc-scripts/makepid | |
355 | /lib/rc-scripts/functions.network | |
356 | /lib/rc-scripts/functions | |
357 | ||
358 | %dir %{_sysconfdir}/ppp | |
359 | %attr(754,root,root) %{_sysconfdir}/ppp/* | |
360 | %dir /etc/sysconfig/cpusets | |
361 | %dir /etc/sysconfig/hwprofiles | |
362 | %dir /etc/sysconfig/interfaces | |
363 | %dir /etc/sysconfig/interfaces/data | |
364 | %dir /etc/sysconfig/isapnp | |
365 | ||
366 | %dir /etc/sysconfig/interfaces/down.d | |
367 | %dir /etc/sysconfig/interfaces/down.d/* | |
368 | %dir /etc/sysconfig/interfaces/up.d | |
369 | %dir /etc/sysconfig/interfaces/up.d/* | |
370 | %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/interfaces/down.d/ppp/logger | |
371 | %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/interfaces/up.d/ppp/logger | |
372 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/isapnp/isapnp-kernel.conf | |
373 | ||
374 | %attr(640,root,root) %ghost /var/log/dmesg | |
375 | %attr(750,root,root) %dir /var/run/netreport | |
376 | ||
377 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/adjtime | |
378 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/crypttab | |
379 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/initlog.conf | |
380 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/inittab | |
381 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modules | |
382 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sysctl.conf | |
383 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/cpusets/cpuset-test | |
384 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/hwprof | |
385 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/i18n | |
386 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/init-colors | |
387 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/interfaces/ifcfg-eth0 | |
388 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/network | |
389 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/static-arp | |
390 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/static-nat | |
391 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/static-routes | |
392 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/static-routes6 | |
393 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/system | |
394 | ||
395 | %dir %{_sysconfdir}/sysctl.d | |
396 | %dir %{_prefix}/lib/sysctl.d | |
397 | ||
398 | %{_mandir}/man?/* | |
399 | %lang(de) %{_mandir}/de/man?/* | |
400 | %lang(es) %{_mandir}/es/man?/* | |
401 | %lang(fr) %{_mandir}/fr/man?/* | |
402 | %lang(ja) %{_mandir}/ja/man?/* | |
403 | %lang(ru) %{_mandir}/ru/man?/* | |
404 | %lang(sv) %{_mandir}/sv/man?/* | |
405 | %exclude %{_mandir}/man8/run-parts.8* | |
406 | ||
407 | %dir %{localedir} | |
408 | %lang(de) %{localedir}/de | |
409 | %lang(pl) %{localedir}/pl | |
410 | ||
411 | %files -n run-parts | |
412 | %defattr(644,root,root,755) | |
413 | %attr(755,root,root) %{_bindir}/run-parts | |
414 | # deprecated shell version, packaged for quick fix if something broken. will be dropped soon | |
415 | %attr(755,root,root) %{_bindir}/run-parts.sh | |
416 | %{_mandir}/man8/run-parts.8* |