2 # - merge rpm macros provided by systemd with ours
3 # - handle udev package removal:
4 # - http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2014-March/023852.html
5 # - restore (write) sane value for kernel.hotplug, i.e from rc-scripts: sysctl -q -e -w kernel.hotplug=/lib/firmware/firmware-loader.sh
7 # - /dev/urandom remains missing, not created with start_udev anymore
10 %bcond_without audit # without audit support
11 %bcond_without cryptsetup # without cryptsetup support
12 %bcond_without microhttpd # microhttpd support
13 %bcond_without pam # PAM authentication support
14 %bcond_without qrencode # QRencode support
15 %bcond_without selinux # without SELinux support
16 %bcond_without tcpd # libwrap (tcp_wrappers) support
17 %bcond_with tests # "make check" (requires systemd already installed)
19 Summary: A System and Service Manager
20 Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa
22 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
26 License: GPL v2+ (udev), LGPL v2.1+ (the rest)
28 Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
29 # Source0-md5: d2603e9fffd8b18d242543e36f2e7d31
30 Source1: %{name}-sysv-convert
31 Source2: %{name}_booted.c
32 Source3: network.service
33 Source4: var-lock.mount
34 Source5: var-run.mount
35 Source10: pld-storage-init-late.service
36 Source11: pld-storage-init.service
37 Source12: pld-wait-storage.service
38 Source13: pld-storage-init.sh
39 Source14: pld-clean-tmp.service
40 Source15: pld-clean-tmp.sh
41 Source16: pld-rc-inetd-generator.sh
42 Source17: rc-inetd.service
43 Source18: default.preset
44 Source19: prefdm.service
46 Source101: udev-alsa.rules
48 Source103: udev-links.conf
50 Source110: udev-net.helper
53 Source120: udev.blacklist
54 Source121: fbdev.blacklist
55 Patch0: target-pld.patch
56 Patch1: config-pld.patch
57 Patch2: shut-sysv-up.patch
58 Patch3: pld-sysv-network.patch
59 Patch4: tmpfiles-not-fatal.patch
61 Patch8: udev-ploop-rules.patch
62 Patch9: udevadm-in-sbin.patch
63 Patch10: net-rename-revert.patch
64 Patch11: nss-in-rootlib.patch
65 Patch12: proc-hidepid.patch
66 Patch14: dont-hash-null-keys.patch
67 Patch15: hibernate-to-file.patch
68 Patch16: systemd-configfs.patch
69 Patch17: pld-boot_efi_mount.patch
70 Patch18: optional-tmp-on-tmpfs.patch
71 URL: http://www.freedesktop.org/wiki/Software/systemd
72 BuildRequires: acl-devel
73 BuildRequires: attr-devel
74 %{?with_audit:BuildRequires: audit-libs-devel}
75 BuildRequires: autoconf >= 2.64
76 BuildRequires: automake >= 1:1.11
77 BuildRequires: binutils >= 3:2.22.52.0.1-2
78 %{?with_cryptsetup:BuildRequires: cryptsetup-devel >= 1.6.0}
79 BuildRequires: dbus-devel >= 1.3.2
80 BuildRequires: docbook-style-xsl
81 BuildRequires: glib2-devel >= 1:2.22.0
82 BuildRequires: glibc-misc
83 BuildRequires: gobject-introspection-devel >= 1.31.1
85 BuildRequires: gtk-doc >= 1.18
86 BuildRequires: intltool >= 0.40.0
87 BuildRequires: kmod-devel >= 14
88 BuildRequires: libblkid-devel >= 2.20
89 BuildRequires: libcap-devel
90 BuildRequires: libgcrypt-devel >= 1.4.5
91 %{?with_microhttpd:BuildRequires: libmicrohttpd-devel >= 0.9.5}
92 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.9}
93 BuildRequires: libtool >= 2:2.2
94 %{?with_tcpd:BuildRequires: libwrap-devel}
95 BuildRequires: libxslt-progs
97 %{?with_pam:BuildRequires: pam-devel}
98 BuildRequires: pkgconfig >= 0.9.0
99 BuildRequires: python-devel
100 BuildRequires: python-lxml
101 BuildRequires: python-modules
102 %{?with_qrencode:BuildRequires: qrencode-devel}
103 BuildRequires: rpm-pythonprov
104 BuildRequires: rpmbuild(macros) >= 1.628
105 BuildRequires: sed >= 4.0
106 %{?with_tests:BuildRequires: systemd}
107 BuildRequires: usbutils >= 0.82
108 BuildRequires: xz-devel
109 BuildRequires: zlib-devel
110 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
111 Requires: %{name}-units = %{epoch}:%{version}-%{release}
112 Requires(postun): /usr/sbin/groupdel
113 Requires(postun): /usr/sbin/userdel
114 Requires(post): /bin/setfacl
115 Requires(pre): /bin/id
116 Requires(pre): /usr/bin/getgid
117 Requires(pre): /usr/sbin/groupadd
118 Requires(pre): /usr/sbin/useradd
119 Requires: /etc/os-release
120 Requires: SysVinit-tools
122 %{?with_cryptsetup:Requires: cryptsetup >= 1.6.0}
123 Requires: dbus >= 1.4.16-6
124 Requires: filesystem >= 4.0-3
126 Requires: libutempter
128 Requires: rc-scripts >= 0.4.5.3-7
129 Requires: setup >= 2.8.0-2
130 Requires: udev-core = %{epoch}:%{version}-%{release}
131 Requires: udev-libs = %{epoch}:%{version}-%{release}
132 Requires: uname(release) >= 3.0
134 Suggests: fsck >= 2.20
135 Suggests: service(klogd)
136 Suggests: service(syslog)
137 Provides: group(systemd-journal)
138 Provides: udev-acl = %{epoch}:%{version}-%{release}
139 Obsoletes: systemd-no-compat-tmpfiles
140 Obsoletes: udev-systemd
141 # systemd takes care of that and causes problems
142 Conflicts: binfmt-detector
143 # sytemd wants pam with pam_systemd.so in system-auth...
144 Conflicts: pam < 1:1.1.5-5
145 # ...and sudo hates it
146 Conflicts: sudo < 1:1.7.8p2-4
148 Conflicts: xinitrc-ng < 1.0
149 # systemd scripts use options not present in older versions
150 Conflicts: kpartx < 0.4.9-7
151 Conflicts: multipath-tools < 0.4.9-7
152 # no tmpfs on /media, use /run/media/$USER for mounting
153 Conflicts: udisks2 < 1.92.0
154 # packages that have dirs under /var/run and/or /var/lock must provide tmpfiles configs
155 Conflicts: ConsoleKit-dirs < 0.4.5-7
156 Conflicts: NetworkManager < 2:0.9.2.0-3
157 Conflicts: Zope < 2.11.8-2
158 Conflicts: amavisd-new < 1:2.7.0-1
159 Conflicts: apache-base < 2.2.21-4
160 Conflicts: apache-mod_bw < 0.92-3
161 Conflicts: apache-mod_fastcgi < 2.4.6-6
162 Conflicts: apache1-base < 1.3.42-5
163 Conflicts: apache1-mod_fastcgi < 2.4.6-2
164 Conflicts: asterisk < 10.0.1-2
165 Conflicts: autossh-init < 1.4b-3
166 Conflicts: balance < 3.54-2
167 Conflicts: bind < 7:9.8.1.P1-4
168 Conflicts: bopm < 3.1.3-4
169 Conflicts: callweaver < 1.2.1-9
170 Conflicts: cassandra-bin < 0.8.9-2
171 Conflicts: clamav < 0.97.3-3
172 Conflicts: cups < 1:1.5.0-10
173 Conflicts: dovecot < 1:2.0.16-3
174 Conflicts: dspam < 3.9.0-6
175 Conflicts: fail2ban < 0.8.4-4
176 Conflicts: gammu-smsd < 1:1.31.0-3
177 # Break gdm2.20 installs
178 #Conflicts: gdm < 2:3.2.1.1-9
179 Conflicts: greylistd < 0.8.8-2
180 Conflicts: inn < 2.4.6-7
181 Conflicts: ipsec-tools < 0.8.0-3
182 Conflicts: jabber-common < 0-9
183 Conflicts: laptop-mode-tools < 1.58-2
184 Conflicts: libgpod < 0.8.0-6
185 Conflicts: libvirt-utils < 0.9.9-4
186 Conflicts: lighttpd < 1.4.30-5
187 Conflicts: lirc < 0.9.0-20
188 Conflicts: mailman < 5:2.1.14-4
189 Conflicts: memcached < 1.4.11-2
190 Conflicts: mpd < 0.16.5-4
191 Conflicts: mrtg < 2.17.0-3
192 Conflicts: munin-common < 1.4.5-5
193 Conflicts: nagios-nrpe < 2.13-2
194 Conflicts: ndisc6-rdnssd < 1.0.1-3
195 Conflicts: nscd < 6:2.14.1-5
196 Conflicts: nss_ldapd-nslcd < 0.8.4-2
197 Conflicts: openct < 0.6.20-3
198 Conflicts: openl2tp < 1.8-3
199 Conflicts: openldap-overlay-nssov < 2.4.28-4
200 Conflicts: openldap-servers < 2.4.28-4
201 Conflicts: openvpn < 2.2.2-2
202 Conflicts: pam-pam_mount < 2.12-3
203 Conflicts: pam-pam_ssh < 1.97-2
204 Conflicts: pcsc-lite < 1.8.1-2
205 Conflicts: php-dirs < 1.2-3
206 Conflicts: policyd < 2.0.10-3
207 Conflicts: pound < 2.6-2
208 Conflicts: pptp < 1.7.2-3
209 Conflicts: proftpd-common < 2:1.3.4a-2
210 Conflicts: pulseaudio-server < 1.1-2
211 Conflicts: quagga < 0.99.20-3
212 Conflicts: radvd < 1.8.5-2
213 Conflicts: red5 < 0.9.0-2
214 Conflicts: redis-server < 2.4.2-4
215 Conflicts: smokeping < 2.4.2-10
216 Conflicts: smtp-gated < 1.4.17-2
217 Conflicts: socat < 1.7.2.0-2
218 Conflicts: speech-dispatcher < 0.7.1-2
219 Conflicts: sphinx < 2.0.3-4
220 Conflicts: splashutils < 1.5.4.3-3
221 Conflicts: stunnel < 4.50-2
222 Conflicts: tenshi < 0.12-2
223 Conflicts: tor < 0.2.2.35-2
224 Conflicts: ucarp < 1.5.2-3
225 Conflicts: udisks < 1.0.4-3
226 Conflicts: util-vserver < 0.30.216-1.pre3002.3
227 Conflicts: vpnc < 0.5.3-2
228 Conflicts: web2ldap < 1.1.0rc1-2
229 Conflicts: wesnoth-server < 1:1.10-2
230 Conflicts: wpa_supplicant < 0.7.3-10
231 Conflicts: xl2tpd < 1.3.0-2
232 # end of tmpfiles conflicts
233 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
235 %define _sbindir /sbin
236 %define _libexecdir %{_prefix}/lib
239 systemd is a system and service manager for Linux, compatible with
240 SysV and LSB init scripts. systemd provides aggressive parallelization
241 capabilities, uses socket and D-Bus activation for starting services,
242 offers on-demand starting of daemons, keeps track of processes using
243 Linux cgroups, supports snapshotting and restoring of the system
244 state, maintains mount and automount points and implements an
245 elaborate transactional dependency-based service control logic. It can
246 work as a drop-in replacement for sysvinit.
248 %description -l pl.UTF-8
249 systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze
250 skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności
251 paralelizacji, do uruchamiania usług używa socketów oraz D-Busa,
252 oferuje uruchamianie usług na życzenie, monitoruje procesy używając
253 linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie
254 (restore) stanu systemu, zarządza (auto)mount pointami oraz
255 implementuje starannie opracowaną transakcjonalną, bazującą na
256 zależnościach logikę kontroli usług. Może pracować jako zastępca dla
260 Summary: systemd /sbin/init and LSB/SysV compatibility symlinks
261 Summary(pl.UTF-8): /sbin/init z systemd i dowiązania dla kompatybilności z LSB/SysV
264 Provides: readahead = 1:1.5.7-3
265 Provides: virtual(init-daemon)
267 Obsoletes: readahead < 1:1.5.7-3
268 Obsoletes: virtual(init-daemon)
269 Conflicts: rc-scripts < 0.4.5.5-2
273 Install this package when you are ready to final switch to systemd.
275 %description init -l pl.UTF-8
276 Ten pakiet należy zainstalować po przygotowaniu się do ostatecznego
277 przejścia na systemd.
280 Summary: Configuration files, directories and installation tool for systemd
281 Summary(pl.UTF-8): Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla systemd
283 Requires(post): coreutils
284 Requires(post): /bin/awk
287 Basic configuration files, directories and installation tool for the
288 systemd system and service manager.
290 This is common config, use %{_sysconfdir}/systemd/system to override.
292 %description units -l pl.UTF-8
293 Podstawowe pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla
294 zarządcy systemu i usług systemd.
296 Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać
297 poprzez katalog %{_sysconfdir}/systemd/system.
299 %package journal-gateway
300 Summary: Gateway for serving journal events over the network using HTTP
301 Summary(pl.UTF-8): Bramka do serwowania zdarzeń dziennika po sieci poprzez HTTP
304 Requires: %{name} = %{epoch}:%{version}-%{release}
305 Requires(postun): /usr/sbin/groupdel
306 Requires(postun): /usr/sbin/userdel
307 Requires(pre): /bin/id
308 Requires(pre): /usr/bin/getgid
309 Requires(pre): /usr/sbin/groupadd
310 Requires(pre): /usr/sbin/useradd
311 Provides: group(systemd-journal-gateway)
312 Provides: user(systemd-journal-gateway)
313 Conflicts: systemd < 1:206-3
315 %description journal-gateway
316 systemd-journal-gatewayd serves journal events over the network using
319 %description journal-gateway -l pl.UTF-8
320 systemd-journal-gatewayd serwuje zdarzenia dziennika po sieci poprzez
324 Summary: Native inet service support for systemd via socket activation
325 Summary(pl.UTF-8): Natywna obsługa usług inet dla systemd
327 Requires: %{name} = %{epoch}:%{version}-%{release}
331 Obsoletes: inetdaemon
336 Native inet service support for systemd via socket activation.
338 This package contains inet service generator that provides the
339 functionality of rc-inetd service and replaces a separate inet daemon
340 with systemd socket activation feature.
342 %description inetd -l pl.UTF-8
343 Natywna obsługa usług inet dla systemd.
345 Ten pakiet zawiera generator usług inet udostępniający funkcjonalność
346 serwisu rc-inetd i zastępujący osobny demon inet przez systemd i
347 aktywację usług przez gniazda.
350 Summary: Tool for processing systemd profiling information
351 Summary(pl.UTF-8): Narzędzie do przetwarzania informacji profilujących systemd
353 Requires: %{name} = %{epoch}:%{version}-%{release}
354 Requires: python-dbus
355 Requires: python-modules
356 Suggests: python-pycairo
357 Conflicts: systemd < 44-3
360 'systemd-analyze blame' lists which systemd unit needed how much time
361 to finish initialization at boot. 'systemd-analyze plot' renders an
362 SVG visualizing the parallel start of units at boot.
364 %description analyze -l pl.UTF-8
365 'systemd-analyze blame' wypisuje, ile czasu wymagały poszczególne
366 jednostki systemd na zakończenie podczas rozruchu systemu.
367 'systemd-analyze plot' tworzy wykres SVG wizualizujący równoległy
368 start jednostek podczas rozruchu.
371 Summary: Shared systemd libraries
372 Summary(pl.UTF-8): Biblioteki współdzielone systemd
374 Requires: libgcrypt >= 1.4.5
375 %{?with_selinux:Requires: libselinux >= 2.1.9}
376 Obsoletes: nss_myhostname
379 Shared systemd libraries.
381 %description libs -l pl.UTF-8
382 Biblioteki współdzielone systemd.
385 Summary: Header files for systemd libraries
386 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek systemd
387 Group: Development/Libraries
388 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
389 Obsoletes: systemd-static
392 Header files for systemd libraries.
394 %description devel -l pl.UTF-8
395 Pliki nagłówkowe bibliotek systemd.
397 %package -n python-systemd
398 Summary: Systemd Python bindings
399 Summary(pl.UTF-8): Wiązania do Systemd dla Pythona
400 Group: Development/Languages/Python
401 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
404 %description -n python-systemd
405 Systemd Python bindings.
407 %description -n python-systemd -l pl.UTF-8
408 Wiązania do Systemd dla Pythona.
410 %package -n bash-completion-systemd
411 Summary: bash-completion for systemd
412 Summary(pl.UTF-8): Bashowe dopełnianie składni dla systemd
413 Group: Applications/Shells
414 Requires: %{name} = %{epoch}:%{version}-%{release}
415 Requires: bash-completion >= 2.0
416 %if "%{_rpmversion}" >= "5"
420 %description -n bash-completion-systemd
421 bash-completion for systemd.
423 %description -n bash-completion-systemd -l pl.UTF-8
424 Bashowe dopełnianie składni dla systemd.
426 %package -n zsh-completion-systemd
427 Summary: zsh completion for systemd commands
428 Summary(pl.UTF-8): Uzupełnianie parametrów w zsh dla poleceń systemd
429 Group: Applications/Shells
430 Requires: %{name} = %{epoch}:%{version}-%{release}
431 %if "%{_rpmversion}" >= "5"
435 %description -n zsh-completion-systemd
436 zsh completion for systemd commands.
438 %description -n zsh-completion-systemd -l pl.UTF-8
439 Uzupełnianie parametrów w zsh dla poleceń systemd.
442 Summary: Device manager for the Linux 2.6 kernel series
443 Summary(pl.UTF-8): Zarządca urządzeń dla Linuksa 2.6
445 Requires: udev-core = %{epoch}:%{version}-%{release}
446 Provides: dev = 3.5.0
449 Obsoletes: hotplug-input
450 Obsoletes: hotplug-net
451 Obsoletes: hotplug-pci
453 Obsoletes: udev-extras < 20090628
454 Obsoletes: udev-tools
457 udev is the device manager for the Linux 2.6 kernel series. Its
458 primary function is managing device nodes in /dev. It is the successor
459 of devfs and hotplug.
461 %description -n udev -l pl.UTF-8
462 udev jest zarządcą urządzeń dla Linuksa 2.6. Jego główną funkcją jest
463 zarządzanie węzłami urządzeń w katalogu /dev. Jest następcą devfs i
466 %package -n udev-core
467 Summary: A userspace implementation of devfs - core part of udev
468 Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - główna część udev
471 Requires: filesystem >= 3.0-45
473 Requires: libblkid >= 2.20
474 %{?with_selinux:Requires: libselinux >= 2.1.9}
475 Requires: setup >= 2.6.1-1
476 Requires: udev-libs = %{epoch}:%{version}-%{release}
477 Requires: uname(release) >= 2.6.32
478 #Suggests: uname(release) >= 3.0
479 Obsoletes: udev-compat
480 Obsoletes: udev-initrd < %{epoch}:%{version}-%{release}}
481 Conflicts: geninitrd < 12639
482 Conflicts: rc-scripts < 0.4.5.3-1
483 Conflicts: systemd-units < 1:183
484 Conflicts: udev < 1:118-1
486 %description -n udev-core
487 A userspace implementation of devfs - core part of udev.
489 %description -n udev-core -l pl.UTF-8
490 Implementacja devfs w przestrzeni użytkownika - główna część udev.
492 %package -n udev-libs
493 Summary: Shared library to access udev device information
494 Summary(pl.UTF-8): Biblioteka współdzielona do dostępu do informacji o urządzeniach udev
497 %description -n udev-libs
498 Shared libudev library to access udev device information.
500 %description -n udev-libs -l pl.UTF-8
501 Biblioteka współdzielona libudev służąca do dostępu do informacji o
504 %package -n udev-devel
505 Summary: Header file for libudev library
506 Summary(pl.UTF-8): Plik nagłówkowy biblioteki libudev
507 Group: Development/Libraries
508 Requires: udev-libs = %{epoch}:%{version}-%{release}
509 Obsoletes: udev-static
511 %description -n udev-devel
512 Header file for libudev library.
514 %description -n udev-devel -l pl.UTF-8
515 Plik nagłówkowy biblioteki libudev.
517 %package -n udev-apidocs
518 Summary: libudev API documentation
519 Summary(pl.UTF-8): Dokumentacja API libudev
521 Requires: gtk-doc-common
522 %if "%{_rpmversion}" >= "5"
526 %description -n udev-apidocs
527 libudev API documentation.
529 %description -n udev-apidocs -l pl.UTF-8
530 Dokumentacja API libudev.
532 %package -n udev-glib
533 Summary: Shared libgudev library - GObject bindings for libudev
534 Summary(pl.UTF-8): Biblioteka współdzielona libgudev - wiązania GObject do libudev
536 Requires: glib2 >= 1:2.22.0
537 Requires: udev-libs = %{epoch}:%{version}-%{release}
539 %description -n udev-glib
540 Shared libgudev library - GObject bindings for libudev.
542 %description -n udev-glib -l pl.UTF-8
543 Biblioteka współdzielona libgudev - wiązania GObject do libudev.
545 %package -n udev-glib-devel
546 Summary: Header file for libgudev library
547 Summary(pl.UTF-8): Plik nagłówkowy biblioteki libgudev
548 Group: Development/Libraries
549 Requires: glib2-devel >= 1:2.22.0
550 Requires: udev-devel = %{epoch}:%{version}-%{release}
551 Requires: udev-glib = %{epoch}:%{version}-%{release}
552 Obsoletes: udev-glib-static
554 %description -n udev-glib-devel
555 Header file for libgudev library.
557 %description -n udev-glib-devel -l pl.UTF-8
558 Plik nagłówkowy biblioteki libgudev.
560 %package -n udev-glib-apidocs
561 Summary: libgudev API documentation
562 Summary(pl.UTF-8): Dokumentacja API libgudev
564 Requires: gtk-doc-common
565 %if "%{_rpmversion}" >= "5"
569 %description -n udev-glib-apidocs
570 libgudev API documentation.
572 %description -n udev-glib-apidocs -l pl.UTF-8
573 Dokumentacja API libgudev.
575 %package -n bash-completion-udev
576 Summary: bash-completion for udev
577 Summary(pl.UTF-8): Bashowe dopełnianie składni dla udev
578 Group: Applications/Shells
579 Requires: bash-completion >= 2.0
580 Requires: udev = %{epoch}:%{version}-%{release}
581 %if "%{_rpmversion}" >= "5"
585 %description -n bash-completion-udev
586 bash-completion for udev.
588 %description -n bash-completion-udev -l pl.UTF-8
589 Bashowe dopełnianie składni dla udev.
591 %package -n zsh-completion-udev
592 Summary: zsh completion for udev commands
593 Summary(pl.UTF-8): Uzupełnianie parametrów w zsh dla poleceń udev
594 Group: Applications/Shells
595 Requires: %{name} = %{epoch}:%{version}-%{release}
596 %if "%{_rpmversion}" >= "5"
600 %description -n zsh-completion-udev
601 zsh completion for udev commands.
603 %description -n zsh-completion-udev -l pl.UTF-8
604 Uzupełnianie parametrów w zsh dla poleceń udev.
620 # possible cause of infinite loop inside systemd-login
626 cp -p %{SOURCE2} src/systemd_booted.c
636 QUOTAON=/sbin/quotaon \
637 QUOTACHECK=/sbin/quotacheck \
638 SETCAP=/sbin/setcap \
642 %{?debug:--enable-debug} \
643 %{__enable_disable audit} \
644 %{__enable_disable cryptsetup libcryptsetup} \
645 %{__enable_disable pam} \
646 %{__enable_disable selinux} \
647 %{__enable_disable tcpd tcpwrap} \
648 %{__enable_disable microhttpd} \
649 %{__enable_disable qrencode} \
650 --disable-silent-rules \
652 --enable-compat-libs \
654 --enable-introspection \
656 --with-html-dir=%{_gtkdocdir} \
657 --with-kbd-loadkeys=/usr/bin/loadkeys \
658 --with-kbd-setfont=/bin/setfont \
659 --with-sysvinit-path=/etc/rc.d/init.d \
660 --with-sysvrcnd-path=/etc/rc.d \
661 --with-firmware-path=/lib/firmware \
662 --with-rc-local-script-path-start=/etc/rc.d/rc.local \
663 --with-rc-local-script-path-stop=/sbin/halt.local \
664 --with-rootprefix="" \
665 --with-rootlibdir=/%{_lib}
668 ./libtool --mode=link --tag=CC %{__cc} %{rpmcppflags} %{rpmcflags} -o systemd_booted %{rpmldflags} src/systemd_booted.c -L. -lsystemd-daemon
670 %{?with_tests:%{__make} check}
673 rm -rf $RPM_BUILD_ROOT
674 install -d $RPM_BUILD_ROOT/var/lib/%{name}/coredump \
675 $RPM_BUILD_ROOT{%{_sysconfdir}/{modprobe.d,systemd/system-preset},%{_sbindir}}
678 DESTDIR=$RPM_BUILD_ROOT
680 ./libtool --mode=install install -p -m755 systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted
682 # compatibility symlinks to udevd binary
683 mv $RPM_BUILD_ROOT/lib/{systemd/systemd-,udev/}udevd
684 ln -s /lib/udev/udevd $RPM_BUILD_ROOT/lib/systemd/systemd-udevd
685 ln -s /lib/udev/udevd $RPM_BUILD_ROOT%{_sbindir}/udevd
687 # compat symlinks for "/ merged into /usr" programs
688 mv $RPM_BUILD_ROOT/{,s}bin/udevadm
689 ln -s %{_sbindir}/udevadm $RPM_BUILD_ROOT/bin
690 ln -s /lib/udev $RPM_BUILD_ROOT/usr/lib/
692 # install custom udev rules from pld package
693 cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
694 cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules
696 # disable this abomination
697 # http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
698 ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/80-net-name-slot.rules
700 # install udev configs
701 cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/udev/links.conf
703 # install udev executables (scripts, helpers, etc.)
704 install -p %{SOURCE110} $RPM_BUILD_ROOT/lib/udev/net_helper
705 install -p %{SOURCE111} $RPM_BUILD_ROOT%{_sbindir}/start_udev
707 # install misc udev stuff
708 cp -a %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/udev_blacklist.conf
709 cp -a %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
711 :>$RPM_BUILD_ROOT%{_sysconfdir}/udev/hwdb.bin
713 mv $RPM_BUILD_ROOT%{_mandir}/man8/{systemd-,}udevd.8
714 echo ".so man8/udevd.8" >$RPM_BUILD_ROOT%{_mandir}/man8/systemd-udevd.8
716 # Main binary has been moved, but we don't want to break existing installs
717 ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/bin/systemd
719 # Create SysV compatibility symlinks. systemctl/systemd are smart
720 # enough to detect the way they were called
721 install -d $RPM_BUILD_ROOT/sbin
722 ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/sbin/init
723 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/halt
724 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/poweroff
725 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/reboot
726 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/runlevel
727 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/shutdown
728 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/telinit
730 ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf
732 # disable redundant SYSV services
733 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/allowlogin.service
734 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/console.service
735 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/cpusets.service
736 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/killall.service
737 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/netfs.service
738 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/random.service
740 # add static (non-NetworkManager) networking
741 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/network.service
743 # restore bind-mounts /var/run -> run and /var/lock -> /run/lock
744 # we don't have those directories symlinked
745 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/var-lock.mount
746 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/var-run.mount
747 ln -s ../var-lock.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
748 ln -s ../var-run.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
750 # and remove mounting tmp on tmpfs by default
751 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants/tmp.mount
753 # Install and enable storage subsystems support services (RAID, LVM, etc.)
754 cp -p %{SOURCE10} $RPM_BUILD_ROOT%{systemdunitdir}/pld-storage-init-late.service
755 cp -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}/pld-storage-init.service
756 cp -p %{SOURCE12} $RPM_BUILD_ROOT%{systemdunitdir}/pld-wait-storage.service
757 cp -p %{SOURCE14} $RPM_BUILD_ROOT%{systemdunitdir}/pld-clean-tmp.service
758 install -p %{SOURCE13} $RPM_BUILD_ROOT/lib/systemd/pld-storage-init
759 install -p %{SOURCE15} $RPM_BUILD_ROOT/lib/systemd/pld-clean-tmp
761 ln -s ../pld-storage-init-late.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
762 ln -s ../pld-storage-init.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
763 ln -s ../pld-clean-tmp.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
765 # As of 207 the systemd-sysctl tool no longer natively reads the file /etc/sysctl.conf.
766 # If desired, the file should be symlinked from /etc/sysctl.d/99-sysctl.conf.
767 ln -s /etc/sysctl.conf $RPM_BUILD_ROOT/etc/sysctl.d/99-sysctl.conf
769 # Install rc-inetd replacement
770 cp -p %{SOURCE16} $RPM_BUILD_ROOT%{systemdunitdir}-generators/pld-rc-inetd-generator
771 cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdunitdir}/rc-inetd.service
773 cp -p %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system-preset/default.preset
775 cp -p %{SOURCE19} $RPM_BUILD_ROOT%{systemdunitdir}/prefdm.service
777 # handled by rc-local sysv service, no need for generator
778 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}-generators/systemd-rc-local-generator
780 # provided by rc-scripts
781 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/rc-local.service
783 # Make sure these directories are properly owned:
784 # - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd,
785 # - syslog _might_ be used by some syslog implementation (none for now),
786 # - isn't dbus populated by dbus-systemd only (so to be moved there)?
787 install -d $RPM_BUILD_ROOT%{systemdunitdir}/{basic,dbus,halt,initrd,kexec,poweroff,reboot,shutdown,syslog}.target.wants
789 # Make sure the shutdown/sleep drop-in dirs exist
790 install -d $RPM_BUILD_ROOT%{_libexecdir}/systemd/system-{shutdown,sleep}
792 # Create new-style configuration files so that we can ghost-own them
793 touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,timezone,vconsole.conf}
795 # Install SysV conversion tool for systemd
796 install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
798 # Create directory for service helper scripts
799 install -d $RPM_BUILD_ROOT/lib/systemd/pld-helpers.d
801 install -d $RPM_BUILD_ROOT/var/log
802 :> $RPM_BUILD_ROOT/var/log/btmp
803 :> $RPM_BUILD_ROOT/var/log/wtmp
805 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
806 %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_systemd.la
807 %{__rm} $RPM_BUILD_ROOT/%{_lib}/libnss_myhostname.la
808 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
809 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/systemd/*.la
815 rm -rf $RPM_BUILD_ROOT
818 %groupadd -g 288 systemd-journal
821 /bin/systemd-machine-id-setup || :
822 /lib/systemd/systemd-random-seed save || :
823 /bin/systemctl --system daemon-reexec || :
824 /bin/journalctl --update-catalog || :
825 # Apply ACL to the journal directory
826 /bin/setfacl -Rnm g:logs:rx,d:g:logs:rx /var/log/journal || :
829 if [ $1 -ge 1 ]; then
830 /bin/systemctl --system daemon-reload || :
831 /bin/systemctl try-restart systemd-logind.service || :
833 if [ "$1" = "0" ]; then
834 %groupremove systemd-journal
837 %triggerpostun -- systemd < 208-1
838 chgrp -R systemd-journal /var/log/journal
839 chmod g+s /var/log/journal
841 %post libs -p /sbin/ldconfig
842 %postun libs -p /sbin/ldconfig
845 if [ $1 -eq 1 ]; then
846 # Try to read default runlevel from the old inittab if it exists
847 runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2>/dev/null)
848 if [ -z "$runlevel" ] ; then
849 target="%{systemdunitdir}/graphical.target"
851 target="%{systemdunitdir}/runlevel$runlevel.target"
854 # And symlink what we found to the new-style default.target
855 ln -s "$target" %{_sysconfdir}/systemd/system/default.target || :
858 [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
859 if [ -n "$HOSTNAME" -a "$HOSTNAME" != "pldmachine" ]; then
860 [ -f /etc/hostname ] && mv -f /etc/hostname /etc/hostname.rpmsave
861 echo $HOSTNAME > /etc/hostname
862 chmod 644 /etc/hostname
865 # Enable the services we install by default.
866 /bin/systemctl enable \
869 systemd-readahead-replay.service \
870 systemd-readahead-collect.service \
871 systemd-udev-settle.service || :
875 if [ $1 -eq 0 ] ; then
876 /bin/systemctl disable \
879 systemd-readahead-replay.service \
880 systemd-readahead-collect.service \
881 systemd-udev-settle.service || :
883 %{__rm} -f %{_sysconfdir}/systemd/system/default.target || :
887 if [ $1 -ge 1 ]; then
888 /bin/systemctl daemon-reload || :
891 %triggerpostun units -- systemd-units < 43-7
892 # Remove design fialures
893 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service || :
894 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service || :
895 %{__rm} -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service || :
896 /bin/systemctl reenable network.service || :
898 %triggerpostun units -- systemd-units < 1:183
899 /bin/systemctl --quiet enable systemd-udev-settle.service || :
900 %{__rm} -f /etc/systemd/system/basic.target.wants/udev-settle.service || :
901 # preserve renamed configs
902 if [ -f /etc/systemd/systemd-journald.conf.rpmsave ]; then
903 %{__mv} /etc/systemd/journald.conf{,.rpmnew}
904 %{__mv} -f /etc/systemd/systemd-journald.conf.rpmsave /etc/systemd/journald.conf
906 if [ -f /etc/systemd/systemd-logind.conf.rpmsave ]; then
907 %{__mv} /etc/systemd/logind.conf{,.rpmnew}
908 %{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf
911 %triggerpostun units -- systemd-units < 1:187-3
912 if [ -f /etc/sysconfig/rpm ]; then
914 if [ ${RPM_ENABLE_SYSTEMD_SERVICE:-yes} = no ]; then
915 echo "disable *" >>%{_sysconfdir}/systemd/system-preset/default.preset
919 %triggerpostun units -- systemd-units < 1:208-9
920 # remove buggy symlink
921 if [ -L /etc/systemd/system/getty.target.wants/getty@.service ] ; then
922 rm -f /etc/systemd/system/getty.target.wants/getty@.service || :
927 # Do not change it to restart, we only want to start new services here
928 %systemd_service_start sockets.target
934 %groupadd -g 287 systemd-journal-gateway
935 %useradd -u 287 -g 287 -d /var/log/journal -s /bin/false -c "Systemd Journal Gateway" systemd-journal-gateway
937 %post journal-gateway
938 %systemd_post systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
940 %preun journal-gateway
941 %systemd_preun systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
943 %postun journal-gateway
946 if [ "$1" = "0" ]; then
947 %userremove systemd-journal-gateway
948 %groupremove systemd-journal-gateway
951 %triggerpostun -n udev-core -- dev
952 if [ "$2" = 0 ]; then
953 # need to kill and restart udevd as after obsoleting dev package the
954 # /dev tree will remain empty. umask is needed as otherwise udev will
955 # create devices with strange permissions (udev bug probably)
957 /sbin/start_udev || exit 0
960 %triggerpostun -n udev-core -- udev < 108
961 %{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules
962 %if "%{_lib}" != "lib"
963 %{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules
966 %triggerpostun -n udev-core -- udev < 165
967 /sbin/udevadm info --convert-db
970 /sbin/udevadm hwdb --update || :
971 if [ $1 -gt 1 ]; then
972 if [ ! -x /bin/systemd_booted ] || ! /bin/systemd_booted; then
973 if grep -qs devtmpfs /proc/mounts && [ -n "$(pidof udevd)" ]; then
974 /sbin/udevadm control --exit
975 /lib/udev/udevd --daemon
978 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
979 /bin/systemctl --quiet try-restart systemd-udevd.service || :
984 if [ -x /bin/systemd_booted ] && /bin/systemd_booted; then
985 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
986 /bin/systemctl --quiet daemon-reload || :
989 %post -n udev-libs -p /sbin/ldconfig
990 %postun -n udev-libs -p /sbin/ldconfig
992 %post -n udev-glib -p /sbin/ldconfig
993 %postun -n udev-glib -p /sbin/ldconfig
995 %files -f %{name}.lang
996 %defattr(644,root,root,755)
997 %doc DISTRO_PORTING README TODO
998 /etc/dbus-1/system.d/org.freedesktop.hostname1.conf
999 /etc/dbus-1/system.d/org.freedesktop.locale1.conf
1000 /etc/dbus-1/system.d/org.freedesktop.login1.conf
1001 /etc/dbus-1/system.d/org.freedesktop.machine1.conf
1002 /etc/dbus-1/system.d/org.freedesktop.systemd1.conf
1003 /etc/dbus-1/system.d/org.freedesktop.timedate1.conf
1004 %ghost %config(noreplace) %{_sysconfdir}/machine-id
1005 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname
1006 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf
1007 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info
1008 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/timezone
1009 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf
1010 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/bootchart.conf
1011 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/coredump.conf
1012 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journald.conf
1013 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/logind.conf
1014 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/resolved.conf
1015 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system.conf
1016 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/timesyncd.conf
1017 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/user.conf
1018 %dir %{_sysconfdir}/systemd/user
1019 %dir %{_sysconfdir}/systemd/system/*.target.wants
1020 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/*.target.wants/*.service
1021 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/*.target.wants/*.target
1022 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/systemd-user
1024 %attr(755,root,root) /bin/journalctl
1025 %attr(755,root,root) /bin/loginctl
1026 %attr(755,root,root) /bin/machinectl
1027 %attr(755,root,root) /bin/systemd
1028 %attr(755,root,root) /bin/systemd-ask-password
1029 %attr(755,root,root) /bin/systemd-inhibit
1030 %attr(755,root,root) /bin/systemd-machine-id-setup
1031 %attr(755,root,root) /bin/systemd-notify
1032 %attr(755,root,root) /bin/systemd-sysusers
1033 %attr(755,root,root) /bin/systemd-tty-ask-password-agent
1034 %attr(755,root,root) %{_bindir}/bootctl
1035 %attr(755,root,root) %{_bindir}/busctl
1036 %attr(755,root,root) %{_bindir}/coredumpctl
1037 %attr(755,root,root) %{_bindir}/hostnamectl
1038 %attr(755,root,root) %{_bindir}/kernel-install
1039 %attr(755,root,root) %{_bindir}/localectl
1040 %attr(755,root,root) %{_bindir}/systemd-cat
1041 %attr(755,root,root) %{_bindir}/systemd-cgls
1042 %attr(755,root,root) %{_bindir}/systemd-cgtop
1043 %attr(755,root,root) %{_bindir}/systemd-coredumpctl
1044 %attr(755,root,root) %{_bindir}/systemd-delta
1045 %attr(755,root,root) %{_bindir}/systemd-detect-virt
1046 %attr(755,root,root) %{_bindir}/systemd-nspawn
1047 %attr(755,root,root) %{_bindir}/systemd-path
1048 %attr(755,root,root) %{_bindir}/systemd-run
1049 %attr(755,root,root) %{_bindir}/systemd-stdio-bridge
1050 %attr(755,root,root) %{_bindir}/systemd-sysv-convert
1051 %attr(755,root,root) %{_bindir}/timedatectl
1052 %attr(755,root,root) /lib/systemd/pld-clean-tmp
1053 %attr(755,root,root) /lib/systemd/pld-storage-init
1054 %attr(755,root,root) /lib/systemd/systemd-ac-power
1055 %attr(755,root,root) /lib/systemd/systemd-activate
1056 %attr(755,root,root) /lib/systemd/systemd-backlight
1057 %attr(755,root,root) /lib/systemd/systemd-binfmt
1058 %attr(755,root,root) /lib/systemd/systemd-bootchart
1059 %attr(755,root,root) /lib/systemd/systemd-bus-proxyd
1060 %attr(755,root,root) /lib/systemd/systemd-cgroups-agent
1061 %attr(755,root,root) /lib/systemd/systemd-coredump
1062 %{?with_cryptsetup:%attr(755,root,root) /lib/systemd/systemd-cryptsetup}
1063 %attr(755,root,root) /lib/systemd/systemd-fsck
1064 %attr(755,root,root) /lib/systemd/systemd-hostnamed
1065 %attr(755,root,root) /lib/systemd/systemd-initctl
1066 %attr(755,root,root) /lib/systemd/systemd-journald
1067 %attr(755,root,root) /lib/systemd/systemd-journal-remote
1068 %attr(755,root,root) /lib/systemd/systemd-localed
1069 %attr(755,root,root) /lib/systemd/systemd-logind
1070 %attr(755,root,root) /lib/systemd/systemd-machined
1071 %attr(755,root,root) /lib/systemd/systemd-modules-load
1072 %attr(755,root,root) /lib/systemd/systemd-multi-seat-x
1073 %attr(755,root,root) /lib/systemd/systemd-networkd
1074 %attr(755,root,root) /lib/systemd/systemd-networkd-wait-online
1075 %attr(755,root,root) /lib/systemd/systemd-quotacheck
1076 %attr(755,root,root) /lib/systemd/systemd-random-seed
1077 %attr(755,root,root) /lib/systemd/systemd-readahead
1078 %attr(755,root,root) /lib/systemd/systemd-remount-fs
1079 %attr(755,root,root) /lib/systemd/systemd-reply-password
1080 %attr(755,root,root) /lib/systemd/systemd-resolved
1081 %attr(755,root,root) /lib/systemd/systemd-rfkill
1082 %attr(755,root,root) /lib/systemd/systemd-shutdown
1083 %attr(755,root,root) /lib/systemd/systemd-shutdownd
1084 %attr(755,root,root) /lib/systemd/systemd-sleep
1085 %attr(755,root,root) /lib/systemd/systemd-socket-proxyd
1086 %attr(755,root,root) /lib/systemd/systemd-sysctl
1087 %attr(755,root,root) /lib/systemd/systemd-timedated
1088 %attr(755,root,root) /lib/systemd/systemd-timesyncd
1089 %attr(755,root,root) /lib/systemd/systemd-udevd
1090 %attr(755,root,root) /lib/systemd/systemd-update-utmp
1091 %attr(755,root,root) /lib/systemd/systemd-update-done
1092 %attr(755,root,root) /lib/systemd/systemd-user-sessions
1093 %attr(755,root,root) /lib/systemd/systemd-vconsole-setup
1094 %attr(755,root,root) /lib/systemd/systemd
1095 %attr(755,root,root) /lib/systemd/system-generators/systemd-*-generator
1096 /lib/udev/rules.d/70-uaccess.rules
1097 /lib/udev/rules.d/71-seat.rules
1098 /lib/udev/rules.d/73-seat-late.rules
1099 /lib/udev/rules.d/99-systemd.rules
1100 %dir %{_libexecdir}/kernel
1101 %dir %{_libexecdir}/kernel/install.d
1102 %{_libexecdir}/kernel/install.d/50-depmod.install
1103 %{_libexecdir}/kernel/install.d/90-loaderentry.install
1104 %dir %{_libexecdir}/systemd/catalog
1105 %{_libexecdir}/systemd/catalog/systemd.catalog
1106 %dir %{_libexecdir}/systemd/ntp-units.d
1107 %{_libexecdir}/systemd/ntp-units.d/90-systemd.list
1108 %dir %{_libexecdir}/sysusers.d
1109 %{_libexecdir}/sysusers.d/basic.conf
1110 %{_libexecdir}/sysusers.d/systemd.conf
1111 %{_libexecdir}/tmpfiles.d/etc.conf
1112 %{_libexecdir}/tmpfiles.d/legacy.conf
1113 %{_libexecdir}/tmpfiles.d/systemd.conf
1114 %{_libexecdir}/tmpfiles.d/systemd-nologin.conf
1115 %{_libexecdir}/tmpfiles.d/tmp.conf
1116 %{_libexecdir}/tmpfiles.d/var.conf
1117 %{_libexecdir}/tmpfiles.d/x11.conf
1118 %{_libexecdir}/sysctl.d/50-coredump.conf
1119 %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
1120 %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
1121 %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
1122 %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
1123 %{_datadir}/dbus-1/system-services/org.freedesktop.machine1.service
1124 %{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
1125 %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
1126 %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
1127 %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
1128 %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
1129 %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
1130 %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
1131 %dir %{_datadir}/systemd
1132 %{?with_microhttpd:%{_datadir}/systemd/gatewayd}
1133 %{_datadir}/systemd/kbd-model-map
1134 %{_mandir}/man1/bootctl.1*
1135 %{_mandir}/man1/busctl.1*
1136 %{_mandir}/man1/coredumpctl.1*
1137 %{_mandir}/man1/hostnamectl.1*
1138 %{_mandir}/man1/journalctl.1*
1139 %{_mandir}/man1/localectl.1*
1140 %{_mandir}/man1/loginctl.1*
1141 %{_mandir}/man1/machinectl.1*
1142 %{_mandir}/man1/systemd.1*
1143 %{_mandir}/man1/systemd-ask-password.1*
1144 %{_mandir}/man1/systemd-bootchart.1*
1145 %{_mandir}/man1/systemd-cat.1*
1146 %{_mandir}/man1/systemd-cgls.1*
1147 %{_mandir}/man1/systemd-cgtop.1*
1148 %{_mandir}/man1/systemd-delta.1*
1149 %{_mandir}/man1/systemd-detect-virt.1*
1150 %{_mandir}/man1/systemd-inhibit.1*
1151 %{_mandir}/man1/systemd-machine-id-setup.1*
1152 %{_mandir}/man1/systemd-notify.1*
1153 %{_mandir}/man1/systemd-nspawn.1*
1154 %{_mandir}/man1/systemd-path.1*
1155 %{_mandir}/man1/systemd-run.1*
1156 %{_mandir}/man1/systemd-tty-ask-password-agent.1*
1157 %{_mandir}/man1/timedatectl.1*
1158 %{_mandir}/man5/binfmt.d.5*
1159 %{_mandir}/man5/bootchart.conf.5*
1160 %{_mandir}/man5/coredump.conf.5*
1161 %{_mandir}/man5/hostname.5*
1162 %{_mandir}/man5/journald.conf.5*
1163 %{_mandir}/man5/locale.conf.5*
1164 %{_mandir}/man5/localtime.5*
1165 %{_mandir}/man5/logind.conf.5*
1166 %{_mandir}/man5/machine-id.5*
1167 %{_mandir}/man5/machine-info.5*
1168 %{_mandir}/man5/modules-load.d.5*
1169 %{_mandir}/man5/os-release.5*
1170 %{_mandir}/man5/resolved.conf.5*
1171 %{_mandir}/man5/sysctl.d.5*
1172 %{_mandir}/man5/systemd.*.5*
1173 %{_mandir}/man5/systemd-sleep.conf.5*
1174 %{_mandir}/man5/systemd-system.conf.5*
1175 %{_mandir}/man5/systemd-user.conf.5*
1176 %{_mandir}/man5/sysusers.d.5*
1177 %{_mandir}/man5/vconsole.conf.5*
1178 %{_mandir}/man7/bootup.7*
1179 %{_mandir}/man7/daemon.7*
1180 %{_mandir}/man7/file-hierarchy.7*
1181 %{_mandir}/man7/kernel-command-line.7*
1182 %{_mandir}/man7/systemd.directives.7*
1183 %{_mandir}/man7/systemd.index.7*
1184 %{_mandir}/man7/systemd.journal-fields.7*
1185 %{_mandir}/man7/systemd.special.7*
1186 %{_mandir}/man7/systemd.time.7*
1187 %{_mandir}/man8/kernel-install.8*
1188 %{_mandir}/man8/nss-myhostname.8*
1189 %{_mandir}/man8/systemd-activate.8*
1190 %{_mandir}/man8/systemd-backlight.8*
1191 %{_mandir}/man8/systemd-binfmt.8*
1192 %{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup-generator.8*}
1193 %{_mandir}/man8/systemd-debug-generator.8.gz
1194 %{_mandir}/man8/systemd-fsck.8*
1195 %{_mandir}/man8/systemd-efi-boot-generator.8*
1196 %{_mandir}/man8/systemd-gpt-auto-generator.8*
1197 %{_mandir}/man8/systemd-fstab-generator.8*
1198 %{_mandir}/man8/systemd-getty-generator.8*
1199 %{_mandir}/man8/systemd-hostnamed.8*
1200 %{_mandir}/man8/systemd-initctl.8*
1201 %{_mandir}/man8/systemd-journald-dev-log.socket.8
1202 %{_mandir}/man8/systemd-journald.8*
1203 %{_mandir}/man8/systemd-journal-remote.8.gz
1204 %{_mandir}/man8/systemd-localed.8*
1205 %{_mandir}/man8/systemd-logind.8*
1206 %{_mandir}/man8/systemd-machined.8*
1207 %{_mandir}/man8/systemd-modules-load.8*
1208 %{_mandir}/man8/systemd-networkd-wait-online.8
1209 %{_mandir}/man8/systemd-networkd-wait-online.service.8.gz
1210 %{_mandir}/man8/systemd-networkd.8
1211 %{_mandir}/man8/systemd-networkd.service.8.gz
1212 %{_mandir}/man8/systemd-quotacheck.8*
1213 %{_mandir}/man8/systemd-random-seed.8*
1214 %{_mandir}/man8/systemd-readahead.8*
1215 %{_mandir}/man8/systemd-remount-fs.8*
1216 %{_mandir}/man8/systemd-resolved.8
1217 %{_mandir}/man8/systemd-resolved.service.8.gz
1218 %{_mandir}/man8/systemd-rfkill.8
1219 %{_mandir}/man8/systemd-rfkill@.service.8.gz
1220 %{_mandir}/man8/systemd-shutdown.8*
1221 %{_mandir}/man8/systemd-shutdownd.8*
1222 %{_mandir}/man8/systemd-sleep.8*
1223 %{_mandir}/man8/systemd-socket-proxyd.8.gz
1224 %{_mandir}/man8/systemd-sysctl.8*
1225 %{_mandir}/man8/systemd-system-update-generator.8*
1226 %{_mandir}/man8/systemd-sysusers.8.gz
1227 %{_mandir}/man8/systemd-sysusers.service.8
1228 %{_mandir}/man8/systemd-timedated.8*
1229 %{_mandir}/man8/systemd-timesyncd.8
1230 %{_mandir}/man8/systemd-timesyncd.service.8.gz
1231 %{_mandir}/man8/systemd-udevd.8*
1232 %{_mandir}/man8/systemd-update-done.8
1233 %{_mandir}/man8/systemd-update-done.service.8.gz
1234 %{_mandir}/man8/systemd-update-utmp.8*
1235 %{_mandir}/man8/systemd-user-sessions.8*
1236 %{_mandir}/man8/systemd-vconsole-setup.8*
1237 %dir /var/lib/%{name}
1238 %dir /var/lib/%{name}/coredump
1239 %attr(640,root,root) %ghost /var/log/btmp
1240 %attr(664,root,utmp) %ghost /var/log/wtmp
1241 %attr(2755,root,systemd-journal) %dir /var/log/journal
1244 %attr(755,root,root) /%{_lib}/security/pam_systemd.so
1245 %{_mandir}/man8/pam_systemd.8*
1249 %defattr(644,root,root,755)
1250 %attr(755,root,root) /sbin/halt
1251 %attr(755,root,root) /sbin/init
1252 %attr(755,root,root) /sbin/poweroff
1253 %attr(755,root,root) /sbin/reboot
1254 %attr(755,root,root) /sbin/runlevel
1255 %attr(755,root,root) /sbin/shutdown
1256 %attr(755,root,root) /sbin/telinit
1257 %{_mandir}/man1/init.1*
1258 %{?with_cryptsetup:%{_mandir}/man5/crypttab.5*}
1259 %{_mandir}/man8/halt.8*
1260 %{_mandir}/man8/poweroff.8*
1261 %{_mandir}/man8/reboot.8*
1262 %{_mandir}/man8/runlevel.8*
1263 %{_mandir}/man8/shutdown.8*
1264 %{_mandir}/man8/telinit.8*
1267 %defattr(644,root,root,755)
1268 %dir %{_sysconfdir}/binfmt.d
1269 %dir %{_sysconfdir}/modules-load.d
1270 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf
1271 %dir %{_sysconfdir}/sysctl.d
1272 %{_sysconfdir}/sysctl.d/99-sysctl.conf
1273 %dir %{_sysconfdir}/systemd
1274 %dir %{_sysconfdir}/systemd/system
1275 %dir %{_sysconfdir}/systemd/system-preset
1276 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system-preset/default.preset
1277 %dir %{_sysconfdir}/tmpfiles.d
1278 %dir %{_libexecdir}/binfmt.d
1279 %dir %{_libexecdir}/modules-load.d
1280 %dir %{_libexecdir}/sysctl.d
1281 %{_libexecdir}/sysctl.d/50-default.conf
1282 %dir %{_libexecdir}/systemd
1283 %dir %{_libexecdir}/systemd/system-shutdown
1284 %dir %{_libexecdir}/systemd/system-sleep
1285 %dir %{_libexecdir}/systemd/user
1286 %{_libexecdir}/systemd/user/*.target
1287 %{_libexecdir}/systemd/user/systemd-exit.service
1288 %dir %{_libexecdir}/systemd/user-generators
1289 %dir /lib/systemd/network
1290 /lib/systemd/network/80-container-host0.network
1291 /lib/systemd/network/80-container-ve.network
1292 /lib/systemd/network/99-default.link
1293 %dir /lib/systemd/pld-helpers.d
1294 %dir /lib/systemd/system-generators
1295 %dir /lib/systemd/system-preset
1296 /lib/systemd/system-preset/90-systemd.preset
1297 %dir /lib/systemd/system-sleep
1298 %dir /lib/systemd/system-shutdown
1299 %attr(755,root,root) /bin/systemctl
1300 %attr(755,root,root) /bin/systemd-tmpfiles
1301 %attr(755,root,root) /bin/systemd_booted
1302 %{_mandir}/man1/systemctl.1*
1303 %{_mandir}/man5/tmpfiles.d.5*
1304 %{_mandir}/man8/systemd-tmpfiles.8*
1305 %{_npkgconfigdir}/systemd.pc
1307 %{systemdunitdir}/*.automount
1308 %{systemdunitdir}/*.mount
1309 %{systemdunitdir}/*.path
1310 %{systemdunitdir}/*.service
1311 %{systemdunitdir}/*.slice
1312 %exclude %{systemdunitdir}/rc-inetd.service
1313 %{systemdunitdir}/*.socket
1314 %{systemdunitdir}/*.target
1315 %{systemdunitdir}/*.timer
1316 %dir %{systemdunitdir}/basic.target.wants
1317 %dir %{systemdunitdir}/busnames.target.wants
1318 %dir %{systemdunitdir}/dbus.target.wants
1319 %dir %{systemdunitdir}/final.target.wants
1320 %dir %{systemdunitdir}/graphical.target.wants
1321 %dir %{systemdunitdir}/halt.target.wants
1322 %dir %{systemdunitdir}/initrd.target.wants
1323 %dir %{systemdunitdir}/kexec.target.wants
1324 %dir %{systemdunitdir}/local-fs.target.wants
1325 %dir %{systemdunitdir}/multi-user.target.wants
1326 %dir %{systemdunitdir}/poweroff.target.wants
1327 %dir %{systemdunitdir}/reboot.target.wants
1328 %dir %{systemdunitdir}/runlevel[12345].target.wants
1329 %dir %{systemdunitdir}/shutdown.target.wants
1330 %dir %{systemdunitdir}/sockets.target.wants
1331 %dir %{systemdunitdir}/sysinit.target.wants
1332 %dir %{systemdunitdir}/syslog.target.wants
1333 %dir %{systemdunitdir}/timers.target.wants
1334 %{systemdunitdir}/final.target.wants/*
1335 %{systemdunitdir}/graphical.target.wants/*
1336 %{systemdunitdir}/busnames.target.wants/org.freedesktop.hostname1.busname
1337 %{systemdunitdir}/busnames.target.wants/org.freedesktop.locale1.busname
1338 %{systemdunitdir}/busnames.target.wants/org.freedesktop.login1.busname
1339 %{systemdunitdir}/busnames.target.wants/org.freedesktop.machine1.busname
1340 %{systemdunitdir}/busnames.target.wants/org.freedesktop.timedate1.busname
1341 %{systemdunitdir}/local-fs.target.wants/*
1342 %{systemdunitdir}/multi-user.target.wants/getty.target
1343 %{systemdunitdir}/multi-user.target.wants/rc-local.service
1344 %{systemdunitdir}/multi-user.target.wants/systemd-ask-password-wall.path
1345 %{systemdunitdir}/multi-user.target.wants/systemd-logind.service
1346 %{systemdunitdir}/multi-user.target.wants/systemd-user-sessions.service
1347 %{systemdunitdir}/org.freedesktop.hostname1.busname
1348 %{systemdunitdir}/org.freedesktop.locale1.busname
1349 %{systemdunitdir}/org.freedesktop.login1.busname
1350 %{systemdunitdir}/org.freedesktop.machine1.busname
1351 %{systemdunitdir}/org.freedesktop.timedate1.busname
1352 %{systemdunitdir}/runlevel[12345].target.wants/*
1353 %{systemdunitdir}/sockets.target.wants/*
1354 %{?with_cryptsetup:%{systemdunitdir}/sysinit.target.wants/cryptsetup.target}
1355 %{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount
1356 %{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount
1357 %{systemdunitdir}/sysinit.target.wants/kmod-static-nodes.service
1358 %{systemdunitdir}/sysinit.target.wants/ldconfig.service
1359 %{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
1360 %{systemdunitdir}/sysinit.target.wants/sys-*.mount
1361 %{systemdunitdir}/sysinit.target.wants/systemd-*
1362 %{systemdunitdir}/timers.target.wants/*.timer
1363 %{_mandir}/man8/systemd-ask-password-console.path.8*
1364 %{_mandir}/man8/systemd-ask-password-console.service.8*
1365 %{_mandir}/man8/systemd-ask-password-wall.path.8*
1366 %{_mandir}/man8/systemd-ask-password-wall.service.8*
1367 %{_mandir}/man8/systemd-backlight@.service.8*
1368 %{_mandir}/man8/systemd-binfmt.service.8*
1369 %{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup.8*}
1370 %{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup@.service.8*}
1371 %{_mandir}/man8/systemd-fsck-root.service.8*
1372 %{_mandir}/man8/systemd-fsck@.service.8*
1373 %{_mandir}/man8/systemd-halt.service.8*
1374 %{_mandir}/man8/systemd-hibernate.service.8*
1375 %{_mandir}/man8/systemd-hostnamed.service.8*
1376 %{_mandir}/man8/systemd-hybrid-sleep.service.8*
1377 %{_mandir}/man8/systemd-initctl.service.8*
1378 %{_mandir}/man8/systemd-initctl.socket.8*
1379 %{_mandir}/man8/systemd-journald.service.8*
1380 %{_mandir}/man8/systemd-journald.socket.8*
1381 %{_mandir}/man8/systemd-kexec.service.8*
1382 %{_mandir}/man8/systemd-localed.service.8*
1383 %{_mandir}/man8/systemd-logind.service.8*
1384 %{_mandir}/man8/systemd-machined.service.8*
1385 %{_mandir}/man8/systemd-modules-load.service.8*
1386 %{_mandir}/man8/systemd-poweroff.service.8*
1387 %{_mandir}/man8/systemd-quotacheck.service.8*
1388 %{_mandir}/man8/systemd-random-seed.service.8*
1389 %{_mandir}/man8/systemd-readahead-collect.service.8*
1390 %{_mandir}/man8/systemd-readahead-done.service.8*
1391 %{_mandir}/man8/systemd-readahead-done.timer.8*
1392 %{_mandir}/man8/systemd-readahead-replay.service.8*
1393 %{_mandir}/man8/systemd-reboot.service.8*
1394 %{_mandir}/man8/systemd-remount-fs.service.8*
1395 %{_mandir}/man8/systemd-shutdownd.service.8*
1396 %{_mandir}/man8/systemd-shutdownd.socket.8*
1397 %{_mandir}/man8/systemd-suspend.service.8*
1398 %{_mandir}/man8/systemd-sysctl.service.8*
1399 %{_mandir}/man8/systemd-timedated.service.8*
1400 %{_mandir}/man8/systemd-tmpfiles-clean.service.8*
1401 %{_mandir}/man8/systemd-tmpfiles-clean.timer.8*
1402 %{_mandir}/man8/systemd-tmpfiles-setup.service.8*
1403 %{_mandir}/man8/systemd-tmpfiles-setup-dev.service.8*
1404 %{_mandir}/man8/systemd-udevd.service.8*
1405 %{_mandir}/man8/systemd-udevd-control.socket.8*
1406 %{_mandir}/man8/systemd-udevd-kernel.socket.8*
1407 %{_mandir}/man8/systemd-update-utmp-runlevel.service.8*
1408 %{_mandir}/man8/systemd-update-utmp.service.8*
1409 %{_mandir}/man8/systemd-user-sessions.service.8*
1410 %{_mandir}/man8/systemd-vconsole-setup.service.8*
1412 %if %{with microhttpd}
1413 %files journal-gateway
1414 %defattr(644,root,root,755)
1415 %attr(755,root,root) /lib/systemd/systemd-journal-gatewayd
1416 %{_mandir}/man8/systemd-journal-gatewayd.8*
1417 %{_mandir}/man8/systemd-journal-gatewayd.service.8*
1418 %{_mandir}/man8/systemd-journal-gatewayd.socket.8*
1422 %defattr(644,root,root,755)
1423 %attr(755,root,root) %{systemdunitdir}-generators/pld-rc-inetd-generator
1424 %{systemdunitdir}/rc-inetd.service
1427 %defattr(644,root,root,755)
1428 %attr(755,root,root) %{_bindir}/systemd-analyze
1429 %{_mandir}/man1/systemd-analyze.1*
1432 %defattr(644,root,root,755)
1433 %attr(755,root,root) /%{_lib}/libnss_myhostname.so.2
1434 %attr(755,root,root) /%{_lib}/libsystemd.so.*.*.*
1435 %attr(755,root,root) %ghost /%{_lib}/libsystemd.so.0
1436 %attr(755,root,root) /%{_lib}/libsystemd-daemon.so.*.*.*
1437 %attr(755,root,root) %ghost /%{_lib}/libsystemd-daemon.so.0
1438 %attr(755,root,root) /%{_lib}/libsystemd-id128.so.*.*.*
1439 %attr(755,root,root) %ghost /%{_lib}/libsystemd-id128.so.0
1440 %attr(755,root,root) /%{_lib}/libsystemd-journal.so.*.*.*
1441 %attr(755,root,root) %ghost /%{_lib}/libsystemd-journal.so.0
1442 %attr(755,root,root) /%{_lib}/libsystemd-login.so.*.*.*
1443 %attr(755,root,root) %ghost /%{_lib}/libsystemd-login.so.0
1447 %defattr(644,root,root,755)
1448 %attr(755,root,root) %{_libdir}/libsystemd.so
1449 %attr(755,root,root) %{_libdir}/libsystemd-daemon.so
1450 %attr(755,root,root) %{_libdir}/libsystemd-id128.so
1451 %attr(755,root,root) %{_libdir}/libsystemd-journal.so
1452 %attr(755,root,root) %{_libdir}/libsystemd-login.so
1453 %{_includedir}/%{name}
1454 %{_pkgconfigdir}/libsystemd.pc
1455 %{_pkgconfigdir}/libsystemd-daemon.pc
1456 %{_pkgconfigdir}/libsystemd-id128.pc
1457 %{_pkgconfigdir}/libsystemd-journal.pc
1458 %{_pkgconfigdir}/libsystemd-login.pc
1459 %{_mandir}/man3/SD_*.3*
1460 %{_mandir}/man3/sd*.3*
1462 %files -n python-systemd
1463 %defattr(644,root,root,755)
1464 %dir %{py_sitedir}/systemd
1465 %{py_sitedir}/systemd/*.py[co]
1466 %attr(755,root,root) %{py_sitedir}/systemd/_daemon.so
1467 %attr(755,root,root) %{py_sitedir}/systemd/_journal.so
1468 %attr(755,root,root) %{py_sitedir}/systemd/_reader.so
1469 %attr(755,root,root) %{py_sitedir}/systemd/id128.so
1470 %attr(755,root,root) %{py_sitedir}/systemd/login.so
1472 %files -n bash-completion-systemd
1473 %defattr(644,root,root,755)
1474 %{_datadir}/bash-completion/completions/bootctl
1475 %{_datadir}/bash-completion/completions/busctl
1476 %{_datadir}/bash-completion/completions/coredumpctl
1477 %{_datadir}/bash-completion/completions/hostnamectl
1478 %{_datadir}/bash-completion/completions/journalctl
1479 %{_datadir}/bash-completion/completions/kernel-install
1480 %{_datadir}/bash-completion/completions/localectl
1481 %{_datadir}/bash-completion/completions/loginctl
1482 %{_datadir}/bash-completion/completions/machinectl
1483 %{_datadir}/bash-completion/completions/systemctl
1484 %{_datadir}/bash-completion/completions/systemd-analyze
1485 %{_datadir}/bash-completion/completions/systemd-cat
1486 %{_datadir}/bash-completion/completions/systemd-cgls
1487 %{_datadir}/bash-completion/completions/systemd-cgtop
1488 %{_datadir}/bash-completion/completions/systemd-delta
1489 %{_datadir}/bash-completion/completions/systemd-detect-virt
1490 %{_datadir}/bash-completion/completions/systemd-nspawn
1491 %{_datadir}/bash-completion/completions/systemd-run
1492 %{_datadir}/bash-completion/completions/timedatectl
1494 %files -n zsh-completion-systemd
1495 %defattr(644,root,root,755)
1496 %{_datadir}/zsh/site-functions/_bootctl
1497 %{_datadir}/zsh/site-functions/_coredumpctl
1498 %{_datadir}/zsh/site-functions/_hostnamectl
1499 %{_datadir}/zsh/site-functions/_journalctl
1500 %{_datadir}/zsh/site-functions/_kernel-install
1501 %{_datadir}/zsh/site-functions/_localectl
1502 %{_datadir}/zsh/site-functions/_loginctl
1503 %{_datadir}/zsh/site-functions/_machinectl
1504 %{_datadir}/zsh/site-functions/_sd_hosts_or_user_at_host
1505 %{_datadir}/zsh/site-functions/_sd_machines
1506 %{_datadir}/zsh/site-functions/_systemctl
1507 %{_datadir}/zsh/site-functions/_systemd
1508 %{_datadir}/zsh/site-functions/_systemd-analyze
1509 %{_datadir}/zsh/site-functions/_systemd-delta
1510 %{_datadir}/zsh/site-functions/_systemd-inhibit
1511 %{_datadir}/zsh/site-functions/_systemd-nspawn
1512 %{_datadir}/zsh/site-functions/_systemd-run
1513 %{_datadir}/zsh/site-functions/_systemd-tmpfiles
1514 %{_datadir}/zsh/site-functions/_timedatectl
1517 %defattr(644,root,root,755)
1518 %dev(c,1,3) %attr(666,root,root) /dev/null
1519 %dev(c,5,1) %attr(660,root,console) /dev/console
1520 %dev(c,1,5) %attr(666,root,root) /dev/zero
1523 %defattr(644,root,root,755)
1527 %attr(755,root,root) /lib/udev/collect
1529 %attr(755,root,root) /lib/udev/net_helper
1531 %attr(755,root,root) /lib/udev/ata_id
1532 %attr(755,root,root) /lib/udev/cdrom_id
1533 %attr(755,root,root) /lib/udev/mtd_probe
1534 %attr(755,root,root) /lib/udev/scsi_id
1535 %attr(755,root,root) /lib/udev/v4l_id
1537 %attr(755,root,root) /lib/udev/udevd
1539 %attr(755,root,root) /lib/udev/accelerometer
1541 %dir /lib/udev/hwdb.d
1542 /lib/udev/hwdb.d/20-OUI.hwdb
1543 /lib/udev/hwdb.d/20-acpi-vendor.hwdb
1544 /lib/udev/hwdb.d/20-bluetooth-vendor-product.hwdb
1545 /lib/udev/hwdb.d/20-net-ifname.hwdb
1546 /lib/udev/hwdb.d/20-pci-classes.hwdb
1547 /lib/udev/hwdb.d/20-pci-vendor-model.hwdb
1548 /lib/udev/hwdb.d/20-sdio-classes.hwdb
1549 /lib/udev/hwdb.d/20-sdio-vendor-model.hwdb
1550 /lib/udev/hwdb.d/20-usb-classes.hwdb
1551 /lib/udev/hwdb.d/20-usb-vendor-model.hwdb
1552 /lib/udev/hwdb.d/60-keyboard.hwdb
1554 %attr(755,root,root) %{_sbindir}/start_udev
1555 %attr(755,root,root) %{_sbindir}/udevd
1556 %attr(755,root,root) %{_sbindir}/udevadm
1557 %attr(755,root,root) /bin/udevadm
1559 %dir %{_sysconfdir}/udev
1560 %dir %{_sysconfdir}/udev/rules.d
1561 %dir %{_sysconfdir}/udev/hwdb.d
1562 %ghost %{_sysconfdir}/udev/hwdb.bin
1564 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
1565 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/udev_blacklist.conf
1566 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/links.conf
1567 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
1568 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules
1569 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/80-net-name-slot.rules
1571 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf
1573 # rules below are NOT supposed to be changed by users
1574 /lib/udev/rules.d/42-usb-hid-pm.rules
1575 /lib/udev/rules.d/50-firmware.rules
1576 /lib/udev/rules.d/50-udev-default.rules
1577 /lib/udev/rules.d/60-cdrom_id.rules
1578 /lib/udev/rules.d/60-drm.rules
1579 /lib/udev/rules.d/60-keyboard.rules
1580 /lib/udev/rules.d/60-persistent-alsa.rules
1581 /lib/udev/rules.d/60-persistent-input.rules
1582 /lib/udev/rules.d/60-persistent-serial.rules
1583 /lib/udev/rules.d/60-persistent-storage-tape.rules
1584 /lib/udev/rules.d/60-persistent-storage.rules
1585 /lib/udev/rules.d/60-persistent-v4l.rules
1586 /lib/udev/rules.d/61-accelerometer.rules
1587 /lib/udev/rules.d/64-btrfs.rules
1588 /lib/udev/rules.d/70-power-switch.rules
1589 /lib/udev/rules.d/75-net-description.rules
1590 /lib/udev/rules.d/75-probe_mtd.rules
1591 /lib/udev/rules.d/75-tty-description.rules
1592 /lib/udev/rules.d/78-sound-card.rules
1593 /lib/udev/rules.d/80-drivers.rules
1594 /lib/udev/rules.d/80-net-setup-link.rules
1595 /lib/udev/rules.d/95-udev-late.rules
1597 %{_mandir}/man7/udev.7*
1598 %{_mandir}/man8/udevadm.8*
1599 %{_mandir}/man8/udevd.8*
1602 %defattr(644,root,root,755)
1603 %attr(755,root,root) /%{_lib}/libudev.so.*.*.*
1604 %attr(755,root,root) %ghost /%{_lib}/libudev.so.1
1606 %files -n udev-devel
1607 %defattr(644,root,root,755)
1608 %attr(755,root,root) %{_libdir}/libudev.so
1609 %{_includedir}/libudev.h
1610 %{_pkgconfigdir}/libudev.pc
1611 %{_npkgconfigdir}/udev.pc
1613 %files -n udev-apidocs
1614 %defattr(644,root,root,755)
1615 %{_gtkdocdir}/libudev
1618 %defattr(644,root,root,755)
1619 %attr(755,root,root) /%{_lib}/libgudev-1.0.so.*.*.*
1620 %attr(755,root,root) %ghost /%{_lib}/libgudev-1.0.so.0
1621 %{_libdir}/girepository-1.0/GUdev-1.0.typelib
1623 %files -n udev-glib-devel
1624 %defattr(644,root,root,755)
1625 %attr(755,root,root) %{_libdir}/libgudev-1.0.so
1626 %{_includedir}/gudev-1.0
1627 %{_pkgconfigdir}/gudev-1.0.pc
1628 %{_datadir}/gir-1.0/GUdev-1.0.gir
1630 %files -n udev-glib-apidocs
1631 %defattr(644,root,root,755)
1634 %files -n bash-completion-udev
1635 %defattr(644,root,root,755)
1636 %{_datadir}/bash-completion/completions/udevadm
1638 %files -n zsh-completion-udev
1639 %defattr(644,root,root,755)
1640 %{_datadir}/zsh/site-functions/_udevadm