]> git.pld-linux.org Git - packages/systemd.git/blame - systemd.spec
small fix to actually use hostname from /etc/sysconfig/network
[packages/systemd.git] / systemd.spec
CommitLineData
d374e721 1# TODO:
d1ac392b 2# - consider providing the factory files via appropriate packages (setup, pam)
a4981830 3# - merge rpm macros provided by systemd with ours
63dba220
ER
4# - handle udev package removal:
5# - http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2014-March/023852.html
6# - restore (write) sane value for kernel.hotplug, i.e from rc-scripts: sysctl -q -e -w kernel.hotplug=/lib/firmware/firmware-loader.sh
47f64e1e
ER
7# - dev->udev upgrade:
8# - /dev/urandom remains missing, not created with start_udev anymore
d374e721 9#
9538a6a4 10#warning: Installed (but unpackaged) file(s) found:
7dfd6655
JB
11# /usr/lib/rpm/macros.d/macros.systemd
12# %files portabled?
9538a6a4
JR
13# /lib/systemd/portable/profile/default/service.conf
14# /lib/systemd/portable/profile/nonetwork/service.conf
15# /lib/systemd/portable/profile/strict/service.conf
16# /lib/systemd/portable/profile/trusted/service.conf
17# /lib/systemd/portablectl
18# /lib/systemd/system/dbus-org.freedesktop.portable1.service
9538a6a4 19# /lib/systemd/system/systemd-portabled.service
9538a6a4 20# /lib/systemd/systemd-portabled
9538a6a4
JR
21# /usr/lib/tmpfiles.d/portables.conf
22# /usr/share/bash-completion/completions/portablectl
9538a6a4 23# /usr/share/dbus-1/system-services/org.freedesktop.portable1.service
9538a6a4 24# /usr/share/dbus-1/system.d/org.freedesktop.portable1.conf
9538a6a4 25# /usr/share/man/man1/portablectl.1.gz
9538a6a4
JR
26# /usr/share/man/man8/systemd-portabled.8
27# /usr/share/man/man8/systemd-portabled.service.8.gz
9538a6a4
JR
28# /usr/share/polkit-1/actions/org.freedesktop.portable1.policy
29#
c3037397 30# Conditional build:
14caeae7 31%bcond_without audit # audit support
14caeae7 32%bcond_without cryptsetup # cryptsetup support
f5bd7642 33%bcond_without microhttpd # use microhttpd for network journal access
23107006 34%bcond_without pam # PAM authentication support
f8d07093 35%bcond_without qrencode # QRencode support
14caeae7
JB
36%bcond_without selinux # SELinux support
37%bcond_without efi # EFI boot support
bb76a18a 38%bcond_with tests # "make check" (requires systemd already installed)
9c0b975d 39
21224350
JB
40%ifnarch %{ix86} %{x8664} aarch64
41# x32 disabled - maybe it's possible to build x64 EFI, but it requires some hacking (add -m64 to EFI gcc command line?)
14caeae7
JB
42%undefine with_efi
43%endif
c3037397 44Summary: A System and Service Manager
ede8d3e5 45Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa
46Name: systemd
30121190 47# Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
9538a6a4 48Version: 239
7d414874 49Release: 0.1
30121190 50Epoch: 1
e03b3ba9 51License: GPL v2+ (udev), LGPL v2.1+ (the rest)
ede8d3e5 52Group: Base
2c89dd96 53Source0: https://github.com/systemd/systemd/archive/v%{version}/%{name}-%{version}.tar.gz
9538a6a4 54# Source0-md5: 6137e3f50390391cf34521d071a1a078
4f25b6ac 55Source1: %{name}-sysv-convert
b0980573 56Source2: %{name}_booted.c
a3a953ae 57Source3: network.service
870fdd3d
JR
58Source4: var-lock.mount
59Source5: var-run.mount
50b8f452
ER
60Source14: pld-clean-tmp.service
61Source15: pld-clean-tmp.sh
bb6fb962
JR
62Source16: pld-rc-inetd-generator.sh
63Source17: rc-inetd.service
a98a12d9 64Source18: default.preset
2be4d5dc 65Source19: prefdm.service
e5f31a34
MK
66Source20: sigpwr-container-shutdown.service
67
30121190
JR
68# rules
69Source101: udev-alsa.rules
70Source102: udev.rules
71Source103: udev-links.conf
dcbc26d0 72Source104: udev-uinput.rules
27e7ee7d 73Source105: udev-steam_controller.rules
30121190
JR
74# scripts / helpers
75Source110: udev-net.helper
76Source111: start_udev
77# misc
78Source120: udev.blacklist
79Source121: fbdev.blacklist
7619c097 80Patch0: target-pld.patch
252e1bad 81Patch1: config-pld.patch
d034a897
JR
82Patch2: pld-sysv-network.patch
83Patch3: tmpfiles-not-fatal.patch
84Patch4: udev-ploop-rules.patch
85Patch5: udevadm-in-sbin.patch
86Patch6: net-rename-revert.patch
2c054955 87Patch7: %{name}-struct-statx-in-glibc.patch
d034a897 88Patch8: proc-hidepid.patch
c50655d4 89Patch9: %{name}-configfs.patch
d034a897
JR
90Patch10: pld-boot_efi_mount.patch
91Patch11: optional-tmp-on-tmpfs.patch
92Patch12: uids_gids.patch
d946c58e 93Patch13: sysctl.patch
a2e26a8b
ER
94Patch14: pld-pam-%{name}-user.patch
95Patch15: %{name}-seccomp_disable_on_i386.patch
e01b4c45 96Patch16: meson-debug.patch
ede8d3e5 97URL: http://www.freedesktop.org/wiki/Software/systemd
5b9bde26 98BuildRequires: acl-devel
6c89bbd4 99%{?with_audit:BuildRequires: audit-libs-devel}
e4c66821 100BuildRequires: binutils >= 3:2.22.52.0.1-2
82b9d951
JB
101BuildRequires: bzip2-devel
102# ln --relative
103BuildRequires: coreutils >= 8.16
11fa1d33 104%{?with_cryptsetup:BuildRequires: cryptsetup-devel >= 1.6.0}
82b9d951 105BuildRequires: curl-devel >= 7.32.0
8e27187e 106BuildRequires: dbus-devel >= 1.9.18
11db4517 107BuildRequires: docbook-dtd45-xml
c3037397 108BuildRequires: docbook-style-xsl
70be5794 109BuildRequires: elfutils-devel >= 0.158
11db4517 110BuildRequires: gettext-tools
2c054955 111BuildRequires: glib2-devel >= 1:2.22.0
30121190 112BuildRequires: glibc-misc
d17ad128 113%{?with_efi:BuildRequires: gnu-efi}
dbf0cb82 114BuildRequires: gnutls-devel >= 3.1.4
3fc7a1cc 115BuildRequires: gperf
5b9bde26 116BuildRequires: intltool >= 0.40.0
82b9d951
JB
117# pkgconfig(libiptc)
118BuildRequires: iptables-devel
b91c66ed 119BuildRequires: kmod-devel >= 15
dbf0cb82 120BuildRequires: libapparmor-devel
b91c66ed 121BuildRequires: libblkid-devel >= 2.24
b82d0bf2 122BuildRequires: libcap-devel
f8d07093 123BuildRequires: libgcrypt-devel >= 1.4.5
82b9d951 124BuildRequires: libgpg-error-devel >= 1.12
2c054955 125BuildRequires: libidn2-devel
dbf0cb82 126%{?with_microhttpd:BuildRequires: libmicrohttpd-devel >= 0.9.33}
2c054955 127BuildRequires: libmount-devel >= 2.30
82b9d951 128BuildRequires: libseccomp-devel >= 2.3.1
b034c4b7 129%{?with_selinux:BuildRequires: libselinux-devel >= 2.6}
6c89bbd4 130BuildRequires: libtool >= 2:2.2
6e34428f 131BuildRequires: libxslt-progs
82b9d951 132BuildRequires: lz4-devel >= r125
961baf80 133BuildRequires: m4
2c054955 134BuildRequires: meson >= 0.44
b91c66ed 135%{?with_pam:BuildRequires: pam-devel >= 1.1.2}
2c054955 136BuildRequires: pcre2-8-devel
23107006 137BuildRequires: pkgconfig >= 0.9.0
2c054955 138BuildRequires: polkit-devel >= 0.106
8e27187e
AM
139BuildRequires: python3
140BuildRequires: python3-lxml
f8d07093 141%{?with_qrencode:BuildRequires: qrencode-devel}
f3b93ccf 142BuildRequires: rpmbuild(macros) >= 1.728
30121190 143BuildRequires: sed >= 4.0
50ada2ab 144%{?with_tests:BuildRequires: systemd}
30121190 145BuildRequires: usbutils >= 0.82
82b9d951 146BuildRequires: xorg-lib-libxkbcommon-devel >= 0.5.0
58fd72e9 147BuildRequires: xz-devel
30121190 148BuildRequires: zlib-devel
df9b2696 149Requires(post,postun): %{name}-units = %{epoch}:%{version}-%{release}
e0f956b2
JR
150Requires(postun): /usr/sbin/groupdel
151Requires(postun): /usr/sbin/userdel
3cfd9ace 152Requires(post): /bin/setfacl
e0f956b2
JR
153Requires(pre): /bin/id
154Requires(pre): /usr/bin/getgid
155Requires(pre): /usr/sbin/groupadd
156Requires(pre): /usr/sbin/useradd
250043f7
JB
157Requires: %{name}-libs = %{epoch}:%{version}-%{release}
158Requires: %{name}-units = %{epoch}:%{version}-%{release}
58d6217a 159Requires: /etc/os-release
2ff27c26 160Requires: SysVinit-tools
37b8df82 161Requires: agetty
11fa1d33 162%{?with_cryptsetup:Requires: cryptsetup >= 1.6.0}
82b9d951 163Requires: curl-libs >= 7.32.0
8e27187e 164Requires: dbus >= 1.9.18
d1ac392b 165Requires: filesystem >= 4.0-39
b91c66ed 166Requires: glibc >= 2.16
82b9d951 167Requires: gnutls-libs >= 3.1.4
c06d9f8f 168Requires: kmod >= 25-2
82b9d951 169Requires: libgpg-error >= 1.12
dbf0cb82 170%{?with_microhttpd:Requires: libmicrohttpd >= 0.9.33}
ed5c41d4 171Requires: libutempter
2c054955 172Requires: polkit >= 0.106
a2018b66 173Requires: rc-scripts >= 0.4.5.3-7
56701781 174Requires: setup >= 2.8.0-2
cbba36f4
JR
175Requires: udev-core = %{epoch}:%{version}-%{release}
176Requires: udev-libs = %{epoch}:%{version}-%{release}
cd1a3782 177Requires: uname(release) >= 3.13
2c054955 178Requires: util-linux >= 2.30
abea5afb 179Suggests: fsck >= 2.25.0
c35aa49c 180Suggests: service(klogd)
1cdd35cf 181Suggests: service(syslog)
82b9d951 182Suggests: xorg-lib-libxkbcommon >= 0.5.0
c75f826c 183Provides: group(systemd-coredump)
e0f956b2 184Provides: group(systemd-journal)
565c6a39
JK
185Provides: group(systemd-journal-remote)
186Provides: group(systemd-journal-upload)
c50655d4
ER
187Provides: group(systemd-network)
188Provides: group(systemd-resolve)
189Provides: group(systemd-timesync)
190Provides: udev-acl = %{epoch}:%{version}-%{release}
250043f7 191Provides: user(systemd-coredump)
c50655d4
ER
192Provides: user(systemd-journal-remote)
193Provides: user(systemd-journal-upload)
565c6a39
JK
194Provides: user(systemd-network)
195Provides: user(systemd-resolve)
196Provides: user(systemd-timesync)
20737d08
JR
197# kde4 still can't live without ConsoleKit
198#Obsoletes: ConsoleKit
199#Obsoletes: ConsoleKit-x11
399af251 200Obsoletes: elogind
ca73092d 201Obsoletes: systemd-no-compat-tmpfiles
cbba36f4 202Obsoletes: udev-systemd
77352d20
JR
203# for storage detection / activation services
204Conflicts: dmraid < 1.0.0-0.rc16.3.3
205Conflicts: mdadm < 4.0-2
a6203073 206# sytemd wants pam with pam_systemd.so in system-auth...
3b292a99 207Conflicts: pam < 1:1.1.5-5
a6203073
JR
208# ...and sudo hates it
209Conflicts: sudo < 1:1.7.8p2-4
06d34666
JR
210# for prefdm script
211Conflicts: xinitrc-ng < 1.0
0fedd233 212# systemd scripts use options not present in older versions
77352d20
JR
213Conflicts: kpartx < 0.6.1-1
214Conflicts: multipath-tools < 0.6.1-1
d833377f
JR
215# no tmpfs on /media, use /run/media/$USER for mounting
216Conflicts: udisks2 < 1.92.0
ca73092d
JR
217# packages that have dirs under /var/run and/or /var/lock must provide tmpfiles configs
218Conflicts: ConsoleKit-dirs < 0.4.5-7
219Conflicts: NetworkManager < 2:0.9.2.0-3
220Conflicts: Zope < 2.11.8-2
221Conflicts: amavisd-new < 1:2.7.0-1
222Conflicts: apache-base < 2.2.21-4
223Conflicts: apache-mod_bw < 0.92-3
224Conflicts: apache-mod_fastcgi < 2.4.6-6
225Conflicts: apache1-base < 1.3.42-5
226Conflicts: apache1-mod_fastcgi < 2.4.6-2
227Conflicts: asterisk < 10.0.1-2
228Conflicts: autossh-init < 1.4b-3
229Conflicts: balance < 3.54-2
230Conflicts: bind < 7:9.8.1.P1-4
231Conflicts: bopm < 3.1.3-4
232Conflicts: callweaver < 1.2.1-9
233Conflicts: cassandra-bin < 0.8.9-2
234Conflicts: clamav < 0.97.3-3
235Conflicts: cups < 1:1.5.0-10
ca73092d
JR
236Conflicts: dovecot < 1:2.0.16-3
237Conflicts: dspam < 3.9.0-6
238Conflicts: fail2ban < 0.8.4-4
abea5afb 239Conflicts: fsck < 2.25.0
ca73092d
JR
240Conflicts: gammu-smsd < 1:1.31.0-3
241# Break gdm2.20 installs
242#Conflicts: gdm < 2:3.2.1.1-9
243Conflicts: greylistd < 0.8.8-2
244Conflicts: inn < 2.4.6-7
245Conflicts: ipsec-tools < 0.8.0-3
246Conflicts: jabber-common < 0-9
247Conflicts: laptop-mode-tools < 1.58-2
248Conflicts: libgpod < 0.8.0-6
249Conflicts: libvirt-utils < 0.9.9-4
250Conflicts: lighttpd < 1.4.30-5
251Conflicts: lirc < 0.9.0-20
b91c66ed 252# Needed for vgscan --cache ( perhaps < 2.02.96 would be enough, but not tested)
d2332887 253Conflicts: lvm2 < 2.02.132
ca73092d
JR
254Conflicts: mailman < 5:2.1.14-4
255Conflicts: memcached < 1.4.11-2
256Conflicts: mpd < 0.16.5-4
257Conflicts: mrtg < 2.17.0-3
258Conflicts: munin-common < 1.4.5-5
259Conflicts: nagios-nrpe < 2.13-2
260Conflicts: ndisc6-rdnssd < 1.0.1-3
261Conflicts: nscd < 6:2.14.1-5
262Conflicts: nss_ldapd-nslcd < 0.8.4-2
263Conflicts: openct < 0.6.20-3
264Conflicts: openl2tp < 1.8-3
265Conflicts: openldap-overlay-nssov < 2.4.28-4
266Conflicts: openldap-servers < 2.4.28-4
267Conflicts: openvpn < 2.2.2-2
268Conflicts: pam-pam_mount < 2.12-3
269Conflicts: pam-pam_ssh < 1.97-2
270Conflicts: pcsc-lite < 1.8.1-2
271Conflicts: php-dirs < 1.2-3
272Conflicts: policyd < 2.0.10-3
273Conflicts: pound < 2.6-2
274Conflicts: pptp < 1.7.2-3
275Conflicts: proftpd-common < 2:1.3.4a-2
276Conflicts: pulseaudio-server < 1.1-2
277Conflicts: quagga < 0.99.20-3
278Conflicts: radvd < 1.8.5-2
ca73092d
JR
279Conflicts: red5 < 0.9.0-2
280Conflicts: redis-server < 2.4.2-4
281Conflicts: smokeping < 2.4.2-10
282Conflicts: smtp-gated < 1.4.17-2
283Conflicts: socat < 1.7.2.0-2
284Conflicts: speech-dispatcher < 0.7.1-2
285Conflicts: sphinx < 2.0.3-4
286Conflicts: splashutils < 1.5.4.3-3
287Conflicts: stunnel < 4.50-2
288Conflicts: tenshi < 0.12-2
289Conflicts: tor < 0.2.2.35-2
290Conflicts: ucarp < 1.5.2-3
291Conflicts: udisks < 1.0.4-3
292Conflicts: util-vserver < 0.30.216-1.pre3002.3
293Conflicts: vpnc < 0.5.3-2
294Conflicts: web2ldap < 1.1.0rc1-2
295Conflicts: wesnoth-server < 1:1.10-2
296Conflicts: wpa_supplicant < 0.7.3-10
297Conflicts: xl2tpd < 1.3.0-2
298# end of tmpfiles conflicts
ede8d3e5 299BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
300
f06261ce 301%define _rootsbindir /sbin
85879912 302
ede8d3e5 303%description
1c239f8b 304systemd is a system and service manager for Linux, compatible with
ede8d3e5 305SysV and LSB init scripts. systemd provides aggressive parallelization
306capabilities, uses socket and D-Bus activation for starting services,
307offers on-demand starting of daemons, keeps track of processes using
308Linux cgroups, supports snapshotting and restoring of the system
309state, maintains mount and automount points and implements an
310elaborate transactional dependency-based service control logic. It can
1c239f8b 311work as a drop-in replacement for sysvinit.
ede8d3e5 312
313%description -l pl.UTF-8
314systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze
315skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności
316paralelizacji, do uruchamiania usług używa socketów oraz D-Busa,
317oferuje uruchamianie usług na życzenie, monitoruje procesy używając
318linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie
319(restore) stanu systemu, zarządza (auto)mount pointami oraz
320implementuje starannie opracowaną transakcjonalną, bazującą na
d45dfc3a 321zależnościach logikę kontroli usług. Może pracować jako zastępca dla
ede8d3e5 322sysvinit.
323
c97dacdd
TP
324%package init
325Summary: systemd /sbin/init and LSB/SysV compatibility symlinks
5b9bde26 326Summary(pl.UTF-8): /sbin/init z systemd i dowiązania dla kompatybilności z LSB/SysV
c97dacdd 327Group: Base
d6829efa 328Requires: systemd
c97dacdd
TP
329Provides: readahead = 1:1.5.7-3
330Provides: virtual(init-daemon)
331Obsoletes: SysVinit
332Obsoletes: readahead < 1:1.5.7-3
333Obsoletes: virtual(init-daemon)
8cb53aef 334Conflicts: rc-scripts < 0.4.5.5-2
4e1559fc 335Conflicts: upstart
1bb18b38
ER
336# systemd takes care of that and causes problems
337Conflicts: binfmt-detector
6ec71f81 338# for /lib/systemd/systemd-sysv-install
e7c16ffb 339Conflicts: chkconfig < 2:1.5-1
c97dacdd
TP
340
341%description init
342Install this package when you are ready to final switch to systemd.
343
5b9bde26
JB
344%description init -l pl.UTF-8
345Ten pakiet należy zainstalować po przygotowaniu się do ostatecznego
346przejścia na systemd.
347
c3037397
ER
348%package units
349Summary: Configuration files, directories and installation tool for systemd
5b9bde26 350Summary(pl.UTF-8): Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla systemd
c3037397 351Group: Base
c3037397 352Requires(post): coreutils
a8d86f01 353Requires(post): /bin/awk
c3037397
ER
354
355%description units
356Basic configuration files, directories and installation tool for the
357systemd system and service manager.
358
f341cd9b 359This is common config, use %{_sysconfdir}/systemd/system to override.
10ffdcd2 360
5b9bde26
JB
361%description units -l pl.UTF-8
362Podstawowe pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla
363zarządcy systemu i usług systemd.
364
365Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać
366poprzez katalog %{_sysconfdir}/systemd/system.
367
48066926
ER
368%package journal-gateway
369Summary: Gateway for serving journal events over the network using HTTP
9653a320 370Summary(pl.UTF-8): Bramka do serwowania zdarzeń dziennika po sieci poprzez HTTP
02f3a8f1 371License: LGPL v2.1+
48066926
ER
372Group: Base
373Requires: %{name} = %{epoch}:%{version}-%{release}
374Requires(postun): /usr/sbin/groupdel
375Requires(postun): /usr/sbin/userdel
376Requires(pre): /bin/id
377Requires(pre): /usr/bin/getgid
378Requires(pre): /usr/sbin/groupadd
379Requires(pre): /usr/sbin/useradd
380Provides: group(systemd-journal-gateway)
381Provides: user(systemd-journal-gateway)
382Conflicts: systemd < 1:206-3
383
384%description journal-gateway
385systemd-journal-gatewayd serves journal events over the network using
386HTTP.
387
9653a320
JB
388%description journal-gateway -l pl.UTF-8
389systemd-journal-gatewayd serwuje zdarzenia dziennika po sieci poprzez
390HTTP.
391
909f05f5
JK
392%package networkd
393Summary: systemd network manager
394Summary(pl.UTF-8): Zarządca sieci systemd
395Group: Base
396Requires: %{name} = %{epoch}:%{version}-%{release}
397Suggests: %{name}-resolved = %{epoch}:%{version}-%{release}
398
399%description networkd
400systemd-networkd is a system service that manages networks. It detects
401and configures network devices as they appear, as well as creating
402virtual network devices.
403
404%description networkd -l pl.UTF-8
c50655d4
ER
405systemd-networkd to usługa systemowa zarządzająca siecią. Wykrywa i
406konfiguruje interfejsy sieciowe gdy się pojawiają, a także tworzy
909f05f5
JK
407wirtualne urządzenia sieciowe.
408
409%package resolved
410Summary: systemd network name resolution manager
411Summary(pl.UTF-8): Zarządca rozwiązywania nazw sieciowych systemd
412Group: Base
413Requires: %{name} = %{epoch}:%{version}-%{release}
414
415%description resolved
416systemd-resolved is a system service that manages network name
417resolution. It implements a caching DNS stub resolver and an LLMNR
418resolver and responder.
de1f2a1e 419
909f05f5
JK
420It also generates /run/systemd/resolve/resolv.conf for compatibility
421which may be symlinked from /etc/resolv.conf.
422
423%description resolved -l pl.UTF-8
424systemd-resolved to usługa systemowa zarządzająca rozwiązywaniem nazw
de1f2a1e
JB
425sieciowych. Implementuje keszujący resolver DNS oraz resolver i
426responder LLMNR.
427
428Generuje także dla zgodności plik /run/systemd/resolve/resolv.conf,
429który można użyć do dowiązania symbolicznego z /etc/resolv.conf.
909f05f5 430
bb6fb962
JR
431%package inetd
432Summary: Native inet service support for systemd via socket activation
433Summary(pl.UTF-8): Natywna obsługa usług inet dla systemd
434Group: Base
435Requires: %{name} = %{epoch}:%{version}-%{release}
436Requires: rc-inetd
437Provides: inetdaemon
438Obsoletes: inetd
439Obsoletes: inetdaemon
440Obsoletes: rlinetd
441Obsoletes: xinetd
442
443%description inetd
444Native inet service support for systemd via socket activation.
445
fbd2881e
ER
446This package contains inet service generator that provides the
447functionality of rc-inetd service and replaces a separate inet daemon
448with systemd socket activation feature.
bb6fb962
JR
449
450%description inetd -l pl.UTF-8
451Natywna obsługa usług inet dla systemd.
452
453Ten pakiet zawiera generator usług inet udostępniający funkcjonalność
454serwisu rc-inetd i zastępujący osobny demon inet przez systemd i
455aktywację usług przez gniazda.
456
4e5e9c32
ER
457%package analyze
458Summary: Tool for processing systemd profiling information
86d3399e 459Summary(pl.UTF-8): Narzędzie do przetwarzania informacji profilujących systemd
4e5e9c32 460Group: Base
7e0e6b4e 461Requires: %{name} = %{epoch}:%{version}-%{release}
36c60baa 462Conflicts: systemd < 44-3
4e5e9c32
ER
463
464%description analyze
465'systemd-analyze blame' lists which systemd unit needed how much time
466to finish initialization at boot. 'systemd-analyze plot' renders an
467SVG visualizing the parallel start of units at boot.
468
86d3399e
JB
469%description analyze -l pl.UTF-8
470'systemd-analyze blame' wypisuje, ile czasu wymagały poszczególne
471jednostki systemd na zakończenie podczas rozruchu systemu.
472'systemd-analyze plot' tworzy wykres SVG wizualizujący równoległy
473start jednostek podczas rozruchu.
474
011bccb6 475%package libs
5b9bde26
JB
476Summary: Shared systemd libraries
477Summary(pl.UTF-8): Biblioteki współdzielone systemd
011bccb6 478Group: Libraries
f8d07093 479Requires: libgcrypt >= 1.4.5
82b9d951 480Requires: libseccomp >= 2.3.1
b034c4b7 481%{?with_selinux:Requires: libselinux >= 2.6}
e22b3018 482Obsoletes: nss_myhostname
011bccb6
BZ
483
484%description libs
5b9bde26
JB
485Shared systemd libraries.
486
487%description libs -l pl.UTF-8
488Biblioteki współdzielone systemd.
011bccb6 489
961baf80
AF
490%package devel
491Summary: Header files for systemd libraries
492Summary(pl.UTF-8): Pliki nagłówkowe bibliotek systemd
493Group: Development/Libraries
7e0e6b4e 494Requires: %{name}-libs = %{epoch}:%{version}-%{release}
947943f3 495Requires: %{name}-units = %{epoch}:%{version}-%{release}
f29c4a98 496Obsoletes: systemd-static
961baf80
AF
497
498%description devel
499Header files for systemd libraries.
500
501%description devel -l pl.UTF-8
502Pliki nagłówkowe bibliotek systemd.
503
5b9bde26
JB
504%package -n bash-completion-systemd
505Summary: bash-completion for systemd
506Summary(pl.UTF-8): Bashowe dopełnianie składni dla systemd
507Group: Applications/Shells
c8a3952f 508Requires: %{name} = %{epoch}:%{version}-%{release}
1a13d7a2 509Requires: bash-completion >= 2.0
399af251 510Obsoletes: bash-completion-elogind
cb74df1d
ER
511%if "%{_rpmversion}" >= "5"
512BuildArch: noarch
513%endif
5b9bde26
JB
514
515%description -n bash-completion-systemd
516bash-completion for systemd.
517
518%description -n bash-completion-systemd -l pl.UTF-8
86d3399e 519Bashowe dopełnianie składni dla systemd.
5b9bde26 520
77d7e0b4
JR
521%package -n zsh-completion-systemd
522Summary: zsh completion for systemd commands
523Summary(pl.UTF-8): Uzupełnianie parametrów w zsh dla poleceń systemd
524Group: Applications/Shells
c8a3952f 525Requires: %{name} = %{epoch}:%{version}-%{release}
399af251 526Obsoletes: zsh-completion-elogind
cb74df1d
ER
527%if "%{_rpmversion}" >= "5"
528BuildArch: noarch
529%endif
77d7e0b4
JR
530
531%description -n zsh-completion-systemd
532zsh completion for systemd commands.
533
534%description -n zsh-completion-systemd -l pl.UTF-8
535Uzupełnianie parametrów w zsh dla poleceń systemd.
536
30121190
JR
537%package -n udev
538Summary: Device manager for the Linux 2.6 kernel series
539Summary(pl.UTF-8): Zarządca urządzeń dla Linuksa 2.6
540Group: Base
541Requires: udev-core = %{epoch}:%{version}-%{release}
542Provides: dev = 3.5.0
543Obsoletes: dev
544Obsoletes: hotplug
545Obsoletes: hotplug-input
546Obsoletes: hotplug-net
547Obsoletes: hotplug-pci
30121190
JR
548Obsoletes: udev-dev
549Obsoletes: udev-extras < 20090628
550Obsoletes: udev-tools
551
552%description -n udev
553udev is the device manager for the Linux 2.6 kernel series. Its
554primary function is managing device nodes in /dev. It is the successor
555of devfs and hotplug.
556
557%description -n udev -l pl.UTF-8
558udev jest zarządcą urządzeń dla Linuksa 2.6. Jego główną funkcją jest
559zarządzanie węzłami urządzeń w katalogu /dev. Jest następcą devfs i
560hotpluga.
561
562%package -n udev-core
563Summary: A userspace implementation of devfs - core part of udev
564Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - główna część udev
565Group: Base
30121190
JR
566Requires: coreutils
567Requires: filesystem >= 3.0-45
b91c66ed
TP
568Requires: kmod >= 15
569Requires: libblkid >= 2.24
b034c4b7 570%{?with_selinux:Requires: libselinux >= 2.6}
5a32fc22 571Requires: setup >= 2.9.0-3
fbd2881e 572Requires: udev-libs = %{epoch}:%{version}-%{release}
cd1a3782 573Requires: uname(release) >= 3.13
fbd2881e
ER
574Obsoletes: udev-compat
575Obsoletes: udev-initrd < %{epoch}:%{version}-%{release}}
60c3e1b7 576Conflicts: geninitrd < 12639
30121190 577Conflicts: rc-scripts < 0.4.5.3-1
cbba36f4 578Conflicts: systemd-units < 1:183
30121190
JR
579Conflicts: udev < 1:118-1
580
581%description -n udev-core
582A userspace implementation of devfs - core part of udev.
583
584%description -n udev-core -l pl.UTF-8
585Implementacja devfs w przestrzeni użytkownika - główna część udev.
586
587%package -n udev-libs
588Summary: Shared library to access udev device information
589Summary(pl.UTF-8): Biblioteka współdzielona do dostępu do informacji o urządzeniach udev
590Group: Libraries
591
592%description -n udev-libs
593Shared libudev library to access udev device information.
594
595%description -n udev-libs -l pl.UTF-8
596Biblioteka współdzielona libudev służąca do dostępu do informacji o
597urządzeniach udev.
598
599%package -n udev-devel
600Summary: Header file for libudev library
601Summary(pl.UTF-8): Plik nagłówkowy biblioteki libudev
602Group: Development/Libraries
603Requires: udev-libs = %{epoch}:%{version}-%{release}
5c770713 604Obsoletes: udev-apidocs
f29c4a98 605Obsoletes: udev-static
30121190
JR
606
607%description -n udev-devel
608Header file for libudev library.
609
610%description -n udev-devel -l pl.UTF-8
611Plik nagłówkowy biblioteki libudev.
612
864041a0
JR
613%package -n bash-completion-udev
614Summary: bash-completion for udev
615Summary(pl.UTF-8): Bashowe dopełnianie składni dla udev
616Group: Applications/Shells
1a13d7a2 617Requires: bash-completion >= 2.0
c8a3952f 618Requires: udev = %{epoch}:%{version}-%{release}
cb74df1d
ER
619%if "%{_rpmversion}" >= "5"
620BuildArch: noarch
621%endif
864041a0
JR
622
623%description -n bash-completion-udev
624bash-completion for udev.
625
626%description -n bash-completion-udev -l pl.UTF-8
627Bashowe dopełnianie składni dla udev.
628
77d7e0b4
JR
629%package -n zsh-completion-udev
630Summary: zsh completion for udev commands
631Summary(pl.UTF-8): Uzupełnianie parametrów w zsh dla poleceń udev
632Group: Applications/Shells
c8a3952f 633Requires: %{name} = %{epoch}:%{version}-%{release}
cb74df1d
ER
634%if "%{_rpmversion}" >= "5"
635BuildArch: noarch
636%endif
77d7e0b4
JR
637
638%description -n zsh-completion-udev
639zsh completion for udev commands.
640
641%description -n zsh-completion-udev -l pl.UTF-8
642Uzupełnianie parametrów w zsh dla poleceń udev.
864041a0 643
ede8d3e5 644%prep
645%setup -q
4c5b5ab6 646%patch0 -p1
252e1bad 647%patch1 -p1
d034a897 648%patch2 -p1
19e6c1c7 649%patch3 -p1
d374e721 650%patch4 -p1
d034a897
JR
651%patch5 -p1
652# rejected upstream (do not disable!)
653%patch6 -p1
2c054955 654%patch7 -p1
3be4738a 655%patch8 -p1
39e47c85 656%patch9 -p1
d3c9da06 657%patch10 -p1
2be4d5dc 658%patch11 -p1
fa700b62 659%patch12 -p1
d946c58e 660%patch13 -p1
9ccb342e 661%patch14 -p1
a2e26a8b 662%patch15 -p1
e01b4c45 663%patch16 -p1
2131d54e 664
b77423ae 665cp -p %{SOURCE2} src/systemd_booted.c
ede8d3e5 666
667%build
f06261ce
AM
668%meson build \
669 -Daudit=%{__true_false audit} \
670 -Ddefault-kill-user-processes=false \
671 %{?debug:--buildtype=debug} \
672 -Defi=%{__true_false efi} \
673 -Dhalt-local=/sbin/halt.local \
674 -Dkexec-path=/sbin/kexec \
675 -Dkill-path=/bin/kill \
676 -Dkmod-path=/sbin/kmod \
677 -Dlibcryptsetup=%{__true_false cryptsetup} \
2c054955 678 -Dlibidn2=true \
f06261ce
AM
679 -Dloadkeys-path=/usr/bin/loadkeys \
680 -Dlz4=true \
681 -Dmicrohttpd=%{__true_false microhttpd} \
682 -Dmount-path=/bin/mount \
7d414874
AM
683 -Dnobody-user="nobody" \
684 -Dnobody-group="nogroup" \
f06261ce
AM
685 -Dntp-servers='0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org' \
686 -Dpam=%{__true_false pam} \
687 -Dqrencode=%{__true_false qrencode} \
688 -Dquotacheck=true \
689 -Dquotacheck-path=/sbin/quotacheck \
690 -Dquotaon-path=/sbin/quotaon \
691 -Drc-local=/etc/rc.d/rc.local \
692 -Drootlibdir=/%{_lib} \
693 -Drootprefix="" \
694 -Drootsbindir=%{_rootsbindir} \
695 -Dselinux=%{__true_false selinux} \
696 -Dsetfont-path=/bin/setfont \
7d414874 697 -Dsplit-bin=true \
f06261ce
AM
698 -Dsplit-usr=true \
699 -Dsulogin-path=/sbin/sulogin \
700 -Dsysvinit-path=/etc/rc.d/init.d \
701 -Dsysvrcnd-path=/etc/rc.d \
7d414874
AM
702 -Dumount-path=/bin/umount \
703 -Dusers-gid=1000 \
f06261ce
AM
704
705%meson_build -C build
706
707%{__cc} %{rpmcppflags} %{rpmcflags} -o build/systemd_booted %{rpmldflags} src/systemd_booted.c -L. -lsystemd
708
709%{?with_tests:%meson_test -C build}
2a54abb3 710
ede8d3e5 711%install
712rm -rf $RPM_BUILD_ROOT
231314d2 713install -d $RPM_BUILD_ROOT/var/lib/{%{name}/{catalog,coredump},machines} \
c06d9f8f
JB
714 $RPM_BUILD_ROOT%{_rootsbindir} \
715 $RPM_BUILD_ROOT%{_sysconfdir}/{modprobe.d,systemd/system-preset} \
716 $RPM_BUILD_ROOT%{systemduserunitdir}/sockets.target.wants \
717 $RPM_BUILD_ROOT%{systemdunitdir}/{final,sound,system-update}.target.wants
23107006 718
f06261ce 719%meson_install -C build
ede8d3e5 720
231314d2
ER
721touch $RPM_BUILD_ROOT/var/lib/%{name}/random-seed
722
f06261ce
AM
723install -p -m755 build/systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted
724
725# target-pld.patch supplements
726rm $RPM_BUILD_ROOT%{systemdunitdir}/sysinit.target.wants/sys-kernel-config.mount
727ln -s %{systemdunitdir}/prefdm.service $RPM_BUILD_ROOT%{systemdunitdir}/graphical.target.wants/display-manager.service
728ln -s prefdm.service $RPM_BUILD_ROOT%{systemdunitdir}/display-manager.service
729ln -s rescue.service $RPM_BUILD_ROOT%{systemdunitdir}/single.service
730ln -s %{systemdunitdir}/halt-local.service $RPM_BUILD_ROOT%{systemdunitdir}/final.target.wants/halt-local.service
731ln -s %{systemdunitdir}/rc-local.service $RPM_BUILD_ROOT%{systemdunitdir}/multi-user.target.wants/rc-local.service
b77423ae 732
c75fd19d 733# compatibility symlinks to udevd binary
cbba36f4
JR
734mv $RPM_BUILD_ROOT/lib/{systemd/systemd-,udev/}udevd
735ln -s /lib/udev/udevd $RPM_BUILD_ROOT/lib/systemd/systemd-udevd
f06261ce 736ln -s /lib/udev/udevd $RPM_BUILD_ROOT%{_rootsbindir}/udevd
c75fd19d
JR
737
738# compat symlinks for "/ merged into /usr" programs
f06261ce 739ln -s %{_rootsbindir}/udevadm $RPM_BUILD_ROOT/bin
947943f3 740ln -s /lib/udev $RPM_BUILD_ROOT%{_prefix}/lib
c75fd19d
JR
741
742# install custom udev rules from pld package
743cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
744cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules
dcbc26d0 745cp -a %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-uinput.rules
27e7ee7d 746cp -a %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-steam_controller.rules
c75fd19d 747
e2ca78f3
MM
748# http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
749ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/80-net-setup-link.rules
750
c75fd19d
JR
751# install udev configs
752cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/udev/links.conf
753
754# install udev executables (scripts, helpers, etc.)
755install -p %{SOURCE110} $RPM_BUILD_ROOT/lib/udev/net_helper
f06261ce 756install -p %{SOURCE111} $RPM_BUILD_ROOT%{_rootsbindir}/start_udev
c75fd19d
JR
757
758# install misc udev stuff
759cp -a %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/udev_blacklist.conf
760cp -a %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
761
ba7dc07d
JR
762:>$RPM_BUILD_ROOT%{_sysconfdir}/udev/hwdb.bin
763
c06d9f8f 764%{__mv} $RPM_BUILD_ROOT%{_mandir}/man8/{systemd-,}udevd.8
579cb1fc 765echo ".so man8/udevd.8" >$RPM_BUILD_ROOT%{_mandir}/man8/systemd-udevd.8
c75fd19d 766
4389e6f9
JR
767# Main binary has been moved, but we don't want to break existing installs
768ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/bin/systemd
769
5d32f234 770ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf
44410185
JR
771
772# disable redundant SYSV services
773ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/allowlogin.service
4cc1cb1d 774ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/console.service
44410185
JR
775ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/cpusets.service
776ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/killall.service
777ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/netfs.service
778ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/random.service
5d32f234 779
f1586299 780# add static (non-NetworkManager) networking
216f25d7 781cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/network.service
f1586299 782
d833377f
JR
783# restore bind-mounts /var/run -> run and /var/lock -> /run/lock
784# we don't have those directories symlinked
870fdd3d
JR
785cp -p %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/var-lock.mount
786cp -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/var-run.mount
0e50d607
JR
787ln -s ../var-lock.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
788ln -s ../var-run.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
d833377f 789
5f97ec0f 790# and remove mounting tmp on tmpfs by default
183de3c2 791%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants/tmp.mount
d833377f 792
77352d20 793# add /tmp cleanup service
50b8f452 794cp -p %{SOURCE14} $RPM_BUILD_ROOT%{systemdunitdir}/pld-clean-tmp.service
50b8f452 795install -p %{SOURCE15} $RPM_BUILD_ROOT/lib/systemd/pld-clean-tmp
50b8f452 796ln -s ../pld-clean-tmp.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
c3037397 797
e5f31a34
MK
798# Add inside container only SIGPWR handler which is used by lxc-stop
799install -p %{SOURCE20} $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr-container-shutdown.service
800install -d $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr.target.wants
b91c66ed 801ln -s ../sigpwr-container-shutdown.service $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr.target.wants
e5f31a34 802
77d7e0b4
JR
803# As of 207 the systemd-sysctl tool no longer natively reads the file /etc/sysctl.conf.
804# If desired, the file should be symlinked from /etc/sysctl.d/99-sysctl.conf.
805ln -s /etc/sysctl.conf $RPM_BUILD_ROOT/etc/sysctl.d/99-sysctl.conf
806
bb6fb962 807# Install rc-inetd replacement
acd85388 808cp -p %{SOURCE16} $RPM_BUILD_ROOT%{systemdunitdir}-generators/pld-rc-inetd-generator
bb6fb962
JR
809cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdunitdir}/rc-inetd.service
810
a98a12d9
JR
811cp -p %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system-preset/default.preset
812
2be4d5dc
JR
813cp -p %{SOURCE19} $RPM_BUILD_ROOT%{systemdunitdir}/prefdm.service
814
216f25d7 815# handled by rc-local sysv service, no need for generator
c06d9f8f
JB
816%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}-generators/systemd-rc-local-generator \
817 $RPM_BUILD_ROOT%{_mandir}/man8/systemd-rc-local-generator.8
216f25d7 818
72e4d9f8 819# provided by rc-scripts
acd85388 820%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/rc-local.service
72e4d9f8 821
2a61be78
TP
822# Make sure these directories are properly owned:
823# - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd,
824# - syslog _might_ be used by some syslog implementation (none for now),
825# - isn't dbus populated by dbus-systemd only (so to be moved there)?
1aed57ba 826install -d $RPM_BUILD_ROOT%{systemdunitdir}/{basic,dbus,halt,initrd,kexec,poweroff,reboot,shutdown,syslog}.target.wants
961baf80 827
acd85388 828# Make sure the shutdown/sleep drop-in dirs exist
c06d9f8f 829install -d $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-{shutdown,sleep}
acd85388 830
961baf80 831# Create new-style configuration files so that we can ghost-own them
e8e38afd 832touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,vconsole.conf}
4bbef33c 833
9d8b5dfe 834# Install SysV conversion tool for systemd
4f25b6ac 835install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
9d8b5dfe 836
5bb38820
JR
837# Create directory for service helper scripts
838install -d $RPM_BUILD_ROOT/lib/systemd/pld-helpers.d
839
909f05f5 840# to be enabled only when the packages are installed
e8e38afd
TP
841%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/*.target.wants/systemd-networkd.service \
842 $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/*.target.wants/systemd-networkd.socket \
843 $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/*.target.wants/systemd-resolved.service
909f05f5 844
9d8b5dfe 845install -d $RPM_BUILD_ROOT/var/log
5a65c84e
TP
846:> $RPM_BUILD_ROOT/var/log/btmp
847:> $RPM_BUILD_ROOT/var/log/wtmp
a761f93e 848
5d32f234 849%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
1d01bf93 850
995ed764
TR
851%find_lang %{name}
852
ede8d3e5 853%clean
854rm -rf $RPM_BUILD_ROOT
855
e0f956b2
JR
856%pre
857%groupadd -g 288 systemd-journal
565c6a39
JK
858%groupadd -g 316 systemd-network
859%useradd -u 316 -g 316 -d /var/log/journal -s /bin/false -c "Systemd Network Management" systemd-network
860%groupadd -g 317 systemd-resolve
861%useradd -u 317 -g 317 -d /var/log/journal -s /bin/false -c "Systemd Resolver" systemd-resolve
862%groupadd -g 318 systemd-timesync
863%useradd -u 318 -g 318 -d /var/log/journal -s /bin/false -c "Systemd Time Synchronization" systemd-timesync
864%groupadd -g 319 systemd-journal-remote
865%useradd -u 319 -g 319 -d /var/log/journal -s /bin/false -c "Systemd Journal Remote" systemd-journal-remote
866%groupadd -g 320 systemd-journal-upload
867%useradd -u 320 -g 320 -d /var/log/journal -s /bin/false -c "Systemd Journal Upload" systemd-journal-upload
c75f826c 868%groupadd -g 333 systemd-coredump
250043f7 869%useradd -u 333 -g 333 -d /var/log/journal -s /bin/false -c "Systemd Core Dumper" systemd-coredump
e0f956b2 870
9638c72f 871%post
ba7dc07d 872/bin/systemd-machine-id-setup || :
61652e98 873/lib/systemd/systemd-random-seed save || :
ba7dc07d
JR
874/bin/systemctl --system daemon-reexec || :
875/bin/journalctl --update-catalog || :
c3037397 876
961baf80 877%postun
85879912 878if [ $1 -ge 1 ]; then
ba7dc07d
JR
879 /bin/systemctl --system daemon-reload || :
880 /bin/systemctl try-restart systemd-logind.service || :
9638c72f 881fi
e0f956b2 882if [ "$1" = "0" ]; then
250043f7
JB
883 %userremove systemd-coredump
884 %groupremove systemd-coredump
885 %userremove systemd-network
886 %groupremove systemd-network
887 %userremove systemd-resolve
888 %groupremove systemd-resolve
889 %userremove systemd-timesync
890 %groupremove systemd-timesync
891 %userremove systemd-journal-remote
892 %groupremove systemd-journal-remote
893 %userremove systemd-journal-upload
894 %groupremove systemd-journal-upload
e0f956b2
JR
895 %groupremove systemd-journal
896fi
9638c72f 897
fd907fd5 898%triggerpostun -- systemd < 1:208-1
3d025d25
JR
899chgrp -R systemd-journal /var/log/journal
900chmod g+s /var/log/journal
901
fd907fd5 902%triggerpostun -- systemd < 1:220-1
4505f4b8
JR
903# https://bugs.freedesktop.org/show_bug.cgi?id=89202
904/bin/getfacl -p /var/log/journal/$(cat /etc/machine-id) | grep -v '^#' | sort -u | /bin/setfacl -R --set-file=- /var/log/journal/$(cat /etc/machine-id) || :
905
6db30c1e
JR
906%triggerpostun -- systemd-consoled < 1:232-1
907if [ -f %{_sysconfdir}/vconsole.conf.rpmsave ]; then
908 %{__mv} -f %{_sysconfdir}/vconsole.conf %{_sysconfdir}/vconsole.conf.rpmnew
909 %{__mv} -f %{_sysconfdir}/vconsole.conf.rpmsave %{_sysconfdir}/vconsole.conf
910fi
911
250043f7
JB
912%post libs -p /sbin/ldconfig
913%postun libs -p /sbin/ldconfig
011bccb6 914
961baf80 915%post units
85879912 916if [ $1 -eq 1 ]; then
961baf80 917 # Try to read default runlevel from the old inittab if it exists
ba7dc07d 918 runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2>/dev/null)
961baf80 919 if [ -z "$runlevel" ] ; then
4cc1cb1d 920 target="%{systemdunitdir}/graphical.target"
961baf80 921 else
4cc1cb1d 922 target="%{systemdunitdir}/runlevel$runlevel.target"
961baf80
AF
923 fi
924
925 # And symlink what we found to the new-style default.target
ba7dc07d 926 ln -s "$target" %{_sysconfdir}/systemd/system/default.target || :
cf819365 927
c457212c 928 # Setup hostname if not yet done so
007ebc13 929 if [ ! -s /etc/hostname ]; then
c457212c
ER
930 HOSTNAME=
931 [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
932 if [ -n "$HOSTNAME" -a "$HOSTNAME" != "pldmachine" ]; then
933 echo $HOSTNAME > /etc/hostname
934 chmod 644 /etc/hostname
935 fi
cf819365 936 fi
44410185
JR
937
938 # Enable the services we install by default.
939 /bin/systemctl enable \
44410185
JR
940 network.service \
941 remote-fs.target \
942 systemd-readahead-replay.service \
cbba36f4 943 systemd-readahead-collect.service \
ba7dc07d 944 systemd-udev-settle.service || :
9638c72f 945fi
c3037397
ER
946
947%preun units
961baf80
AF
948if [ $1 -eq 0 ] ; then
949 /bin/systemctl disable \
f1586299 950 network.service \
961baf80
AF
951 remote-fs.target \
952 systemd-readahead-replay.service \
cbba36f4 953 systemd-readahead-collect.service \
ba7dc07d 954 systemd-udev-settle.service || :
961baf80 955
ba7dc07d 956 %{__rm} -f %{_sysconfdir}/systemd/system/default.target || :
c3037397 957fi
9638c72f 958
961baf80 959%postun units
85879912 960if [ $1 -ge 1 ]; then
ba7dc07d 961 /bin/systemctl daemon-reload || :
9638c72f 962fi
963
2386bcb6 964%triggerpostun units -- systemd-units < 43-7
44410185 965# Remove design fialures
ba7dc07d
JR
966%{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service || :
967%{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service || :
968%{__rm} -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service || :
969/bin/systemctl reenable network.service || :
44410185 970
cde7998d 971%triggerpostun units -- systemd-units < 1:183
ba7dc07d
JR
972/bin/systemctl --quiet enable systemd-udev-settle.service || :
973%{__rm} -f /etc/systemd/system/basic.target.wants/udev-settle.service || :
6f109eab
JR
974# preserve renamed configs
975if [ -f /etc/systemd/systemd-journald.conf.rpmsave ]; then
976 %{__mv} /etc/systemd/journald.conf{,.rpmnew}
977 %{__mv} -f /etc/systemd/systemd-journald.conf.rpmsave /etc/systemd/journald.conf
978fi
979if [ -f /etc/systemd/systemd-logind.conf.rpmsave ]; then
980 %{__mv} /etc/systemd/logind.conf{,.rpmnew}
981 %{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf
982fi
cbba36f4 983
a98a12d9
JR
984%triggerpostun units -- systemd-units < 1:187-3
985if [ -f /etc/sysconfig/rpm ]; then
986 . /etc/sysconfig/rpm
987 if [ ${RPM_ENABLE_SYSTEMD_SERVICE:-yes} = no ]; then
988 echo "disable *" >>%{_sysconfdir}/systemd/system-preset/default.preset
989 fi
990fi
991
b45719fb
JK
992%triggerpostun units -- systemd-units < 1:208-9
993# remove buggy symlink
994if [ -L /etc/systemd/system/getty.target.wants/getty@.service ] ; then
995 rm -f /etc/systemd/system/getty.target.wants/getty@.service || :
996fi
997
bb6fb962
JR
998%post inetd
999%systemd_reload
f96cfa86
JR
1000# Do not change it to restart, we only want to start new services here
1001%systemd_service_start sockets.target
bb6fb962
JR
1002
1003%postun inetd
1004%systemd_reload
1005
48066926
ER
1006%pre journal-gateway
1007%groupadd -g 287 systemd-journal-gateway
1008%useradd -u 287 -g 287 -d /var/log/journal -s /bin/false -c "Systemd Journal Gateway" systemd-journal-gateway
1009
1010%post journal-gateway
1011%systemd_post systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
1012
1013%preun journal-gateway
1014%systemd_preun systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
1015
1016%postun journal-gateway
1017%systemd_reload
1018
1019if [ "$1" = "0" ]; then
1020 %userremove systemd-journal-gateway
1021 %groupremove systemd-journal-gateway
1022fi
1023
909f05f5 1024%post networkd
2f2b39e6 1025%systemd_post systemd-networkd.socket systemd-networkd.service
909f05f5
JK
1026
1027%preun networkd
2f2b39e6 1028%systemd_preun systemd-networkd.socket systemd-networkd.service
909f05f5
JK
1029
1030%postun networkd
1031%systemd_reload
1032
1033%post resolved
1034%systemd_post systemd-resolved.service
1035
1036%preun resolved
1037%systemd_preun systemd-resolved.service
1038
1039%postun resolved
1040%systemd_reload
1041
30121190
JR
1042%triggerpostun -n udev-core -- dev
1043if [ "$2" = 0 ]; then
1044 # need to kill and restart udevd as after obsoleting dev package the
1045 # /dev tree will remain empty. umask is needed as otherwise udev will
1046 # create devices with strange permissions (udev bug probably)
1047 umask 000
1048 /sbin/start_udev || exit 0
1049fi
1050
1051%triggerpostun -n udev-core -- udev < 108
1052%{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules
1053%if "%{_lib}" != "lib"
1054%{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules
1055%endif
1056
1057%triggerpostun -n udev-core -- udev < 165
1058/sbin/udevadm info --convert-db
1059
30121190 1060%post -n udev-core
ba7dc07d 1061/sbin/udevadm hwdb --update || :
30121190
JR
1062if [ $1 -gt 1 ]; then
1063 if [ ! -x /bin/systemd_booted ] || ! /bin/systemd_booted; then
1064 if grep -qs devtmpfs /proc/mounts && [ -n "$(pidof udevd)" ]; then
1065 /sbin/udevadm control --exit
ac4b515a 1066 /lib/udev/udevd --daemon
30121190
JR
1067 fi
1068 else
1069 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
2bf49637 1070 /bin/systemctl --quiet try-restart systemd-udevd.service || :
30121190
JR
1071 fi
1072fi
30121190
JR
1073
1074%postun -n udev-core
cbba36f4
JR
1075if [ -x /bin/systemd_booted ] && /bin/systemd_booted; then
1076 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
1077 /bin/systemctl --quiet daemon-reload || :
1078fi
30121190
JR
1079
1080%post -n udev-libs -p /sbin/ldconfig
1081%postun -n udev-libs -p /sbin/ldconfig
1082
995ed764 1083%files -f %{name}.lang
ede8d3e5 1084%defattr(644,root,root,755)
7d414874 1085%doc doc/DISTRO_PORTING NEWS README TODO
8e27187e
AM
1086%{_datadir}/dbus-1/system.d/org.freedesktop.hostname1.conf
1087%{_datadir}/dbus-1/system.d/org.freedesktop.import1.conf
1088%{_datadir}/dbus-1/system.d/org.freedesktop.locale1.conf
1089%{_datadir}/dbus-1/system.d/org.freedesktop.login1.conf
1090%{_datadir}/dbus-1/system.d/org.freedesktop.machine1.conf
1091%{_datadir}/dbus-1/system.d/org.freedesktop.systemd1.conf
1092%{_datadir}/dbus-1/system.d/org.freedesktop.timedate1.conf
7dfd6655 1093%{_datadir}/dbus-1/system.d/org.freedesktop.timesync1.conf
b5bcdcf6 1094%attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh
e8e38afd 1095%attr(444,root,root) %ghost %config(noreplace) %{_sysconfdir}/machine-id
b77423ae
AF
1096%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname
1097%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf
1098%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info
b77423ae 1099%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf
c06d9f8f
JB
1100%dir %{_sysconfdir}/kernel
1101%dir %{_sysconfdir}/kernel/install.d
995ed764 1102%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/coredump.conf
f5bd7642 1103%if %{with microhttpd}
ed4d2b1f
AM
1104%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journal-remote.conf
1105%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journal-upload.conf
f5bd7642 1106%endif
c75fd19d
JR
1107%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journald.conf
1108%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/logind.conf
1109%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system.conf
995ed764 1110%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/timesyncd.conf
c75fd19d 1111%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/user.conf
2a61be78 1112%dir %{_sysconfdir}/systemd/user
2f2b39e6
JR
1113%dir %{_sysconfdir}/systemd/system/getty.target.wants
1114%dir %{_sysconfdir}/systemd/system/multi-user.target.wants
1115%dir %{_sysconfdir}/systemd/system/sockets.target.wants
1116%dir %{_sysconfdir}/systemd/system/sysinit.target.wants
1117%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/getty.target.wants/getty@tty1.service
14c009d9 1118%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/multi-user.target.wants/machines.target
f06261ce 1119%{?with_cryptsetup:%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/multi-user.target.wants/remote-cryptsetup.target}
2f2b39e6 1120%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/multi-user.target.wants/remote-fs.target
f06261ce 1121
e8e38afd 1122%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/sysinit.target.wants/systemd-timesyncd.service
77d7e0b4 1123%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/systemd-user
abd479ee 1124/etc/xdg/systemd
c75fd19d
JR
1125%attr(755,root,root) /bin/journalctl
1126%attr(755,root,root) /bin/loginctl
1aed57ba 1127%attr(755,root,root) /bin/machinectl
1dcb74bb 1128%attr(755,root,root) /bin/systemd
1129%attr(755,root,root) /bin/systemd-ask-password
ed4d2b1f
AM
1130%attr(755,root,root) /bin/systemd-escape
1131%attr(755,root,root) /bin/systemd-firstboot
c75fd19d 1132%attr(755,root,root) /bin/systemd-inhibit
7a76bc86 1133%attr(755,root,root) /bin/systemd-machine-id-setup
1dcb74bb 1134%attr(755,root,root) /bin/systemd-notify
995ed764 1135%attr(755,root,root) /bin/systemd-sysusers
1dcb74bb 1136%attr(755,root,root) /bin/systemd-tty-ask-password-agent
1ee0ca3d 1137%{?with_efi:%attr(755,root,root) %{_bindir}/bootctl}
995ed764
TR
1138%attr(755,root,root) %{_bindir}/busctl
1139%attr(755,root,root) %{_bindir}/coredumpctl
618c1d39 1140%attr(755,root,root) %{_bindir}/hostnamectl
be33f3c6 1141%attr(755,root,root) %{_bindir}/kernel-install
618c1d39 1142%attr(755,root,root) %{_bindir}/localectl
d374e721 1143%attr(755,root,root) %{_bindir}/systemd-cat
23107006 1144%attr(755,root,root) %{_bindir}/systemd-cgls
f8d07093 1145%attr(755,root,root) %{_bindir}/systemd-cgtop
c75fd19d
JR
1146%attr(755,root,root) %{_bindir}/systemd-delta
1147%attr(755,root,root) %{_bindir}/systemd-detect-virt
c75f826c 1148%attr(755,root,root) %{_bindir}/systemd-mount
57cd0d13 1149%attr(755,root,root) %{_bindir}/systemd-nspawn
995ed764 1150%attr(755,root,root) %{_bindir}/systemd-path
c75f826c 1151%attr(755,root,root) %{_bindir}/systemd-resolve
1aed57ba 1152%attr(755,root,root) %{_bindir}/systemd-run
c75f826c 1153%attr(755,root,root) %{_bindir}/systemd-socket-activate
57cd0d13 1154%attr(755,root,root) %{_bindir}/systemd-stdio-bridge
2a61be78 1155%attr(755,root,root) %{_bindir}/systemd-sysv-convert
9a2089f1 1156%attr(755,root,root) %{_bindir}/systemd-umount
f8d07093 1157%attr(755,root,root) %{_bindir}/timedatectl
c06d9f8f 1158/lib/modprobe.d/systemd.conf
2f2b39e6 1159/lib/systemd/import-pubring.gpg
14c009d9 1160/lib/systemd/resolv.conf
8a78a3e8 1161%attr(755,root,root) /lib/systemd/pld-clean-tmp
c75fd19d 1162%attr(755,root,root) /lib/systemd/systemd-ac-power
77d7e0b4 1163%attr(755,root,root) /lib/systemd/systemd-backlight
c75fd19d
JR
1164%attr(755,root,root) /lib/systemd/systemd-binfmt
1165%attr(755,root,root) /lib/systemd/systemd-cgroups-agent
1166%attr(755,root,root) /lib/systemd/systemd-coredump
657515ed 1167%{?with_cryptsetup:%attr(755,root,root) /lib/systemd/systemd-cryptsetup}
9a2089f1 1168%attr(755,root,root) /lib/systemd/systemd-dissect
7edc5189 1169%attr(755,root,root) /lib/systemd/systemd-export
c75fd19d 1170%attr(755,root,root) /lib/systemd/systemd-fsck
c06d9f8f 1171%attr(755,root,root) /lib/systemd/systemd-growfs
ed4d2b1f 1172%attr(755,root,root) /lib/systemd/systemd-hibernate-resume
c75fd19d 1173%attr(755,root,root) /lib/systemd/systemd-hostnamed
7edc5189 1174%attr(755,root,root) /lib/systemd/systemd-import
2f2b39e6 1175%attr(755,root,root) /lib/systemd/systemd-importd
c75fd19d
JR
1176%attr(755,root,root) /lib/systemd/systemd-initctl
1177%attr(755,root,root) /lib/systemd/systemd-journald
f5bd7642 1178%if %{with microhttpd}
995ed764 1179%attr(755,root,root) /lib/systemd/systemd-journal-remote
ed4d2b1f 1180%attr(755,root,root) /lib/systemd/systemd-journal-upload
f5bd7642 1181%endif
c75fd19d
JR
1182%attr(755,root,root) /lib/systemd/systemd-localed
1183%attr(755,root,root) /lib/systemd/systemd-logind
1aed57ba 1184%attr(755,root,root) /lib/systemd/systemd-machined
c06d9f8f 1185%attr(755,root,root) /lib/systemd/systemd-makefs
c75fd19d 1186%attr(755,root,root) /lib/systemd/systemd-modules-load
2f2b39e6 1187%attr(755,root,root) /lib/systemd/systemd-pull
c75fd19d
JR
1188%attr(755,root,root) /lib/systemd/systemd-quotacheck
1189%attr(755,root,root) /lib/systemd/systemd-random-seed
c75fd19d
JR
1190%attr(755,root,root) /lib/systemd/systemd-remount-fs
1191%attr(755,root,root) /lib/systemd/systemd-reply-password
995ed764 1192%attr(755,root,root) /lib/systemd/systemd-rfkill
c75fd19d 1193%attr(755,root,root) /lib/systemd/systemd-shutdown
c75fd19d 1194%attr(755,root,root) /lib/systemd/systemd-sleep
995ed764 1195%attr(755,root,root) /lib/systemd/systemd-socket-proxyd
9a2089f1 1196%attr(755,root,root) /lib/systemd/systemd-sulogin-shell
c75fd19d 1197%attr(755,root,root) /lib/systemd/systemd-sysctl
7dfd6655 1198%attr(755,root,root) /lib/systemd/systemd-time-wait-sync
c75fd19d 1199%attr(755,root,root) /lib/systemd/systemd-timedated
995ed764 1200%attr(755,root,root) /lib/systemd/systemd-timesyncd
cbba36f4 1201%attr(755,root,root) /lib/systemd/systemd-udevd
c75fd19d 1202%attr(755,root,root) /lib/systemd/systemd-update-utmp
995ed764 1203%attr(755,root,root) /lib/systemd/systemd-update-done
7dfd6655 1204%attr(755,root,root) /lib/systemd/systemd-user-runtime-dir
c75fd19d
JR
1205%attr(755,root,root) /lib/systemd/systemd-user-sessions
1206%attr(755,root,root) /lib/systemd/systemd-vconsole-setup
9a2089f1
AM
1207%attr(755,root,root) /lib/systemd/systemd-veritysetup
1208%attr(755,root,root) /lib/systemd/systemd-volatile-root
4389e6f9 1209%attr(755,root,root) /lib/systemd/systemd
2f2b39e6
JR
1210%{?with_cryptsetup:%attr(755,root,root) /lib/systemd/system-generators/systemd-cryptsetup-generator}
1211%attr(755,root,root) /lib/systemd/system-generators/systemd-debug-generator
2f2b39e6
JR
1212%attr(755,root,root) /lib/systemd/system-generators/systemd-fstab-generator
1213%attr(755,root,root) /lib/systemd/system-generators/systemd-getty-generator
1214%attr(755,root,root) /lib/systemd/system-generators/systemd-gpt-auto-generator
1215%attr(755,root,root) /lib/systemd/system-generators/systemd-hibernate-resume-generator
1216%attr(755,root,root) /lib/systemd/system-generators/systemd-system-update-generator
1217%attr(755,root,root) /lib/systemd/system-generators/systemd-sysv-generator
8e27187e 1218%attr(755,root,root) /lib/systemd/system-generators/systemd-veritysetup-generator
083c9991
MM
1219%dir /lib/systemd/network
1220/lib/systemd/network/99-default.link
9a2089f1
AM
1221/lib/udev/rules.d/60-input-id.rules
1222/lib/udev/rules.d/60-sensor.rules
1223/lib/udev/rules.d/70-joystick.rules
961baf80
AF
1224/lib/udev/rules.d/70-uaccess.rules
1225/lib/udev/rules.d/71-seat.rules
1226/lib/udev/rules.d/73-seat-late.rules
f8d07093 1227/lib/udev/rules.d/99-systemd.rules
c06d9f8f
JB
1228%{_prefix}/lib/environment.d/99-environment.conf
1229%dir %{_prefix}/lib/kernel
1230%dir %{_prefix}/lib/kernel/install.d
1231%{_prefix}/lib/kernel/install.d/50-depmod.install
1232%{_prefix}/lib/kernel/install.d/90-loaderentry.install
14caeae7 1233%if %{with efi}
c06d9f8f
JB
1234%dir %{_prefix}/lib/systemd/boot
1235%dir %{_prefix}/lib/systemd/boot/efi
14caeae7 1236%ifarch %{ix86}
c06d9f8f
JB
1237%{_prefix}/lib/systemd/boot/efi/linuxia32.efi.stub
1238%{_prefix}/lib/systemd/boot/efi/systemd-bootia32.efi
14caeae7
JB
1239%endif
1240%ifarch %{x8664} x32
c06d9f8f
JB
1241%{_prefix}/lib/systemd/boot/efi/linuxx64.efi.stub
1242%{_prefix}/lib/systemd/boot/efi/systemd-bootx64.efi
14caeae7
JB
1243%endif
1244%ifarch aarch64
c06d9f8f
JB
1245%{_prefix}/lib/systemd/boot/efi/linuxaa64.efi.stub
1246%{_prefix}/lib/systemd/boot/efi/systemd-bootaa64.efi
14caeae7
JB
1247%endif
1248%endif
c06d9f8f
JB
1249%{_prefix}/lib/systemd/catalog/systemd.catalog
1250%lang(be) %{_prefix}/lib/systemd/catalog/systemd.be.catalog
1251%lang(be) %{_prefix}/lib/systemd/catalog/systemd.be@latin.catalog
1252%lang(bg) %{_prefix}/lib/systemd/catalog/systemd.bg.catalog
1253%lang(de) %{_prefix}/lib/systemd/catalog/systemd.de.catalog
1254%lang(fr) %{_prefix}/lib/systemd/catalog/systemd.fr.catalog
1255%lang(it) %{_prefix}/lib/systemd/catalog/systemd.it.catalog
1256%lang(pl) %{_prefix}/lib/systemd/catalog/systemd.pl.catalog
1257%lang(pt_BR) %{_prefix}/lib/systemd/catalog/systemd.pt_BR.catalog
1258%lang(ru) %{_prefix}/lib/systemd/catalog/systemd.ru.catalog
1259%lang(zh_CN) %{_prefix}/lib/systemd/catalog/systemd.zh_CN.catalog
1260%lang(zh_TW) %{_prefix}/lib/systemd/catalog/systemd.zh_TW.catalog
1261%dir %{_prefix}/lib/sysusers.d
1262%{_prefix}/lib/sysusers.d/basic.conf
1263%{_prefix}/lib/sysusers.d/systemd.conf
f5bd7642 1264%if %{with microhttpd}
c06d9f8f 1265%{_prefix}/lib/sysusers.d/systemd-remote.conf
f5bd7642 1266%endif
c06d9f8f
JB
1267%{_prefix}/lib/tmpfiles.d/etc.conf
1268%{_prefix}/lib/tmpfiles.d/home.conf
1269%{_prefix}/lib/tmpfiles.d/journal-nocow.conf
1270%{_prefix}/lib/tmpfiles.d/legacy.conf
1271%{_prefix}/lib/tmpfiles.d/systemd.conf
1272%{_prefix}/lib/tmpfiles.d/systemd-nologin.conf
1273%{_prefix}/lib/tmpfiles.d/systemd-nspawn.conf
1274%{_prefix}/lib/tmpfiles.d/tmp.conf
1275%{_prefix}/lib/tmpfiles.d/var.conf
1276%{_prefix}/lib/tmpfiles.d/x11.conf
1277%{_prefix}/lib/sysctl.d/50-coredump.conf
1c239f8b 1278%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
6e34428f 1279%{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
2f2b39e6 1280%{_datadir}/dbus-1/system-services/org.freedesktop.import1.service
961baf80
AF
1281%{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
1282%{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
1aed57ba 1283%{_datadir}/dbus-1/system-services/org.freedesktop.machine1.service
1c239f8b 1284%{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
961baf80 1285%{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
7dfd6655 1286%{_datadir}/dbus-1/system-services/org.freedesktop.timesync1.service
6e34428f 1287%{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
2f2b39e6 1288%{_datadir}/polkit-1/actions/org.freedesktop.import1.policy
961baf80
AF
1289%{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
1290%{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
2f2b39e6 1291%{_datadir}/polkit-1/actions/org.freedesktop.machine1.policy
961baf80
AF
1292%{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
1293%{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
9a2089f1 1294%{_datadir}/polkit-1/rules.d/systemd-networkd.rules
961baf80 1295%dir %{_datadir}/systemd
f8d07093 1296%{?with_microhttpd:%{_datadir}/systemd/gatewayd}
961baf80 1297%{_datadir}/systemd/kbd-model-map
2f2b39e6 1298%{_datadir}/systemd/language-fallback-map
d1ac392b
JK
1299%{_datadir}/factory/etc/nsswitch.conf
1300%{_datadir}/factory/etc/pam.d/other
1301%{_datadir}/factory/etc/pam.d/system-auth
1ee0ca3d 1302%{?with_efi:%{_mandir}/man1/bootctl.1*}
995ed764
TR
1303%{_mandir}/man1/busctl.1*
1304%{_mandir}/man1/coredumpctl.1*
618c1d39 1305%{_mandir}/man1/hostnamectl.1*
c75fd19d 1306%{_mandir}/man1/journalctl.1*
f8d07093 1307%{_mandir}/man1/localectl.1*
c75fd19d 1308%{_mandir}/man1/loginctl.1*
11fa1d33 1309%{_mandir}/man1/machinectl.1*
7a76bc86 1310%{_mandir}/man1/systemd.1*
c75fd19d
JR
1311%{_mandir}/man1/systemd-ask-password.1*
1312%{_mandir}/man1/systemd-cat.1*
1313%{_mandir}/man1/systemd-cgls.1*
1314%{_mandir}/man1/systemd-cgtop.1*
1315%{_mandir}/man1/systemd-delta.1*
1316%{_mandir}/man1/systemd-detect-virt.1*
ed4d2b1f
AM
1317%{_mandir}/man1/systemd-escape.1*
1318%{_mandir}/man1/systemd-firstboot.1*
1319%{_mandir}/man1/systemd-firstboot.service.1*
c75fd19d
JR
1320%{_mandir}/man1/systemd-inhibit.1*
1321%{_mandir}/man1/systemd-machine-id-setup.1*
c75f826c 1322%{_mandir}/man1/systemd-mount.1*
c75fd19d
JR
1323%{_mandir}/man1/systemd-notify.1*
1324%{_mandir}/man1/systemd-nspawn.1*
995ed764 1325%{_mandir}/man1/systemd-path.1*
11fa1d33 1326%{_mandir}/man1/systemd-run.1*
c75f826c 1327%{_mandir}/man1/systemd-socket-activate.1*
4400c575 1328%{_mandir}/man1/systemd-tty-ask-password-agent.1*
9a2089f1 1329%{_mandir}/man1/systemd-umount.1*
f8d07093 1330%{_mandir}/man1/timedatectl.1*
6e34428f 1331%{_mandir}/man5/binfmt.d.5*
995ed764 1332%{_mandir}/man5/coredump.conf.5*
7dffbad7 1333%{_mandir}/man5/coredump.conf.d.5*
14c009d9 1334%{_mandir}/man5/dnssec-trust-anchors.d.5*
1c239f8b 1335%{_mandir}/man5/hostname.5*
7dfd6655 1336%{_mandir}/man5/loader.conf.5*
7edc5189
JR
1337%if %{with microhttpd}
1338%{_mandir}/man5/journal-remote.conf.5*
1339%{_mandir}/man5/journal-remote.conf.d.5*
c75f826c
AM
1340%{_mandir}/man5/journal-upload.conf.5.*
1341%{_mandir}/man5/journal-upload.conf.d.5*
7edc5189 1342%endif
c75fd19d 1343%{_mandir}/man5/journald.conf.5*
7dffbad7 1344%{_mandir}/man5/journald.conf.d.5*
1c239f8b 1345%{_mandir}/man5/locale.conf.5*
618c1d39 1346%{_mandir}/man5/localtime.5*
c75fd19d 1347%{_mandir}/man5/logind.conf.5*
7dffbad7 1348%{_mandir}/man5/logind.conf.d.5*
7a76bc86 1349%{_mandir}/man5/machine-id.5*
6e34428f 1350%{_mandir}/man5/machine-info.5*
1c239f8b 1351%{_mandir}/man5/modules-load.d.5*
1352%{_mandir}/man5/os-release.5*
7dffbad7 1353%{_mandir}/man5/sleep.conf.d.5*
6e34428f 1354%{_mandir}/man5/sysctl.d.5*
7dffbad7 1355%{_mandir}/man5/system.conf.d.5*
89d58574 1356%{_mandir}/man5/systemd.*.5*
890c04f0 1357%{_mandir}/man5/systemd-sleep.conf.5*
be33f3c6
JR
1358%{_mandir}/man5/systemd-system.conf.5*
1359%{_mandir}/man5/systemd-user.conf.5*
995ed764 1360%{_mandir}/man5/sysusers.d.5*
ed4d2b1f 1361%{_mandir}/man5/timesyncd.conf.5*
7dffbad7
JK
1362%{_mandir}/man5/timesyncd.conf.d.5*
1363%{_mandir}/man5/user.conf.d.5*
23107006 1364%{_mandir}/man5/vconsole.conf.5*
4400c575 1365%{_mandir}/man7/bootup.7*
1c239f8b 1366%{_mandir}/man7/daemon.7*
995ed764 1367%{_mandir}/man7/file-hierarchy.7*
4400c575 1368%{_mandir}/man7/kernel-command-line.7*
7dfd6655
JB
1369%{_mandir}/man7/sd-boot.7*
1370%{_mandir}/man7/systemd-boot.7*
be33f3c6 1371%{_mandir}/man7/systemd.directives.7*
9a2089f1 1372%{_mandir}/man7/systemd.environment-generator.7*
2f2b39e6 1373%{_mandir}/man7/systemd.generator.7*
be33f3c6 1374%{_mandir}/man7/systemd.index.7*
c75fd19d 1375%{_mandir}/man7/systemd.journal-fields.7*
14c009d9 1376%{_mandir}/man7/systemd.offline-updates.7*
4400c575 1377%{_mandir}/man7/systemd.special.7*
7dfd6655 1378%{_mandir}/man7/systemd.syntax.7*
2be4d5dc 1379%{_mandir}/man7/systemd.time.7*
be33f3c6 1380%{_mandir}/man8/kernel-install.8*
de1f2a1e
JB
1381%{_mandir}/man8/libnss_myhostname.so.2.8*
1382%{_mandir}/man8/libnss_mymachines.so.2.8*
2be4d5dc 1383%{_mandir}/man8/nss-myhostname.8*
2f2b39e6 1384%{_mandir}/man8/nss-mymachines.8*
77d7e0b4 1385%{_mandir}/man8/systemd-backlight.8*
4f1f9baf 1386%{_mandir}/man8/systemd-binfmt.8*
ed4d2b1f 1387%{_mandir}/man8/systemd-coredump.8*
657515ed 1388%{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup-generator.8*}
2f2b39e6 1389%{_mandir}/man8/systemd-debug-generator.8*
f8d07093 1390%{_mandir}/man8/systemd-fsck.8*
4400c575
JR
1391%{_mandir}/man8/systemd-fstab-generator.8*
1392%{_mandir}/man8/systemd-getty-generator.8*
c06d9f8f
JB
1393%{_mandir}/man8/systemd-gpt-auto-generator.8*
1394%{_mandir}/man8/systemd-growfs.8*
1395%{_mandir}/man8/systemd-growfs@.service.8*
ed4d2b1f
AM
1396%{_mandir}/man8/systemd-hibernate-resume-generator.8*
1397%{_mandir}/man8/systemd-hibernate-resume.8*
1398%{_mandir}/man8/systemd-hibernate-resume@.service.8*
4400c575 1399%{_mandir}/man8/systemd-hostnamed.8*
c75f826c 1400%{_mandir}/man8/systemd-importd.8*
4400c575 1401%{_mandir}/man8/systemd-initctl.8*
de1f2a1e 1402%{_mandir}/man8/systemd-journald-dev-log.socket.8*
4f1f9baf 1403%{_mandir}/man8/systemd-journald.8*
f5bd7642 1404%if %{with microhttpd}
9538a6a4
JR
1405%{_mandir}/man8/systemd-journal-remote.8*
1406%{_mandir}/man8/systemd-journal-upload.8*
f5bd7642 1407%endif
4400c575 1408%{_mandir}/man8/systemd-localed.8*
4f1f9baf 1409%{_mandir}/man8/systemd-logind.8*
11fa1d33 1410%{_mandir}/man8/systemd-machined.8*
7dffbad7 1411%{_mandir}/man8/systemd-machine-id-commit.service.8*
c06d9f8f
JB
1412%{_mandir}/man8/systemd-makefs.8*
1413%{_mandir}/man8/systemd-makefs@.service.8*
1414%{_mandir}/man8/systemd-makeswap@.service.8*
4f1f9baf 1415%{_mandir}/man8/systemd-modules-load.8*
4400c575
JR
1416%{_mandir}/man8/systemd-quotacheck.8*
1417%{_mandir}/man8/systemd-random-seed.8*
4400c575 1418%{_mandir}/man8/systemd-remount-fs.8*
de1f2a1e 1419%{_mandir}/man8/systemd-rfkill.8*
c75f826c 1420%{_mandir}/man8/systemd-rfkill.service.8*
4400c575 1421%{_mandir}/man8/systemd-shutdown.8*
4400c575 1422%{_mandir}/man8/systemd-sleep.8*
2f2b39e6 1423%{_mandir}/man8/systemd-socket-proxyd.8*
4f1f9baf 1424%{_mandir}/man8/systemd-sysctl.8*
4400c575 1425%{_mandir}/man8/systemd-system-update-generator.8*
2f2b39e6 1426%{_mandir}/man8/systemd-sysusers.8*
de1f2a1e 1427%{_mandir}/man8/systemd-sysusers.service.8*
9a2089f1 1428%{_mandir}/man8/systemd-sysv-generator.8*
7dfd6655 1429%{_mandir}/man8/systemd-time-wait-sync.8*
4400c575 1430%{_mandir}/man8/systemd-timedated.8*
de1f2a1e 1431%{_mandir}/man8/systemd-timesyncd.8*
2f2b39e6 1432%{_mandir}/man8/systemd-timesyncd.service.8*
cbba36f4 1433%{_mandir}/man8/systemd-udevd.8*
de1f2a1e 1434%{_mandir}/man8/systemd-update-done.8*
2f2b39e6 1435%{_mandir}/man8/systemd-update-done.service.8*
4400c575
JR
1436%{_mandir}/man8/systemd-update-utmp.8*
1437%{_mandir}/man8/systemd-user-sessions.8*
1438%{_mandir}/man8/systemd-vconsole-setup.8*
9a2089f1
AM
1439%{_mandir}/man8/systemd-veritysetup.8*
1440%{_mandir}/man8/systemd-veritysetup-generator.8*
1441%{_mandir}/man8/systemd-veritysetup@.service.8*
1442%{_mandir}/man8/systemd-volatile-root.8*
1443%{_mandir}/man8/systemd-volatile-root.service.8*
9cd5ebd6 1444%attr(700,root,root) %dir /var/lib/machines
24f95219
ER
1445%dir /var/lib/%{name}
1446%dir /var/lib/%{name}/coredump
231314d2
ER
1447%dir /var/lib/%{name}/catalog
1448%attr(640,root,root) %ghost /var/lib/%{name}/random-seed
e8e38afd 1449%attr(600,root,utmp) %ghost /var/log/btmp
a761f93e 1450%attr(664,root,utmp) %ghost /var/log/wtmp
3d025d25 1451%attr(2755,root,systemd-journal) %dir /var/log/journal
c06d9f8f 1452%attr(2755,root,systemd-journal) %dir /var/log/journal/remote
c3037397 1453
6c89bbd4 1454%if %{with pam}
a86320a6 1455%attr(755,root,root) /%{_lib}/security/pam_systemd.so
6c89bbd4
ER
1456%{_mandir}/man8/pam_systemd.8*
1457%endif
1458
c97dacdd 1459%files init
5b9bde26 1460%defattr(644,root,root,755)
c97dacdd
TP
1461%attr(755,root,root) /sbin/halt
1462%attr(755,root,root) /sbin/init
1463%attr(755,root,root) /sbin/poweroff
1464%attr(755,root,root) /sbin/reboot
1465%attr(755,root,root) /sbin/runlevel
1466%attr(755,root,root) /sbin/shutdown
1467%attr(755,root,root) /sbin/telinit
8cb53aef 1468%{_mandir}/man1/init.1*
dd480017 1469%{?with_cryptsetup:%{_mandir}/man5/crypttab.5*}
c97dacdd 1470%{_mandir}/man8/halt.8*
8cb53aef
JB
1471%{_mandir}/man8/poweroff.8*
1472%{_mandir}/man8/reboot.8*
c97dacdd
TP
1473%{_mandir}/man8/runlevel.8*
1474%{_mandir}/man8/shutdown.8*
1475%{_mandir}/man8/telinit.8*
1476
c3037397
ER
1477%files units
1478%defattr(644,root,root,755)
abd479ee
MB
1479%dir %{_sysconfdir}/binfmt.d
1480%dir %{_sysconfdir}/modules-load.d
5d32f234 1481%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf
abd479ee 1482%dir %{_sysconfdir}/sysctl.d
77d7e0b4 1483%{_sysconfdir}/sysctl.d/99-sysctl.conf
c3037397
ER
1484%dir %{_sysconfdir}/systemd
1485%dir %{_sysconfdir}/systemd/system
a98a12d9
JR
1486%dir %{_sysconfdir}/systemd/system-preset
1487%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system-preset/default.preset
c3037397 1488%dir %{_sysconfdir}/tmpfiles.d
c06d9f8f
JB
1489%dir %{_prefix}/lib/environment.d
1490%dir %{_prefix}/lib/modules-load.d
1491%dir %{_prefix}/lib/sysctl.d
1492%{_prefix}/lib/sysctl.d/50-default.conf
1493%dir %{_prefix}/lib/systemd
1494%dir %{_prefix}/lib/systemd/catalog
1495%dir %{_prefix}/lib/systemd/system-shutdown
1496%dir %{_prefix}/lib/systemd/system-sleep
1497%dir %{_prefix}/lib/systemd/user
1498%{_prefix}/lib/systemd/user/basic.target
1499%{_prefix}/lib/systemd/user/bluetooth.target
1500%{_prefix}/lib/systemd/user/default.target
1501%{_prefix}/lib/systemd/user/exit.target
1502%{_prefix}/lib/systemd/user/paths.target
1503%{_prefix}/lib/systemd/user/printer.target
1504%{_prefix}/lib/systemd/user/shutdown.target
1505%{_prefix}/lib/systemd/user/smartcard.target
1506%{_prefix}/lib/systemd/user/sockets.target
1507%{_prefix}/lib/systemd/user/sound.target
1508%{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.service
1509%{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.timer
1510%{_prefix}/lib/systemd/user/systemd-tmpfiles-setup.service
1511%{_prefix}/lib/systemd/user/timers.target
1512%{_prefix}/lib/systemd/user/systemd-exit.service
1513%dir %{_prefix}/lib/systemd/user-generators
1514%dir %{_prefix}/lib/systemd/user-environment-generators
1515%attr(755,root,root) %{_prefix}/lib/systemd/user-environment-generators/30-systemd-environment-d-generator
1516%dir %{_prefix}/lib/systemd/user-preset
1517%{_prefix}/lib/systemd/user-preset/90-systemd.preset
5bb38820 1518%dir /lib/systemd/pld-helpers.d
95ffdd1e 1519%dir /lib/systemd/system-generators
995ed764
TR
1520%dir /lib/systemd/system-preset
1521/lib/systemd/system-preset/90-systemd.preset
16f4419f 1522%dir /lib/systemd/system-sleep
828362e7 1523%dir /lib/systemd/system-shutdown
c3037397
ER
1524%attr(755,root,root) /bin/systemctl
1525%attr(755,root,root) /bin/systemd-tmpfiles
b77423ae 1526%attr(755,root,root) /bin/systemd_booted
c3037397 1527%{_mandir}/man1/systemctl.1*
89d58574 1528%{_mandir}/man5/tmpfiles.d.5*
9a2089f1 1529%{_mandir}/man5/environment.d.5*
c3037397 1530%{_mandir}/man8/systemd-tmpfiles.8*
7edc5189 1531%{_npkgconfigdir}/systemd.pc
2f2b39e6 1532
c75f826c
AM
1533%{systemdunitdir}/dev-hugepages.mount
1534%{systemdunitdir}/dev-mqueue.mount
1535%{systemdunitdir}/initrd-root-device.target
2f2b39e6 1536%{systemdunitdir}/proc-sys-fs-binfmt_misc.automount
2f2b39e6 1537%{systemdunitdir}/proc-sys-fs-binfmt_misc.mount
c75f826c 1538%{systemdunitdir}/sockets.target.wants/systemd-coredump.socket
2f2b39e6
JR
1539%{systemdunitdir}/sys-fs-fuse-connections.mount
1540%{systemdunitdir}/sys-kernel-config.mount
1541%{systemdunitdir}/sys-kernel-debug.mount
c75f826c
AM
1542%{systemdunitdir}/systemd-coredump@.service
1543%{systemdunitdir}/systemd-coredump.socket
1544%{systemdunitdir}/systemd-exit.service
1545%{systemdunitdir}/systemd-rfkill.socket
2f2b39e6 1546%{systemdunitdir}/tmp.mount
7edc5189 1547%{systemdunitdir}/var-lib-machines.mount
2f2b39e6
JR
1548%{systemdunitdir}/var-lock.mount
1549%{systemdunitdir}/var-run.mount
1550%{systemdunitdir}/systemd-ask-password-console.path
1551%{systemdunitdir}/systemd-ask-password-wall.path
1552%{systemdunitdir}/allowlogin.service
1553%{systemdunitdir}/autovt@.service
1554%{systemdunitdir}/console-getty.service
2f2b39e6
JR
1555%{systemdunitdir}/console.service
1556%{systemdunitdir}/container-getty@.service
1557%{systemdunitdir}/cpusets.service
1558%{systemdunitdir}/dbus-org.freedesktop.hostname1.service
1559%{systemdunitdir}/dbus-org.freedesktop.import1.service
1560%{systemdunitdir}/dbus-org.freedesktop.locale1.service
1561%{systemdunitdir}/dbus-org.freedesktop.login1.service
1562%{systemdunitdir}/dbus-org.freedesktop.machine1.service
1563%{systemdunitdir}/dbus-org.freedesktop.timedate1.service
1564%{systemdunitdir}/debug-shell.service
1565%{systemdunitdir}/display-manager.service
1566%{systemdunitdir}/emergency.service
1567%{systemdunitdir}/getty@.service
1568%{systemdunitdir}/halt-local.service
1569%{systemdunitdir}/initrd-cleanup.service
1570%{systemdunitdir}/initrd-parse-etc.service
1571%{systemdunitdir}/initrd-switch-root.service
1572%{systemdunitdir}/initrd-udevadm-cleanup-db.service
1573%{systemdunitdir}/killall.service
1574%{systemdunitdir}/kmod-static-nodes.service
1575%{systemdunitdir}/ldconfig.service
1576%{systemdunitdir}/netfs.service
1577%{systemdunitdir}/network.service
1578%{systemdunitdir}/pld-clean-tmp.service
2f2b39e6
JR
1579%{systemdunitdir}/prefdm.service
1580%{systemdunitdir}/quotaon.service
1581%{systemdunitdir}/random.service
1582%{systemdunitdir}/rescue.service
1583%{systemdunitdir}/serial-getty@.service
1584%{systemdunitdir}/single.service
e5f31a34 1585%{systemdunitdir}/sigpwr-container-shutdown.service
7dfd6655 1586%{systemdunitdir}/suspend-then-hibernate.target
2f2b39e6 1587%{systemdunitdir}/sys-kernel-config.service
9a2089f1 1588%{systemdunitdir}/system-update-cleanup.service
7dfd6655 1589%{systemdunitdir}/system-update-pre.target
2f2b39e6
JR
1590%{systemdunitdir}/systemd-ask-password-console.service
1591%{systemdunitdir}/systemd-ask-password-wall.service
1592%{systemdunitdir}/systemd-backlight@.service
1593%{systemdunitdir}/systemd-binfmt.service
2f2b39e6
JR
1594%{systemdunitdir}/systemd-firstboot.service
1595%{systemdunitdir}/systemd-fsck-root.service
1596%{systemdunitdir}/systemd-fsck@.service
1597%{systemdunitdir}/systemd-halt.service
1598%{systemdunitdir}/systemd-hibernate-resume@.service
1599%{systemdunitdir}/systemd-hibernate.service
1600%{systemdunitdir}/systemd-hostnamed.service
1601%{systemdunitdir}/systemd-hwdb-update.service
1602%{systemdunitdir}/systemd-hybrid-sleep.service
1603%{systemdunitdir}/systemd-importd.service
1604%{systemdunitdir}/systemd-initctl.service
1605%{systemdunitdir}/systemd-journal-catalog-update.service
1606%{systemdunitdir}/systemd-journal-flush.service
1607%{systemdunitdir}/systemd-journal-gatewayd.service
1608%{systemdunitdir}/systemd-journal-remote.service
1609%{systemdunitdir}/systemd-journal-upload.service
1610%{systemdunitdir}/systemd-journald.service
1611%{systemdunitdir}/systemd-kexec.service
1612%{systemdunitdir}/systemd-localed.service
1613%{systemdunitdir}/systemd-logind.service
1614%{systemdunitdir}/systemd-machine-id-commit.service
1615%{systemdunitdir}/systemd-machined.service
1616%{systemdunitdir}/systemd-modules-load.service
1617%{systemdunitdir}/systemd-nspawn@.service
1618%{systemdunitdir}/systemd-poweroff.service
1619%{systemdunitdir}/systemd-quotacheck.service
1620%{systemdunitdir}/systemd-random-seed.service
1621%{systemdunitdir}/systemd-reboot.service
1622%{systemdunitdir}/systemd-remount-fs.service
c75f826c 1623%{systemdunitdir}/systemd-rfkill.service
2f2b39e6 1624%{systemdunitdir}/systemd-suspend.service
7dfd6655 1625%{systemdunitdir}/systemd-suspend-then-hibernate.service
2f2b39e6
JR
1626%{systemdunitdir}/systemd-sysctl.service
1627%{systemdunitdir}/systemd-sysusers.service
7dfd6655 1628%{systemdunitdir}/systemd-time-wait-sync.service
2f2b39e6
JR
1629%{systemdunitdir}/systemd-timedated.service
1630%{systemdunitdir}/systemd-timesyncd.service
1631%{systemdunitdir}/systemd-tmpfiles-clean.service
1632%{systemdunitdir}/systemd-tmpfiles-setup-dev.service
1633%{systemdunitdir}/systemd-tmpfiles-setup.service
1634%{systemdunitdir}/systemd-udev-settle.service
1635%{systemdunitdir}/systemd-udev-trigger.service
1636%{systemdunitdir}/systemd-udevd.service
1637%{systemdunitdir}/systemd-update-done.service
1638%{systemdunitdir}/systemd-update-utmp-runlevel.service
1639%{systemdunitdir}/systemd-update-utmp.service
1640%{systemdunitdir}/systemd-user-sessions.service
1641%{systemdunitdir}/systemd-vconsole-setup.service
9a2089f1 1642%{systemdunitdir}/systemd-volatile-root.service
2f2b39e6 1643%{systemdunitdir}/user@.service
2f2b39e6 1644%{systemdunitdir}/machine.slice
7d414874 1645#%{systemdunitdir}/system.slice
7dfd6655
JB
1646%dir %{systemdunitdir}/user-.slice.d
1647%{systemdunitdir}/user-.slice.d/10-defaults.conf
1648%{systemdunitdir}/user-runtime-dir@.service
2f2b39e6 1649%{systemdunitdir}/user.slice
618c1d39 1650%exclude %{systemdunitdir}/rc-inetd.service
2f2b39e6
JR
1651%{systemdunitdir}/syslog.socket
1652%{systemdunitdir}/systemd-initctl.socket
1653%{systemdunitdir}/systemd-journal-remote.socket
1654%{systemdunitdir}/systemd-journald-audit.socket
1655%{systemdunitdir}/systemd-journald-dev-log.socket
1656%{systemdunitdir}/systemd-journald.socket
2f2b39e6
JR
1657%{systemdunitdir}/systemd-udevd-control.socket
1658%{systemdunitdir}/systemd-udevd-kernel.socket
1659%{systemdunitdir}/basic.target
1660%{systemdunitdir}/bluetooth.target
1661%{?with_cryptsetup:%{systemdunitdir}/cryptsetup-pre.target}
1662%{?with_cryptsetup:%{systemdunitdir}/cryptsetup.target}
1663%{systemdunitdir}/ctrl-alt-del.target
1664%{systemdunitdir}/default.target
1665%{systemdunitdir}/emergency.target
c75f826c 1666%{systemdunitdir}/exit.target
2f2b39e6
JR
1667%{systemdunitdir}/final.target
1668%{systemdunitdir}/getty.target
f06261ce 1669%{systemdunitdir}/getty-pre.target
2f2b39e6
JR
1670%{systemdunitdir}/graphical.target
1671%{systemdunitdir}/halt.target
1672%{systemdunitdir}/hibernate.target
1673%{systemdunitdir}/hybrid-sleep.target
1674%{systemdunitdir}/initrd-fs.target
1675%{systemdunitdir}/initrd-root-fs.target
1676%{systemdunitdir}/initrd-switch-root.target
1677%{systemdunitdir}/initrd.target
1678%{systemdunitdir}/kexec.target
1679%{systemdunitdir}/local-fs-pre.target
1680%{systemdunitdir}/local-fs.target
1681%{systemdunitdir}/machines.target
1682%{systemdunitdir}/multi-user.target
1683%{systemdunitdir}/network-online.target
1684%{systemdunitdir}/network-pre.target
1685%{systemdunitdir}/network.target
1686%{systemdunitdir}/nss-lookup.target
1687%{systemdunitdir}/nss-user-lookup.target
1688%{systemdunitdir}/paths.target
1689%{systemdunitdir}/poweroff.target
1690%{systemdunitdir}/printer.target
1691%{systemdunitdir}/reboot.target
1692%{systemdunitdir}/remote-fs-pre.target
1693%{systemdunitdir}/remote-fs.target
f06261ce 1694%if %{with cryptsetup}
f06261ce
AM
1695%{systemdunitdir}/remote-cryptsetup.target
1696%endif
2f2b39e6
JR
1697%{systemdunitdir}/rescue.target
1698%{systemdunitdir}/rpcbind.target
1699%{systemdunitdir}/runlevel0.target
1700%{systemdunitdir}/runlevel1.target
1701%{systemdunitdir}/runlevel2.target
1702%{systemdunitdir}/runlevel3.target
1703%{systemdunitdir}/runlevel4.target
1704%{systemdunitdir}/runlevel5.target
1705%{systemdunitdir}/runlevel6.target
1706%{systemdunitdir}/shutdown.target
1707%{systemdunitdir}/sigpwr.target
1708%{systemdunitdir}/sleep.target
1709%{systemdunitdir}/slices.target
1710%{systemdunitdir}/smartcard.target
1711%{systemdunitdir}/sockets.target
1712%{systemdunitdir}/sound.target
1713%{systemdunitdir}/suspend.target
1714%{systemdunitdir}/swap.target
1715%{systemdunitdir}/sysinit.target
1716%{systemdunitdir}/system-update.target
1717%{systemdunitdir}/time-sync.target
1718%{systemdunitdir}/timers.target
1719%{systemdunitdir}/umount.target
1720%{systemdunitdir}/systemd-tmpfiles-clean.timer
e4c66821
JB
1721%dir %{systemdunitdir}/basic.target.wants
1722%dir %{systemdunitdir}/dbus.target.wants
5c770713 1723%dir %{systemdunitdir}/final.target.wants
7edc5189 1724%dir %{systemdunitdir}/graphical.target.wants
e4c66821 1725%dir %{systemdunitdir}/halt.target.wants
aa8c5e72 1726%dir %{systemdunitdir}/initrd.target.wants
e4c66821
JB
1727%dir %{systemdunitdir}/kexec.target.wants
1728%dir %{systemdunitdir}/local-fs.target.wants
9a2089f1 1729%dir %{systemdunitdir}/machines.target.wants
e4c66821
JB
1730%dir %{systemdunitdir}/multi-user.target.wants
1731%dir %{systemdunitdir}/poweroff.target.wants
1732%dir %{systemdunitdir}/reboot.target.wants
9a2089f1 1733%dir %{systemdunitdir}/remote-fs.target.wants
7edc5189 1734%dir %{systemdunitdir}/rescue.target.wants
e4c66821
JB
1735%dir %{systemdunitdir}/runlevel[12345].target.wants
1736%dir %{systemdunitdir}/shutdown.target.wants
e5f31a34 1737%dir %{systemdunitdir}/sigpwr.target.wants
e4c66821 1738%dir %{systemdunitdir}/sockets.target.wants
c06d9f8f 1739%dir %{systemdunitdir}/sound.target.wants
e4c66821
JB
1740%dir %{systemdunitdir}/sysinit.target.wants
1741%dir %{systemdunitdir}/syslog.target.wants
c06d9f8f 1742%dir %{systemdunitdir}/system-update.target.wants
bce90f0e 1743%dir %{systemdunitdir}/timers.target.wants
5c770713 1744%{systemdunitdir}/final.target.wants/halt-local.service
7edc5189
JR
1745%{systemdunitdir}/graphical.target.wants/display-manager.service
1746%{systemdunitdir}/graphical.target.wants/systemd-update-utmp-runlevel.service
2f2b39e6 1747%{systemdunitdir}/local-fs.target.wants/pld-clean-tmp.service
2f2b39e6
JR
1748%{systemdunitdir}/local-fs.target.wants/systemd-remount-fs.service
1749%{systemdunitdir}/local-fs.target.wants/var-lock.mount
1750%{systemdunitdir}/local-fs.target.wants/var-run.mount
9a2089f1 1751%{systemdunitdir}/machines.target.wants/var-lib-machines.mount
c7a423d8
JR
1752%{systemdunitdir}/multi-user.target.wants/getty.target
1753%{systemdunitdir}/multi-user.target.wants/rc-local.service
1754%{systemdunitdir}/multi-user.target.wants/systemd-ask-password-wall.path
1755%{systemdunitdir}/multi-user.target.wants/systemd-logind.service
7edc5189 1756%{systemdunitdir}/multi-user.target.wants/systemd-update-utmp-runlevel.service
c7a423d8 1757%{systemdunitdir}/multi-user.target.wants/systemd-user-sessions.service
9a2089f1 1758%{systemdunitdir}/remote-fs.target.wants/var-lib-machines.mount
7edc5189 1759%{systemdunitdir}/rescue.target.wants/systemd-update-utmp-runlevel.service
e5f31a34 1760%{systemdunitdir}/sigpwr.target.wants/sigpwr-container-shutdown.service
2f2b39e6
JR
1761%{systemdunitdir}/sockets.target.wants/systemd-initctl.socket
1762%{systemdunitdir}/sockets.target.wants/systemd-journald-audit.socket
1763%{systemdunitdir}/sockets.target.wants/systemd-journald-dev-log.socket
1764%{systemdunitdir}/sockets.target.wants/systemd-journald.socket
2f2b39e6
JR
1765%{systemdunitdir}/sockets.target.wants/systemd-udevd-control.socket
1766%{systemdunitdir}/sockets.target.wants/systemd-udevd-kernel.socket
c7a423d8
JR
1767%{?with_cryptsetup:%{systemdunitdir}/sysinit.target.wants/cryptsetup.target}
1768%{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount
1769%{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount
11fa1d33 1770%{systemdunitdir}/sysinit.target.wants/kmod-static-nodes.service
995ed764 1771%{systemdunitdir}/sysinit.target.wants/ldconfig.service
c7a423d8 1772%{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
2f2b39e6
JR
1773%{systemdunitdir}/sysinit.target.wants/sys-fs-fuse-connections.mount
1774%{systemdunitdir}/sysinit.target.wants/sys-kernel-debug.mount
1775%{systemdunitdir}/sysinit.target.wants/systemd-ask-password-console.path
1776%{systemdunitdir}/sysinit.target.wants/systemd-binfmt.service
1777%{systemdunitdir}/sysinit.target.wants/systemd-firstboot.service
1778%{systemdunitdir}/sysinit.target.wants/systemd-hwdb-update.service
1779%{systemdunitdir}/sysinit.target.wants/systemd-journal-catalog-update.service
1780%{systemdunitdir}/sysinit.target.wants/systemd-journald.service
1781%{systemdunitdir}/sysinit.target.wants/systemd-journal-flush.service
1782%{systemdunitdir}/sysinit.target.wants/systemd-machine-id-commit.service
1783%{systemdunitdir}/sysinit.target.wants/systemd-modules-load.service
1784%{systemdunitdir}/sysinit.target.wants/systemd-random-seed.service
1785%{systemdunitdir}/sysinit.target.wants/systemd-sysctl.service
1786%{systemdunitdir}/sysinit.target.wants/systemd-sysusers.service
1787%{systemdunitdir}/sysinit.target.wants/systemd-tmpfiles-setup-dev.service
1788%{systemdunitdir}/sysinit.target.wants/systemd-tmpfiles-setup.service
1789%{systemdunitdir}/sysinit.target.wants/systemd-udevd.service
1790%{systemdunitdir}/sysinit.target.wants/systemd-udev-trigger.service
1791%{systemdunitdir}/sysinit.target.wants/systemd-update-done.service
1792%{systemdunitdir}/sysinit.target.wants/systemd-update-utmp.service
2f2b39e6 1793%{systemdunitdir}/timers.target.wants/systemd-tmpfiles-clean.timer
be813610 1794%dir %{systemduserunitdir}/sockets.target.wants
c75f826c
AM
1795%{systemduserunitdir}/graphical-session-pre.target
1796%{systemduserunitdir}/graphical-session.target
9a2089f1
AM
1797%{_mandir}/man8/30-systemd-environment-d-generator.8*
1798%{_mandir}/man8/systemd-environment-d-generator.8*
4400c575
JR
1799%{_mandir}/man8/systemd-ask-password-console.path.8*
1800%{_mandir}/man8/systemd-ask-password-console.service.8*
1801%{_mandir}/man8/systemd-ask-password-wall.path.8*
1802%{_mandir}/man8/systemd-ask-password-wall.service.8*
77d7e0b4 1803%{_mandir}/man8/systemd-backlight@.service.8*
4400c575 1804%{_mandir}/man8/systemd-binfmt.service.8*
c75f826c
AM
1805%{_mandir}/man8/systemd-coredump.socket.8*
1806%{_mandir}/man8/systemd-coredump@.service.8*
657515ed
JK
1807%{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup.8*}
1808%{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup@.service.8*}
4400c575
JR
1809%{_mandir}/man8/systemd-fsck-root.service.8*
1810%{_mandir}/man8/systemd-fsck@.service.8*
1811%{_mandir}/man8/systemd-halt.service.8*
1812%{_mandir}/man8/systemd-hibernate.service.8*
1813%{_mandir}/man8/systemd-hostnamed.service.8*
f8d07093 1814%{_mandir}/man8/systemd-hybrid-sleep.service.8*
7dfd6655 1815%{_mandir}/man8/systemd-importd.service.8*
4400c575
JR
1816%{_mandir}/man8/systemd-initctl.service.8*
1817%{_mandir}/man8/systemd-initctl.socket.8*
7dfd6655
JB
1818%{_mandir}/man8/systemd-journal-remote.service.8*
1819%{_mandir}/man8/systemd-journal-remote.socket.8*
1820%{_mandir}/man8/systemd-journal-upload.service.8*
4400c575
JR
1821%{_mandir}/man8/systemd-journald.service.8*
1822%{_mandir}/man8/systemd-journald.socket.8*
c75f826c 1823%{_mandir}/man8/systemd-journald-audit.socket.8*
4400c575
JR
1824%{_mandir}/man8/systemd-kexec.service.8*
1825%{_mandir}/man8/systemd-localed.service.8*
1826%{_mandir}/man8/systemd-logind.service.8*
11fa1d33 1827%{_mandir}/man8/systemd-machined.service.8*
4400c575
JR
1828%{_mandir}/man8/systemd-modules-load.service.8*
1829%{_mandir}/man8/systemd-poweroff.service.8*
1830%{_mandir}/man8/systemd-quotacheck.service.8*
1aed57ba 1831%{_mandir}/man8/systemd-random-seed.service.8*
4400c575
JR
1832%{_mandir}/man8/systemd-reboot.service.8*
1833%{_mandir}/man8/systemd-remount-fs.service.8*
c75f826c 1834%{_mandir}/man8/systemd-rfkill.socket.8*
4400c575 1835%{_mandir}/man8/systemd-suspend.service.8*
7dfd6655 1836%{_mandir}/man8/systemd-suspend-then-hibernate.service.8*
4400c575 1837%{_mandir}/man8/systemd-sysctl.service.8*
7dfd6655 1838%{_mandir}/man8/systemd-time-wait-sync.service.8*
4400c575
JR
1839%{_mandir}/man8/systemd-timedated.service.8*
1840%{_mandir}/man8/systemd-tmpfiles-clean.service.8*
1841%{_mandir}/man8/systemd-tmpfiles-clean.timer.8*
1842%{_mandir}/man8/systemd-tmpfiles-setup.service.8*
890c04f0 1843%{_mandir}/man8/systemd-tmpfiles-setup-dev.service.8*
4400c575 1844%{_mandir}/man8/systemd-udevd.service.8*
f8d07093
JR
1845%{_mandir}/man8/systemd-udevd-control.socket.8*
1846%{_mandir}/man8/systemd-udevd-kernel.socket.8*
4400c575 1847%{_mandir}/man8/systemd-update-utmp-runlevel.service.8*
1aed57ba 1848%{_mandir}/man8/systemd-update-utmp.service.8*
4400c575
JR
1849%{_mandir}/man8/systemd-user-sessions.service.8*
1850%{_mandir}/man8/systemd-vconsole-setup.service.8*
e4c66821 1851
48066926
ER
1852%if %{with microhttpd}
1853%files journal-gateway
1854%defattr(644,root,root,755)
2f2b39e6 1855%{systemdunitdir}/systemd-journal-gatewayd.socket
48066926
ER
1856%attr(755,root,root) /lib/systemd/systemd-journal-gatewayd
1857%{_mandir}/man8/systemd-journal-gatewayd.8*
1858%{_mandir}/man8/systemd-journal-gatewayd.service.8*
1859%{_mandir}/man8/systemd-journal-gatewayd.socket.8*
1860%endif
909f05f5
JK
1861
1862%files networkd
1863%defattr(644,root,root,755)
8e27187e 1864%{_datadir}/dbus-1/system.d/org.freedesktop.network1.conf
aae72bea
JR
1865%dir %{_sysconfdir}/systemd/network
1866%dir %{_sysconfdir}/systemd/system/network-online.target.wants
1867%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service
aae72bea
JR
1868/lib/systemd/network/80-container-host0.network
1869/lib/systemd/network/80-container-ve.network
c75f826c 1870/lib/systemd/network/80-container-vz.network
9a2089f1 1871/etc/systemd/system/dbus-org.freedesktop.network1.service
2f2b39e6
JR
1872%{systemdunitdir}/systemd-networkd-wait-online.service
1873%{systemdunitdir}/systemd-networkd.service
1874%{systemdunitdir}/systemd-networkd.socket
2f2b39e6
JR
1875%{_datadir}/dbus-1/system-services/org.freedesktop.network1.service
1876%attr(755,root,root) /bin/networkctl
909f05f5
JK
1877%attr(755,root,root) /lib/systemd/systemd-networkd
1878%attr(755,root,root) /lib/systemd/systemd-networkd-wait-online
2f2b39e6 1879%{_mandir}/man1/networkctl.1*
c75f826c
AM
1880%{_mandir}/man5/networkd.conf.5*
1881%{_mandir}/man5/networkd.conf.d.5*
de1f2a1e 1882%{_mandir}/man8/systemd-networkd-wait-online.8*
2f2b39e6 1883%{_mandir}/man8/systemd-networkd-wait-online.service.8*
de1f2a1e 1884%{_mandir}/man8/systemd-networkd.8*
2f2b39e6 1885%{_mandir}/man8/systemd-networkd.service.8*
909f05f5
JK
1886
1887%files resolved
1888%defattr(644,root,root,755)
1889%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/resolved.conf
c06d9f8f 1890%config(noreplace,missingok) %verify(not md5 mtime size) /etc/systemd/system/dbus-org.freedesktop.resolve1.service
8e27187e 1891%{_datadir}/dbus-1/system.d/org.freedesktop.resolve1.conf
2f2b39e6 1892%{_datadir}/dbus-1/system-services/org.freedesktop.resolve1.service
c06d9f8f 1893%{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy
2f2b39e6 1894%{systemdunitdir}/systemd-resolved.service
7dfd6655
JB
1895%attr(755,root,root) /sbin/resolvconf
1896%attr(755,root,root) %{_bindir}/resolvectl
909f05f5 1897%attr(755,root,root) /lib/systemd/systemd-resolved
7dfd6655
JB
1898%{_mandir}/man1/resolvconf.1*
1899%{_mandir}/man1/resolvectl.1*
909f05f5
JK
1900%{_mandir}/man5/resolved.conf.5*
1901%{_mandir}/man5/resolved.conf.d.5*
de1f2a1e 1902%{_mandir}/man8/systemd-resolved.8*
2f2b39e6 1903%{_mandir}/man8/systemd-resolved.service.8*
48066926 1904
bb6fb962
JR
1905%files inetd
1906%defattr(644,root,root,755)
60c3e1b7 1907%attr(755,root,root) %{systemdunitdir}-generators/pld-rc-inetd-generator
bb6fb962
JR
1908%{systemdunitdir}/rc-inetd.service
1909
4e5e9c32
ER
1910%files analyze
1911%defattr(644,root,root,755)
1912%attr(755,root,root) %{_bindir}/systemd-analyze
4400c575 1913%{_mandir}/man1/systemd-analyze.1*
4e5e9c32 1914
5b9bde26 1915%files libs
6c89bbd4 1916%defattr(644,root,root,755)
2be4d5dc 1917%attr(755,root,root) /%{_lib}/libnss_myhostname.so.2
c75f826c
AM
1918%attr(755,root,root) /%{_lib}/libnss_mymachines.so.2
1919%attr(755,root,root) /%{_lib}/libnss_resolve.so.2
1920%attr(755,root,root) /%{_lib}/libnss_systemd.so.2
995ed764
TR
1921%attr(755,root,root) /%{_lib}/libsystemd.so.*.*.*
1922%attr(755,root,root) %ghost /%{_lib}/libsystemd.so.0
28c06947 1923%attr(755,root,root) /lib/systemd/libsystemd-shared*.so
c75f826c
AM
1924%{_mandir}/man8/libnss_resolve.so.2.8*
1925%{_mandir}/man8/libnss_systemd.so.2.8*
1926%{_mandir}/man8/nss-resolve.8*
a2e26a8b 1927%{_mandir}/man8/nss-systemd.8*
961baf80
AF
1928
1929%files devel
1930%defattr(644,root,root,755)
c75f826c 1931%attr(755,root,root) /%{_lib}/libsystemd.so
5b9bde26 1932%{_includedir}/%{name}
995ed764 1933%{_pkgconfigdir}/libsystemd.pc
ab590cee
JR
1934%{_mandir}/man3/SD_*.3*
1935%{_mandir}/man3/sd*.3*
5b9bde26
JB
1936
1937%files -n bash-completion-systemd
1938%defattr(644,root,root,755)
48106198 1939%{?with_efi:%{bash_compdir}/bootctl}
a2e26a8b
ER
1940%{bash_compdir}/busctl
1941%{bash_compdir}/coredumpctl
1942%{bash_compdir}/hostnamectl
1943%{bash_compdir}/journalctl
1944%{bash_compdir}/kernel-install
1945%{bash_compdir}/localectl
1946%{bash_compdir}/loginctl
1947%{bash_compdir}/machinectl
1948%{bash_compdir}/networkctl
7dfd6655 1949%{bash_compdir}/resolvectl
a2e26a8b
ER
1950%{bash_compdir}/systemctl
1951%{bash_compdir}/systemd-analyze
1952%{bash_compdir}/systemd-cat
1953%{bash_compdir}/systemd-cgls
1954%{bash_compdir}/systemd-cgtop
1955%{bash_compdir}/systemd-delta
1956%{bash_compdir}/systemd-detect-virt
1957%{bash_compdir}/systemd-nspawn
1958%{bash_compdir}/systemd-path
1959%{bash_compdir}/systemd-resolve
1960%{bash_compdir}/systemd-run
1961%{bash_compdir}/timedatectl
ae4d0acb 1962
77d7e0b4
JR
1963%files -n zsh-completion-systemd
1964%defattr(644,root,root,755)
2b8d507b 1965%{?with_efi:%{zsh_compdir}/_bootctl}
a2e26a8b
ER
1966%{zsh_compdir}/_busctl
1967%{zsh_compdir}/_coredumpctl
1968%{zsh_compdir}/_hostnamectl
1969%{zsh_compdir}/_journalctl
1970%{zsh_compdir}/_kernel-install
1971%{zsh_compdir}/_localectl
1972%{zsh_compdir}/_loginctl
1973%{zsh_compdir}/_machinectl
9a2089f1 1974%{zsh_compdir}/_networkctl
a2e26a8b
ER
1975%{zsh_compdir}/_sd_hosts_or_user_at_host
1976%{zsh_compdir}/_sd_machines
1977%{zsh_compdir}/_sd_outputmodes
1978%{zsh_compdir}/_sd_unit_files
1979%{zsh_compdir}/_systemctl
1980%{zsh_compdir}/_systemd
1981%{zsh_compdir}/_systemd-analyze
1982%{zsh_compdir}/_systemd-delta
1983%{zsh_compdir}/_systemd-inhibit
1984%{zsh_compdir}/_systemd-nspawn
1985%{zsh_compdir}/_systemd-resolve
1986%{zsh_compdir}/_systemd-run
1987%{zsh_compdir}/_systemd-tmpfiles
1988%{zsh_compdir}/_timedatectl
77d7e0b4 1989
30121190
JR
1990%files -n udev
1991%defattr(644,root,root,755)
1992%dev(c,1,3) %attr(666,root,root) /dev/null
1993%dev(c,5,1) %attr(660,root,console) /dev/console
1994%dev(c,1,5) %attr(666,root,root) /dev/zero
1995
1996%files -n udev-core
1997%defattr(644,root,root,755)
30121190 1998
947943f3 1999%{_prefix}/lib/udev
30121190 2000
30121190
JR
2001%attr(755,root,root) /lib/udev/collect
2002
30121190
JR
2003%attr(755,root,root) /lib/udev/net_helper
2004
2005%attr(755,root,root) /lib/udev/ata_id
2006%attr(755,root,root) /lib/udev/cdrom_id
2007%attr(755,root,root) /lib/udev/mtd_probe
2008%attr(755,root,root) /lib/udev/scsi_id
2009%attr(755,root,root) /lib/udev/v4l_id
2010
2011%attr(755,root,root) /lib/udev/udevd
2012
f8d07093 2013/lib/udev/hwdb.d/20-acpi-vendor.hwdb
2be4d5dc 2014/lib/udev/hwdb.d/20-bluetooth-vendor-product.hwdb
995ed764 2015/lib/udev/hwdb.d/20-net-ifname.hwdb
7edc5189 2016/lib/udev/hwdb.d/20-OUI.hwdb
f8d07093 2017/lib/udev/hwdb.d/20-pci-classes.hwdb
bce90f0e 2018/lib/udev/hwdb.d/20-pci-vendor-model.hwdb
995ed764
TR
2019/lib/udev/hwdb.d/20-sdio-classes.hwdb
2020/lib/udev/hwdb.d/20-sdio-vendor-model.hwdb
f8d07093 2021/lib/udev/hwdb.d/20-usb-classes.hwdb
bce90f0e 2022/lib/udev/hwdb.d/20-usb-vendor-model.hwdb
7dfd6655 2023/lib/udev/hwdb.d/20-vmbus-class.hwdb
7edc5189 2024/lib/udev/hwdb.d/60-evdev.hwdb
11fa1d33 2025/lib/udev/hwdb.d/60-keyboard.hwdb
9a2089f1 2026/lib/udev/hwdb.d/60-sensor.hwdb
f06261ce 2027/lib/udev/hwdb.d/70-joystick.hwdb
7dffbad7 2028/lib/udev/hwdb.d/70-mouse.hwdb
7edc5189 2029/lib/udev/hwdb.d/70-pointingstick.hwdb
2f2b39e6 2030/lib/udev/hwdb.d/70-touchpad.hwdb
f8d07093 2031
f06261ce
AM
2032%attr(755,root,root) %{_rootsbindir}/start_udev
2033%attr(755,root,root) %{_rootsbindir}/udevd
2034%attr(755,root,root) %{_rootsbindir}/udevadm
2f2b39e6 2035%attr(755,root,root) /bin/systemd-hwdb
bce90f0e 2036%attr(755,root,root) /bin/udevadm
30121190
JR
2037
2038%dir %{_sysconfdir}/udev
2039%dir %{_sysconfdir}/udev/rules.d
618c1d39 2040%dir %{_sysconfdir}/udev/hwdb.d
ba7dc07d 2041%ghost %{_sysconfdir}/udev/hwdb.bin
30121190
JR
2042
2043%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
2044%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/udev_blacklist.conf
2045%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/links.conf
2046%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
2047%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules
dcbc26d0 2048%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-uinput.rules
27e7ee7d 2049%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-steam_controller.rules
e2ca78f3 2050%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/80-net-setup-link.rules
30121190
JR
2051
2052%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf
2053
2054# rules below are NOT supposed to be changed by users
30121190 2055/lib/udev/rules.d/50-udev-default.rules
7edc5189 2056/lib/udev/rules.d/60-block.rules
30121190 2057/lib/udev/rules.d/60-cdrom_id.rules
995ed764 2058/lib/udev/rules.d/60-drm.rules
7edc5189 2059/lib/udev/rules.d/60-evdev.rules
30121190
JR
2060/lib/udev/rules.d/60-persistent-alsa.rules
2061/lib/udev/rules.d/60-persistent-input.rules
30121190 2062/lib/udev/rules.d/60-persistent-storage.rules
7edc5189 2063/lib/udev/rules.d/60-persistent-storage-tape.rules
30121190 2064/lib/udev/rules.d/60-persistent-v4l.rules
7edc5189 2065/lib/udev/rules.d/60-serial.rules
618c1d39 2066/lib/udev/rules.d/64-btrfs.rules
7dffbad7 2067/lib/udev/rules.d/70-mouse.rules
4f1f9baf 2068/lib/udev/rules.d/70-power-switch.rules
2f2b39e6 2069/lib/udev/rules.d/70-touchpad.rules
30121190
JR
2070/lib/udev/rules.d/75-net-description.rules
2071/lib/udev/rules.d/75-probe_mtd.rules
30121190
JR
2072/lib/udev/rules.d/78-sound-card.rules
2073/lib/udev/rules.d/80-drivers.rules
995ed764 2074/lib/udev/rules.d/80-net-setup-link.rules
7dffbad7 2075/lib/udev/rules.d/90-vconsole.rules
30121190 2076
ed4d2b1f 2077%{_mandir}/man5/udev.conf.5*
30121190 2078%{_mandir}/man7/udev.7*
2f2b39e6
JR
2079%{_mandir}/man7/hwdb.7*
2080%{_mandir}/man8/systemd-hwdb.8*
c75fd19d
JR
2081%{_mandir}/man8/udevadm.8*
2082%{_mandir}/man8/udevd.8*
2083
30121190
JR
2084%files -n udev-libs
2085%defattr(644,root,root,755)
2086%attr(755,root,root) /%{_lib}/libudev.so.*.*.*
c75fd19d 2087%attr(755,root,root) %ghost /%{_lib}/libudev.so.1
30121190
JR
2088
2089%files -n udev-devel
2090%defattr(644,root,root,755)
c75f826c 2091%attr(755,root,root) /%{_lib}/libudev.so
30121190
JR
2092%{_includedir}/libudev.h
2093%{_pkgconfigdir}/libudev.pc
2094%{_npkgconfigdir}/udev.pc
5c770713
JR
2095%{_mandir}/man3/libudev.3*
2096%{_mandir}/man3/udev_*.3*
30121190 2097
864041a0
JR
2098%files -n bash-completion-udev
2099%defattr(644,root,root,755)
a2e26a8b 2100%{bash_compdir}/udevadm
864041a0 2101
77d7e0b4
JR
2102%files -n zsh-completion-udev
2103%defattr(644,root,root,755)
a2e26a8b 2104%{zsh_compdir}/_udevadm
This page took 0.59607 seconds and 4 git commands to generate.