]>
Commit | Line | Data |
---|---|---|
d374e721 | 1 | # TODO: |
b63d2415 | 2 | # - pldize vconsole setup: |
30121190 | 3 | # http://cgit.freedesktop.org/systemd/systemd/tree/src/vconsole/vconsole-setup.c |
a4981830 JR |
4 | # - initrd needs love (does not build and is probably completly unusable in current form) |
5 | # - merge rpm macros provided by systemd with ours | |
d374e721 | 6 | # |
864041a0 JR |
7 | # - check removed syslog.target |
8 | # - add systemd-journal, systemd-journal-gateway groups and systemd-journal-gateway user | |
9 | # - package new files | |
10 | # | |
c3037397 | 11 | # Conditional build: |
6c89bbd4 ER |
12 | %bcond_without audit # without audit support |
13 | %bcond_without cryptsetup # without cryptsetup support | |
f8d07093 | 14 | %bcond_without microhttpd # microhttpd support |
23107006 | 15 | %bcond_without pam # PAM authentication support |
f8d07093 | 16 | %bcond_without qrencode # QRencode support |
23107006 TP |
17 | %bcond_without selinux # without SELinux support |
18 | %bcond_without tcpd # libwrap (tcp_wrappers) support | |
9c0b975d | 19 | |
618c1d39 | 20 | %bcond_with initrd # build without udev-initrd |
30121190 JR |
21 | %bcond_with uClibc # link initrd version with static uClibc |
22 | %bcond_with klibc # link initrd version with static klibc | |
23 | %bcond_with dietlibc # link initrd version with static dietlibc (currently broken and unsupported) | |
24 | %bcond_without glibc # link initrd version with static glibc | |
25 | ||
26 | %ifarch sparc sparc64 | |
27 | %define with_glibc 1 | |
28 | %endif | |
29 | ||
30 | # if one of the *libc is enabled disable default uClibc | |
31 | %if %{with dietlibc} && %{with uClibc} | |
32 | %undefine with_uClibc | |
33 | %endif | |
34 | ||
35 | %if %{with glibc} && %{with uClibc} | |
36 | %undefine with_uClibc | |
37 | %endif | |
38 | ||
39 | %if %{with klibc} && %{with uClibc} | |
40 | %undefine with_uClibc | |
41 | %endif | |
42 | ||
c3037397 | 43 | Summary: A System and Service Manager |
ede8d3e5 | 44 | Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa |
45 | Name: systemd | |
30121190 | 46 | # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often) |
864041a0 JR |
47 | Version: 198 |
48 | Release: 0.1 | |
30121190 | 49 | Epoch: 1 |
ede8d3e5 | 50 | License: GPL v2+ |
51 | Group: Base | |
440d1d13 | 52 | Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz |
864041a0 | 53 | # Source0-md5: 26a75e2a310f8c1c1ea9ec26ddb171c5 |
4f25b6ac | 54 | Source1: %{name}-sysv-convert |
b0980573 | 55 | Source2: %{name}_booted.c |
a3a953ae | 56 | Source3: network.service |
870fdd3d JR |
57 | Source4: var-lock.mount |
58 | Source5: var-run.mount | |
44410185 JR |
59 | Source10: pld-storage-init-late.service |
60 | Source11: pld-storage-init.service | |
61 | Source12: pld-wait-storage.service | |
62 | Source13: pld-storage-init.sh | |
50b8f452 ER |
63 | Source14: pld-clean-tmp.service |
64 | Source15: pld-clean-tmp.sh | |
bb6fb962 JR |
65 | Source16: pld-rc-inetd-generator.sh |
66 | Source17: rc-inetd.service | |
a98a12d9 | 67 | Source18: default.preset |
2be4d5dc | 68 | Source19: prefdm.service |
30121190 JR |
69 | # rules |
70 | Source101: udev-alsa.rules | |
71 | Source102: udev.rules | |
72 | Source103: udev-links.conf | |
73 | # scripts / helpers | |
74 | Source110: udev-net.helper | |
75 | Source111: start_udev | |
76 | # misc | |
77 | Source120: udev.blacklist | |
78 | Source121: fbdev.blacklist | |
7619c097 | 79 | Patch0: target-pld.patch |
252e1bad | 80 | Patch1: config-pld.patch |
8e088cd5 | 81 | Patch2: shut-sysv-up.patch |
2e1f31c8 | 82 | Patch3: pld-sysv-network.patch |
d374e721 | 83 | Patch4: tmpfiles-not-fatal.patch |
c75fd19d JR |
84 | Patch6: udev-so.patch |
85 | Patch7: udev-uClibc.patch | |
86 | Patch8: udev-ploop-rules.patch | |
39e47c85 | 87 | Patch9: udevadm-in-sbin.patch |
5112024c | 88 | Patch10: net-rename-revert.patch |
2be4d5dc | 89 | Patch11: nss-in-rootlib.patch |
39e47c85 JR |
90 | # hack set to allow static udev build |
91 | Patch100: static-udev.patch | |
ede8d3e5 | 92 | URL: http://www.freedesktop.org/wiki/Software/systemd |
5b9bde26 | 93 | BuildRequires: acl-devel |
6c89bbd4 | 94 | %{?with_audit:BuildRequires: audit-libs-devel} |
86d3399e | 95 | BuildRequires: autoconf >= 2.64 |
6e34428f | 96 | BuildRequires: automake >= 1:1.11 |
e4c66821 | 97 | BuildRequires: binutils >= 3:2.22.52.0.1-2 |
ab590cee | 98 | %{?with_cryptsetup:BuildRequires: cryptsetup-devel >= 1.4.3} |
23107006 | 99 | BuildRequires: dbus-devel >= 1.3.2 |
c3037397 | 100 | BuildRequires: docbook-style-xsl |
30121190 JR |
101 | BuildRequires: glib2-devel >= 1:2.22.0 |
102 | BuildRequires: glibc-misc | |
86d3399e | 103 | BuildRequires: gobject-introspection-devel >= 1.31.1 |
3fc7a1cc | 104 | BuildRequires: gperf |
86d3399e | 105 | BuildRequires: gtk-doc >= 1.18 |
5b9bde26 | 106 | BuildRequires: intltool >= 0.40.0 |
4389e6f9 | 107 | BuildRequires: kmod-devel >= 5 |
30121190 | 108 | BuildRequires: libblkid-devel >= 2.20 |
b82d0bf2 | 109 | BuildRequires: libcap-devel |
f8d07093 JR |
110 | BuildRequires: libgcrypt-devel >= 1.4.5 |
111 | %{?with_microhttpd:BuildRequires: libmicrohttpd-devel >= 0.9.5} | |
112 | %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.9} | |
6c89bbd4 ER |
113 | BuildRequires: libtool >= 2:2.2 |
114 | %{?with_tcpd:BuildRequires: libwrap-devel} | |
6e34428f | 115 | BuildRequires: libxslt-progs |
961baf80 | 116 | BuildRequires: m4 |
6c89bbd4 | 117 | %{?with_pam:BuildRequires: pam-devel} |
23107006 | 118 | BuildRequires: pkgconfig >= 0.9.0 |
618c1d39 | 119 | BuildRequires: python-devel |
30121190 | 120 | BuildRequires: python-modules |
f8d07093 | 121 | %{?with_qrencode:BuildRequires: qrencode-devel} |
618c1d39 | 122 | BuildRequires: rpm-pythonprov |
30121190 JR |
123 | BuildRequires: rpmbuild(macros) >= 1.628 |
124 | BuildRequires: sed >= 4.0 | |
125 | BuildRequires: usbutils >= 0.82 | |
58fd72e9 | 126 | BuildRequires: xz-devel |
30121190 JR |
127 | BuildRequires: zlib-devel |
128 | %if %{with initrd} | |
129 | BuildRequires: acl-static | |
130 | BuildRequires: attr-static | |
131 | %{?with_dietlibc:BuildRequires: dietlibc-static} | |
132 | BuildRequires: glib2-static >= 1:2.22.0 | |
133 | %{?with_glibc:BuildRequires: glibc-static} | |
134 | %{?with_klibc:BuildRequires: klibc-static} | |
135 | BuildRequires: kmod-libs-static >= 5 | |
136 | BuildRequires: libblkid-static >= 2.20 | |
f8d07093 | 137 | %{?with_glibc:BuildRequires: libselinux-static >= 2.1.9} |
30121190 JR |
138 | %{?with_glibc:BuildRequires: libsepol-static} |
139 | %{?with_klibc:BuildRequires: linux-libc-headers} | |
140 | BuildRequires: pcre-static | |
141 | %{?with_uClibc:BuildRequires: uClibc-static >= 4:0.9.30.3} | |
142 | BuildRequires: xz-static | |
143 | BuildRequires: zlib-static | |
144 | %endif | |
7e0e6b4e JR |
145 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
146 | Requires: %{name}-units = %{epoch}:%{version}-%{release} | |
58d6217a | 147 | Requires: /etc/os-release |
2ff27c26 | 148 | Requires: SysVinit-tools |
37b8df82 | 149 | Requires: agetty |
f8d07093 | 150 | %{?with_cryptsetup:Requires: cryptsetup >= 1.4.3} |
b0980573 | 151 | Requires: dbus >= 1.4.16-6 |
1b342fb2 | 152 | Requires: filesystem >= 4.0-3 |
ed5c41d4 | 153 | Requires: libutempter |
a2018b66 | 154 | Requires: rc-scripts >= 0.4.5.3-7 |
56701781 | 155 | Requires: setup >= 2.8.0-2 |
cbba36f4 JR |
156 | Requires: udev-core = %{epoch}:%{version}-%{release} |
157 | Requires: udev-libs = %{epoch}:%{version}-%{release} | |
e3134fe0 | 158 | Requires: virtual(module-tools) |
b0980573 | 159 | Suggests: ConsoleKit |
2a61be78 | 160 | Suggests: fsck >= 2.20 |
e3134fe0 | 161 | Suggests: kmod >= 5 |
c35aa49c | 162 | Suggests: service(klogd) |
1cdd35cf | 163 | Suggests: service(syslog) |
2bd26e1e | 164 | Provides: udev-acl = %{epoch}:%{version}-%{release} |
ca73092d | 165 | Obsoletes: systemd-no-compat-tmpfiles |
cbba36f4 | 166 | Obsoletes: udev-systemd |
3baeefca PG |
167 | # systemd takes care of that and causes problems |
168 | Conflicts: binfmt-detector | |
a6203073 | 169 | # sytemd wants pam with pam_systemd.so in system-auth... |
3b292a99 | 170 | Conflicts: pam < 1:1.1.5-5 |
a6203073 JR |
171 | # ...and sudo hates it |
172 | Conflicts: sudo < 1:1.7.8p2-4 | |
06d34666 JR |
173 | # for prefdm script |
174 | Conflicts: xinitrc-ng < 1.0 | |
0fedd233 JR |
175 | # systemd scripts use options not present in older versions |
176 | Conflicts: kpartx < 0.4.9-7 | |
177 | Conflicts: multipath-tools < 0.4.9-7 | |
d833377f JR |
178 | # no tmpfs on /media, use /run/media/$USER for mounting |
179 | Conflicts: udisks2 < 1.92.0 | |
ca73092d JR |
180 | # packages that have dirs under /var/run and/or /var/lock must provide tmpfiles configs |
181 | Conflicts: ConsoleKit-dirs < 0.4.5-7 | |
182 | Conflicts: NetworkManager < 2:0.9.2.0-3 | |
183 | Conflicts: Zope < 2.11.8-2 | |
184 | Conflicts: amavisd-new < 1:2.7.0-1 | |
185 | Conflicts: apache-base < 2.2.21-4 | |
186 | Conflicts: apache-mod_bw < 0.92-3 | |
187 | Conflicts: apache-mod_fastcgi < 2.4.6-6 | |
188 | Conflicts: apache1-base < 1.3.42-5 | |
189 | Conflicts: apache1-mod_fastcgi < 2.4.6-2 | |
190 | Conflicts: asterisk < 10.0.1-2 | |
191 | Conflicts: autossh-init < 1.4b-3 | |
192 | Conflicts: balance < 3.54-2 | |
193 | Conflicts: bind < 7:9.8.1.P1-4 | |
194 | Conflicts: bopm < 3.1.3-4 | |
195 | Conflicts: callweaver < 1.2.1-9 | |
196 | Conflicts: cassandra-bin < 0.8.9-2 | |
197 | Conflicts: clamav < 0.97.3-3 | |
198 | Conflicts: cups < 1:1.5.0-10 | |
ca73092d JR |
199 | Conflicts: dovecot < 1:2.0.16-3 |
200 | Conflicts: dspam < 3.9.0-6 | |
201 | Conflicts: fail2ban < 0.8.4-4 | |
ca73092d JR |
202 | Conflicts: gammu-smsd < 1:1.31.0-3 |
203 | # Break gdm2.20 installs | |
204 | #Conflicts: gdm < 2:3.2.1.1-9 | |
205 | Conflicts: greylistd < 0.8.8-2 | |
206 | Conflicts: inn < 2.4.6-7 | |
207 | Conflicts: ipsec-tools < 0.8.0-3 | |
208 | Conflicts: jabber-common < 0-9 | |
209 | Conflicts: laptop-mode-tools < 1.58-2 | |
210 | Conflicts: libgpod < 0.8.0-6 | |
211 | Conflicts: libvirt-utils < 0.9.9-4 | |
212 | Conflicts: lighttpd < 1.4.30-5 | |
213 | Conflicts: lirc < 0.9.0-20 | |
214 | Conflicts: mailman < 5:2.1.14-4 | |
215 | Conflicts: memcached < 1.4.11-2 | |
216 | Conflicts: mpd < 0.16.5-4 | |
217 | Conflicts: mrtg < 2.17.0-3 | |
218 | Conflicts: munin-common < 1.4.5-5 | |
219 | Conflicts: nagios-nrpe < 2.13-2 | |
220 | Conflicts: ndisc6-rdnssd < 1.0.1-3 | |
221 | Conflicts: nscd < 6:2.14.1-5 | |
222 | Conflicts: nss_ldapd-nslcd < 0.8.4-2 | |
223 | Conflicts: openct < 0.6.20-3 | |
224 | Conflicts: openl2tp < 1.8-3 | |
225 | Conflicts: openldap-overlay-nssov < 2.4.28-4 | |
226 | Conflicts: openldap-servers < 2.4.28-4 | |
227 | Conflicts: openvpn < 2.2.2-2 | |
228 | Conflicts: pam-pam_mount < 2.12-3 | |
229 | Conflicts: pam-pam_ssh < 1.97-2 | |
230 | Conflicts: pcsc-lite < 1.8.1-2 | |
231 | Conflicts: php-dirs < 1.2-3 | |
232 | Conflicts: policyd < 2.0.10-3 | |
233 | Conflicts: pound < 2.6-2 | |
234 | Conflicts: pptp < 1.7.2-3 | |
235 | Conflicts: proftpd-common < 2:1.3.4a-2 | |
236 | Conflicts: pulseaudio-server < 1.1-2 | |
237 | Conflicts: quagga < 0.99.20-3 | |
238 | Conflicts: radvd < 1.8.5-2 | |
ca73092d JR |
239 | Conflicts: red5 < 0.9.0-2 |
240 | Conflicts: redis-server < 2.4.2-4 | |
241 | Conflicts: smokeping < 2.4.2-10 | |
242 | Conflicts: smtp-gated < 1.4.17-2 | |
243 | Conflicts: socat < 1.7.2.0-2 | |
244 | Conflicts: speech-dispatcher < 0.7.1-2 | |
245 | Conflicts: sphinx < 2.0.3-4 | |
246 | Conflicts: splashutils < 1.5.4.3-3 | |
247 | Conflicts: stunnel < 4.50-2 | |
248 | Conflicts: tenshi < 0.12-2 | |
249 | Conflicts: tor < 0.2.2.35-2 | |
250 | Conflicts: ucarp < 1.5.2-3 | |
251 | Conflicts: udisks < 1.0.4-3 | |
252 | Conflicts: util-vserver < 0.30.216-1.pre3002.3 | |
253 | Conflicts: vpnc < 0.5.3-2 | |
254 | Conflicts: web2ldap < 1.1.0rc1-2 | |
255 | Conflicts: wesnoth-server < 1:1.10-2 | |
256 | Conflicts: wpa_supplicant < 0.7.3-10 | |
257 | Conflicts: xl2tpd < 1.3.0-2 | |
258 | # end of tmpfiles conflicts | |
ede8d3e5 | 259 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
260 | ||
c75fd19d | 261 | %define _sbindir /sbin |
85879912 ER |
262 | %define _libexecdir %{_prefix}/lib |
263 | ||
ede8d3e5 | 264 | %description |
1c239f8b | 265 | systemd is a system and service manager for Linux, compatible with |
ede8d3e5 | 266 | SysV and LSB init scripts. systemd provides aggressive parallelization |
267 | capabilities, uses socket and D-Bus activation for starting services, | |
268 | offers on-demand starting of daemons, keeps track of processes using | |
269 | Linux cgroups, supports snapshotting and restoring of the system | |
270 | state, maintains mount and automount points and implements an | |
271 | elaborate transactional dependency-based service control logic. It can | |
1c239f8b | 272 | work as a drop-in replacement for sysvinit. |
ede8d3e5 | 273 | |
274 | %description -l pl.UTF-8 | |
275 | systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze | |
276 | skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności | |
277 | paralelizacji, do uruchamiania usług używa socketów oraz D-Busa, | |
278 | oferuje uruchamianie usług na życzenie, monitoruje procesy używając | |
279 | linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie | |
280 | (restore) stanu systemu, zarządza (auto)mount pointami oraz | |
281 | implementuje starannie opracowaną transakcjonalną, bazującą na | |
d45dfc3a | 282 | zależnościach logikę kontroli usług. Może pracować jako zastępca dla |
ede8d3e5 | 283 | sysvinit. |
284 | ||
c97dacdd TP |
285 | %package init |
286 | Summary: systemd /sbin/init and LSB/SysV compatibility symlinks | |
5b9bde26 | 287 | Summary(pl.UTF-8): /sbin/init z systemd i dowiązania dla kompatybilności z LSB/SysV |
c97dacdd | 288 | Group: Base |
d6829efa | 289 | Requires: systemd |
c97dacdd TP |
290 | Provides: readahead = 1:1.5.7-3 |
291 | Provides: virtual(init-daemon) | |
292 | Obsoletes: SysVinit | |
293 | Obsoletes: readahead < 1:1.5.7-3 | |
294 | Obsoletes: virtual(init-daemon) | |
4e1559fc | 295 | Conflicts: upstart |
c97dacdd TP |
296 | |
297 | %description init | |
298 | Install this package when you are ready to final switch to systemd. | |
299 | ||
5b9bde26 JB |
300 | %description init -l pl.UTF-8 |
301 | Ten pakiet należy zainstalować po przygotowaniu się do ostatecznego | |
302 | przejścia na systemd. | |
303 | ||
c3037397 ER |
304 | %package units |
305 | Summary: Configuration files, directories and installation tool for systemd | |
5b9bde26 | 306 | Summary(pl.UTF-8): Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla systemd |
c3037397 | 307 | Group: Base |
c3037397 | 308 | Requires(post): coreutils |
a8d86f01 | 309 | Requires(post): /bin/awk |
c3037397 ER |
310 | |
311 | %description units | |
312 | Basic configuration files, directories and installation tool for the | |
313 | systemd system and service manager. | |
314 | ||
f341cd9b | 315 | This is common config, use %{_sysconfdir}/systemd/system to override. |
10ffdcd2 | 316 | |
5b9bde26 JB |
317 | %description units -l pl.UTF-8 |
318 | Podstawowe pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla | |
319 | zarządcy systemu i usług systemd. | |
320 | ||
321 | Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać | |
322 | poprzez katalog %{_sysconfdir}/systemd/system. | |
323 | ||
bb6fb962 JR |
324 | %package inetd |
325 | Summary: Native inet service support for systemd via socket activation | |
326 | Summary(pl.UTF-8): Natywna obsługa usług inet dla systemd | |
327 | Group: Base | |
328 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
329 | Requires: rc-inetd | |
330 | Provides: inetdaemon | |
331 | Obsoletes: inetd | |
332 | Obsoletes: inetdaemon | |
333 | Obsoletes: rlinetd | |
334 | Obsoletes: xinetd | |
335 | ||
336 | %description inetd | |
337 | Native inet service support for systemd via socket activation. | |
338 | ||
339 | This package contains inet service generator that provides | |
340 | the functionality of rc-inetd service and replaces a separate | |
341 | inet daemon with systemd socket activation feature. | |
342 | ||
343 | %description inetd -l pl.UTF-8 | |
344 | Natywna obsługa usług inet dla systemd. | |
345 | ||
346 | Ten pakiet zawiera generator usług inet udostępniający funkcjonalność | |
347 | serwisu rc-inetd i zastępujący osobny demon inet przez systemd i | |
348 | aktywację usług przez gniazda. | |
349 | ||
4e5e9c32 ER |
350 | %package analyze |
351 | Summary: Tool for processing systemd profiling information | |
86d3399e | 352 | Summary(pl.UTF-8): Narzędzie do przetwarzania informacji profilujących systemd |
4e5e9c32 | 353 | Group: Base |
7e0e6b4e | 354 | Requires: %{name} = %{epoch}:%{version}-%{release} |
4e5e9c32 ER |
355 | Requires: python-dbus |
356 | Requires: python-modules | |
f4059b36 | 357 | Suggests: python-pycairo |
36c60baa | 358 | Conflicts: systemd < 44-3 |
4e5e9c32 ER |
359 | |
360 | %description analyze | |
361 | 'systemd-analyze blame' lists which systemd unit needed how much time | |
362 | to finish initialization at boot. 'systemd-analyze plot' renders an | |
363 | SVG visualizing the parallel start of units at boot. | |
364 | ||
86d3399e JB |
365 | %description analyze -l pl.UTF-8 |
366 | 'systemd-analyze blame' wypisuje, ile czasu wymagały poszczególne | |
367 | jednostki systemd na zakończenie podczas rozruchu systemu. | |
368 | 'systemd-analyze plot' tworzy wykres SVG wizualizujący równoległy | |
369 | start jednostek podczas rozruchu. | |
370 | ||
011bccb6 | 371 | %package libs |
5b9bde26 JB |
372 | Summary: Shared systemd libraries |
373 | Summary(pl.UTF-8): Biblioteki współdzielone systemd | |
011bccb6 | 374 | Group: Libraries |
f8d07093 JR |
375 | Requires: libgcrypt >= 1.4.5 |
376 | %{?with_selinux:Requires: libselinux >= 2.1.9} | |
e22b3018 | 377 | Obsoletes: nss_myhostname |
011bccb6 BZ |
378 | |
379 | %description libs | |
5b9bde26 JB |
380 | Shared systemd libraries. |
381 | ||
382 | %description libs -l pl.UTF-8 | |
383 | Biblioteki współdzielone systemd. | |
011bccb6 | 384 | |
961baf80 AF |
385 | %package devel |
386 | Summary: Header files for systemd libraries | |
387 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek systemd | |
388 | Group: Development/Libraries | |
7e0e6b4e | 389 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
961baf80 AF |
390 | |
391 | %description devel | |
392 | Header files for systemd libraries. | |
393 | ||
394 | %description devel -l pl.UTF-8 | |
395 | Pliki nagłówkowe bibliotek systemd. | |
396 | ||
5b9bde26 JB |
397 | %package -n bash-completion-systemd |
398 | Summary: bash-completion for systemd | |
399 | Summary(pl.UTF-8): Bashowe dopełnianie składni dla systemd | |
400 | Group: Applications/Shells | |
7e0e6b4e | 401 | Requires: %{name} = %{epoch}:%{version} |
5b9bde26 JB |
402 | Requires: bash-completion |
403 | ||
404 | %description -n bash-completion-systemd | |
405 | bash-completion for systemd. | |
406 | ||
407 | %description -n bash-completion-systemd -l pl.UTF-8 | |
86d3399e | 408 | Bashowe dopełnianie składni dla systemd. |
5b9bde26 | 409 | |
30121190 JR |
410 | %package -n udev |
411 | Summary: Device manager for the Linux 2.6 kernel series | |
412 | Summary(pl.UTF-8): Zarządca urządzeń dla Linuksa 2.6 | |
413 | Group: Base | |
414 | Requires: udev-core = %{epoch}:%{version}-%{release} | |
415 | Provides: dev = 3.5.0 | |
416 | Obsoletes: dev | |
417 | Obsoletes: hotplug | |
418 | Obsoletes: hotplug-input | |
419 | Obsoletes: hotplug-net | |
420 | Obsoletes: hotplug-pci | |
30121190 JR |
421 | Obsoletes: udev-dev |
422 | Obsoletes: udev-extras < 20090628 | |
423 | Obsoletes: udev-tools | |
424 | ||
425 | %description -n udev | |
426 | udev is the device manager for the Linux 2.6 kernel series. Its | |
427 | primary function is managing device nodes in /dev. It is the successor | |
428 | of devfs and hotplug. | |
429 | ||
430 | %description -n udev -l pl.UTF-8 | |
431 | udev jest zarządcą urządzeń dla Linuksa 2.6. Jego główną funkcją jest | |
432 | zarządzanie węzłami urządzeń w katalogu /dev. Jest następcą devfs i | |
433 | hotpluga. | |
434 | ||
435 | %package -n udev-core | |
436 | Summary: A userspace implementation of devfs - core part of udev | |
437 | Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - główna część udev | |
438 | Group: Base | |
30121190 JR |
439 | Requires: udev-libs = %{epoch}:%{version}-%{release} |
440 | Requires: coreutils | |
441 | Requires: filesystem >= 3.0-45 | |
f8d07093 JR |
442 | Requires: kmod-libs >= 5 |
443 | Requires: libblkid >= 2.20 | |
444 | %{?with_selinux:Requires: libselinux >= 2.1.9} | |
30121190 | 445 | Requires: setup >= 2.6.1-1 |
30121190 | 446 | Requires: uname(release) >= 2.6.32 |
30121190 | 447 | Conflicts: rc-scripts < 0.4.5.3-1 |
cbba36f4 | 448 | Conflicts: systemd-units < 1:183 |
30121190 | 449 | Conflicts: udev < 1:118-1 |
91243ef3 | 450 | Obsoletes: udev-compat |
2be4d5dc | 451 | %{!?with_initrd:Obsoletes: udev-initrd < %{epoch}:%{version}-%{release}} |
30121190 JR |
452 | |
453 | %description -n udev-core | |
454 | A userspace implementation of devfs - core part of udev. | |
455 | ||
456 | %description -n udev-core -l pl.UTF-8 | |
457 | Implementacja devfs w przestrzeni użytkownika - główna część udev. | |
458 | ||
459 | %package -n udev-libs | |
460 | Summary: Shared library to access udev device information | |
461 | Summary(pl.UTF-8): Biblioteka współdzielona do dostępu do informacji o urządzeniach udev | |
462 | Group: Libraries | |
463 | ||
464 | %description -n udev-libs | |
465 | Shared libudev library to access udev device information. | |
466 | ||
467 | %description -n udev-libs -l pl.UTF-8 | |
468 | Biblioteka współdzielona libudev służąca do dostępu do informacji o | |
469 | urządzeniach udev. | |
470 | ||
471 | %package -n udev-devel | |
472 | Summary: Header file for libudev library | |
473 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki libudev | |
474 | Group: Development/Libraries | |
475 | Requires: udev-libs = %{epoch}:%{version}-%{release} | |
476 | ||
477 | %description -n udev-devel | |
478 | Header file for libudev library. | |
479 | ||
480 | %description -n udev-devel -l pl.UTF-8 | |
481 | Plik nagłówkowy biblioteki libudev. | |
482 | ||
483 | %package -n udev-static | |
484 | Summary: Static libudev library | |
485 | Summary(pl.UTF-8): Biblioteka statyczna libudev | |
486 | Group: Development/Libraries | |
487 | Requires: udev-devel = %{epoch}:%{version}-%{release} | |
488 | ||
489 | %description -n udev-static | |
490 | Static libudev library. | |
491 | ||
492 | %description -n udev-static -l pl.UTF-8 | |
493 | Biblioteka statyczna libudev. | |
494 | ||
495 | %package -n udev-apidocs | |
496 | Summary: libudev API documentation | |
497 | Summary(pl.UTF-8): Dokumentacja API libudev | |
498 | Group: Documentation | |
499 | Requires: gtk-doc-common | |
500 | ||
501 | %description -n udev-apidocs | |
502 | libudev API documentation. | |
503 | ||
504 | %description -n udev-apidocs -l pl.UTF-8 | |
505 | Dokumentacja API libudev. | |
506 | ||
507 | %package -n udev-glib | |
508 | Summary: Shared libgudev library - GObject bindings for libudev | |
509 | Summary(pl.UTF-8): Biblioteka współdzielona libgudev - wiązania GObject do libudev | |
510 | Group: Libraries | |
511 | Requires: udev-libs = %{epoch}:%{version}-%{release} | |
512 | Requires: glib2 >= 1:2.22.0 | |
513 | ||
514 | %description -n udev-glib | |
515 | Shared libgudev library - GObject bindings for libudev. | |
516 | ||
517 | %description -n udev-glib -l pl.UTF-8 | |
518 | Biblioteka współdzielona libgudev - wiązania GObject do libudev. | |
519 | ||
520 | %package -n udev-glib-devel | |
521 | Summary: Header file for libgudev library | |
522 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki libgudev | |
523 | Group: Development/Libraries | |
524 | Requires: udev-devel = %{epoch}:%{version}-%{release} | |
525 | Requires: udev-glib = %{epoch}:%{version}-%{release} | |
526 | Requires: glib2-devel >= 1:2.22.0 | |
527 | ||
528 | %description -n udev-glib-devel | |
529 | Header file for libgudev library. | |
530 | ||
531 | %description -n udev-glib-devel -l pl.UTF-8 | |
532 | Plik nagłówkowy biblioteki libgudev. | |
533 | ||
534 | %package -n udev-glib-static | |
535 | Summary: Static libgudev library | |
536 | Summary(pl.UTF-8): Biblioteka statyczna libgudev | |
537 | Group: Development/Libraries | |
538 | Requires: udev-glib-devel = %{epoch}:%{version}-%{release} | |
539 | ||
540 | %description -n udev-glib-static | |
541 | Static libgudev library. | |
542 | ||
543 | %description -n udev-glib-static -l pl.UTF-8 | |
544 | Biblioteka statyczna libgudev. | |
545 | ||
546 | %package -n udev-glib-apidocs | |
547 | Summary: libgudev API documentation | |
548 | Summary(pl.UTF-8): Dokumentacja API libgudev | |
549 | Group: Documentation | |
550 | Requires: gtk-doc-common | |
551 | ||
552 | %description -n udev-glib-apidocs | |
553 | libgudev API documentation. | |
554 | ||
555 | %description -n udev-glib-apidocs -l pl.UTF-8 | |
556 | Dokumentacja API libgudev. | |
557 | ||
558 | %package -n udev-initrd | |
559 | Summary: A userspace implementation of devfs - static binary for initrd | |
560 | Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla initrd | |
561 | Group: Base | |
562 | Requires: udev-core = %{epoch}:%{version}-%{release} | |
563 | Conflicts: geninitrd < 10000.10 | |
564 | ||
565 | %description -n udev-initrd | |
566 | A userspace implementation of devfs - static binary for initrd. | |
567 | ||
568 | %description -n udev-initrd -l pl.UTF-8 | |
569 | Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla | |
570 | initrd. | |
571 | ||
864041a0 JR |
572 | %package -n bash-completion-udev |
573 | Summary: bash-completion for udev | |
574 | Summary(pl.UTF-8): Bashowe dopełnianie składni dla udev | |
575 | Group: Applications/Shells | |
576 | Requires: udev = %{epoch}:%{version} | |
577 | Requires: bash-completion | |
578 | ||
579 | %description -n bash-completion-udev | |
580 | bash-completion for udev. | |
581 | ||
582 | %description -n bash-completion-udev -l pl.UTF-8 | |
583 | Bashowe dopełnianie składni dla udev. | |
584 | ||
585 | ||
618c1d39 JR |
586 | %package -n python-systemd |
587 | Summary: Systemd Python bindings | |
588 | Summary(pl.UTF-8): Wiązania do Systemd dla Pythona | |
589 | Group: Development/Languages/Python | |
590 | %pyrequires_eq python | |
591 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
592 | ||
593 | %description -n python-systemd | |
594 | Systemd Python bindings. | |
595 | ||
596 | %description -n python-systemd -l pl.UTF-8 | |
597 | Wiązania do Systemd dla Pythona. | |
598 | ||
ede8d3e5 | 599 | %prep |
600 | %setup -q | |
4c5b5ab6 | 601 | %patch0 -p1 |
252e1bad | 602 | %patch1 -p1 |
082609ad | 603 | #patch2 -p1 |
942c9075 | 604 | %patch3 -p1 |
d374e721 | 605 | %patch4 -p1 |
c75fd19d JR |
606 | %patch6 -p1 |
607 | %if %{with uClibc} | |
608 | %patch7 -p1 | |
609 | %endif | |
3be4738a | 610 | %patch8 -p1 |
39e47c85 | 611 | %patch9 -p1 |
5112024c | 612 | %patch10 -p1 |
2be4d5dc | 613 | %patch11 -p1 |
b77423ae | 614 | cp -p %{SOURCE2} src/systemd_booted.c |
ede8d3e5 | 615 | |
616 | %build | |
c75fd19d JR |
617 | %{__gtkdocize} |
618 | %{__libtoolize} | |
4c5b5ab6 | 619 | %{__aclocal} -I m4 |
ede8d3e5 | 620 | %{__autoconf} |
6e34428f | 621 | %{__autoheader} |
ede8d3e5 | 622 | %{__automake} |
183de3c2 | 623 | %if %{with initrd} |
39e47c85 | 624 | patch -p1 <%{PATCH100} |
183de3c2 JR |
625 | %configure \ |
626 | %if "%{?configure_cache}" == "1" | |
627 | --cache-file=%{?configure_cache_file}%{!?configure_cache_file:configure}-initrd.cache \ | |
628 | %endif | |
629 | %{?with_uClibc:CC="%{_target_cpu}-uclibc-gcc"} \ | |
630 | %{?with_dietlibc:CC="diet %{__cc} %{rpmcflags} %{rpmldflags} -Os -D_BSD_SOURCE"} \ | |
631 | %{?with_klibc:CC="%{_bindir}/klcc"} \ | |
632 | %{?debug:--enable-debug} \ | |
633 | --disable-silent-rules \ | |
634 | --disable-shared \ | |
635 | --enable-static \ | |
f8d07093 | 636 | --disable-audit \ |
183de3c2 | 637 | --disable-gtk-doc \ |
f8d07093 | 638 | --disable-gudev \ |
183de3c2 | 639 | --disable-introspection \ |
f8d07093 JR |
640 | --disable-keymap \ |
641 | --disable-microhttpd \ | |
183de3c2 | 642 | --disable-pam \ |
f8d07093 | 643 | --disable-qrencode \ |
183de3c2 | 644 | --disable-selinux \ |
0a9f5d7b JB |
645 | --enable-chkconfig \ |
646 | --enable-split-usr \ | |
647 | --with-kbd-loadkeys=/usr/bin/loadkeys \ | |
648 | --with-kbd-setfont=/bin/setfont \ | |
649 | --with-sysvinit-path=/etc/rc.d/init.d \ | |
650 | --with-sysvrcnd-path=/etc/rc.d \ | |
651 | --with-rc-local-script-path-start=/etc/rc.d/rc.local \ | |
652 | --with-rc-local-script-path-stop=/sbin/halt.local \ | |
653 | --with-rootprefix="" \ | |
654 | --with-rootlibdir=/%{_lib} | |
183de3c2 JR |
655 | |
656 | %{__make} \ | |
657 | libudev-core.la \ | |
658 | systemd-udevd \ | |
659 | udevadm \ | |
660 | ata_id \ | |
661 | cdrom_id \ | |
662 | collect \ | |
663 | scsi_id \ | |
664 | v4l_id \ | |
665 | accelerometer \ | |
666 | mtd_probe \ | |
667 | LDFLAGS="-all-static" \ | |
668 | KMOD_LIBS="-lkmod -lz -llzma" | |
669 | ||
670 | mkdir udev-initrd | |
671 | cp -a systemd-udevd \ | |
672 | udevadm \ | |
673 | ata_id \ | |
674 | cdrom_id \ | |
675 | collect \ | |
676 | scsi_id \ | |
677 | v4l_id \ | |
678 | accelerometer \ | |
679 | mtd_probe \ | |
680 | udev-initrd/ | |
681 | ||
682 | %{__make} clean | |
39e47c85 | 683 | patch -p1 -R <%{PATCH100} |
183de3c2 JR |
684 | %endif |
685 | ||
9c0b975d | 686 | %configure \ |
f8d07093 JR |
687 | QUOTAON=/sbin/quotaon \ |
688 | QUOTACHECK=/sbin/quotacheck \ | |
689 | SETCAP=/sbin/setcap \ | |
690 | KILL=/bin/kill \ | |
c75fd19d | 691 | %{?debug:--enable-debug} \ |
6c89bbd4 ER |
692 | %{__enable_disable audit} \ |
693 | %{__enable_disable cryptsetup libcryptsetup} \ | |
6c89bbd4 ER |
694 | %{__enable_disable pam} \ |
695 | %{__enable_disable selinux} \ | |
696 | %{__enable_disable tcpd tcpwrap} \ | |
f8d07093 JR |
697 | %{__enable_disable microhttpd} \ |
698 | %{__enable_disable qrencode} \ | |
6c89bbd4 | 699 | --disable-silent-rules \ |
0a9f5d7b | 700 | --enable-chkconfig \ |
f8d07093 JR |
701 | --enable-gtk-doc \ |
702 | --enable-introspection \ | |
703 | --enable-split-usr \ | |
183de3c2 | 704 | --enable-static \ |
0a9f5d7b JB |
705 | --with-html-dir=%{_gtkdocdir} \ |
706 | --with-kbd-loadkeys=/usr/bin/loadkeys \ | |
707 | --with-kbd-setfont=/bin/setfont \ | |
708 | --with-sysvinit-path=/etc/rc.d/init.d \ | |
709 | --with-sysvrcnd-path=/etc/rc.d \ | |
710 | --with-rc-local-script-path-start=/etc/rc.d/rc.local \ | |
711 | --with-rc-local-script-path-stop=/sbin/halt.local \ | |
c75fd19d | 712 | --with-rootprefix="" \ |
0a9f5d7b | 713 | --with-rootlibdir=/%{_lib} |
e1d9cc15 | 714 | |
ede8d3e5 | 715 | %{__make} |
b77423ae | 716 | ./libtool --mode=link --tag=CC %{__cc} %{rpmcppflags} %{rpmcflags} -o systemd_booted %{rpmldflags} src/systemd_booted.c -L. -lsystemd-daemon |
ede8d3e5 | 717 | |
718 | %install | |
719 | rm -rf $RPM_BUILD_ROOT | |
c75fd19d | 720 | install -d $RPM_BUILD_ROOT/var/lib/%{name}/coredump \ |
a98a12d9 | 721 | $RPM_BUILD_ROOT{%{_sysconfdir}/{modprobe.d,systemd/system-preset},%{_sbindir}} |
23107006 | 722 | |
ede8d3e5 | 723 | %{__make} install \ |
724 | DESTDIR=$RPM_BUILD_ROOT | |
725 | ||
216f25d7 | 726 | ./libtool --mode=install install -p -m755 systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted |
b77423ae | 727 | |
c75fd19d | 728 | # compatibility symlinks to udevd binary |
cbba36f4 JR |
729 | mv $RPM_BUILD_ROOT/lib/{systemd/systemd-,udev/}udevd |
730 | ln -s /lib/udev/udevd $RPM_BUILD_ROOT/lib/systemd/systemd-udevd | |
731 | ln -s /lib/udev/udevd $RPM_BUILD_ROOT%{_sbindir}/udevd | |
c75fd19d JR |
732 | |
733 | # compat symlinks for "/ merged into /usr" programs | |
734 | mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/udevadm | |
735 | ln -s %{_sbindir}/udevadm $RPM_BUILD_ROOT%{_bindir} | |
183de3c2 | 736 | ln -s /lib/udev $RPM_BUILD_ROOT/usr/lib/ |
c75fd19d JR |
737 | |
738 | # install custom udev rules from pld package | |
739 | cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.rules | |
740 | cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules | |
741 | ||
2be4d5dc JR |
742 | # disable this abomination |
743 | # http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames | |
744 | ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/80-net-name-slot.rules | |
745 | ||
c75fd19d JR |
746 | # install udev configs |
747 | cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/udev/links.conf | |
748 | ||
749 | # install udev executables (scripts, helpers, etc.) | |
750 | install -p %{SOURCE110} $RPM_BUILD_ROOT/lib/udev/net_helper | |
751 | install -p %{SOURCE111} $RPM_BUILD_ROOT%{_sbindir}/start_udev | |
752 | ||
753 | # install misc udev stuff | |
754 | cp -a %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/udev_blacklist.conf | |
755 | cp -a %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/fbdev-blacklist.conf | |
756 | ||
cbba36f4 | 757 | mv $RPM_BUILD_ROOT%{_mandir}/man8/{systemd-,}udevd.8 |
579cb1fc | 758 | echo ".so man8/udevd.8" >$RPM_BUILD_ROOT%{_mandir}/man8/systemd-udevd.8 |
c75fd19d JR |
759 | |
760 | %if %{with initrd} | |
761 | install -d $RPM_BUILD_ROOT%{_libdir}/initrd/udev | |
183de3c2 JR |
762 | install -p udev-initrd/udevadm $RPM_BUILD_ROOT%{_libdir}/initrd |
763 | install -p udev-initrd/systemd-udevd $RPM_BUILD_ROOT%{_libdir}/initrd | |
764 | # hardlink udevd -> systemd-udevd | |
765 | ln $RPM_BUILD_ROOT%{_libdir}/initrd/{systemd-,}udevd | |
c75fd19d | 766 | ln -s udevd $RPM_BUILD_ROOT%{_libdir}/initrd/udevstart |
183de3c2 JR |
767 | install -p udev-initrd/*_id $RPM_BUILD_ROOT%{_libdir}/initrd/udev |
768 | install -p udev-initrd/collect $RPM_BUILD_ROOT%{_libdir}/initrd/udev | |
769 | install -p udev-initrd/mtd_probe $RPM_BUILD_ROOT%{_libdir}/initrd/udev | |
c75fd19d JR |
770 | %endif |
771 | ||
4389e6f9 JR |
772 | # Main binary has been moved, but we don't want to break existing installs |
773 | ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/bin/systemd | |
774 | ||
1dcb74bb | 775 | # Create SysV compatibility symlinks. systemctl/systemd are smart |
2a61be78 | 776 | # enough to detect the way they were called |
c28b0c1c | 777 | install -d $RPM_BUILD_ROOT/sbin |
4389e6f9 | 778 | ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/sbin/init |
1dcb74bb | 779 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/halt |
780 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/poweroff | |
23107006 TP |
781 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/reboot |
782 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/runlevel | |
1dcb74bb | 783 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/shutdown |
784 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/telinit | |
1dcb74bb | 785 | |
5d32f234 | 786 | ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf |
44410185 JR |
787 | |
788 | # disable redundant SYSV services | |
789 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/allowlogin.service | |
4cc1cb1d | 790 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/console.service |
44410185 JR |
791 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/cpusets.service |
792 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/killall.service | |
793 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/netfs.service | |
794 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/random.service | |
5d32f234 | 795 | |
f1586299 | 796 | # add static (non-NetworkManager) networking |
216f25d7 | 797 | cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/network.service |
f1586299 | 798 | |
d833377f JR |
799 | # restore bind-mounts /var/run -> run and /var/lock -> /run/lock |
800 | # we don't have those directories symlinked | |
870fdd3d JR |
801 | cp -p %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/var-lock.mount |
802 | cp -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/var-run.mount | |
0e50d607 JR |
803 | ln -s ../var-lock.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants |
804 | ln -s ../var-run.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants | |
d833377f JR |
805 | |
806 | # and remove tmp on tmpfs mount | |
807 | %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/tmp.mount | |
183de3c2 | 808 | %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants/tmp.mount |
d833377f | 809 | |
44410185 | 810 | # Install and enable storage subsystems support services (RAID, LVM, etc.) |
216f25d7 ER |
811 | cp -p %{SOURCE10} $RPM_BUILD_ROOT%{systemdunitdir}/pld-storage-init-late.service |
812 | cp -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}/pld-storage-init.service | |
813 | cp -p %{SOURCE12} $RPM_BUILD_ROOT%{systemdunitdir}/pld-wait-storage.service | |
50b8f452 | 814 | cp -p %{SOURCE14} $RPM_BUILD_ROOT%{systemdunitdir}/pld-clean-tmp.service |
216f25d7 | 815 | install -p %{SOURCE13} $RPM_BUILD_ROOT/lib/systemd/pld-storage-init |
50b8f452 | 816 | install -p %{SOURCE15} $RPM_BUILD_ROOT/lib/systemd/pld-clean-tmp |
44410185 | 817 | |
50b8f452 ER |
818 | ln -s ../pld-storage-init-late.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants |
819 | ln -s ../pld-storage-init.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants | |
820 | ln -s ../pld-clean-tmp.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants | |
c3037397 | 821 | |
bb6fb962 JR |
822 | # Install rc-inetd replacement |
823 | cp -p %{SOURCE16} $RPM_BUILD_ROOT/lib/systemd/system-generators/pld-rc-inetd-generator | |
824 | cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdunitdir}/rc-inetd.service | |
825 | ||
a98a12d9 JR |
826 | cp -p %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system-preset/default.preset |
827 | ||
2be4d5dc JR |
828 | cp -p %{SOURCE19} $RPM_BUILD_ROOT%{systemdunitdir}/prefdm.service |
829 | ||
216f25d7 ER |
830 | # handled by rc-local sysv service, no need for generator |
831 | %{__rm} $RPM_BUILD_ROOT/lib/systemd/system-generators/systemd-rc-local-generator | |
216f25d7 | 832 | |
72e4d9f8 | 833 | # provided by rc-scripts |
4f6dc28a | 834 | %{__rm} $RPM_BUILD_ROOT/lib/systemd/system/rc-local.service |
72e4d9f8 | 835 | |
2a61be78 TP |
836 | # Make sure these directories are properly owned: |
837 | # - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd, | |
838 | # - syslog _might_ be used by some syslog implementation (none for now), | |
839 | # - isn't dbus populated by dbus-systemd only (so to be moved there)? | |
4cc1cb1d | 840 | install -d $RPM_BUILD_ROOT%{systemdunitdir}/{dbus,halt,kexec,poweroff,reboot,syslog}.target.wants |
961baf80 AF |
841 | |
842 | # Create new-style configuration files so that we can ghost-own them | |
70047b34 | 843 | touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,timezone,vconsole.conf} |
4bbef33c | 844 | |
9d8b5dfe | 845 | # Install SysV conversion tool for systemd |
4f25b6ac | 846 | install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir} |
9d8b5dfe BZ |
847 | |
848 | install -d $RPM_BUILD_ROOT/var/log | |
5a65c84e TP |
849 | :> $RPM_BUILD_ROOT/var/log/btmp |
850 | :> $RPM_BUILD_ROOT/var/log/wtmp | |
a761f93e | 851 | |
5d32f234 | 852 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} |
a86320a6 | 853 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_systemd.la |
0a9f5d7b | 854 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/libnss_myhostname.la |
5d32f234 | 855 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
f8d07093 JR |
856 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/systemd/*.la |
857 | %py_postclean | |
5d32f234 | 858 | |
ede8d3e5 | 859 | %clean |
860 | rm -rf $RPM_BUILD_ROOT | |
861 | ||
9638c72f | 862 | %post |
4bbef33c | 863 | /bin/systemd-machine-id-setup > /dev/null 2>&1 || : |
9638c72f | 864 | /bin/systemctl daemon-reexec > /dev/null 2>&1 || : |
c3037397 | 865 | |
961baf80 | 866 | %postun |
85879912 | 867 | if [ $1 -ge 1 ]; then |
961baf80 | 868 | /bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || : |
9638c72f | 869 | fi |
870 | ||
3edd52a6 TP |
871 | %post libs -p /sbin/ldconfig |
872 | %postun libs -p /sbin/ldconfig | |
011bccb6 | 873 | |
961baf80 | 874 | %post units |
85879912 | 875 | if [ $1 -eq 1 ]; then |
961baf80 AF |
876 | # Try to read default runlevel from the old inittab if it exists |
877 | runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2> /dev/null) | |
878 | if [ -z "$runlevel" ] ; then | |
4cc1cb1d | 879 | target="%{systemdunitdir}/graphical.target" |
961baf80 | 880 | else |
4cc1cb1d | 881 | target="%{systemdunitdir}/runlevel$runlevel.target" |
961baf80 AF |
882 | fi |
883 | ||
884 | # And symlink what we found to the new-style default.target | |
f341cd9b | 885 | ln -s "$target" %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || : |
cf819365 JR |
886 | |
887 | # Setup hostname | |
888 | [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network | |
889 | if [ -n "$HOSTNAME" -a "$HOSTNAME" != "pldmachine" ]; then | |
890 | [ -f /etc/hostname ] && mv -f /etc/hostname /etc/hostname.rpmsave | |
891 | echo $HOSTNAME > /etc/hostname | |
892 | chmod 644 /etc/hostname | |
893 | fi | |
44410185 JR |
894 | |
895 | # Enable the services we install by default. | |
896 | /bin/systemctl enable \ | |
897 | getty@.service \ | |
898 | network.service \ | |
899 | remote-fs.target \ | |
900 | systemd-readahead-replay.service \ | |
cbba36f4 JR |
901 | systemd-readahead-collect.service \ |
902 | systemd-udev-settle.service >/dev/null 2>&1 || : | |
9638c72f | 903 | fi |
c3037397 ER |
904 | |
905 | %preun units | |
961baf80 AF |
906 | if [ $1 -eq 0 ] ; then |
907 | /bin/systemctl disable \ | |
908 | getty@.service \ | |
f1586299 | 909 | network.service \ |
961baf80 AF |
910 | remote-fs.target \ |
911 | systemd-readahead-replay.service \ | |
cbba36f4 JR |
912 | systemd-readahead-collect.service \ |
913 | systemd-udev-settle.service >/dev/null 2>&1 || : | |
961baf80 | 914 | |
f341cd9b | 915 | %{__rm} -f %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || : |
c3037397 | 916 | fi |
9638c72f | 917 | |
961baf80 | 918 | %postun units |
85879912 | 919 | if [ $1 -ge 1 ]; then |
9638c72f | 920 | /bin/systemctl daemon-reload > /dev/null 2>&1 || : |
921 | fi | |
922 | ||
2386bcb6 | 923 | %triggerpostun units -- systemd-units < 43-7 |
44410185 | 924 | # Remove design fialures |
cbba36f4 JR |
925 | %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service >/dev/null 2>&1 || : |
926 | %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service >/dev/null 2>&1 || : | |
927 | %{__rm} -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service >/dev/null 2>&1 || : | |
f3877668 | 928 | /bin/systemctl reenable network.service >/dev/null 2>&1 || : |
44410185 | 929 | |
cde7998d | 930 | %triggerpostun units -- systemd-units < 1:183 |
cbba36f4 JR |
931 | /bin/systemctl --quiet enable systemd-udev-settle.service >/dev/null 2>&1 || : |
932 | %{__rm} -f /etc/systemd/system/basic.target.wants/udev-settle.service >/dev/null 2>&1 || : | |
6f109eab JR |
933 | # preserve renamed configs |
934 | if [ -f /etc/systemd/systemd-journald.conf.rpmsave ]; then | |
935 | %{__mv} /etc/systemd/journald.conf{,.rpmnew} | |
936 | %{__mv} -f /etc/systemd/systemd-journald.conf.rpmsave /etc/systemd/journald.conf | |
937 | fi | |
938 | if [ -f /etc/systemd/systemd-logind.conf.rpmsave ]; then | |
939 | %{__mv} /etc/systemd/logind.conf{,.rpmnew} | |
940 | %{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf | |
941 | fi | |
cbba36f4 | 942 | |
a98a12d9 JR |
943 | %triggerpostun units -- systemd-units < 1:187-3 |
944 | if [ -f /etc/sysconfig/rpm ]; then | |
945 | . /etc/sysconfig/rpm | |
946 | if [ ${RPM_ENABLE_SYSTEMD_SERVICE:-yes} = no ]; then | |
947 | echo "disable *" >>%{_sysconfdir}/systemd/system-preset/default.preset | |
948 | fi | |
949 | fi | |
950 | ||
bb6fb962 JR |
951 | %post inetd |
952 | %systemd_reload | |
f96cfa86 JR |
953 | # Do not change it to restart, we only want to start new services here |
954 | %systemd_service_start sockets.target | |
bb6fb962 JR |
955 | |
956 | %postun inetd | |
957 | %systemd_reload | |
958 | ||
30121190 JR |
959 | %triggerpostun -n udev-core -- dev |
960 | if [ "$2" = 0 ]; then | |
961 | # need to kill and restart udevd as after obsoleting dev package the | |
962 | # /dev tree will remain empty. umask is needed as otherwise udev will | |
963 | # create devices with strange permissions (udev bug probably) | |
964 | umask 000 | |
965 | /sbin/start_udev || exit 0 | |
966 | fi | |
967 | ||
968 | %triggerpostun -n udev-core -- udev < 108 | |
969 | %{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules | |
970 | %if "%{_lib}" != "lib" | |
971 | %{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules | |
972 | %endif | |
973 | ||
974 | %triggerpostun -n udev-core -- udev < 165 | |
975 | /sbin/udevadm info --convert-db | |
976 | ||
30121190 JR |
977 | %post -n udev-core |
978 | if [ $1 -gt 1 ]; then | |
979 | if [ ! -x /bin/systemd_booted ] || ! /bin/systemd_booted; then | |
980 | if grep -qs devtmpfs /proc/mounts && [ -n "$(pidof udevd)" ]; then | |
981 | /sbin/udevadm control --exit | |
ac4b515a | 982 | /lib/udev/udevd --daemon |
30121190 JR |
983 | fi |
984 | else | |
985 | SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \ | |
2bf49637 | 986 | /bin/systemctl --quiet try-restart systemd-udevd.service || : |
30121190 JR |
987 | fi |
988 | fi | |
30121190 JR |
989 | |
990 | %postun -n udev-core | |
cbba36f4 JR |
991 | if [ -x /bin/systemd_booted ] && /bin/systemd_booted; then |
992 | SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \ | |
993 | /bin/systemctl --quiet daemon-reload || : | |
994 | fi | |
30121190 JR |
995 | |
996 | %post -n udev-libs -p /sbin/ldconfig | |
997 | %postun -n udev-libs -p /sbin/ldconfig | |
998 | ||
999 | %post -n udev-glib -p /sbin/ldconfig | |
1000 | %postun -n udev-glib -p /sbin/ldconfig | |
1001 | ||
ede8d3e5 | 1002 | %files |
1003 | %defattr(644,root,root,755) | |
1c239f8b | 1004 | %doc DISTRO_PORTING README TODO |
6e34428f | 1005 | /etc/dbus-1/system.d/org.freedesktop.hostname1.conf |
961baf80 AF |
1006 | /etc/dbus-1/system.d/org.freedesktop.locale1.conf |
1007 | /etc/dbus-1/system.d/org.freedesktop.login1.conf | |
c3037397 | 1008 | /etc/dbus-1/system.d/org.freedesktop.systemd1.conf |
961baf80 | 1009 | /etc/dbus-1/system.d/org.freedesktop.timedate1.conf |
3edd52a6 | 1010 | %ghost %config(noreplace) %{_sysconfdir}/machine-id |
b77423ae AF |
1011 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname |
1012 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf | |
1013 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info | |
b77423ae AF |
1014 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/timezone |
1015 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf | |
c75fd19d JR |
1016 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journald.conf |
1017 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/logind.conf | |
1018 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system.conf | |
1019 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/user.conf | |
2a61be78 | 1020 | %dir %{_sysconfdir}/systemd/user |
44410185 JR |
1021 | %dir %{_sysconfdir}/systemd/system/*.target.wants |
1022 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/*.target.wants/*.service | |
1023 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/*.target.wants/*.target | |
abd479ee | 1024 | /etc/xdg/systemd |
c75fd19d JR |
1025 | %attr(755,root,root) /bin/journalctl |
1026 | %attr(755,root,root) /bin/loginctl | |
1dcb74bb | 1027 | %attr(755,root,root) /bin/systemd |
1028 | %attr(755,root,root) /bin/systemd-ask-password | |
c75fd19d | 1029 | %attr(755,root,root) /bin/systemd-inhibit |
7a76bc86 | 1030 | %attr(755,root,root) /bin/systemd-machine-id-setup |
1dcb74bb | 1031 | %attr(755,root,root) /bin/systemd-notify |
1032 | %attr(755,root,root) /bin/systemd-tty-ask-password-agent | |
618c1d39 JR |
1033 | %attr(755,root,root) %{_bindir}/hostnamectl |
1034 | %attr(755,root,root) %{_bindir}/localectl | |
d374e721 | 1035 | %attr(755,root,root) %{_bindir}/systemd-cat |
23107006 | 1036 | %attr(755,root,root) %{_bindir}/systemd-cgls |
f8d07093 JR |
1037 | %attr(755,root,root) %{_bindir}/systemd-cgtop |
1038 | %attr(755,root,root) %{_bindir}/systemd-coredumpctl | |
c75fd19d JR |
1039 | %attr(755,root,root) %{_bindir}/systemd-delta |
1040 | %attr(755,root,root) %{_bindir}/systemd-detect-virt | |
57cd0d13 ZU |
1041 | %attr(755,root,root) %{_bindir}/systemd-nspawn |
1042 | %attr(755,root,root) %{_bindir}/systemd-stdio-bridge | |
2a61be78 | 1043 | %attr(755,root,root) %{_bindir}/systemd-sysv-convert |
f8d07093 | 1044 | %attr(755,root,root) %{_bindir}/timedatectl |
8a78a3e8 | 1045 | %attr(755,root,root) /lib/systemd/pld-clean-tmp |
44410185 | 1046 | %attr(755,root,root) /lib/systemd/pld-storage-init |
c75fd19d JR |
1047 | %attr(755,root,root) /lib/systemd/systemd-ac-power |
1048 | %attr(755,root,root) /lib/systemd/systemd-binfmt | |
2be4d5dc | 1049 | %attr(755,root,root) /lib/systemd/systemd-bootchart |
c75fd19d JR |
1050 | %attr(755,root,root) /lib/systemd/systemd-cgroups-agent |
1051 | %attr(755,root,root) /lib/systemd/systemd-coredump | |
657515ed | 1052 | %{?with_cryptsetup:%attr(755,root,root) /lib/systemd/systemd-cryptsetup} |
c75fd19d JR |
1053 | %attr(755,root,root) /lib/systemd/systemd-fsck |
1054 | %attr(755,root,root) /lib/systemd/systemd-hostnamed | |
1055 | %attr(755,root,root) /lib/systemd/systemd-initctl | |
f8d07093 | 1056 | %{?with_microhttpd:%attr(755,root,root) /lib/systemd/systemd-journal-gatewayd} |
c75fd19d JR |
1057 | %attr(755,root,root) /lib/systemd/systemd-journald |
1058 | %attr(755,root,root) /lib/systemd/systemd-localed | |
1059 | %attr(755,root,root) /lib/systemd/systemd-logind | |
1060 | %attr(755,root,root) /lib/systemd/systemd-modules-load | |
1061 | %attr(755,root,root) /lib/systemd/systemd-multi-seat-x | |
1062 | %attr(755,root,root) /lib/systemd/systemd-quotacheck | |
1063 | %attr(755,root,root) /lib/systemd/systemd-random-seed | |
4400c575 | 1064 | %attr(755,root,root) /lib/systemd/systemd-readahead |
c75fd19d JR |
1065 | %attr(755,root,root) /lib/systemd/systemd-remount-fs |
1066 | %attr(755,root,root) /lib/systemd/systemd-reply-password | |
1067 | %attr(755,root,root) /lib/systemd/systemd-shutdown | |
1068 | %attr(755,root,root) /lib/systemd/systemd-shutdownd | |
1069 | %attr(755,root,root) /lib/systemd/systemd-sleep | |
1070 | %attr(755,root,root) /lib/systemd/systemd-sysctl | |
1071 | %attr(755,root,root) /lib/systemd/systemd-timedated | |
1072 | %attr(755,root,root) /lib/systemd/systemd-timestamp | |
cbba36f4 | 1073 | %attr(755,root,root) /lib/systemd/systemd-udevd |
c75fd19d JR |
1074 | %attr(755,root,root) /lib/systemd/systemd-update-utmp |
1075 | %attr(755,root,root) /lib/systemd/systemd-user-sessions | |
1076 | %attr(755,root,root) /lib/systemd/systemd-vconsole-setup | |
c3037397 | 1077 | %dir /lib/systemd/system-generators |
4389e6f9 | 1078 | %attr(755,root,root) /lib/systemd/systemd |
5d32f234 | 1079 | %attr(755,root,root) /lib/systemd/system-generators/systemd-*-generator |
961baf80 AF |
1080 | /lib/udev/rules.d/70-uaccess.rules |
1081 | /lib/udev/rules.d/71-seat.rules | |
1082 | /lib/udev/rules.d/73-seat-late.rules | |
f8d07093 | 1083 | /lib/udev/rules.d/99-systemd.rules |
3edd52a6 | 1084 | %dir %{_libexecdir}/systemd |
f8d07093 JR |
1085 | %dir %{_libexecdir}/systemd/catalog |
1086 | %{_libexecdir}/systemd/catalog/systemd.catalog | |
3edd52a6 | 1087 | %{_libexecdir}/systemd/user |
2a61be78 | 1088 | %dir %{_libexecdir}/systemd/user-generators |
c7a423d8 JR |
1089 | %{_libexecdir}/tmpfiles.d/legacy.conf |
1090 | %{_libexecdir}/tmpfiles.d/systemd.conf | |
1091 | %{_libexecdir}/tmpfiles.d/tmp.conf | |
1092 | %{_libexecdir}/tmpfiles.d/x11.conf | |
961baf80 AF |
1093 | %{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml |
1094 | %{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml | |
c3037397 | 1095 | %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml |
961baf80 | 1096 | %{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml |
1c239f8b | 1097 | %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service |
6e34428f | 1098 | %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service |
961baf80 AF |
1099 | %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service |
1100 | %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service | |
1c239f8b | 1101 | %{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service |
961baf80 | 1102 | %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service |
6e34428f | 1103 | %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy |
961baf80 AF |
1104 | %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy |
1105 | %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy | |
1106 | %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy | |
1107 | %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy | |
1108 | %dir %{_datadir}/systemd | |
f8d07093 | 1109 | %{?with_microhttpd:%{_datadir}/systemd/gatewayd} |
961baf80 | 1110 | %{_datadir}/systemd/kbd-model-map |
618c1d39 | 1111 | %{_mandir}/man1/hostnamectl.1* |
c75fd19d | 1112 | %{_mandir}/man1/journalctl.1* |
f8d07093 | 1113 | %{_mandir}/man1/localectl.1* |
c75fd19d | 1114 | %{_mandir}/man1/loginctl.1* |
7a76bc86 | 1115 | %{_mandir}/man1/systemd.1* |
c75fd19d | 1116 | %{_mandir}/man1/systemd-ask-password.1* |
2be4d5dc | 1117 | %{_mandir}/man1/systemd-bootchart.1* |
c75fd19d JR |
1118 | %{_mandir}/man1/systemd-cat.1* |
1119 | %{_mandir}/man1/systemd-cgls.1* | |
1120 | %{_mandir}/man1/systemd-cgtop.1* | |
f8d07093 | 1121 | %{_mandir}/man1/systemd-coredumpctl.1* |
c75fd19d JR |
1122 | %{_mandir}/man1/systemd-delta.1* |
1123 | %{_mandir}/man1/systemd-detect-virt.1* | |
1124 | %{_mandir}/man1/systemd-inhibit.1* | |
1125 | %{_mandir}/man1/systemd-machine-id-setup.1* | |
1126 | %{_mandir}/man1/systemd-notify.1* | |
1127 | %{_mandir}/man1/systemd-nspawn.1* | |
4400c575 | 1128 | %{_mandir}/man1/systemd-tty-ask-password-agent.1* |
f8d07093 | 1129 | %{_mandir}/man1/timedatectl.1* |
6e34428f | 1130 | %{_mandir}/man5/binfmt.d.5* |
4400c575 JR |
1131 | # cfl with rc-scripts |
1132 | #%{_mandir}/man5/crypttab.5* | |
1c239f8b | 1133 | %{_mandir}/man5/hostname.5* |
c75fd19d | 1134 | %{_mandir}/man5/journald.conf.5* |
1c239f8b | 1135 | %{_mandir}/man5/locale.conf.5* |
618c1d39 | 1136 | %{_mandir}/man5/localtime.5* |
c75fd19d | 1137 | %{_mandir}/man5/logind.conf.5* |
7a76bc86 | 1138 | %{_mandir}/man5/machine-id.5* |
6e34428f | 1139 | %{_mandir}/man5/machine-info.5* |
1c239f8b | 1140 | %{_mandir}/man5/modules-load.d.5* |
1141 | %{_mandir}/man5/os-release.5* | |
6e34428f | 1142 | %{_mandir}/man5/sysctl.d.5* |
89d58574 | 1143 | %{_mandir}/man5/systemd.*.5* |
23107006 | 1144 | %{_mandir}/man5/vconsole.conf.5* |
4400c575 | 1145 | %{_mandir}/man7/bootup.7* |
1c239f8b | 1146 | %{_mandir}/man7/daemon.7* |
4400c575 | 1147 | %{_mandir}/man7/kernel-command-line.7* |
c75fd19d | 1148 | %{_mandir}/man7/systemd.journal-fields.7* |
4400c575 | 1149 | %{_mandir}/man7/systemd.special.7* |
2be4d5dc JR |
1150 | %{_mandir}/man7/systemd.time.7* |
1151 | %{_mandir}/man8/nss-myhostname.8* | |
4f1f9baf | 1152 | %{_mandir}/man8/systemd-binfmt.8* |
657515ed | 1153 | %{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup-generator.8*} |
f8d07093 | 1154 | %{_mandir}/man8/systemd-fsck.8* |
4400c575 JR |
1155 | %{_mandir}/man8/systemd-fstab-generator.8* |
1156 | %{_mandir}/man8/systemd-getty-generator.8* | |
1157 | %{_mandir}/man8/systemd-hostnamed.8* | |
1158 | %{_mandir}/man8/systemd-initctl.8* | |
e10e2521 | 1159 | %{?with_microhttpd:%{_mandir}/man8/systemd-journal-gatewayd.8*} |
4f1f9baf | 1160 | %{_mandir}/man8/systemd-journald.8* |
4400c575 | 1161 | %{_mandir}/man8/systemd-localed.8* |
4f1f9baf | 1162 | %{_mandir}/man8/systemd-logind.8* |
4f1f9baf | 1163 | %{_mandir}/man8/systemd-modules-load.8* |
4400c575 JR |
1164 | %{_mandir}/man8/systemd-quotacheck.8* |
1165 | %{_mandir}/man8/systemd-random-seed.8* | |
1166 | %{_mandir}/man8/systemd-readahead.8* | |
1167 | %{_mandir}/man8/systemd-remount-fs.8* | |
1168 | %{_mandir}/man8/systemd-shutdown.8* | |
1169 | %{_mandir}/man8/systemd-shutdownd.8* | |
1170 | %{_mandir}/man8/systemd-sleep.8* | |
4f1f9baf | 1171 | %{_mandir}/man8/systemd-sysctl.8* |
4400c575 JR |
1172 | %{_mandir}/man8/systemd-system-update-generator.8* |
1173 | %{_mandir}/man8/systemd-timedated.8* | |
cbba36f4 | 1174 | %{_mandir}/man8/systemd-udevd.8* |
4400c575 JR |
1175 | %{_mandir}/man8/systemd-update-utmp.8* |
1176 | %{_mandir}/man8/systemd-user-sessions.8* | |
1177 | %{_mandir}/man8/systemd-vconsole-setup.8* | |
24f95219 ER |
1178 | %dir /var/lib/%{name} |
1179 | %dir /var/lib/%{name}/coredump | |
a761f93e TP |
1180 | %attr(640,root,root) %ghost /var/log/btmp |
1181 | %attr(664,root,utmp) %ghost /var/log/wtmp | |
c3037397 | 1182 | |
6c89bbd4 | 1183 | %if %{with pam} |
a86320a6 | 1184 | %attr(755,root,root) /%{_lib}/security/pam_systemd.so |
6c89bbd4 ER |
1185 | %{_mandir}/man8/pam_systemd.8* |
1186 | %endif | |
1187 | ||
c97dacdd | 1188 | %files init |
5b9bde26 | 1189 | %defattr(644,root,root,755) |
c97dacdd TP |
1190 | %attr(755,root,root) /sbin/halt |
1191 | %attr(755,root,root) /sbin/init | |
1192 | %attr(755,root,root) /sbin/poweroff | |
1193 | %attr(755,root,root) /sbin/reboot | |
1194 | %attr(755,root,root) /sbin/runlevel | |
1195 | %attr(755,root,root) /sbin/shutdown | |
1196 | %attr(755,root,root) /sbin/telinit | |
1197 | %{_mandir}/man1/init.1 | |
1198 | %{_mandir}/man8/halt.8* | |
1199 | %{_mandir}/man8/poweroff.8 | |
1200 | %{_mandir}/man8/reboot.8 | |
1201 | %{_mandir}/man8/runlevel.8* | |
1202 | %{_mandir}/man8/shutdown.8* | |
1203 | %{_mandir}/man8/telinit.8* | |
1204 | ||
c3037397 ER |
1205 | %files units |
1206 | %defattr(644,root,root,755) | |
abd479ee MB |
1207 | %dir %{_sysconfdir}/binfmt.d |
1208 | %dir %{_sysconfdir}/modules-load.d | |
5d32f234 | 1209 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf |
abd479ee | 1210 | %dir %{_sysconfdir}/sysctl.d |
c3037397 ER |
1211 | %dir %{_sysconfdir}/systemd |
1212 | %dir %{_sysconfdir}/systemd/system | |
a98a12d9 JR |
1213 | %dir %{_sysconfdir}/systemd/system-preset |
1214 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system-preset/default.preset | |
c3037397 | 1215 | %dir %{_sysconfdir}/tmpfiles.d |
85879912 ER |
1216 | %dir %{_libexecdir}/binfmt.d |
1217 | %dir %{_libexecdir}/modules-load.d | |
1218 | %dir %{_libexecdir}/sysctl.d | |
16f4419f | 1219 | %dir /lib/systemd/system-sleep |
828362e7 | 1220 | %dir /lib/systemd/system-shutdown |
618c1d39 | 1221 | %{_libexecdir}/sysctl.d/coredump.conf |
c3037397 ER |
1222 | %attr(755,root,root) /bin/systemctl |
1223 | %attr(755,root,root) /bin/systemd-tmpfiles | |
b77423ae | 1224 | %attr(755,root,root) /bin/systemd_booted |
c3037397 | 1225 | %{_mandir}/man1/systemctl.1* |
89d58574 | 1226 | %{_mandir}/man5/tmpfiles.d.5* |
c3037397 | 1227 | %{_mandir}/man8/systemd-tmpfiles.8* |
961baf80 | 1228 | %{_npkgconfigdir}/systemd.pc |
c3037397 | 1229 | |
4cc1cb1d ER |
1230 | %{systemdunitdir}/*.automount |
1231 | %{systemdunitdir}/*.mount | |
1232 | %{systemdunitdir}/*.path | |
1233 | %{systemdunitdir}/*.service | |
618c1d39 | 1234 | %exclude %{systemdunitdir}/rc-inetd.service |
4cc1cb1d ER |
1235 | %{systemdunitdir}/*.socket |
1236 | %{systemdunitdir}/*.target | |
1237 | %{systemdunitdir}/*.timer | |
e4c66821 JB |
1238 | %dir %{systemdunitdir}/basic.target.wants |
1239 | %dir %{systemdunitdir}/dbus.target.wants | |
1240 | %dir %{systemdunitdir}/final.target.wants | |
1241 | %dir %{systemdunitdir}/graphical.target.wants | |
1242 | %dir %{systemdunitdir}/halt.target.wants | |
1243 | %dir %{systemdunitdir}/kexec.target.wants | |
1244 | %dir %{systemdunitdir}/local-fs.target.wants | |
1245 | %dir %{systemdunitdir}/multi-user.target.wants | |
1246 | %dir %{systemdunitdir}/poweroff.target.wants | |
1247 | %dir %{systemdunitdir}/reboot.target.wants | |
1248 | %dir %{systemdunitdir}/runlevel[12345].target.wants | |
1249 | %dir %{systemdunitdir}/shutdown.target.wants | |
1250 | %dir %{systemdunitdir}/sockets.target.wants | |
1251 | %dir %{systemdunitdir}/sysinit.target.wants | |
1252 | %dir %{systemdunitdir}/syslog.target.wants | |
c7a423d8 JR |
1253 | %{systemdunitdir}/basic.target.wants/* |
1254 | %{systemdunitdir}/final.target.wants/* | |
1255 | %{systemdunitdir}/graphical.target.wants/* | |
1256 | %{systemdunitdir}/local-fs.target.wants/* | |
1257 | %{systemdunitdir}/multi-user.target.wants/getty.target | |
1258 | %{systemdunitdir}/multi-user.target.wants/rc-local.service | |
1259 | %{systemdunitdir}/multi-user.target.wants/systemd-ask-password-wall.path | |
1260 | %{systemdunitdir}/multi-user.target.wants/systemd-logind.service | |
1261 | %{systemdunitdir}/multi-user.target.wants/systemd-user-sessions.service | |
1262 | %{systemdunitdir}/runlevel[12345].target.wants/* | |
1263 | %{systemdunitdir}/shutdown.target.wants/* | |
1264 | %{systemdunitdir}/sockets.target.wants/* | |
1265 | %{?with_cryptsetup:%{systemdunitdir}/sysinit.target.wants/cryptsetup.target} | |
1266 | %{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount | |
1267 | %{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount | |
1268 | %{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount | |
1269 | %{systemdunitdir}/sysinit.target.wants/sys-*.mount | |
1270 | %{systemdunitdir}/sysinit.target.wants/systemd-* | |
4400c575 JR |
1271 | %{_mandir}/man8/systemd-ask-password-console.path.8* |
1272 | %{_mandir}/man8/systemd-ask-password-console.service.8* | |
1273 | %{_mandir}/man8/systemd-ask-password-wall.path.8* | |
1274 | %{_mandir}/man8/systemd-ask-password-wall.service.8* | |
1275 | %{_mandir}/man8/systemd-binfmt.service.8* | |
657515ed JK |
1276 | %{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup.8*} |
1277 | %{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup@.service.8*} | |
4400c575 JR |
1278 | %{_mandir}/man8/systemd-fsck-root.service.8* |
1279 | %{_mandir}/man8/systemd-fsck@.service.8* | |
1280 | %{_mandir}/man8/systemd-halt.service.8* | |
1281 | %{_mandir}/man8/systemd-hibernate.service.8* | |
1282 | %{_mandir}/man8/systemd-hostnamed.service.8* | |
f8d07093 | 1283 | %{_mandir}/man8/systemd-hybrid-sleep.service.8* |
4400c575 JR |
1284 | %{_mandir}/man8/systemd-initctl.service.8* |
1285 | %{_mandir}/man8/systemd-initctl.socket.8* | |
e10e2521 JK |
1286 | %{?with_microhttpd:%{_mandir}/man8/systemd-journal-gatewayd.service.8*} |
1287 | %{?with_microhttpd:%{_mandir}/man8/systemd-journal-gatewayd.socket.8*} | |
4400c575 JR |
1288 | %{_mandir}/man8/systemd-journald.service.8* |
1289 | %{_mandir}/man8/systemd-journald.socket.8* | |
1290 | %{_mandir}/man8/systemd-kexec.service.8* | |
1291 | %{_mandir}/man8/systemd-localed.service.8* | |
1292 | %{_mandir}/man8/systemd-logind.service.8* | |
1293 | %{_mandir}/man8/systemd-modules-load.service.8* | |
1294 | %{_mandir}/man8/systemd-poweroff.service.8* | |
1295 | %{_mandir}/man8/systemd-quotacheck.service.8* | |
1296 | %{_mandir}/man8/systemd-random-seed-load.service.8* | |
1297 | %{_mandir}/man8/systemd-random-seed-save.service.8* | |
1298 | %{_mandir}/man8/systemd-readahead-collect.service.8* | |
1299 | %{_mandir}/man8/systemd-readahead-done.service.8* | |
1300 | %{_mandir}/man8/systemd-readahead-done.timer.8* | |
1301 | %{_mandir}/man8/systemd-readahead-replay.service.8* | |
1302 | %{_mandir}/man8/systemd-reboot.service.8* | |
1303 | %{_mandir}/man8/systemd-remount-fs.service.8* | |
1304 | %{_mandir}/man8/systemd-shutdownd.service.8* | |
1305 | %{_mandir}/man8/systemd-shutdownd.socket.8* | |
1306 | %{_mandir}/man8/systemd-suspend.service.8* | |
1307 | %{_mandir}/man8/systemd-sysctl.service.8* | |
1308 | %{_mandir}/man8/systemd-timedated.service.8* | |
1309 | %{_mandir}/man8/systemd-tmpfiles-clean.service.8* | |
1310 | %{_mandir}/man8/systemd-tmpfiles-clean.timer.8* | |
1311 | %{_mandir}/man8/systemd-tmpfiles-setup.service.8* | |
1312 | %{_mandir}/man8/systemd-udevd.service.8* | |
f8d07093 JR |
1313 | %{_mandir}/man8/systemd-udevd-control.socket.8* |
1314 | %{_mandir}/man8/systemd-udevd-kernel.socket.8* | |
4400c575 JR |
1315 | %{_mandir}/man8/systemd-update-utmp-runlevel.service.8* |
1316 | %{_mandir}/man8/systemd-update-utmp-shutdown.service.8* | |
1317 | %{_mandir}/man8/systemd-user-sessions.service.8* | |
1318 | %{_mandir}/man8/systemd-vconsole-setup.service.8* | |
e4c66821 | 1319 | |
bb6fb962 JR |
1320 | %files inetd |
1321 | %defattr(644,root,root,755) | |
1322 | %attr(755,root,root) /lib/systemd/system-generators/pld-rc-inetd-generator | |
1323 | %{systemdunitdir}/rc-inetd.service | |
1324 | ||
4e5e9c32 ER |
1325 | %files analyze |
1326 | %defattr(644,root,root,755) | |
1327 | %attr(755,root,root) %{_bindir}/systemd-analyze | |
4400c575 | 1328 | %{_mandir}/man1/systemd-analyze.1* |
4e5e9c32 | 1329 | |
5b9bde26 | 1330 | %files libs |
6c89bbd4 | 1331 | %defattr(644,root,root,755) |
2be4d5dc | 1332 | %attr(755,root,root) /%{_lib}/libnss_myhostname.so.2 |
6ba1f779 MB |
1333 | %attr(755,root,root) /%{_lib}/libsystemd-daemon.so.*.*.* |
1334 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-daemon.so.0 | |
1335 | %attr(755,root,root) /%{_lib}/libsystemd-id128.so.*.*.* | |
1336 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-id128.so.0 | |
1337 | %attr(755,root,root) /%{_lib}/libsystemd-journal.so.*.*.* | |
1338 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-journal.so.0 | |
1339 | %attr(755,root,root) /%{_lib}/libsystemd-login.so.*.*.* | |
1340 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-login.so.0 | |
961baf80 AF |
1341 | |
1342 | %files devel | |
1343 | %defattr(644,root,root,755) | |
89d58574 | 1344 | %attr(755,root,root) %{_libdir}/libsystemd-daemon.so |
c76a8951 BZ |
1345 | %attr(755,root,root) %{_libdir}/libsystemd-id128.so |
1346 | %attr(755,root,root) %{_libdir}/libsystemd-journal.so | |
89d58574 | 1347 | %attr(755,root,root) %{_libdir}/libsystemd-login.so |
5b9bde26 | 1348 | %{_includedir}/%{name} |
961baf80 | 1349 | %{_pkgconfigdir}/libsystemd-daemon.pc |
c76a8951 BZ |
1350 | %{_pkgconfigdir}/libsystemd-id128.pc |
1351 | %{_pkgconfigdir}/libsystemd-journal.pc | |
961baf80 | 1352 | %{_pkgconfigdir}/libsystemd-login.pc |
ab590cee JR |
1353 | %{_mandir}/man3/SD_*.3* |
1354 | %{_mandir}/man3/sd*.3* | |
5b9bde26 JB |
1355 | |
1356 | %files -n bash-completion-systemd | |
1357 | %defattr(644,root,root,755) | |
864041a0 JR |
1358 | %{_datadir}/bash-completion/completions/hostnamectl |
1359 | %{_datadir}/bash-completion/completions/journalctl | |
1360 | %{_datadir}/bash-completion/completions/localectl | |
1361 | %{_datadir}/bash-completion/completions/loginctl | |
1362 | %{_datadir}/bash-completion/completions/systemctl | |
1363 | %{_datadir}/bash-completion/completions/systemd-coredumpctl | |
1364 | %{_datadir}/bash-completion/completions/timedatectl | |
ae4d0acb | 1365 | |
30121190 JR |
1366 | %files -n udev |
1367 | %defattr(644,root,root,755) | |
1368 | %dev(c,1,3) %attr(666,root,root) /dev/null | |
1369 | %dev(c,5,1) %attr(660,root,console) /dev/console | |
1370 | %dev(c,1,5) %attr(666,root,root) /dev/zero | |
1371 | ||
1372 | %files -n udev-core | |
1373 | %defattr(644,root,root,755) | |
30121190 | 1374 | |
183de3c2 | 1375 | /usr/lib/udev |
30121190 | 1376 | |
30121190 JR |
1377 | %attr(755,root,root) /lib/udev/collect |
1378 | ||
1379 | %attr(755,root,root) /lib/udev/keyboard-force-release.sh | |
1380 | ||
1381 | %attr(755,root,root) /lib/udev/net_helper | |
1382 | ||
1383 | %attr(755,root,root) /lib/udev/ata_id | |
1384 | %attr(755,root,root) /lib/udev/cdrom_id | |
1385 | %attr(755,root,root) /lib/udev/mtd_probe | |
1386 | %attr(755,root,root) /lib/udev/scsi_id | |
1387 | %attr(755,root,root) /lib/udev/v4l_id | |
1388 | ||
1389 | %attr(755,root,root) /lib/udev/udevd | |
1390 | ||
1391 | %attr(755,root,root) /lib/udev/keymap | |
1392 | %dir /lib/udev/keymaps | |
1393 | /lib/udev/keymaps/* | |
1394 | ||
1395 | %attr(755,root,root) /lib/udev/accelerometer | |
1396 | %attr(755,root,root) /lib/udev/findkeyboards | |
1397 | ||
f8d07093 JR |
1398 | %dir /lib/udev/hwdb.d |
1399 | /lib/udev/hwdb.d/20-OUI.hwdb | |
1400 | /lib/udev/hwdb.d/20-acpi-vendor.hwdb | |
2be4d5dc | 1401 | /lib/udev/hwdb.d/20-bluetooth-vendor-product.hwdb |
f8d07093 JR |
1402 | /lib/udev/hwdb.d/20-pci-classes.hwdb |
1403 | /lib/udev/hwdb.d/20-pci-vendor-product.hwdb | |
1404 | /lib/udev/hwdb.d/20-usb-classes.hwdb | |
1405 | /lib/udev/hwdb.d/20-usb-vendor-product.hwdb | |
1406 | ||
30121190 JR |
1407 | %attr(755,root,root) %{_sbindir}/start_udev |
1408 | %attr(755,root,root) %{_sbindir}/udevd | |
1409 | %attr(755,root,root) %{_sbindir}/udevadm | |
1410 | %attr(755,root,root) %{_bindir}/udevadm | |
1411 | ||
1412 | %dir %{_sysconfdir}/udev | |
1413 | %dir %{_sysconfdir}/udev/rules.d | |
618c1d39 | 1414 | %dir %{_sysconfdir}/udev/hwdb.d |
30121190 JR |
1415 | |
1416 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/fbdev-blacklist.conf | |
1417 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/udev_blacklist.conf | |
1418 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/links.conf | |
1419 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/40-alsa-restore.rules | |
1420 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules | |
2be4d5dc | 1421 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/80-net-name-slot.rules |
30121190 JR |
1422 | |
1423 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf | |
1424 | ||
1425 | # rules below are NOT supposed to be changed by users | |
1426 | /lib/udev/rules.d/42-usb-hid-pm.rules | |
1427 | /lib/udev/rules.d/50-udev-default.rules | |
1428 | /lib/udev/rules.d/60-cdrom_id.rules | |
30121190 JR |
1429 | /lib/udev/rules.d/60-persistent-alsa.rules |
1430 | /lib/udev/rules.d/60-persistent-input.rules | |
1431 | /lib/udev/rules.d/60-persistent-serial.rules | |
1432 | /lib/udev/rules.d/60-persistent-storage-tape.rules | |
1433 | /lib/udev/rules.d/60-persistent-storage.rules | |
1434 | /lib/udev/rules.d/60-persistent-v4l.rules | |
1435 | /lib/udev/rules.d/61-accelerometer.rules | |
618c1d39 | 1436 | /lib/udev/rules.d/64-btrfs.rules |
4f1f9baf | 1437 | /lib/udev/rules.d/70-power-switch.rules |
30121190 JR |
1438 | /lib/udev/rules.d/75-net-description.rules |
1439 | /lib/udev/rules.d/75-probe_mtd.rules | |
1440 | /lib/udev/rules.d/75-tty-description.rules | |
1441 | /lib/udev/rules.d/78-sound-card.rules | |
1442 | /lib/udev/rules.d/80-drivers.rules | |
2be4d5dc | 1443 | /lib/udev/rules.d/80-net-name-slot.rules |
30121190 JR |
1444 | /lib/udev/rules.d/95-keyboard-force-release.rules |
1445 | /lib/udev/rules.d/95-keymap.rules | |
1446 | /lib/udev/rules.d/95-udev-late.rules | |
1447 | ||
1448 | %{_mandir}/man7/udev.7* | |
c75fd19d JR |
1449 | %{_mandir}/man8/udevadm.8* |
1450 | %{_mandir}/man8/udevd.8* | |
1451 | ||
30121190 JR |
1452 | %files -n udev-libs |
1453 | %defattr(644,root,root,755) | |
1454 | %attr(755,root,root) /%{_lib}/libudev.so.*.*.* | |
c75fd19d | 1455 | %attr(755,root,root) %ghost /%{_lib}/libudev.so.1 |
30121190 JR |
1456 | |
1457 | %files -n udev-devel | |
1458 | %defattr(644,root,root,755) | |
1459 | %attr(755,root,root) %{_libdir}/libudev.so | |
30121190 JR |
1460 | %{_includedir}/libudev.h |
1461 | %{_pkgconfigdir}/libudev.pc | |
1462 | %{_npkgconfigdir}/udev.pc | |
1463 | ||
1464 | %files -n udev-static | |
1465 | %defattr(644,root,root,755) | |
1466 | %attr(755,root,root) %{_libdir}/libudev.a | |
1467 | ||
1468 | %files -n udev-apidocs | |
1469 | %defattr(644,root,root,755) | |
1470 | %{_gtkdocdir}/libudev | |
1471 | ||
1472 | %files -n udev-glib | |
1473 | %defattr(644,root,root,755) | |
1474 | %attr(755,root,root) /%{_lib}/libgudev-1.0.so.*.*.* | |
1475 | %attr(755,root,root) %ghost /%{_lib}/libgudev-1.0.so.0 | |
1476 | %{_libdir}/girepository-1.0/GUdev-1.0.typelib | |
1477 | ||
1478 | %files -n udev-glib-devel | |
1479 | %defattr(644,root,root,755) | |
1480 | %attr(755,root,root) %{_libdir}/libgudev-1.0.so | |
30121190 JR |
1481 | %{_includedir}/gudev-1.0 |
1482 | %{_pkgconfigdir}/gudev-1.0.pc | |
1483 | %{_datadir}/gir-1.0/GUdev-1.0.gir | |
1484 | ||
1485 | %files -n udev-glib-static | |
1486 | %defattr(644,root,root,755) | |
1487 | %attr(755,root,root) %{_libdir}/libgudev-1.0.a | |
1488 | ||
1489 | %files -n udev-glib-apidocs | |
1490 | %defattr(644,root,root,755) | |
1491 | %{_gtkdocdir}/gudev | |
1492 | ||
1493 | %if %{with initrd} | |
1494 | %files -n udev-initrd | |
1495 | %defattr(644,root,root,755) | |
1496 | %dir %{_libdir}/initrd/udev | |
183de3c2 | 1497 | %attr(755,root,root) %{_libdir}/initrd/systemd-udevd |
30121190 JR |
1498 | %attr(755,root,root) %{_libdir}/initrd/udevd |
1499 | %attr(755,root,root) %{_libdir}/initrd/udevadm | |
1500 | %attr(755,root,root) %{_libdir}/initrd/udevstart | |
1501 | %attr(755,root,root) %{_libdir}/initrd/udev/*_id | |
1502 | %attr(755,root,root) %{_libdir}/initrd/udev/collect | |
183de3c2 | 1503 | %attr(755,root,root) %{_libdir}/initrd/udev/mtd_probe |
30121190 | 1504 | %endif |
618c1d39 | 1505 | |
864041a0 JR |
1506 | %files -n bash-completion-udev |
1507 | %defattr(644,root,root,755) | |
1508 | %{_datadir}/bash-completion/completions/udevadm | |
1509 | ||
618c1d39 JR |
1510 | %files -n python-systemd |
1511 | %defattr(644,root,root,755) | |
1512 | %dir %{py_sitedir}/systemd | |
1513 | %{py_sitedir}/systemd/*.py* | |
1514 | %attr(755,root,root) %{py_sitedir}/systemd/*.so |