]> git.pld-linux.org Git - packages/systemd.git/blob - systemd.spec
add udev rules for raspberrypi devices
[packages/systemd.git] / systemd.spec
1 # TODO:
2 # - consider providing the factory files via appropriate packages (setup, pam)
3 # - merge rpm macros provided by systemd with ours
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
7 # - dev->udev upgrade:
8 #   - /dev/urandom remains missing, not created with start_udev anymore
9 # - clean up unpackaged files
10 #
11 # Conditional build:
12 %bcond_without  audit           # audit support
13 %bcond_without  bpf             # BPF programs in restricted C support
14 %bcond_without  cryptsetup      # cryptsetup support
15 %bcond_without  microhttpd      # use microhttpd for network journal access
16 %bcond_without  pam             # PAM authentication support
17 %bcond_without  qrencode        # QRencode support
18 %bcond_without  selinux         # SELinux support
19 %bcond_without  efi             # EFI boot support
20 %bcond_without  fido2           # FIDO2 support
21 %bcond_without  tpm2            # TPM2 support
22 %bcond_with     tests           # "make check" (requires systemd already installed)
23
24 %ifnarch %{ix86} %{x8664} aarch64
25 # x32 disabled - maybe it's possible to build x64 EFI, but it requires some hacking (add -m64 to EFI gcc command line?)
26 %undefine       with_efi
27 %endif
28 Summary:        A System and Service Manager
29 Summary(pl.UTF-8):      systemd - zarządca systemu i usług dla Linuksa
30 Name:           systemd
31 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
32 Version:        252.4
33 Release:        2
34 Epoch:          1
35 License:        GPL v2+ (udev), LGPL v2.1+ (the rest)
36 Group:          Base
37 #Source0Download: https://github.com/systemd/systemd/releases
38 Source0:        https://github.com/systemd/systemd-stable/archive/v%{version}/%{name}-%{version}.tar.gz
39 # Source0-md5:  be1709332649a39c7a143d99a3b1043a
40 Source1:        %{name}-sysv-convert
41 Source2:        %{name}_booted.c
42 Source3:        network.service
43 Source4:        var-lock.mount
44 Source5:        var-run.mount
45 Source14:       pld-clean-tmp.service
46 Source15:       pld-clean-tmp.sh
47 Source16:       pld-rc-inetd-generator.sh
48 Source17:       rc-inetd.service
49 Source18:       default.preset
50 Source19:       prefdm.service
51 Source20:       sigpwr-container-shutdown.service
52
53 # rules
54 Source101:      udev-alsa.rules
55 Source102:      udev.rules
56 Source103:      udev-links.conf
57 Source104:      udev-uinput.rules
58 Source105:      udev-steam_controller.rules
59 Source106:      udev-i2c.rules
60 Source107:      udev-raspberrypi.rules
61 # scripts / helpers
62 Source110:      udev-net.helper
63 Source111:      start_udev
64 # misc
65 Source120:      udev.blacklist
66 Source121:      fbdev.blacklist
67 Patch0:         target-pld.patch
68 Patch1:         config-pld.patch
69 Patch2:         pld-sysv-network.patch
70 Patch3:         tmpfiles-not-fatal.patch
71 Patch4:         udev-ploop-rules.patch
72 Patch5:         %{name}-split-usr-fix.patch
73 Patch6:         net-rename-revert.patch
74 Patch7:         %{name}-completion.patch
75 Patch8:         proc-hidepid.patch
76 Patch9:         %{name}-configfs.patch
77 Patch10:        pld-boot_efi_mount.patch
78 Patch11:        optional-tmp-on-tmpfs.patch
79 Patch13:        sysctl.patch
80 Patch14:        pld-pam-%{name}-user.patch
81 Patch15:        %{name}-x32.patch
82 Patch16:        rpm-macros.patch
83 URL:            https://www.freedesktop.org/wiki/Software/systemd/
84 BuildRequires:  acl-devel
85 %{?with_audit:BuildRequires:    audit-libs-devel}
86 BuildRequires:  binutils >= 3:2.22.52.0.1-2
87 BuildRequires:  bzip2-devel
88 %{?with_bpf:BuildRequires:      clang >= 10.0.0}
89 # ln --relative
90 BuildRequires:  coreutils >= 8.16
91 %{?with_cryptsetup:BuildRequires:       cryptsetup-devel >= 2.4.0}
92 BuildRequires:  curl-devel >= 7.32.0
93 BuildRequires:  dbus-devel >= 1.9.18
94 BuildRequires:  docbook-dtd42-xml
95 BuildRequires:  docbook-dtd45-xml
96 BuildRequires:  docbook-style-xsl-nons
97 BuildRequires:  elfutils-devel >= 0.177
98 BuildRequires:  gcc >= 6:4.9
99 BuildRequires:  gettext-tools
100 BuildRequires:  glib2-devel >= 1:2.22.0
101 BuildRequires:  glibc-misc
102 %{?with_efi:BuildRequires:      gnu-efi}
103 BuildRequires:  gnutls-devel >= 3.6.0
104 BuildRequires:  gperf
105 BuildRequires:  intltool >= 0.40.0
106 # pkgconfig(libiptc)
107 BuildRequires:  iptables-devel
108 %{?with_bpf:BuildRequires:      kernel-tools >= 5.13.0}
109 BuildRequires:  kmod-devel >= 15
110 BuildRequires:  libapparmor-devel >= 1:2.13
111 BuildRequires:  libblkid-devel >= 2.24
112 %{?with_bpf:BuildRequires:      libbpf-devel >= 0.1.0}
113 BuildRequires:  libcap-devel
114 BuildRequires:  libfdisk-devel >= 2.32
115 %{?with_fido2:BuildRequires:    libfido2-devel}
116 BuildRequires:  libgcrypt-devel >= 1.4.5
117 BuildRequires:  libgpg-error-devel >= 1.12
118 BuildRequires:  libidn2-devel
119 %{?with_microhttpd:BuildRequires:       libmicrohttpd-devel >= 0.9.33}
120 BuildRequires:  libmount-devel >= 2.30
121 BuildRequires:  libpwquality-devel
122 BuildRequires:  libseccomp-devel >= 2.4.0
123 %{?with_selinux:BuildRequires:  libselinux-devel >= 2.6}
124 BuildRequires:  libtool >= 2:2.2
125 BuildRequires:  libxslt-progs
126 BuildRequires:  lz4-devel >= 1:1.3.0
127 BuildRequires:  m4
128 BuildRequires:  meson >= 0.53.2
129 BuildRequires:  ninja
130 BuildRequires:  openssl-devel
131 BuildRequires:  p11-kit-devel >= 0.23.3
132 %{?with_pam:BuildRequires:      pam-devel >= 1.1.2}
133 BuildRequires:  pcre2-8-devel
134 # for sbat-distro* in src/boot/efi/meson.build
135 BuildRequires:  pld-release
136 BuildRequires:  pkgconfig >= 1:0.9.0
137 BuildRequires:  polkit-devel >= 0.106
138 BuildRequires:  python3
139 BuildRequires:  python3-jinja2
140 BuildRequires:  python3-lxml
141 %{?with_qrencode:BuildRequires: qrencode-devel >= 3}
142 BuildRequires:  rpm-build >= 4.6
143 BuildRequires:  rpmbuild(macros) >= 1.752
144 BuildRequires:  sed >= 4.0
145 %{?with_tests:BuildRequires:    systemd}
146 %{?with_tpm2:BuildRequires:     tpm2-tss-devel >= 3.0.0}
147 BuildRequires:  usbutils >= 0.82
148 BuildRequires:  xorg-lib-libxkbcommon-devel >= 0.5.0
149 BuildRequires:  xz-devel
150 BuildRequires:  zlib-devel
151 BuildRequires:  zstd-devel >= 1.4.0
152 Requires(post,postun):  %{name}-units = %{epoch}:%{version}-%{release}
153 Requires(postun):       /usr/sbin/groupdel
154 Requires(postun):       /usr/sbin/userdel
155 Requires(post): /bin/setfacl
156 Requires(pre):  /bin/id
157 Requires(pre):  /usr/bin/getgid
158 Requires(pre):  /usr/sbin/groupadd
159 Requires(pre):  /usr/sbin/useradd
160 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
161 Requires:       %{name}-units = %{epoch}:%{version}-%{release}
162 Requires:       %{name}-tools = %{epoch}:%{version}-%{release}
163 Requires:       /etc/os-release
164 Requires:       SysVinit-tools
165 Requires:       agetty
166 Requires:       dbus >= 1.9.18
167 Requires:       elfutils >= 0.177
168 Requires:       filesystem >= 4.0-39
169 Requires:       glibc >= 2.16
170 Requires:       kmod >= 25-2
171 Requires:       libgpg-error >= 1.12
172 Requires:       libutempter
173 Requires:       polkit >= 0.106
174 Requires:       rc-scripts >= 0.4.5.3-7
175 Requires:       setup >= 2.10.1
176 Requires:       udev-core = %{epoch}:%{version}-%{release}
177 Requires:       udev-libs = %{epoch}:%{version}-%{release}
178 Requires:       uname(release) >= 3.15
179 Requires:       util-linux >= 2.30
180 Suggests:       %{name}-container = %{epoch}:%{version}-%{release}
181 Suggests:       %{name}-sysv-compat = %{epoch}:%{version}-%{release}
182 %{?with_cryptsetup:Suggests:    cryptsetup >= 2.4.0}
183 Suggests:       fsck >= 2.25.0
184 %{?with_fido2:Suggests: libfido2}
185 Suggests:       libidn2
186 Suggests:       libpwquality
187 Suggests:       pcre2-8
188 %{?with_qrencode:Suggests:      qrencode-libs >= 3}
189 Suggests:       service(klogd)
190 Suggests:       service(syslog)
191 Suggests:       xorg-lib-libxkbcommon >= 0.5.0
192 Provides:       group(systemd-coredump)
193 Provides:       group(systemd-journal)
194 Provides:       group(systemd-network)
195 Provides:       group(systemd-oom)
196 Provides:       group(systemd-resolve)
197 Provides:       group(systemd-timesync)
198 Provides:       udev-acl = %{epoch}:%{version}-%{release}
199 Provides:       user(systemd-coredump)
200 Provides:       user(systemd-network)
201 Provides:       user(systemd-oom)
202 Provides:       user(systemd-resolve)
203 Provides:       user(systemd-timesync)
204 # kde4 still can't live without ConsoleKit
205 #Obsoletes:     ConsoleKit
206 #Obsoletes:     ConsoleKit-x11
207 Obsoletes:      elogind
208 Obsoletes:      systemd-no-compat-tmpfiles < 1:183-1
209 Obsoletes:      udev-acl < 1:181-1
210 Obsoletes:      udev-systemd < 1:182-1
211 # for storage detection / activation services
212 Conflicts:      dmraid < 1.0.0-0.rc16.3.3
213 Conflicts:      mdadm < 4.0-2
214 # sytemd wants pam with pam_systemd.so in system-auth...
215 Conflicts:      pam < 1:1.1.5-5
216 # ...and sudo hates it
217 Conflicts:      sudo < 1:1.7.8p2-4
218 # for prefdm script
219 Conflicts:      xinitrc-ng < 1.0
220 # systemd scripts use options not present in older versions
221 Conflicts:      kpartx < 0.6.1-1
222 Conflicts:      multipath-tools < 0.6.1-1
223 # no tmpfs on /media, use /run/media/$USER for mounting
224 Conflicts:      udisks2 < 1.92.0
225 # packages that have dirs under /var/run and/or /var/lock must provide tmpfiles configs
226 Conflicts:      ConsoleKit-dirs < 0.4.5-7
227 Conflicts:      NetworkManager < 2:0.9.2.0-3
228 Conflicts:      Zope < 2.11.8-2
229 Conflicts:      amavisd-new < 1:2.7.0-1
230 Conflicts:      apache-base < 2.2.21-4
231 Conflicts:      apache-mod_bw < 0.92-3
232 Conflicts:      apache-mod_fastcgi < 2.4.6-6
233 Conflicts:      apache1-base < 1.3.42-5
234 Conflicts:      apache1-mod_fastcgi < 2.4.6-2
235 Conflicts:      asterisk < 10.0.1-2
236 Conflicts:      autossh-init < 1.4b-3
237 Conflicts:      balance < 3.54-2
238 Conflicts:      bind < 7:9.8.1.P1-4
239 Conflicts:      bopm < 3.1.3-4
240 Conflicts:      callweaver < 1.2.1-9
241 Conflicts:      cassandra-bin < 0.8.9-2
242 Conflicts:      clamav < 0.97.3-3
243 Conflicts:      cups < 1:1.5.0-10
244 Conflicts:      dovecot < 1:2.0.16-3
245 Conflicts:      dspam < 3.9.0-6
246 Conflicts:      fail2ban < 0.8.4-4
247 Conflicts:      fsck < 2.25.0
248 Conflicts:      gammu-smsd < 1:1.31.0-3
249 # Break gdm2.20 installs
250 #Conflicts:     gdm < 2:3.2.1.1-9
251 Conflicts:      greylistd < 0.8.8-2
252 Conflicts:      inn < 2.4.6-7
253 Conflicts:      ipsec-tools < 0.8.0-3
254 Conflicts:      jabber-common < 0-9
255 Conflicts:      laptop-mode-tools < 1.58-2
256 Conflicts:      libgpod < 0.8.0-6
257 Conflicts:      libvirt-utils < 0.9.9-4
258 Conflicts:      lighttpd < 1.4.30-5
259 Conflicts:      lirc < 0.9.0-20
260 # Needed for vgscan --cache ( perhaps < 2.02.96 would be enough, but not tested)
261 Conflicts:      lvm2 < 2.02.132
262 Conflicts:      mailman < 5:2.1.14-4
263 Conflicts:      memcached < 1.4.11-2
264 Conflicts:      mpd < 0.16.5-4
265 Conflicts:      mrtg < 2.17.0-3
266 Conflicts:      munin-common < 1.4.5-5
267 Conflicts:      nagios-nrpe < 2.13-2
268 Conflicts:      ndisc6-rdnssd < 1.0.1-3
269 Conflicts:      nscd < 6:2.14.1-5
270 Conflicts:      nss_ldapd-nslcd < 0.8.4-2
271 Conflicts:      openct < 0.6.20-3
272 Conflicts:      openl2tp < 1.8-3
273 Conflicts:      openldap-overlay-nssov < 2.4.28-4
274 Conflicts:      openldap-servers < 2.4.28-4
275 Conflicts:      openvpn < 2.2.2-2
276 Conflicts:      pam-pam_mount < 2.12-3
277 Conflicts:      pam-pam_ssh < 1.97-2
278 Conflicts:      pcsc-lite < 1.8.1-2
279 Conflicts:      php-dirs < 1.2-3
280 Conflicts:      policyd < 2.0.10-3
281 Conflicts:      pound < 2.6-2
282 Conflicts:      pptp < 1.7.2-3
283 Conflicts:      proftpd-common < 2:1.3.4a-2
284 Conflicts:      pulseaudio-server < 1.1-2
285 Conflicts:      quagga < 0.99.20-3
286 Conflicts:      radvd < 1.8.5-2
287 Conflicts:      red5 < 0.9.0-2
288 Conflicts:      redis-server < 2.4.2-4
289 Conflicts:      smokeping < 2.4.2-10
290 Conflicts:      smtp-gated < 1.4.17-2
291 Conflicts:      socat < 1.7.2.0-2
292 Conflicts:      speech-dispatcher < 0.7.1-2
293 Conflicts:      sphinx < 2.0.3-4
294 Conflicts:      splashutils < 1.5.4.3-3
295 Conflicts:      stunnel < 4.50-2
296 Conflicts:      tenshi < 0.12-2
297 Conflicts:      tor < 0.2.2.35-2
298 Conflicts:      ucarp < 1.5.2-3
299 Conflicts:      udisks < 1.0.4-3
300 Conflicts:      util-vserver < 0.30.216-1.pre3002.3
301 Conflicts:      vpnc < 0.5.3-2
302 Conflicts:      web2ldap < 1.1.0rc1-2
303 Conflicts:      wesnoth-server < 1:1.10-2
304 Conflicts:      wpa_supplicant < 0.7.3-10
305 Conflicts:      xl2tpd < 1.3.0-2
306 # end of tmpfiles conflicts
307 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
308
309 %define         _rootsbindir    /sbin
310
311 %description
312 systemd is a system and service manager for Linux, compatible with
313 SysV and LSB init scripts. systemd provides aggressive parallelization
314 capabilities, uses socket and D-Bus activation for starting services,
315 offers on-demand starting of daemons, keeps track of processes using
316 Linux cgroups, supports snapshotting and restoring of the system
317 state, maintains mount and automount points and implements an
318 elaborate transactional dependency-based service control logic. It can
319 work as a drop-in replacement for sysvinit.
320
321 %description -l pl.UTF-8
322 systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze
323 skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności
324 paralelizacji, do uruchamiania usług używa socketów oraz D-Busa,
325 oferuje uruchamianie usług na życzenie, monitoruje procesy używając
326 linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie
327 (restore) stanu systemu, zarządza (auto)mount pointami oraz
328 implementuje starannie opracowaną transakcjonalną, bazującą na
329 zależnościach logikę kontroli usług. Może pracować jako zastępca dla
330 sysvinit.
331
332 %package init
333 Summary:        systemd /sbin/init and LSB/SysV compatibility symlinks
334 Summary(pl.UTF-8):      /sbin/init z systemd i dowiązania dla kompatybilności z LSB/SysV
335 Group:          Base
336 Requires:       systemd
337 Provides:       virtual-init-daemon
338 Obsoletes:      SysVinit
339 Obsoletes:      virtual-init-daemon
340 Conflicts:      rc-scripts < 0.4.5.5-2
341 Conflicts:      upstart
342 # systemd takes care of that and causes problems
343 Conflicts:      binfmt-detector
344 # for /lib/systemd/systemd-sysv-install
345 Conflicts:      chkconfig < 2:1.5-1
346
347 %description init
348 Install this package when you are ready to final switch to systemd.
349
350 %description init -l pl.UTF-8
351 Ten pakiet należy zainstalować po przygotowaniu się do ostatecznego
352 przejścia na systemd.
353
354 %package sysv-compat
355 Summary:        systemd/SysV interoperability tools
356 Summary(pl.UTF-8):      Narzędzia wspomagające współpracę między systemd a SysV
357 Group:          Base
358 Requires:       python3
359 Requires:       python3-modules
360
361 %description sysv-compat
362 systemd/SysV interoperability tools.
363
364 %description sysv-compat -l pl.UTF-8
365 Narzędzia wspomagające współpracę między systemd a SysV.
366
367 %package units
368 Summary:        Configuration files, directories and installation tool for systemd
369 Summary(pl.UTF-8):      Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla systemd
370 Group:          Base
371 Requires(post): coreutils
372 Requires(post): /bin/awk
373 Requires:       less >= 568
374
375 %description units
376 Basic configuration files, directories and installation tool for the
377 systemd system and service manager.
378
379 This is common config, use %{_sysconfdir}/systemd/system to override.
380
381 %description units -l pl.UTF-8
382 Podstawowe pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla
383 zarządcy systemu i usług systemd.
384
385 Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać
386 poprzez katalog %{_sysconfdir}/systemd/system.
387
388 %package tools
389 Summary:        Tools that work with and without systemd started
390 Summary(pl.UTF-8):      Narzędzia działające przy uruchomionym jak i bez systemd
391 Group:          Base
392 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
393
394 %description tools
395 Tools that work with and without systemd started.
396
397 %description tools -l pl.UTF-8
398 Narzędzia działające przy uruchomionym jak i bez systemd.
399
400 %package container
401 Summary:        Tools for container/VM management
402 Summary(pl.UTF-8):      Narzędzia do zarządzania kontenerami/wirtualnymi maszynami
403 License:        LGPL v2.1+
404 Group:          Base
405 Requires:       %{name} = %{epoch}:%{version}-%{release}
406 Requires:       curl-libs >= 7.32.0
407
408 %description container
409 Tools for container/VM management.
410
411 %description container -l pl.UTF-8
412 Narzędzia do zarządzania kontenerami/wirtualnymi maszynami.
413
414 %package journal-remote
415 Summary:        Tools for sending and receiving remote journal logs
416 Summary(pl.UTF-8):      Narzędzia do wysyłania i odbierania zdarzeń dziennika po sieci
417 License:        LGPL v2.1+
418 Group:          Base
419 Requires:       %{name} = %{epoch}:%{version}-%{release}
420 Requires(postun):       /usr/sbin/groupdel
421 Requires(postun):       /usr/sbin/userdel
422 Requires(pre):  /bin/id
423 Requires(pre):  /usr/bin/getgid
424 Requires(pre):  /usr/sbin/groupadd
425 Requires(pre):  /usr/sbin/useradd
426 Requires:       curl-libs >= 7.32.0
427 Requires:       gnutls-libs >= 3.6.0
428 Requires:       libmicrohttpd >= 0.9.33
429 Provides:       group(systemd-journal-gateway)
430 Provides:       group(systemd-journal-remote)
431 Provides:       group(systemd-journal-upload)
432 Provides:       user(systemd-journal-gateway)
433 Provides:       user(systemd-journal-remote)
434 Provides:       user(systemd-journal-upload)
435 Obsoletes:      systemd-journal-gateway < 1:251.4-3
436 Conflicts:      systemd < 1:206-3
437
438 %description journal-remote
439 Tools for sending and receiving remote journal logs.
440
441 %description journal-remote -l pl.UTF-8
442 Narzędzia do wysyłania i odbierania zdarzeń dziennika po sieci.
443
444 %package homed
445 Summary:        systemd home area/user account manager
446 Summary(pl.UTF-8):      Zarządca obszarów domowych/kont użytkownika dla systemd
447 Group:          Base
448 Requires:       %{name} = %{epoch}:%{version}-%{release}
449 Requires:       libfdisk >= 2.32
450
451 %description homed
452 systemd-homed is a system service that may be used to create, remove,
453 change or inspect home areas (directories and network mounts and real
454 or loopback block devices with a filesystem, optionally encrypted).
455
456 %description homed -l pl.UTF-8
457 systemd-homed to usługa systemowa służąca do tworzenia, usuwania,
458 zmiany lub dozorowania obszarów domowych (katalogów, montowań
459 sieciowych oraz prawdziwych lub symulowanych urządzeń blokowych z
460 systemami plików, opcjonalnie szyfrowanymi).
461
462 %package networkd
463 Summary:        systemd network manager
464 Summary(pl.UTF-8):      Zarządca sieci systemd
465 Group:          Base
466 Requires:       %{name} = %{epoch}:%{version}-%{release}
467 Suggests:       %{name}-resolved = %{epoch}:%{version}-%{release}
468
469 %description networkd
470 systemd-networkd is a system service that manages networks. It detects
471 and configures network devices as they appear, as well as creating
472 virtual network devices.
473
474 %description networkd -l pl.UTF-8
475 systemd-networkd to usługa systemowa zarządzająca siecią. Wykrywa i
476 konfiguruje interfejsy sieciowe gdy się pojawiają, a także tworzy
477 wirtualne urządzenia sieciowe.
478
479 %package oomd
480 Summary:        systemd userspace OOM killer service
481 Summary(pl.UTF-8):      Usługa systemd zabójcy OOM w przestrzeni użytkownika
482 Group:          Base
483 Requires:       %{name} = %{epoch}:%{version}-%{release}
484
485 %description oomd
486 systemd-oomd is a system service which monitors resource contention
487 for selected parts of the unit hierarchy using the PSI information
488 reported by the kernel, and kills processes when memory or swap
489 pressure is above configured limits.
490
491 %description oomd -l pl.UTF-8
492 systemd-oomd to usługa systemowa monitorująca wykorzystanie zasobów
493 dla wybranych części hierarchii jednostek przy użyciu informacji PSI,
494 zgłaszanych przez jądro, oraz zabijająca procesy, kiedy niedobór
495 pamięci lub przestrzeni wymiany jest powyżej skonfigurowanych limitów.
496
497 %package portabled
498 Summary:        systemd portable service images service
499 Summary(pl.UTF-8):      Usługa systemd do obrazów usług przenośnych
500 Group:          Base
501 Requires:       %{name} = %{epoch}:%{version}-%{release}
502
503 %description portabled
504 systemd-portabled is a system service that may be used to attach,
505 detach and inspect portable service images.
506
507 %description portabled -l pl.UTF-8
508 systemd-portabled to usługa systemowa służąca do podłączania,
509 odłączania i badania obrazów usług przenośnych.
510
511 %package repart
512 Summary:        systemd service to automatically grow and add partitions
513 Summary(pl.UTF-8):      Usługa systemd do automatycznego powiększania lub dodawania partycji
514 Group:          Base
515 Requires:       %{name} = %{epoch}:%{version}-%{release}
516 Requires:       libfdisk >= 2.32
517
518 %description repart
519 systemd-repart grows and adds partitions to a partition table, based
520 on the configuration files.
521
522 %description repart -l pl.UTF-8
523 systemd-repart powiększa i dodaje partycje do tablicy partycji w
524 oparciu o pliki konfiguracyjne.
525
526 %package resolved
527 Summary:        systemd network name resolution manager
528 Summary(pl.UTF-8):      Zarządca rozwiązywania nazw sieciowych systemd
529 Group:          Base
530 Requires:       %{name} = %{epoch}:%{version}-%{release}
531 Requires:       gnutls-libs >= 3.6.0
532
533 %description resolved
534 systemd-resolved is a system service that manages network name
535 resolution. It implements a caching DNS stub resolver and an LLMNR
536 resolver and responder.
537
538 It also generates /run/systemd/resolve/resolv.conf for compatibility
539 which may be symlinked from /etc/resolv.conf.
540
541 %description resolved -l pl.UTF-8
542 systemd-resolved to usługa systemowa zarządzająca rozwiązywaniem nazw
543 sieciowych. Implementuje keszujący resolver DNS oraz resolver i
544 responder LLMNR.
545
546 Generuje także dla zgodności plik /run/systemd/resolve/resolv.conf,
547 który można użyć do dowiązania symbolicznego z /etc/resolv.conf.
548
549 %package sysupdate
550 Summary:        systemd service for automatic system update
551 Summary(pl.UTF-8):      Usługa systemd do automatycznych aktualizacji systemu
552 Group:          Base
553 Requires:       %{name} = %{epoch}:%{version}-%{release}
554
555 %description sysupdate
556 systemd service for automatic system update.
557
558 %description sysupdate -l pl.UTF-8
559 Usługa systemd do automatycznych aktualizacji systemu.
560
561 %package inetd
562 Summary:        Native inet service support for systemd via socket activation
563 Summary(pl.UTF-8):      Natywna obsługa usług inet dla systemd
564 Group:          Base
565 Requires:       %{name} = %{epoch}:%{version}-%{release}
566 Requires:       rc-inetd
567 Provides:       inetdaemon
568 Obsoletes:      inetd
569 Obsoletes:      inetdaemon
570 Obsoletes:      rlinetd
571 Obsoletes:      xinetd
572
573 %description inetd
574 Native inet service support for systemd via socket activation.
575
576 This package contains inet service generator that provides the
577 functionality of rc-inetd service and replaces a separate inet daemon
578 with systemd socket activation feature.
579
580 %description inetd -l pl.UTF-8
581 Natywna obsługa usług inet dla systemd.
582
583 Ten pakiet zawiera generator usług inet udostępniający funkcjonalność
584 serwisu rc-inetd i zastępujący osobny demon inet przez systemd i
585 aktywację usług przez gniazda.
586
587 %package analyze
588 Summary:        Tool for processing systemd profiling information
589 Summary(pl.UTF-8):      Narzędzie do przetwarzania informacji profilujących systemd
590 Group:          Base
591 Requires:       %{name} = %{epoch}:%{version}-%{release}
592 Conflicts:      systemd < 44-3
593
594 %description analyze
595 'systemd-analyze blame' lists which systemd unit needed how much time
596 to finish initialization at boot. 'systemd-analyze plot' renders an
597 SVG visualizing the parallel start of units at boot.
598
599 %description analyze -l pl.UTF-8
600 'systemd-analyze blame' wypisuje, ile czasu wymagały poszczególne
601 jednostki systemd na zakończenie podczas rozruchu systemu.
602 'systemd-analyze plot' tworzy wykres SVG wizualizujący równoległy
603 start jednostek podczas rozruchu.
604
605 %package libs
606 Summary:        Shared systemd libraries
607 Summary(pl.UTF-8):      Biblioteki współdzielone systemd
608 Group:          Libraries
609 Requires:       libgcrypt >= 1.4.5
610 Requires:       libseccomp >= 2.4.0
611 %{?with_selinux:Requires:       libselinux >= 2.6}
612 Requires:       lz4-libs >= 1:1.3.0
613 Requires:       zstd >= 1.4.0
614 Obsoletes:      nss_myhostname < 0.4
615
616 %description libs
617 Shared systemd libraries.
618
619 %description libs -l pl.UTF-8
620 Biblioteki współdzielone systemd.
621
622 %package devel
623 Summary:        Header files for systemd libraries
624 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek systemd
625 Group:          Development/Libraries
626 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
627 Requires:       %{name}-units = %{epoch}:%{version}-%{release}
628 Obsoletes:      systemd-static < 1:205
629
630 %description devel
631 Header files for systemd libraries.
632
633 %description devel -l pl.UTF-8
634 Pliki nagłówkowe bibliotek systemd.
635
636 %package -n bash-completion-systemd
637 Summary:        bash-completion for systemd
638 Summary(pl.UTF-8):      Bashowe dopełnianie składni dla systemd
639 Group:          Applications/Shells
640 Requires:       %{name} = %{epoch}:%{version}-%{release}
641 Requires:       bash-completion >= 1:2.0
642 Obsoletes:      bash-completion-elogind
643 BuildArch:      noarch
644
645 %description -n bash-completion-systemd
646 bash-completion for systemd.
647
648 %description -n bash-completion-systemd -l pl.UTF-8
649 Bashowe dopełnianie składni dla systemd.
650
651 %package -n zsh-completion-systemd
652 Summary:        zsh completion for systemd commands
653 Summary(pl.UTF-8):      Uzupełnianie parametrów w zsh dla poleceń systemd
654 Group:          Applications/Shells
655 Requires:       %{name} = %{epoch}:%{version}-%{release}
656 Obsoletes:      zsh-completion-elogind
657 BuildArch:      noarch
658
659 %description -n zsh-completion-systemd
660 zsh completion for systemd commands.
661
662 %description -n zsh-completion-systemd -l pl.UTF-8
663 Uzupełnianie parametrów w zsh dla poleceń systemd.
664
665 %package -n udev
666 Summary:        Device manager for the Linux 2.6 kernel series
667 Summary(pl.UTF-8):      Zarządca urządzeń dla Linuksa 2.6
668 Group:          Base
669 Requires:       udev-core = %{epoch}:%{version}-%{release}
670 Provides:       dev = 3.5.0
671 Obsoletes:      dev < 3.5
672 Obsoletes:      hotplug < 2005
673 Obsoletes:      hotplug-digicam < 2005
674 Obsoletes:      hotplug-input < 2005
675 Obsoletes:      hotplug-isapnp < 2005
676 Obsoletes:      hotplug-net < 2005
677 Obsoletes:      hotplug-pci < 2005
678 Obsoletes:      udev-dev < 032
679 Obsoletes:      udev-extras < 20090628
680 Obsoletes:      udev-tools < 1:125-2
681
682 %description -n udev
683 udev is the device manager for the Linux 2.6 kernel series. Its
684 primary function is managing device nodes in /dev. It is the successor
685 of devfs and hotplug.
686
687 %description -n udev -l pl.UTF-8
688 udev jest zarządcą urządzeń dla Linuksa 2.6. Jego główną funkcją jest
689 zarządzanie węzłami urządzeń w katalogu /dev. Jest następcą devfs i
690 hotpluga.
691
692 %package -n udev-core
693 Summary:        A userspace implementation of devfs - core part of udev
694 Summary(pl.UTF-8):      Implementacja devfs w przestrzeni użytkownika - główna część udev
695 Group:          Base
696 Requires:       coreutils
697 Requires:       filesystem >= 3.0-45
698 Requires:       kmod >= 15
699 Requires:       libblkid >= 2.24
700 %{?with_selinux:Requires:       libselinux >= 2.6}
701 Requires:       setup >= 2.10.1
702 Requires:       systemd-libs = %{epoch}:%{version}-%{release}
703 Requires:       udev-libs = %{epoch}:%{version}-%{release}
704 Requires:       uname(release) >= 4.15
705 Obsoletes:      udev-compat < 1:182-1
706 Obsoletes:      udev-dbus < 027
707 Obsoletes:      udev-digicam < 1:079-2
708 Obsoletes:      udev-initramfs < 1:182-5
709 Obsoletes:      udev-initrd < 1:198-1
710 Conflicts:      geninitrd < 12639
711 Conflicts:      rc-scripts < 0.4.5.3-1
712 Conflicts:      systemd-units < 1:183
713 Conflicts:      udev < 1:118-1
714
715 %description -n udev-core
716 A userspace implementation of devfs - core part of udev.
717
718 %description -n udev-core -l pl.UTF-8
719 Implementacja devfs w przestrzeni użytkownika - główna część udev.
720
721 %package -n udev-libs
722 Summary:        Shared library to access udev device information
723 Summary(pl.UTF-8):      Biblioteka współdzielona do dostępu do informacji o urządzeniach udev
724 Group:          Libraries
725
726 %description -n udev-libs
727 Shared libudev library to access udev device information.
728
729 %description -n udev-libs -l pl.UTF-8
730 Biblioteka współdzielona libudev służąca do dostępu do informacji o
731 urządzeniach udev.
732
733 %package -n udev-devel
734 Summary:        Header file for libudev library
735 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki libudev
736 Group:          Development/Libraries
737 Requires:       udev-libs = %{epoch}:%{version}-%{release}
738 Obsoletes:      udev-apidocs < 1:221-1
739 Obsoletes:      udev-static < 1:205
740
741 %description -n udev-devel
742 Header file for libudev library.
743
744 %description -n udev-devel -l pl.UTF-8
745 Plik nagłówkowy biblioteki libudev.
746
747 %package -n bash-completion-udev
748 Summary:        bash-completion for udev
749 Summary(pl.UTF-8):      Bashowe dopełnianie składni dla udev
750 Group:          Applications/Shells
751 Requires:       bash-completion >= 1:2.0
752 Requires:       udev = %{epoch}:%{version}-%{release}
753 BuildArch:      noarch
754
755 %description -n bash-completion-udev
756 bash-completion for udev.
757
758 %description -n bash-completion-udev -l pl.UTF-8
759 Bashowe dopełnianie składni dla udev.
760
761 %package -n zsh-completion-udev
762 Summary:        zsh completion for udev commands
763 Summary(pl.UTF-8):      Uzupełnianie parametrów w zsh dla poleceń udev
764 Group:          Applications/Shells
765 Requires:       %{name} = %{epoch}:%{version}-%{release}
766 BuildArch:      noarch
767
768 %description -n zsh-completion-udev
769 zsh completion for udev commands.
770
771 %description -n zsh-completion-udev -l pl.UTF-8
772 Uzupełnianie parametrów w zsh dla poleceń udev.
773
774 %package -n rpm-macros-systemd
775 Summary:        RPM macros that define paths and scriptlets related to systemd
776 Summary(pl.UTF-8):      Makra RPM-a definiujące ścieżki i skryptlety związane z systemd
777 Group:          Development/Building
778 BuildArch:      noarch
779
780 %description -n rpm-macros-systemd
781 RPM macros that define paths and scriptlets related to systemd.
782
783 %description -n rpm-macros-systemd -l pl.UTF-8
784 Makra RPM-a definiujące ścieżki i skryptlety związane z systemd.
785
786 %prep
787 %setup -q -n systemd-stable-%{version}
788 %patch0 -p1
789 %patch1 -p1
790 %patch2 -p1
791 %patch3 -p1
792 %patch4 -p1
793 %patch5 -p1
794 # rejected upstream (do not disable!)
795 %patch6 -p1
796 %patch7 -p1
797 %patch8 -p1
798 %patch9 -p1
799 %patch10 -p1
800 %patch11 -p1
801 %patch13 -p1
802 %patch14 -p1
803 %patch15 -p1
804 %patch16 -p1
805
806 cp -p %{SOURCE2} src/systemd_booted.c
807
808 grep -rlZ -0 '#!/usr/bin/env bash' . | xargs -0 sed -i -e 's,#!/usr/bin/env bash,#!/bin/bash,g'
809
810 %build
811 %meson build \
812         -Dadm-gid=3 \
813         -Daudio-gid=23 \
814         -Dcdrom-gid=27 \
815         -Ddialout-gid=16 \
816         -Ddisk-gid=6 \
817         -Dinput-gid=182 \
818         -Dkmem-gid=9 \
819         -Dkvm-gid=160 \
820         -Dlp-gid=7 \
821         -Dsgx-gid=344 \
822         -Dtape-gid=68 \
823         -Dusers-gid=1000 \
824         -Dutmp-gid=22 \
825         -Dvideo-gid=24 \
826         -Dwheel-gid=10 \
827         -Dsystemd-journal-gid=288 \
828         -Dsystemd-network-uid=316 \
829         -Dsystemd-resolve-uid=317 \
830         -Dsystemd-timesync-uid=318 \
831         -Dnobody-user="nobody" \
832         -Dnobody-group="nogroup" \
833         -Daudit=%{__true_false audit} \
834         -Dbpf-framework=%{__true_false bpf} \
835         -Ddefault-kill-user-processes=false \
836         %{?debug:--buildtype=debug} \
837         -Defi=%{__true_false efi} \
838         -Dlibfido2=%{__true_false fido2} \
839         -Dkexec-path=/sbin/kexec \
840         -Dkmod-path=/sbin/kmod \
841         -Dlibcryptsetup=%{__true_false cryptsetup} \
842         -Dlibcryptsetup-plugins-dir=/usr/%{_lib}/cryptsetup \
843         -Dlibidn2=true \
844         -Dloadkeys-path=/usr/bin/loadkeys \
845         -Dlz4=true \
846         -Dman=true \
847         -Dmicrohttpd=%{__true_false microhttpd} \
848         -Dmount-path=/bin/mount \
849         -Dntp-servers='0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org' \
850         -Dpam=%{__true_false pam} \
851         -Dqrencode=%{__true_false qrencode} \
852         -Dquotacheck=true \
853         -Dquotacheck-path=/sbin/quotacheck \
854         -Dquotaon-path=/sbin/quotaon \
855         -Drc-local=/etc/rc.d/rc.local \
856         -Drootlibdir=/%{_lib} \
857         -Drootprefix="" \
858         -Dselinux=%{__true_false selinux} \
859         -Dsetfont-path=/bin/setfont \
860         -Dsplit-bin=true \
861         -Dsplit-usr=true \
862         -Dsulogin-path=/sbin/sulogin \
863         -Dsysvinit-path=/etc/rc.d/init.d \
864         -Dsysvrcnd-path=/etc/rc.d \
865         -Dtpm2=%{__true_false tpm2} \
866         -Dumount-path=/bin/umount \
867
868 %ninja_build -C build
869
870 %{__cc} %{rpmcppflags} %{rpmcflags} -o build/systemd_booted %{rpmldflags} src/systemd_booted.c -Lbuild -lsystemd
871
872 %{?with_tests:%ninja_test -C build}
873
874 %install
875 rm -rf $RPM_BUILD_ROOT
876 install -d $RPM_BUILD_ROOT/var/lib/{%{name}/{catalog,coredump},machines} \
877         $RPM_BUILD_ROOT%{_rootsbindir} \
878         $RPM_BUILD_ROOT%{_sysconfdir}/{modprobe.d,repart.d,systemd/{system,user}-preset,sysupdate.d} \
879         $RPM_BUILD_ROOT%{systemduserunitdir}/sockets.target.wants \
880         $RPM_BUILD_ROOT%{systemdunitdir}/{final,sound,system-update}.target.wants \
881         $RPM_BUILD_ROOT%{systemdunitdir}/systemd-udevd.service.d \
882         $RPM_BUILD_ROOT%{_prefix}/lib/{repart.d,systemd/system-environment-generators,sysupdate.d}
883
884 %ninja_install -C build
885
886 touch $RPM_BUILD_ROOT/var/lib/%{name}/random-seed
887
888 install -p -m755 build/systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted
889
890 # target-pld.patch supplements
891 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/sysinit.target.wants/sys-kernel-config.mount
892 ln -s %{systemdunitdir}/prefdm.service $RPM_BUILD_ROOT%{systemdunitdir}/graphical.target.wants/display-manager.service
893 ln -s prefdm.service $RPM_BUILD_ROOT%{systemdunitdir}/display-manager.service
894 ln -s rescue.service $RPM_BUILD_ROOT%{systemdunitdir}/single.service
895 ln -s %{systemdunitdir}/rc-local.service $RPM_BUILD_ROOT%{systemdunitdir}/multi-user.target.wants/rc-local.service
896
897 # compatibility symlinks to udevd binary
898 mv $RPM_BUILD_ROOT/lib/{systemd/systemd-,udev/}udevd
899 ln -s /lib/udev/udevd $RPM_BUILD_ROOT/lib/systemd/systemd-udevd
900 ln -s /lib/udev/udevd $RPM_BUILD_ROOT%{_rootsbindir}/udevd
901
902 # compat symlinks for "/ merged into /usr" programs
903 ln -s ../bin/udevadm $RPM_BUILD_ROOT%{_rootsbindir}
904 ln -s /lib/udev $RPM_BUILD_ROOT%{_prefix}/lib
905
906 # install custom udev rules from pld package
907 cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
908 cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules
909 cp -a %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-uinput.rules
910 cp -a %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-steam_controller.rules
911 cp -a %{SOURCE106} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-i2c.rules
912 %ifarch %{arm} aarch64
913 cp -a %{SOURCE107} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-raspberrypi.rules
914 %endif
915
916 # http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
917 ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/80-net-setup-link.rules
918
919 # install udev configs
920 cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/udev/links.conf
921
922 # install udev executables (scripts, helpers, etc.)
923 install -p %{SOURCE110} $RPM_BUILD_ROOT/lib/udev/net_helper
924 install -p %{SOURCE111} $RPM_BUILD_ROOT%{_rootsbindir}/start_udev
925
926 # install misc udev stuff
927 cp -a %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/udev_blacklist.conf
928 cp -a %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
929
930 :>$RPM_BUILD_ROOT%{_sysconfdir}/udev/hwdb.bin
931
932 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man8/{systemd-,}udevd.8
933 echo ".so man8/udevd.8" >$RPM_BUILD_ROOT%{_mandir}/man8/systemd-udevd.8
934
935 # Main binary has been moved, but we don't want to break existing installs
936 ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/bin/systemd
937
938 ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf
939
940 # disable redundant SYSV services
941 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/allowlogin.service
942 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/console.service
943 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/cpusets.service
944 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/killall.service
945 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/netfs.service
946 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/random.service
947
948 # add static (non-NetworkManager) networking
949 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/network.service
950
951 # restore bind-mounts /var/run -> run and /var/lock -> /run/lock
952 # we don't have those directories symlinked
953 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/var-lock.mount
954 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/var-run.mount
955 ln -s ../var-lock.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
956 ln -s ../var-run.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
957
958 # and remove mounting tmp on tmpfs by default
959 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants/tmp.mount
960
961 # add /tmp cleanup service
962 cp -p %{SOURCE14} $RPM_BUILD_ROOT%{systemdunitdir}/pld-clean-tmp.service
963 install -p %{SOURCE15} $RPM_BUILD_ROOT/lib/systemd/pld-clean-tmp
964 ln -s ../pld-clean-tmp.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
965
966 # Add inside container only SIGPWR handler which is used by lxc-stop
967 install -p %{SOURCE20} $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr-container-shutdown.service
968 install -d $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr.target.wants
969 ln -s ../sigpwr-container-shutdown.service $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr.target.wants
970
971 # As of 207 the systemd-sysctl tool no longer natively reads the file /etc/sysctl.conf.
972 # If desired, the file should be symlinked from /etc/sysctl.d/99-sysctl.conf.
973 ln -s /etc/sysctl.conf $RPM_BUILD_ROOT/etc/sysctl.d/99-sysctl.conf
974
975 # Install rc-inetd replacement
976 cp -p %{SOURCE16} $RPM_BUILD_ROOT%{systemdunitdir}-generators/pld-rc-inetd-generator
977 cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdunitdir}/rc-inetd.service
978
979 cp -p %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system-preset/default.preset
980
981 cp -p %{SOURCE19} $RPM_BUILD_ROOT%{systemdunitdir}/prefdm.service
982
983 # handled by rc-local sysv service, no need for generator
984 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}-generators/systemd-rc-local-generator \
985         $RPM_BUILD_ROOT%{_mandir}/man8/systemd-rc-local-generator.8
986
987 # provided by rc-scripts
988 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/rc-local.service \
989         $RPM_BUILD_ROOT%{_mandir}/man8/rc-local.service.8
990
991 # Make sure these directories are properly owned:
992 #       - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd,
993 #       - syslog _might_ be used by some syslog implementation (none for now),
994 #       - isn't dbus populated by dbus-systemd only (so to be moved there)?
995 install -d $RPM_BUILD_ROOT%{systemdunitdir}/{basic,dbus,halt,initrd,kexec,poweroff,reboot,shutdown,syslog}.target.wants
996
997 # Make sure the shutdown/sleep drop-in dirs exist
998 install -d $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-{shutdown,sleep}
999
1000 # Create new-style configuration files so that we can ghost-own them
1001 touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,vconsole.conf}
1002
1003 # Install SysV conversion tool for systemd
1004 install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
1005
1006 # Create directory for service helper scripts
1007 install -d $RPM_BUILD_ROOT/lib/systemd/pld-helpers.d
1008
1009 install -d $RPM_BUILD_ROOT/var/log
1010 :> $RPM_BUILD_ROOT/var/log/btmp
1011 :> $RPM_BUILD_ROOT/var/log/wtmp
1012
1013 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
1014
1015 %find_lang %{name}
1016
1017 %clean
1018 rm -rf $RPM_BUILD_ROOT
1019
1020 %pre
1021 %groupadd -g 288 systemd-journal
1022 %groupadd -g 316 systemd-network
1023 %useradd -u 316 -g 316 -d /var/log/journal -s /bin/false -c "Systemd Network Management" systemd-network
1024 %groupadd -g 317 systemd-resolve
1025 %useradd -u 317 -g 317 -d /var/log/journal -s /bin/false -c "Systemd Resolver" systemd-resolve
1026 %groupadd -g 318 systemd-timesync
1027 %useradd -u 318 -g 318 -d /var/log/journal -s /bin/false -c "Systemd Time Synchronization" systemd-timesync
1028 %groupadd -g 333 systemd-coredump
1029 %useradd -u 333 -g 333 -d /var/log/journal -s /bin/false -c "Systemd Core Dumper" systemd-coredump
1030 %groupadd -g 341 systemd-oom
1031 %useradd -u 341 -g 341 -d /var/log/journal -s /bin/false -c "Systemd Userspace OOM Killer" systemd-oom
1032
1033 %post
1034 /bin/systemd-machine-id-setup || :
1035 /lib/systemd/systemd-random-seed save || :
1036 /bin/systemctl --system daemon-reexec || :
1037 /bin/journalctl --update-catalog || :
1038 /bin/systemd-sysusers || :
1039
1040 %postun
1041 if [ $1 -ge 1 ]; then
1042         /bin/systemctl --system daemon-reload || :
1043         /bin/systemctl try-restart systemd-logind.service || :
1044 fi
1045 if [ "$1" = "0" ]; then
1046         %userremove systemd-coredump
1047         %groupremove systemd-coredump
1048         %userremove systemd-network
1049         %groupremove systemd-network
1050         %userremove systemd-oom
1051         %groupremove systemd-oom
1052         %userremove systemd-resolve
1053         %groupremove systemd-resolve
1054         %userremove systemd-timesync
1055         %groupremove systemd-timesync
1056         %groupremove systemd-journal
1057 fi
1058
1059 %triggerpostun -- systemd < 1:220-1
1060 # systemd < 1:208-1
1061 chgrp -R systemd-journal /var/log/journal
1062 chmod g+s /var/log/journal
1063 # systemd < 1:220-1
1064 # https://bugs.freedesktop.org/show_bug.cgi?id=89202
1065 /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) || :
1066
1067 %triggerpostun -- systemd-consoled < 1:232-1
1068 if [ -f %{_sysconfdir}/vconsole.conf.rpmsave ]; then
1069         %{__mv} -f %{_sysconfdir}/vconsole.conf %{_sysconfdir}/vconsole.conf.rpmnew
1070         %{__mv} -f %{_sysconfdir}/vconsole.conf.rpmsave %{_sysconfdir}/vconsole.conf
1071 fi
1072
1073 %post   libs -p /sbin/ldconfig
1074 %postun libs -p /sbin/ldconfig
1075
1076 %post units
1077 if [ $1 -eq 1 ]; then
1078         # Try to read default runlevel from the old inittab if it exists
1079         runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2>/dev/null)
1080         if [ -z "$runlevel" ] ; then
1081                 target="%{systemdunitdir}/graphical.target"
1082         else
1083                 target="%{systemdunitdir}/runlevel$runlevel.target"
1084         fi
1085
1086         # And symlink what we found to the new-style default.target
1087         ln -s "$target" %{_sysconfdir}/systemd/system/default.target || :
1088
1089         # Setup hostname if not yet done so
1090         if [ ! -s /etc/hostname ]; then
1091                 HOSTNAME=
1092                 [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
1093                 if [ -n "$HOSTNAME" -a "$HOSTNAME" != "pldmachine" ]; then
1094                         echo $HOSTNAME > /etc/hostname
1095                         chmod 644 /etc/hostname
1096                 fi
1097         fi
1098
1099         # Enable the services we install by default.
1100         /bin/systemctl enable \
1101                 network.service \
1102                 remote-fs.target \
1103                 systemd-udev-settle.service || :
1104 fi
1105
1106 %preun units
1107 if [ $1 -eq 0 ] ; then
1108         /bin/systemctl disable \
1109                 network.service \
1110                 remote-fs.target \
1111                 systemd-udev-settle.service || :
1112
1113         %{__rm} -f %{_sysconfdir}/systemd/system/default.target || :
1114 fi
1115
1116 %postun units
1117 if [ $1 -ge 1 ]; then
1118         /bin/systemctl daemon-reload || :
1119 fi
1120
1121 %triggerpostun units -- systemd-units < 1:242
1122 # systemd-units < 43-7
1123 # Remove design fialures
1124 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service || :
1125 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service || :
1126 %{__rm} -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service || :
1127 /bin/systemctl reenable network.service || :
1128 # systemd-units < 1:183
1129 /bin/systemctl --quiet enable systemd-udev-settle.service || :
1130 %{__rm} -f /etc/systemd/system/basic.target.wants/udev-settle.service || :
1131 # preserve renamed configs
1132 if [ -f /etc/systemd/systemd-journald.conf.rpmsave ]; then
1133         %{__mv} /etc/systemd/journald.conf{,.rpmnew}
1134         %{__mv} -f /etc/systemd/systemd-journald.conf.rpmsave /etc/systemd/journald.conf
1135 fi
1136 if [ -f /etc/systemd/systemd-logind.conf.rpmsave ]; then
1137         %{__mv} /etc/systemd/logind.conf{,.rpmnew}
1138         %{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf
1139 fi
1140 # systemd-units < 1:187-3
1141 if [ -f /etc/sysconfig/rpm ]; then
1142         . /etc/sysconfig/rpm
1143         if [ ${RPM_ENABLE_SYSTEMD_SERVICE:-yes} = no ]; then
1144                 echo "disable *" >>%{_sysconfdir}/systemd/system-preset/default.preset
1145         fi
1146 fi
1147 # systemd-units < 1:208-9
1148 # remove buggy symlink
1149 if [ -L /etc/systemd/system/getty.target.wants/getty@.service ] ; then
1150         rm -f /etc/systemd/system/getty.target.wants/getty@.service || :
1151 fi
1152 # systemd-units < 1:242
1153 if [ -L /var/lib/systemd/timesync ] ; then
1154         rm -f /var/lib/systemd/timesync || :
1155 fi
1156
1157 %post inetd
1158 %systemd_reload
1159 # Do not change it to restart, we only want to start new services here
1160 %systemd_service_start sockets.target
1161
1162 %postun inetd
1163 %systemd_reload
1164
1165 %pre journal-remote
1166 %groupadd -g 287 systemd-journal-gateway
1167 %useradd -u 287 -g 287 -d /var/log/journal -s /bin/false -c "Systemd Journal Gateway" systemd-journal-gateway
1168 %groupadd -g 319 systemd-journal-remote
1169 %useradd -u 319 -g 319 -d /var/log/journal -s /bin/false -c "Systemd Journal Remote" systemd-journal-remote
1170 %groupadd -g 320 systemd-journal-upload
1171 %useradd -u 320 -g 320 -d /var/log/journal -s /bin/false -c "Systemd Journal Upload" systemd-journal-upload
1172
1173 %post journal-remote
1174 %systemd_post systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
1175
1176 %preun journal-remote
1177 %systemd_preun systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
1178
1179 %postun journal-remote
1180 %systemd_reload
1181
1182 if [ "$1" = "0" ]; then
1183         %userremove systemd-journal-gateway
1184         %groupremove systemd-journal-gateway
1185         %userremove systemd-journal-remote
1186         %groupremove systemd-journal-remote
1187         %userremove systemd-journal-upload
1188         %groupremove systemd-journal-upload
1189 fi
1190
1191 %post networkd
1192 %systemd_post systemd-networkd.socket systemd-networkd.service
1193
1194 %preun networkd
1195 %systemd_preun systemd-networkd.socket systemd-networkd.service
1196
1197 %postun networkd
1198 %systemd_reload
1199
1200 %post resolved
1201 %systemd_post systemd-resolved.service
1202
1203 %preun resolved
1204 %systemd_preun systemd-resolved.service
1205
1206 %postun resolved
1207 %systemd_reload
1208
1209 %triggerpostun -n udev-core -- dev
1210 if [ "$2" = 0 ]; then
1211         # need to kill and restart udevd as after obsoleting dev package the
1212         # /dev tree will remain empty. umask is needed as otherwise udev will
1213         # create devices with strange permissions (udev bug probably)
1214         umask 000
1215         /sbin/start_udev || exit 0
1216 fi
1217
1218 %triggerpostun -n udev-core -- udev < 165
1219 # udev < 108
1220 %{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules
1221 %if "%{_lib}" != "lib"
1222 %{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules
1223 %endif
1224
1225 # udev < 165
1226 /bin/udevadm info --convert-db
1227
1228 %post -n udev-core
1229 /bin/udevadm hwdb --update || :
1230 if [ $1 -gt 1 ]; then
1231         if [ ! -x /bin/systemd_booted ] || ! /bin/systemd_booted; then
1232                 if grep -qs devtmpfs /proc/mounts && [ -n "$(pidof udevd)" ]; then
1233                         /bin/udevadm control --exit
1234                         /lib/udev/udevd --daemon
1235                 fi
1236         else
1237                 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
1238                 /bin/systemctl --quiet try-restart systemd-udevd.service || :
1239         fi
1240 fi
1241
1242 %postun -n udev-core
1243 if [ -x /bin/systemd_booted ] && /bin/systemd_booted; then
1244         SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
1245         /bin/systemctl --quiet daemon-reload || :
1246 fi
1247
1248 %post   -n udev-libs -p /sbin/ldconfig
1249 %postun -n udev-libs -p /sbin/ldconfig
1250
1251 %files -f %{name}.lang
1252 %defattr(644,root,root,755)
1253 %doc docs/{AUTOMATIC_BOOT_ASSESSMENT,BLOCK_DEVICE_LOCKING,BOOT_LOADER_INTERFACE,BOOT_LOADER_SPECIFICATION,DISTRO_PORTING,ENVIRONMENT,GROUP_RECORD,PREDICTABLE_INTERFACE_NAMES,TRANSIENT-SETTINGS,UIDS-GIDS,USER_GROUP_API,USER_RECORD}.md NEWS README TODO
1254 %{_datadir}/dbus-1/interfaces/org.freedesktop.LogControl1.xml
1255 %{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml
1256 %{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml
1257 %{_datadir}/dbus-1/interfaces/org.freedesktop.login1.*.xml
1258 %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml
1259 %{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml
1260 %{_datadir}/dbus-1/system.d/org.freedesktop.hostname1.conf
1261 %{_datadir}/dbus-1/system.d/org.freedesktop.locale1.conf
1262 %{_datadir}/dbus-1/system.d/org.freedesktop.login1.conf
1263 %{_datadir}/dbus-1/system.d/org.freedesktop.systemd1.conf
1264 %{_datadir}/dbus-1/system.d/org.freedesktop.timedate1.conf
1265 %{_datadir}/dbus-1/system.d/org.freedesktop.timesync1.conf
1266 %attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh
1267 %attr(444,root,root) %ghost %config(noreplace) %{_sysconfdir}/machine-id
1268 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname
1269 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf
1270 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info
1271 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf
1272 %dir %{_sysconfdir}/kernel
1273 %dir %{_sysconfdir}/kernel/install.d
1274 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/coredump.conf
1275 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journald.conf
1276 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/logind.conf
1277 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/pstore.conf
1278 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/sleep.conf
1279 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system.conf
1280 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/timesyncd.conf
1281 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/user.conf
1282 %dir %{_sysconfdir}/systemd/user
1283
1284 %config(noreplace) %verify(not md5 mtime size) /usr/lib/pam.d/systemd-user
1285 /etc/xdg/systemd
1286 %attr(755,root,root) /bin/journalctl
1287 %attr(755,root,root) /bin/loginctl
1288 %attr(755,root,root) /bin/systemd
1289 %attr(755,root,root) /bin/systemd-ask-password
1290 %attr(755,root,root) /bin/systemd-creds
1291 %attr(755,root,root) /bin/systemd-escape
1292 %attr(755,root,root) /bin/systemd-firstboot
1293 %attr(755,root,root) /bin/systemd-inhibit
1294 %attr(755,root,root) /bin/systemd-machine-id-setup
1295 %attr(755,root,root) /bin/systemd-notify
1296 %attr(755,root,root) /bin/systemd-sysext
1297 %attr(755,root,root) /bin/systemd-sysusers
1298 %attr(755,root,root) /bin/systemd-tty-ask-password-agent
1299 %{?with_efi:%attr(755,root,root) %{_bindir}/bootctl}
1300 %attr(755,root,root) %{_bindir}/busctl
1301 %attr(755,root,root) %{_bindir}/coredumpctl
1302 %attr(755,root,root) %{_bindir}/hostnamectl
1303 %attr(755,root,root) %{_bindir}/kernel-install
1304 %attr(755,root,root) %{_bindir}/localectl
1305 %attr(755,root,root) %{_bindir}/systemd-cat
1306 %{?with_cryptsetup:%attr(755,root,root) %{_bindir}/systemd-cryptenroll}
1307 %attr(755,root,root) %{_bindir}/systemd-delta
1308 %attr(755,root,root) %{_bindir}/systemd-detect-virt
1309 %attr(755,root,root) %{_bindir}/systemd-id128
1310 %attr(755,root,root) %{_bindir}/systemd-mount
1311 %attr(755,root,root) %{_bindir}/systemd-nspawn
1312 %attr(755,root,root) %{_bindir}/systemd-path
1313 %attr(755,root,root) %{_bindir}/systemd-resolve
1314 %attr(755,root,root) %{_bindir}/systemd-run
1315 %attr(755,root,root) %{_bindir}/systemd-socket-activate
1316 %attr(755,root,root) %{_bindir}/systemd-stdio-bridge
1317 %attr(755,root,root) %{_bindir}/systemd-umount
1318 %attr(755,root,root) %{_bindir}/timedatectl
1319 %attr(755,root,root) %{_bindir}/userdbctl
1320 /lib/modprobe.d/systemd.conf
1321 /lib/systemd/resolv.conf
1322 %attr(755,root,root) /lib/systemd/pld-clean-tmp
1323 %attr(755,root,root) /lib/systemd/systemd-ac-power
1324 %attr(755,root,root) /lib/systemd/systemd-backlight
1325 %attr(755,root,root) /lib/systemd/systemd-binfmt
1326 %{?with_efi:%attr(755,root,root) /lib/systemd/systemd-bless-boot}
1327 %attr(755,root,root) /lib/systemd/systemd-boot-check-no-failures
1328 %attr(755,root,root) /lib/systemd/systemd-cgroups-agent
1329 %attr(755,root,root) /lib/systemd/systemd-coredump
1330 %if %{with cryptsetup}
1331 %attr(755,root,root) /lib/systemd/systemd-cryptsetup
1332 %attr(755,root,root) /lib/systemd/systemd-integritysetup
1333 %{?with_fido2:%attr(755,root,root) /usr/%{_lib}/cryptsetup/libcryptsetup-token-systemd-fido2.so}
1334 %attr(755,root,root) /usr/%{_lib}/cryptsetup/libcryptsetup-token-systemd-pkcs11.so
1335 %{?with_tpm2:%attr(755,root,root) /usr/%{_lib}/cryptsetup/libcryptsetup-token-systemd-tpm2.so}
1336 %endif
1337 %attr(755,root,root) /lib/systemd/systemd-fsck
1338 %attr(755,root,root) /lib/systemd/systemd-growfs
1339 %attr(755,root,root) /lib/systemd/systemd-hibernate-resume
1340 %attr(755,root,root) /lib/systemd/systemd-hostnamed
1341 %attr(755,root,root) /lib/systemd/systemd-initctl
1342 %attr(755,root,root) /lib/systemd/systemd-journald
1343 %attr(755,root,root) /lib/systemd/systemd-localed
1344 %attr(755,root,root) /lib/systemd/systemd-logind
1345 %attr(755,root,root) /lib/systemd/systemd-makefs
1346 %if %{with efi} && %{with tpm2}
1347 %attr(755,root,root) /lib/systemd/systemd-measure
1348 %endif
1349 %attr(755,root,root) /lib/systemd/systemd-modules-load
1350 %if %{with efi} && %{with tpm2}
1351 %attr(755,root,root) /lib/systemd/systemd-pcrphase
1352 %endif
1353 %attr(755,root,root) /lib/systemd/systemd-pstore
1354 %attr(755,root,root) /lib/systemd/systemd-quotacheck
1355 %attr(755,root,root) /lib/systemd/systemd-random-seed
1356 %attr(755,root,root) /lib/systemd/systemd-remount-fs
1357 %attr(755,root,root) /lib/systemd/systemd-reply-password
1358 %attr(755,root,root) /lib/systemd/systemd-rfkill
1359 %attr(755,root,root) /lib/systemd/systemd-shutdown
1360 %attr(755,root,root) /lib/systemd/systemd-sleep
1361 %attr(755,root,root) /lib/systemd/systemd-socket-proxyd
1362 %attr(755,root,root) /lib/systemd/systemd-sulogin-shell
1363 %attr(755,root,root) /lib/systemd/systemd-sysctl
1364 %attr(755,root,root) /lib/systemd/systemd-sysroot-fstab-check
1365 %attr(755,root,root) /lib/systemd/systemd-time-wait-sync
1366 %attr(755,root,root) /lib/systemd/systemd-timedated
1367 %attr(755,root,root) /lib/systemd/systemd-timesyncd
1368 %attr(755,root,root) /lib/systemd/systemd-udevd
1369 %attr(755,root,root) /lib/systemd/systemd-update-utmp
1370 %attr(755,root,root) /lib/systemd/systemd-update-done
1371 %attr(755,root,root) /lib/systemd/systemd-user-runtime-dir
1372 %attr(755,root,root) /lib/systemd/systemd-user-sessions
1373 %attr(755,root,root) /lib/systemd/systemd-userdbd
1374 %attr(755,root,root) /lib/systemd/systemd-userwork
1375 %attr(755,root,root) /lib/systemd/systemd-vconsole-setup
1376 %attr(755,root,root) /lib/systemd/systemd-veritysetup
1377 %attr(755,root,root) /lib/systemd/systemd-volatile-root
1378 %attr(755,root,root) /lib/systemd/systemd-xdg-autostart-condition
1379 %attr(755,root,root) /lib/systemd/systemd
1380 %if %{with cryptsetup}
1381 %attr(755,root,root) /lib/systemd/system-generators/systemd-cryptsetup-generator
1382 %attr(755,root,root) /lib/systemd/system-generators/systemd-integritysetup-generator
1383 %endif
1384 %{?with_efi:%attr(755,root,root) /lib/systemd/system-generators/systemd-bless-boot-generator}
1385 %attr(755,root,root) /lib/systemd/system-generators/systemd-debug-generator
1386 %attr(755,root,root) /lib/systemd/system-generators/systemd-fstab-generator
1387 %attr(755,root,root) /lib/systemd/system-generators/systemd-getty-generator
1388 %attr(755,root,root) /lib/systemd/system-generators/systemd-gpt-auto-generator
1389 %attr(755,root,root) /lib/systemd/system-generators/systemd-hibernate-resume-generator
1390 %attr(755,root,root) /lib/systemd/system-generators/systemd-run-generator
1391 %attr(755,root,root) /lib/systemd/system-generators/systemd-system-update-generator
1392 %attr(755,root,root) /lib/systemd/system-generators/systemd-sysv-generator
1393 %attr(755,root,root) /lib/systemd/system-generators/systemd-veritysetup-generator
1394 %dir /lib/systemd/network
1395 /lib/systemd/network/99-default.link
1396 /lib/udev/rules.d/99-systemd.rules
1397 %{_prefix}/lib/environment.d/99-environment.conf
1398 %dir %{_prefix}/lib/kernel
1399 %dir %{_prefix}/lib/kernel/install.d
1400 %{_prefix}/lib/kernel/install.d/50-depmod.install
1401 %{_prefix}/lib/kernel/install.d/90-loaderentry.install
1402 %if %{with efi}
1403 %dir %{_prefix}/lib/systemd/boot
1404 %dir %{_prefix}/lib/systemd/boot/efi
1405 %ifarch %{ix86}
1406 %{_prefix}/lib/systemd/boot/efi/linuxia32.efi.stub
1407 %{_prefix}/lib/systemd/boot/efi/linuxia32.elf.stub
1408 %{_prefix}/lib/systemd/boot/efi/systemd-bootia32.efi
1409 %endif
1410 %ifarch %{x8664} x32
1411 %{_prefix}/lib/systemd/boot/efi/linuxx64.efi.stub
1412 %{_prefix}/lib/systemd/boot/efi/linuxx64.elf.stub
1413 %{_prefix}/lib/systemd/boot/efi/systemd-bootx64.efi
1414 %endif
1415 %ifarch aarch64
1416 %{_prefix}/lib/systemd/boot/efi/linuxaa64.efi.stub
1417 %{_prefix}/lib/systemd/boot/efi/linuxaa64.elf.stub
1418 %{_prefix}/lib/systemd/boot/efi/systemd-bootaa64.efi
1419 %endif
1420 %endif
1421 %{_prefix}/lib/systemd/catalog/systemd.catalog
1422 %lang(be) %{_prefix}/lib/systemd/catalog/systemd.be.catalog
1423 %lang(be) %{_prefix}/lib/systemd/catalog/systemd.be@latin.catalog
1424 %lang(bg) %{_prefix}/lib/systemd/catalog/systemd.bg.catalog
1425 %lang(de) %{_prefix}/lib/systemd/catalog/systemd.de.catalog
1426 %lang(fr) %{_prefix}/lib/systemd/catalog/systemd.fr.catalog
1427 %lang(it) %{_prefix}/lib/systemd/catalog/systemd.it.catalog
1428 %lang(pl) %{_prefix}/lib/systemd/catalog/systemd.pl.catalog
1429 %lang(pt_BR) %{_prefix}/lib/systemd/catalog/systemd.pt_BR.catalog
1430 %lang(ru) %{_prefix}/lib/systemd/catalog/systemd.ru.catalog
1431 %lang(zh_CN) %{_prefix}/lib/systemd/catalog/systemd.zh_CN.catalog
1432 %lang(zh_TW) %{_prefix}/lib/systemd/catalog/systemd.zh_TW.catalog
1433 %dir %{_prefix}/lib/sysusers.d
1434 %{_prefix}/lib/sysusers.d/basic.conf
1435 %{_prefix}/lib/sysusers.d/systemd-coredump.conf
1436 %{_prefix}/lib/sysusers.d/systemd-journal.conf
1437 %{_prefix}/lib/sysusers.d/systemd-timesync.conf
1438 %if %{with microhttpd}
1439 %{_prefix}/lib/sysusers.d/systemd-remote.conf
1440 %endif
1441 %{_prefix}/lib/tmpfiles.d/etc.conf
1442 %{_prefix}/lib/tmpfiles.d/home.conf
1443 %{_prefix}/lib/tmpfiles.d/journal-nocow.conf
1444 %{_prefix}/lib/tmpfiles.d/legacy.conf
1445 %{_prefix}/lib/tmpfiles.d/provision.conf
1446 %{_prefix}/lib/tmpfiles.d/static-nodes-permissions.conf
1447 %{_prefix}/lib/tmpfiles.d/systemd.conf
1448 %{_prefix}/lib/tmpfiles.d/systemd-nologin.conf
1449 %{_prefix}/lib/tmpfiles.d/systemd-nspawn.conf
1450 %{_prefix}/lib/tmpfiles.d/systemd-pstore.conf
1451 %{_prefix}/lib/tmpfiles.d/systemd-tmp.conf
1452 %{_prefix}/lib/tmpfiles.d/tmp.conf
1453 %{_prefix}/lib/tmpfiles.d/var.conf
1454 %{_prefix}/lib/tmpfiles.d/x11.conf
1455 %{_prefix}/lib/sysctl.d/50-coredump.conf
1456 # if cc.sizeof('long') > 4
1457 %ifarch %{x8664} aarch64
1458 %{_prefix}/lib/sysctl.d/50-pid-max.conf
1459 %endif
1460 %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
1461 %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
1462 %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
1463 %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
1464 %{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
1465 %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
1466 %{_datadir}/dbus-1/system-services/org.freedesktop.timesync1.service
1467 %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
1468 %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
1469 %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
1470 %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
1471 %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
1472 %{_datadir}/polkit-1/actions/org.freedesktop.timesync1.policy
1473 %{_datadir}/polkit-1/rules.d/systemd-networkd.rules
1474 %dir %{_datadir}/systemd
1475 %{_datadir}/systemd/kbd-model-map
1476 %{_datadir}/systemd/language-fallback-map
1477 %{_datadir}/factory/etc/issue
1478 %{_datadir}/factory/etc/locale.conf
1479 %{_datadir}/factory/etc/nsswitch.conf
1480 %{_datadir}/factory/etc/pam.d/other
1481 %{_datadir}/factory/etc/pam.d/system-auth
1482 %{?with_efi:%{_mandir}/man1/bootctl.1*}
1483 %{_mandir}/man1/busctl.1*
1484 %{_mandir}/man1/coredumpctl.1*
1485 %{_mandir}/man1/hostnamectl.1*
1486 %{_mandir}/man1/journalctl.1*
1487 %{_mandir}/man1/localectl.1*
1488 %{_mandir}/man1/loginctl.1*
1489 %{_mandir}/man1/systemd.1*
1490 %{_mandir}/man1/systemd-ask-password.1*
1491 %{_mandir}/man1/systemd-cat.1*
1492 %{_mandir}/man1/systemd-creds.1*
1493 %{?with_cryptsetup:%{_mandir}/man1/systemd-cryptenroll.1*}
1494 %{_mandir}/man1/systemd-delta.1*
1495 %{_mandir}/man1/systemd-detect-virt.1*
1496 %{_mandir}/man1/systemd-dissect.1*
1497 %{_mandir}/man1/systemd-escape.1*
1498 %{_mandir}/man1/systemd-firstboot.1*
1499 %{_mandir}/man1/systemd-firstboot.service.1*
1500 %{_mandir}/man1/systemd-id128.1*
1501 %{_mandir}/man1/systemd-inhibit.1*
1502 %{_mandir}/man1/systemd-machine-id-setup.1*
1503 %if %{with efi} && %{with tpm2}
1504 %{_mandir}/man1/systemd-measure.1*
1505 %endif
1506 %{_mandir}/man1/systemd-mount.1*
1507 %{_mandir}/man1/systemd-notify.1*
1508 %{_mandir}/man1/systemd-nspawn.1*
1509 %{_mandir}/man1/systemd-path.1*
1510 %{_mandir}/man1/systemd-run.1*
1511 %{_mandir}/man1/systemd-socket-activate.1*
1512 %{_mandir}/man1/systemd-stdio-bridge.1*
1513 %{_mandir}/man1/systemd-tty-ask-password-agent.1*
1514 %{_mandir}/man1/systemd-umount.1*
1515 %{_mandir}/man1/timedatectl.1*
1516 %{_mandir}/man1/userdbctl.1*
1517 %{_mandir}/man5/binfmt.d.5*
1518 %{_mandir}/man5/coredump.conf.5*
1519 %{_mandir}/man5/coredump.conf.d.5*
1520 %{_mandir}/man5/dnssec-trust-anchors.d.5*
1521 %{_mandir}/man5/extension-release.5*
1522 %{_mandir}/man5/hostname.5*
1523 %{_mandir}/man5/initrd-release.5*
1524 %{_mandir}/man5/journald@.conf.5*
1525 %{?with_efi:%{_mandir}/man5/loader.conf.5*}
1526 %{_mandir}/man5/journald.conf.5*
1527 %{_mandir}/man5/journald.conf.d.5*
1528 %{_mandir}/man5/locale.conf.5*
1529 %{_mandir}/man5/localtime.5*
1530 %{_mandir}/man5/logind.conf.5*
1531 %{_mandir}/man5/logind.conf.d.5*
1532 %{_mandir}/man5/machine-id.5*
1533 %{_mandir}/man5/machine-info.5*
1534 %{_mandir}/man5/modules-load.d.5*
1535 %{_mandir}/man5/org.freedesktop.LogControl1.5*
1536 %{_mandir}/man5/org.freedesktop.hostname1.5*
1537 %{_mandir}/man5/org.freedesktop.locale1.5*
1538 %{_mandir}/man5/org.freedesktop.login1.5*
1539 %{_mandir}/man5/org.freedesktop.systemd1.5*
1540 %{_mandir}/man5/org.freedesktop.timedate1.5*
1541 %{_mandir}/man5/os-release.5*
1542 %{_mandir}/man5/pstore.conf.5*
1543 %{_mandir}/man5/pstore.conf.d.5*
1544 %{_mandir}/man5/sleep.conf.d.5*
1545 %{_mandir}/man5/sysctl.d.5*
1546 %{_mandir}/man5/system.conf.d.5*
1547 %{_mandir}/man5/systemd.*.5*
1548 %{_mandir}/man5/systemd-sleep.conf.5*
1549 %{_mandir}/man5/systemd-system.conf.5*
1550 %{_mandir}/man5/systemd-user.conf.5*
1551 %{_mandir}/man5/systemd-user-runtime-dir.5*
1552 %{_mandir}/man5/sysusers.d.5*
1553 %{_mandir}/man5/timesyncd.conf.5*
1554 %{_mandir}/man5/timesyncd.conf.d.5*
1555 %{_mandir}/man5/user.conf.d.5*
1556 %{_mandir}/man5/vconsole.conf.5*
1557 %{_mandir}/man7/bootup.7*
1558 %{_mandir}/man7/daemon.7*
1559 %{_mandir}/man7/file-hierarchy.7*
1560 %{_mandir}/man7/kernel-command-line.7*
1561 %if %{with efi}
1562 %ifarch %{ix86}
1563 %{_mandir}/man7/linuxia32.efi.stub.7*
1564 %endif
1565 %ifarch %{x8664}
1566 %{_mandir}/man7/linuxx64.efi.stub.7*
1567 %endif
1568 %ifarch aarch64
1569 %{_mandir}/man7/linuxaa64.efi.stub.7*
1570 %endif
1571 %{_mandir}/man7/sd-boot.7*
1572 %{_mandir}/man7/sd-stub.7*
1573 %{_mandir}/man7/systemd-boot.7*
1574 %{_mandir}/man7/systemd-stub.7*
1575 %endif
1576 %{_mandir}/man7/systemd.directives.7*
1577 %{_mandir}/man7/systemd.environment-generator.7*
1578 %{_mandir}/man7/systemd.generator.7*
1579 %{_mandir}/man7/systemd.index.7*
1580 %{_mandir}/man7/systemd.journal-fields.7*
1581 %{_mandir}/man7/systemd.offline-updates.7*
1582 %{_mandir}/man7/systemd.special.7*
1583 %{_mandir}/man7/systemd.syntax.7*
1584 %{_mandir}/man7/systemd.system-credentials.7*
1585 %{_mandir}/man7/systemd.time.7*
1586 %{_mandir}/man8/kernel-install.8*
1587 %{_mandir}/man8/libnss_myhostname.so.2.8*
1588 %{_mandir}/man8/libnss_mymachines.so.2.8*
1589 %{_mandir}/man8/nss-myhostname.8*
1590 %{_mandir}/man8/nss-mymachines.8*
1591 %{_mandir}/man8/systemd-backlight.8*
1592 %{_mandir}/man8/systemd-binfmt.8*
1593 %if %{with efi}
1594 %{_mandir}/man8/systemd-bless-boot.8*
1595 %{_mandir}/man8/systemd-bless-boot-generator.8*
1596 %endif
1597 %{_mandir}/man8/systemd-boot-check-no-failures.8*
1598 %{_mandir}/man8/systemd-coredump.8*
1599 %if %{with cryptsetup}
1600 %{_mandir}/man8/systemd-cryptsetup-generator.8*
1601 %{_mandir}/man8/systemd-integritysetup-generator.8*
1602 %endif
1603 %{_mandir}/man8/systemd-debug-generator.8*
1604 %{_mandir}/man8/systemd-fsck.8*
1605 %{_mandir}/man8/systemd-fstab-generator.8*
1606 %{_mandir}/man8/systemd-getty-generator.8*
1607 %{_mandir}/man8/systemd-gpt-auto-generator.8*
1608 %{_mandir}/man8/systemd-growfs.8*
1609 %{_mandir}/man8/systemd-growfs@.service.8*
1610 %{_mandir}/man8/systemd-hibernate-resume-generator.8*
1611 %{_mandir}/man8/systemd-hibernate-resume.8*
1612 %{_mandir}/man8/systemd-hibernate-resume@.service.8*
1613 %{_mandir}/man8/systemd-hostnamed.8*
1614 %{_mandir}/man8/systemd-initctl.8*
1615 %{_mandir}/man8/systemd-journald-dev-log.socket.8*
1616 %{_mandir}/man8/systemd-journald-varlink@.socket.8*
1617 %{_mandir}/man8/systemd-journald.8*
1618 %{_mandir}/man8/systemd-journald@.service.8*
1619 %{_mandir}/man8/systemd-journald@.socket.8*
1620 %{_mandir}/man8/systemd-localed.8*
1621 %{_mandir}/man8/systemd-logind.8*
1622 %{_mandir}/man8/systemd-machine-id-commit.service.8*
1623 %{_mandir}/man8/systemd-makefs.8*
1624 %{_mandir}/man8/systemd-makefs@.service.8*
1625 %{_mandir}/man8/systemd-mkswap@.service.8*
1626 %{_mandir}/man8/systemd-modules-load.8*
1627 %{_mandir}/man8/systemd-pstore.8*
1628 %{_mandir}/man8/systemd-pstore.service.8*
1629 %{_mandir}/man8/systemd-quotacheck.8*
1630 %{_mandir}/man8/systemd-random-seed.8*
1631 %{_mandir}/man8/systemd-remount-fs.8*
1632 %{_mandir}/man8/systemd-rfkill.8*
1633 %{_mandir}/man8/systemd-rfkill.service.8*
1634 %{_mandir}/man8/systemd-run-generator.8*
1635 %{_mandir}/man8/systemd-shutdown.8*
1636 %{_mandir}/man8/systemd-sleep.8*
1637 %{_mandir}/man8/systemd-socket-proxyd.8*
1638 %{_mandir}/man8/systemd-sysctl.8*
1639 %{_mandir}/man8/systemd-sysext.8*
1640 %{_mandir}/man8/systemd-system-update-generator.8*
1641 %{_mandir}/man8/systemd-sysusers.8*
1642 %{_mandir}/man8/systemd-sysusers.service.8*
1643 %{_mandir}/man8/systemd-sysv-generator.8*
1644 %{_mandir}/man8/systemd-time-wait-sync.8*
1645 %{_mandir}/man8/systemd-timedated.8*
1646 %{_mandir}/man8/systemd-timesyncd.8*
1647 %{_mandir}/man8/systemd-timesyncd.service.8*
1648 %{_mandir}/man8/systemd-udevd.8*
1649 %{_mandir}/man8/systemd-update-done.8*
1650 %{_mandir}/man8/systemd-update-done.service.8*
1651 %{_mandir}/man8/systemd-update-utmp.8*
1652 %{_mandir}/man8/systemd-user-sessions.8*
1653 %{_mandir}/man8/systemd-userdbd.8*
1654 %{_mandir}/man8/systemd-vconsole-setup.8*
1655 %{_mandir}/man8/systemd-veritysetup.8*
1656 %{_mandir}/man8/systemd-veritysetup-generator.8*
1657 %{_mandir}/man8/systemd-veritysetup@.service.8*
1658 %{_mandir}/man8/systemd-volatile-root.8*
1659 %{_mandir}/man8/systemd-volatile-root.service.8*
1660 %{_mandir}/man8/systemd-xdg-autostart-generator.8*
1661 %attr(700,root,root) %dir /var/lib/machines
1662 %dir /var/lib/%{name}
1663 %dir /var/lib/%{name}/coredump
1664 %dir /var/lib/%{name}/catalog
1665 %attr(640,root,root) %ghost /var/lib/%{name}/random-seed
1666 %attr(600,root,utmp) %ghost /var/log/btmp
1667 %attr(664,root,utmp) %ghost /var/log/wtmp
1668 %attr(2755,root,systemd-journal) %dir /var/log/journal
1669 %attr(2755,root,systemd-journal) %dir /var/log/journal/remote
1670
1671 %if %{with pam}
1672 %attr(755,root,root) /%{_lib}/security/pam_systemd.so
1673 %{_mandir}/man8/pam_systemd.8*
1674 %endif
1675
1676 %files init
1677 %defattr(644,root,root,755)
1678 %attr(755,root,root) /sbin/halt
1679 %attr(755,root,root) /sbin/init
1680 %attr(755,root,root) /sbin/poweroff
1681 %attr(755,root,root) /sbin/reboot
1682 %attr(755,root,root) /sbin/runlevel
1683 %attr(755,root,root) /sbin/shutdown
1684 %attr(755,root,root) /sbin/telinit
1685 %{_mandir}/man1/init.1*
1686 %if %{with cryptsetup}
1687 %{_mandir}/man5/crypttab.5*
1688 %{_mandir}/man5/integritytab.5*
1689 %{_mandir}/man5/veritytab.5*
1690 %endif
1691 %{_mandir}/man8/halt.8*
1692 %{_mandir}/man8/poweroff.8*
1693 %{_mandir}/man8/reboot.8*
1694 %{_mandir}/man8/runlevel.8*
1695 %{_mandir}/man8/shutdown.8*
1696 %{_mandir}/man8/telinit.8*
1697
1698 %files sysv-compat
1699 %defattr(644,root,root,755)
1700 %attr(755,root,root) %{_bindir}/systemd-sysv-convert
1701
1702 %files units
1703 %defattr(644,root,root,755)
1704 %dir %{_sysconfdir}/binfmt.d
1705 %dir %{_sysconfdir}/modules-load.d
1706 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf
1707 %dir %{_sysconfdir}/sysctl.d
1708 %{_sysconfdir}/sysctl.d/99-sysctl.conf
1709 %dir %{_sysconfdir}/systemd
1710 %dir %{_sysconfdir}/systemd/system
1711 %dir %{_sysconfdir}/systemd/system-preset
1712 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system-preset/default.preset
1713 %dir %{_sysconfdir}/systemd/user-preset
1714 %dir %{_sysconfdir}/tmpfiles.d
1715 %dir %{_prefix}/lib/binfmt.d
1716 %dir %{_prefix}/lib/environment.d
1717 %dir %{_prefix}/lib/modules-load.d
1718 %dir %{_prefix}/lib/sysctl.d
1719 %{_prefix}/lib/sysctl.d/50-default.conf
1720 %dir %{_prefix}/lib/systemd
1721 %dir %{_prefix}/lib/systemd/catalog
1722 %dir %{_prefix}/lib/systemd/system-shutdown
1723 %dir %{_prefix}/lib/systemd/system-sleep
1724 %dir %{_prefix}/lib/systemd/user
1725 %{_prefix}/lib/systemd/user/app.slice
1726 %{_prefix}/lib/systemd/user/background.slice
1727 %{_prefix}/lib/systemd/user/basic.target
1728 %{_prefix}/lib/systemd/user/bluetooth.target
1729 %{_prefix}/lib/systemd/user/default.target
1730 %{_prefix}/lib/systemd/user/exit.target
1731 %{_prefix}/lib/systemd/user/paths.target
1732 %{_prefix}/lib/systemd/user/printer.target
1733 %{_prefix}/lib/systemd/user/session.slice
1734 %{_prefix}/lib/systemd/user/shutdown.target
1735 %{_prefix}/lib/systemd/user/smartcard.target
1736 %{_prefix}/lib/systemd/user/sockets.target
1737 %{_prefix}/lib/systemd/user/sound.target
1738 %{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.service
1739 %{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.timer
1740 %{_prefix}/lib/systemd/user/systemd-tmpfiles-setup.service
1741 %{_prefix}/lib/systemd/user/timers.target
1742 %{_prefix}/lib/systemd/user/systemd-exit.service
1743 %{_prefix}/lib/systemd/user/xdg-desktop-autostart.target
1744 %dir %{_prefix}/lib/systemd/user-generators
1745 %attr(755,root,root) %{_prefix}/lib/systemd/user-generators/systemd-xdg-autostart-generator
1746 %dir %{_prefix}/lib/systemd/user-environment-generators
1747 %attr(755,root,root) %{_prefix}/lib/systemd/user-environment-generators/30-systemd-environment-d-generator
1748 %dir %{_prefix}/lib/systemd/user-preset
1749 %{_prefix}/lib/systemd/user-preset/90-systemd.preset
1750 %dir %{_prefix}/lib/systemd/system-environment-generators
1751 %dir /lib/systemd/ntp-units.d
1752 /lib/systemd/ntp-units.d/80-systemd-timesync.list
1753 %dir /lib/systemd/pld-helpers.d
1754 %dir /lib/systemd/system-generators
1755 %dir /lib/systemd/system-preset
1756 /lib/systemd/system-preset/90-systemd.preset
1757 %dir /lib/systemd/system-sleep
1758 %dir /lib/systemd/system-shutdown
1759 %attr(755,root,root) /lib/systemd/systemd-update-helper
1760 %attr(755,root,root) /bin/systemctl
1761 %attr(755,root,root) /bin/systemd-tmpfiles
1762 %attr(755,root,root) /bin/systemd_booted
1763 %{_mandir}/man1/systemctl.1*
1764 %{_mandir}/man5/tmpfiles.d.5*
1765 %{_mandir}/man5/environment.d.5*
1766 %{_mandir}/man8/systemd-tmpfiles.8*
1767
1768 %{systemdunitdir}/dev-hugepages.mount
1769 %{systemdunitdir}/dev-mqueue.mount
1770 %{systemdunitdir}/initrd-root-device.target
1771 %{systemdunitdir}/proc-sys-fs-binfmt_misc.automount
1772 %{systemdunitdir}/proc-sys-fs-binfmt_misc.mount
1773 %{systemdunitdir}/sockets.target.wants/systemd-coredump.socket
1774 %{systemdunitdir}/sys-fs-fuse-connections.mount
1775 %{systemdunitdir}/sys-kernel-config.mount
1776 %{systemdunitdir}/sys-kernel-debug.mount
1777 %{systemdunitdir}/sys-kernel-tracing.mount
1778 %{systemdunitdir}/systemd-coredump@.service
1779 %{systemdunitdir}/systemd-coredump.socket
1780 %{systemdunitdir}/systemd-exit.service
1781 %{systemdunitdir}/systemd-pstore.service
1782 %{systemdunitdir}/systemd-rfkill.socket
1783 %{systemdunitdir}/tmp.mount
1784 %{systemdunitdir}/var-lock.mount
1785 %{systemdunitdir}/var-run.mount
1786 %{systemdunitdir}/systemd-ask-password-console.path
1787 %{systemdunitdir}/systemd-ask-password-wall.path
1788 %{systemdunitdir}/allowlogin.service
1789 %{systemdunitdir}/autovt@.service
1790 %{systemdunitdir}/console-getty.service
1791 %{systemdunitdir}/console.service
1792 %{systemdunitdir}/container-getty@.service
1793 %{systemdunitdir}/cpusets.service
1794 %{systemdunitdir}/dbus-org.freedesktop.hostname1.service
1795 %{systemdunitdir}/dbus-org.freedesktop.locale1.service
1796 %{systemdunitdir}/dbus-org.freedesktop.login1.service
1797 %{systemdunitdir}/dbus-org.freedesktop.timedate1.service
1798 %{systemdunitdir}/debug-shell.service
1799 %{systemdunitdir}/display-manager.service
1800 %{systemdunitdir}/emergency.service
1801 %{systemdunitdir}/getty@.service
1802 %{systemdunitdir}/initrd-cleanup.service
1803 %{systemdunitdir}/initrd-parse-etc.service
1804 %{systemdunitdir}/initrd-switch-root.service
1805 %{systemdunitdir}/initrd-udevadm-cleanup-db.service
1806 %{systemdunitdir}/killall.service
1807 %{systemdunitdir}/kmod-static-nodes.service
1808 %{systemdunitdir}/ldconfig.service
1809 %{systemdunitdir}/modprobe@.service
1810 %{systemdunitdir}/netfs.service
1811 %{systemdunitdir}/network.service
1812 %{systemdunitdir}/pld-clean-tmp.service
1813 %{systemdunitdir}/prefdm.service
1814 %{systemdunitdir}/quotaon.service
1815 %{systemdunitdir}/random.service
1816 %{systemdunitdir}/rescue.service
1817 %{systemdunitdir}/serial-getty@.service
1818 %{systemdunitdir}/single.service
1819 %{systemdunitdir}/sigpwr-container-shutdown.service
1820 %{systemdunitdir}/suspend-then-hibernate.target
1821 %{systemdunitdir}/sys-kernel-config.service
1822 %{systemdunitdir}/system-update-cleanup.service
1823 %{systemdunitdir}/system-update-pre.target
1824 %{systemdunitdir}/systemd-ask-password-console.service
1825 %{systemdunitdir}/systemd-ask-password-wall.service
1826 %{systemdunitdir}/systemd-backlight@.service
1827 %{systemdunitdir}/systemd-binfmt.service
1828 %if %{with efi}
1829 %{systemdunitdir}/systemd-bless-boot.service
1830 %{systemdunitdir}/systemd-boot-system-token.service
1831 %{systemdunitdir}/systemd-boot-update.service
1832 %endif
1833 %{systemdunitdir}/systemd-boot-check-no-failures.service
1834 %{systemdunitdir}/systemd-firstboot.service
1835 %{systemdunitdir}/systemd-fsck-root.service
1836 %{systemdunitdir}/systemd-fsck@.service
1837 %{systemdunitdir}/systemd-halt.service
1838 %{systemdunitdir}/systemd-hibernate-resume@.service
1839 %{systemdunitdir}/systemd-hibernate.service
1840 %{systemdunitdir}/systemd-hostnamed.service
1841 %{systemdunitdir}/systemd-hwdb-update.service
1842 %{systemdunitdir}/systemd-hybrid-sleep.service
1843 %{systemdunitdir}/systemd-initctl.service
1844 %{systemdunitdir}/systemd-journal-catalog-update.service
1845 %{systemdunitdir}/systemd-journal-flush.service
1846 %{systemdunitdir}/systemd-journald.service
1847 %{systemdunitdir}/systemd-journald@.service
1848 %{systemdunitdir}/systemd-kexec.service
1849 %{systemdunitdir}/systemd-localed.service
1850 %{systemdunitdir}/systemd-logind.service
1851 %{systemdunitdir}/systemd-machine-id-commit.service
1852 %{systemdunitdir}/systemd-modules-load.service
1853 %{systemdunitdir}/systemd-nspawn@.service
1854 %if %{with efi} && %{with tpm2}
1855 %{systemdunitdir}/systemd-pcrphase-initrd.service
1856 %{systemdunitdir}/systemd-pcrphase-sysinit.service
1857 %{systemdunitdir}/systemd-pcrphase.service
1858 %endif
1859 %{systemdunitdir}/systemd-poweroff.service
1860 %{systemdunitdir}/systemd-quotacheck.service
1861 %{systemdunitdir}/systemd-random-seed.service
1862 %{systemdunitdir}/systemd-reboot.service
1863 %{systemdunitdir}/systemd-remount-fs.service
1864 %{systemdunitdir}/systemd-rfkill.service
1865 %{systemdunitdir}/systemd-suspend.service
1866 %{systemdunitdir}/systemd-suspend-then-hibernate.service
1867 %{systemdunitdir}/systemd-sysctl.service
1868 %{systemdunitdir}/systemd-sysext.service
1869 %{systemdunitdir}/systemd-sysusers.service
1870 %{systemdunitdir}/systemd-time-wait-sync.service
1871 %{systemdunitdir}/systemd-timedated.service
1872 %{systemdunitdir}/systemd-timesyncd.service
1873 %{systemdunitdir}/systemd-tmpfiles-clean.service
1874 %{systemdunitdir}/systemd-tmpfiles-setup-dev.service
1875 %{systemdunitdir}/systemd-tmpfiles-setup.service
1876 %{systemdunitdir}/systemd-udev-settle.service
1877 %{systemdunitdir}/systemd-udev-trigger.service
1878 %{systemdunitdir}/systemd-udevd.service
1879 %dir %{systemdunitdir}/systemd-udevd.service.d
1880 %{systemdunitdir}/systemd-update-done.service
1881 %{systemdunitdir}/systemd-update-utmp-runlevel.service
1882 %{systemdunitdir}/systemd-update-utmp.service
1883 %{systemdunitdir}/systemd-user-sessions.service
1884 %{systemdunitdir}/systemd-userdbd.service
1885 %{systemdunitdir}/systemd-userdbd.socket
1886 %{systemdunitdir}/systemd-vconsole-setup.service
1887 %{systemdunitdir}/systemd-volatile-root.service
1888 %{systemdunitdir}/user@.service
1889 %dir %{systemdunitdir}/user@.service.d
1890 %{systemdunitdir}/user@.service.d/10-login-barrier.conf
1891 %dir %{systemdunitdir}/user@0.service.d
1892 %{systemdunitdir}/user@0.service.d/10-login-barrier.conf
1893 %{systemdunitdir}/machine.slice
1894 #%{systemdunitdir}/system.slice
1895 %{?with_cryptsetup:%{systemdunitdir}/system-systemd\x2dcryptsetup.slice}
1896 %dir %{systemdunitdir}/user-.slice.d
1897 %{systemdunitdir}/user-.slice.d/10-defaults.conf
1898 %{systemdunitdir}/user-runtime-dir@.service
1899 %{systemdunitdir}/user.slice
1900 %exclude %{systemdunitdir}/rc-inetd.service
1901 %{systemdunitdir}/syslog.socket
1902 %{systemdunitdir}/systemd-initctl.socket
1903 %{systemdunitdir}/systemd-journald-audit.socket
1904 %{systemdunitdir}/systemd-journald-dev-log.socket
1905 %{systemdunitdir}/systemd-journald-varlink@.socket
1906 %{systemdunitdir}/systemd-journald.socket
1907 %{systemdunitdir}/systemd-journald@.socket
1908 %{systemdunitdir}/systemd-udevd-control.socket
1909 %{systemdunitdir}/systemd-udevd-kernel.socket
1910 %{systemdunitdir}/basic.target
1911 %{systemdunitdir}/blockdev@.target
1912 %{systemdunitdir}/bluetooth.target
1913 %{systemdunitdir}/boot-complete.target
1914 %if %{with cryptsetup}
1915 %{systemdunitdir}/cryptsetup-pre.target
1916 %{systemdunitdir}/cryptsetup.target
1917 %{systemdunitdir}/integritysetup-pre.target
1918 %{systemdunitdir}/integritysetup.target
1919 %{systemdunitdir}/veritysetup-pre.target
1920 %{systemdunitdir}/veritysetup.target
1921 %endif
1922 %{systemdunitdir}/ctrl-alt-del.target
1923 %{systemdunitdir}/default.target
1924 %{systemdunitdir}/emergency.target
1925 %{systemdunitdir}/exit.target
1926 %{systemdunitdir}/factory-reset.target
1927 %{systemdunitdir}/final.target
1928 %{systemdunitdir}/first-boot-complete.target
1929 %{systemdunitdir}/getty.target
1930 %{systemdunitdir}/getty-pre.target
1931 %{systemdunitdir}/graphical.target
1932 %{systemdunitdir}/halt.target
1933 %{systemdunitdir}/hibernate.target
1934 %{systemdunitdir}/hybrid-sleep.target
1935 %{systemdunitdir}/initrd-fs.target
1936 %{systemdunitdir}/initrd-root-fs.target
1937 %{systemdunitdir}/initrd-switch-root.target
1938 %{systemdunitdir}/initrd-usr-fs.target
1939 %{systemdunitdir}/initrd.target
1940 %{systemdunitdir}/kexec.target
1941 %{systemdunitdir}/local-fs-pre.target
1942 %{systemdunitdir}/local-fs.target
1943 %{systemdunitdir}/multi-user.target
1944 %{systemdunitdir}/network-online.target
1945 %{systemdunitdir}/network-pre.target
1946 %{systemdunitdir}/network.target
1947 %{systemdunitdir}/nss-lookup.target
1948 %{systemdunitdir}/nss-user-lookup.target
1949 %{systemdunitdir}/paths.target
1950 %{systemdunitdir}/poweroff.target
1951 %{systemdunitdir}/printer.target
1952 %{systemdunitdir}/reboot.target
1953 %{systemdunitdir}/remote-fs-pre.target
1954 %{systemdunitdir}/remote-fs.target
1955 %if %{with cryptsetup}
1956 %{systemdunitdir}/remote-cryptsetup.target
1957 %{systemdunitdir}/remote-veritysetup.target
1958 %endif
1959 %{systemdunitdir}/rescue.target
1960 %{systemdunitdir}/rpcbind.target
1961 %{systemdunitdir}/runlevel0.target
1962 %{systemdunitdir}/runlevel1.target
1963 %{systemdunitdir}/runlevel2.target
1964 %{systemdunitdir}/runlevel3.target
1965 %{systemdunitdir}/runlevel4.target
1966 %{systemdunitdir}/runlevel5.target
1967 %{systemdunitdir}/runlevel6.target
1968 %{systemdunitdir}/shutdown.target
1969 %{systemdunitdir}/sigpwr.target
1970 %{systemdunitdir}/sleep.target
1971 %{systemdunitdir}/slices.target
1972 %{systemdunitdir}/smartcard.target
1973 %{systemdunitdir}/sockets.target
1974 %{systemdunitdir}/sound.target
1975 %{systemdunitdir}/suspend.target
1976 %{systemdunitdir}/swap.target
1977 %{systemdunitdir}/sysinit.target
1978 %{systemdunitdir}/system-update.target
1979 %{systemdunitdir}/time-set.target
1980 %{systemdunitdir}/time-sync.target
1981 %{systemdunitdir}/timers.target
1982 %{systemdunitdir}/umount.target
1983 %{systemdunitdir}/usb-gadget.target
1984 %{systemdunitdir}/systemd-tmpfiles-clean.timer
1985 %dir %{systemdunitdir}/basic.target.wants
1986 %dir %{systemdunitdir}/dbus.target.wants
1987 %dir %{systemdunitdir}/final.target.wants
1988 %dir %{systemdunitdir}/graphical.target.wants
1989 %dir %{systemdunitdir}/halt.target.wants
1990 %dir %{systemdunitdir}/initrd.target.wants
1991 %dir %{systemdunitdir}/initrd-root-device.target.wants
1992 %dir %{systemdunitdir}/initrd-root-fs.target.wants
1993 %dir %{systemdunitdir}/kexec.target.wants
1994 %dir %{systemdunitdir}/local-fs.target.wants
1995 %dir %{systemdunitdir}/multi-user.target.wants
1996 %dir %{systemdunitdir}/poweroff.target.wants
1997 %dir %{systemdunitdir}/reboot.target.wants
1998 %dir %{systemdunitdir}/remote-fs.target.wants
1999 %dir %{systemdunitdir}/rescue.target.wants
2000 %dir %{systemdunitdir}/runlevel[12345].target.wants
2001 %dir %{systemdunitdir}/shutdown.target.wants
2002 %dir %{systemdunitdir}/sigpwr.target.wants
2003 %dir %{systemdunitdir}/sockets.target.wants
2004 %dir %{systemdunitdir}/sound.target.wants
2005 %dir %{systemdunitdir}/sysinit.target.wants
2006 %dir %{systemdunitdir}/syslog.target.wants
2007 %dir %{systemdunitdir}/system-update.target.wants
2008 %dir %{systemdunitdir}/timers.target.wants
2009 %if %{with cryptsetup}
2010 %{systemdunitdir}/initrd-root-device.target.wants/remote-cryptsetup.target
2011 %{systemdunitdir}/initrd-root-device.target.wants/remote-veritysetup.target
2012 %endif
2013 %{systemdunitdir}/graphical.target.wants/display-manager.service
2014 %{systemdunitdir}/graphical.target.wants/systemd-update-utmp-runlevel.service
2015 %if %{with efi} && %{with tpm2}
2016 %{systemdunitdir}/initrd.target.wants/systemd-pcrphase-initrd.service
2017 %endif
2018 %{systemdunitdir}/local-fs.target.wants/pld-clean-tmp.service
2019 %{systemdunitdir}/local-fs.target.wants/var-lock.mount
2020 %{systemdunitdir}/local-fs.target.wants/var-run.mount
2021 %{systemdunitdir}/multi-user.target.wants/getty.target
2022 %{systemdunitdir}/multi-user.target.wants/rc-local.service
2023 %{systemdunitdir}/multi-user.target.wants/systemd-ask-password-wall.path
2024 %{systemdunitdir}/multi-user.target.wants/systemd-logind.service
2025 %{systemdunitdir}/multi-user.target.wants/systemd-update-utmp-runlevel.service
2026 %{systemdunitdir}/multi-user.target.wants/systemd-user-sessions.service
2027 %{systemdunitdir}/rescue.target.wants/systemd-update-utmp-runlevel.service
2028 %{systemdunitdir}/sigpwr.target.wants/sigpwr-container-shutdown.service
2029 %{systemdunitdir}/sockets.target.wants/systemd-initctl.socket
2030 %{systemdunitdir}/sockets.target.wants/systemd-journald-audit.socket
2031 %{systemdunitdir}/sockets.target.wants/systemd-journald-dev-log.socket
2032 %{systemdunitdir}/sockets.target.wants/systemd-journald.socket
2033 %{systemdunitdir}/sockets.target.wants/systemd-udevd-control.socket
2034 %{systemdunitdir}/sockets.target.wants/systemd-udevd-kernel.socket
2035 %if %{with cryptsetup}
2036 %{systemdunitdir}/sysinit.target.wants/cryptsetup.target
2037 %{systemdunitdir}/sysinit.target.wants/integritysetup.target
2038 %{systemdunitdir}/sysinit.target.wants/veritysetup.target
2039 %endif
2040 %{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount
2041 %{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount
2042 %{systemdunitdir}/sysinit.target.wants/kmod-static-nodes.service
2043 %{systemdunitdir}/sysinit.target.wants/ldconfig.service
2044 %{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
2045 %{systemdunitdir}/sysinit.target.wants/sys-fs-fuse-connections.mount
2046 %{systemdunitdir}/sysinit.target.wants/sys-kernel-debug.mount
2047 %{systemdunitdir}/sysinit.target.wants/sys-kernel-tracing.mount
2048 %{systemdunitdir}/sysinit.target.wants/systemd-ask-password-console.path
2049 %{systemdunitdir}/sysinit.target.wants/systemd-binfmt.service
2050 %{?with_efi:%{systemdunitdir}/sysinit.target.wants/systemd-boot-system-token.service}
2051 %{systemdunitdir}/sysinit.target.wants/systemd-firstboot.service
2052 %{systemdunitdir}/sysinit.target.wants/systemd-hwdb-update.service
2053 %{systemdunitdir}/sysinit.target.wants/systemd-journal-catalog-update.service
2054 %{systemdunitdir}/sysinit.target.wants/systemd-journald.service
2055 %{systemdunitdir}/sysinit.target.wants/systemd-journal-flush.service
2056 %{systemdunitdir}/sysinit.target.wants/systemd-machine-id-commit.service
2057 %{systemdunitdir}/sysinit.target.wants/systemd-modules-load.service
2058 %if %{with efi} && %{with tpm2}
2059 %{systemdunitdir}/sysinit.target.wants/systemd-pcrphase-sysinit.service
2060 %{systemdunitdir}/sysinit.target.wants/systemd-pcrphase.service
2061 %endif
2062 %{systemdunitdir}/sysinit.target.wants/systemd-random-seed.service
2063 %{systemdunitdir}/sysinit.target.wants/systemd-sysctl.service
2064 %{systemdunitdir}/sysinit.target.wants/systemd-sysusers.service
2065 %{systemdunitdir}/sysinit.target.wants/systemd-tmpfiles-setup-dev.service
2066 %{systemdunitdir}/sysinit.target.wants/systemd-tmpfiles-setup.service
2067 %{systemdunitdir}/sysinit.target.wants/systemd-udevd.service
2068 %{systemdunitdir}/sysinit.target.wants/systemd-udev-trigger.service
2069 %{systemdunitdir}/sysinit.target.wants/systemd-update-done.service
2070 %{systemdunitdir}/sysinit.target.wants/systemd-update-utmp.service
2071 %{systemdunitdir}/timers.target.wants/systemd-tmpfiles-clean.timer
2072 %dir %{systemduserunitdir}/sockets.target.wants
2073 %{systemduserunitdir}/graphical-session-pre.target
2074 %{systemduserunitdir}/graphical-session.target
2075 %{_mandir}/man5/user@.service.5*
2076 %{_mandir}/man5/user-runtime-dir@.service.5*
2077 %{_mandir}/man8/30-systemd-environment-d-generator.8*
2078 %{_mandir}/man8/systemd-environment-d-generator.8*
2079 %{_mandir}/man8/systemd-ask-password-console.path.8*
2080 %{_mandir}/man8/systemd-ask-password-console.service.8*
2081 %{_mandir}/man8/systemd-ask-password-wall.path.8*
2082 %{_mandir}/man8/systemd-ask-password-wall.service.8*
2083 %{_mandir}/man8/systemd-backlight@.service.8*
2084 %{_mandir}/man8/systemd-binfmt.service.8*
2085 %{?with_efi:%{_mandir}/man8/systemd-bless-boot.service.8*}
2086 %{_mandir}/man8/systemd-boot-check-no-failures.service.8*
2087 %{?with_efi:%{_mandir}/man8/systemd-boot-system-token.service.8*}
2088 %{_mandir}/man8/systemd-coredump.socket.8*
2089 %{_mandir}/man8/systemd-coredump@.service.8*
2090 %if %{with cryptsetup}
2091 %{_mandir}/man8/systemd-cryptsetup.8*
2092 %{_mandir}/man8/systemd-cryptsetup@.service.8*
2093 %{_mandir}/man8/systemd-integritysetup.8*
2094 %{_mandir}/man8/systemd-integritysetup@.service.8*
2095 %endif
2096 %{_mandir}/man8/systemd-fsck-root.service.8*
2097 %{_mandir}/man8/systemd-fsck@.service.8*
2098 %{_mandir}/man8/systemd-halt.service.8*
2099 %{_mandir}/man8/systemd-hibernate.service.8*
2100 %{_mandir}/man8/systemd-hostnamed.service.8*
2101 %{_mandir}/man8/systemd-hybrid-sleep.service.8*
2102 %{_mandir}/man8/systemd-initctl.service.8*
2103 %{_mandir}/man8/systemd-initctl.socket.8*
2104 %{_mandir}/man8/systemd-journald.service.8*
2105 %{_mandir}/man8/systemd-journald.socket.8*
2106 %{_mandir}/man8/systemd-journald-audit.socket.8*
2107 %{_mandir}/man8/systemd-kexec.service.8*
2108 %{_mandir}/man8/systemd-localed.service.8*
2109 %{_mandir}/man8/systemd-logind.service.8*
2110 %{_mandir}/man8/systemd-modules-load.service.8*
2111 %if %{with efi} && %{with tpm2}
2112 %{_mandir}/man8/systemd-pcrphase-initrd.service.8*
2113 %{_mandir}/man8/systemd-pcrphase-sysinit.service.8*
2114 %{_mandir}/man8/systemd-pcrphase.8*
2115 %{_mandir}/man8/systemd-pcrphase.service.8*
2116 %endif
2117 %{_mandir}/man8/systemd-poweroff.service.8*
2118 %{_mandir}/man8/systemd-quotacheck.service.8*
2119 %{_mandir}/man8/systemd-random-seed.service.8*
2120 %{_mandir}/man8/systemd-reboot.service.8*
2121 %{_mandir}/man8/systemd-remount-fs.service.8*
2122 %{_mandir}/man8/systemd-rfkill.socket.8*
2123 %{_mandir}/man8/systemd-suspend.service.8*
2124 %{_mandir}/man8/systemd-suspend-then-hibernate.service.8*
2125 %{_mandir}/man8/systemd-sysctl.service.8*
2126 %{_mandir}/man8/systemd-sysext.service.8*
2127 %{_mandir}/man8/systemd-time-wait-sync.service.8*
2128 %{_mandir}/man8/systemd-timedated.service.8*
2129 %{_mandir}/man8/systemd-tmpfiles-clean.service.8*
2130 %{_mandir}/man8/systemd-tmpfiles-clean.timer.8*
2131 %{_mandir}/man8/systemd-tmpfiles-setup.service.8*
2132 %{_mandir}/man8/systemd-tmpfiles-setup-dev.service.8*
2133 %{_mandir}/man8/systemd-udev-settle.service.8*
2134 %{_mandir}/man8/systemd-udevd.service.8*
2135 %{_mandir}/man8/systemd-udevd-control.socket.8*
2136 %{_mandir}/man8/systemd-udevd-kernel.socket.8*
2137 %{_mandir}/man8/systemd-update-utmp-runlevel.service.8*
2138 %{_mandir}/man8/systemd-update-utmp.service.8*
2139 %{_mandir}/man8/systemd-user-sessions.service.8*
2140 %{_mandir}/man8/systemd-userdbd.service.8*
2141 %{_mandir}/man8/systemd-vconsole-setup.service.8*
2142
2143 %files tools
2144 %defattr(644,root,root,755)
2145 %attr(755,root,root) %{_bindir}/systemd-cgls
2146 %attr(755,root,root) %{_bindir}/systemd-cgtop
2147 %{_mandir}/man1/systemd-cgls.1*
2148 %{_mandir}/man1/systemd-cgtop.1*
2149
2150 %files container
2151 %defattr(644,root,root,755)
2152 %attr(755,root,root) /bin/machinectl
2153 /lib/systemd/import-pubring.gpg
2154 %attr(755,root,root) /lib/systemd/systemd-export
2155 %attr(755,root,root) /lib/systemd/systemd-import
2156 %attr(755,root,root) /lib/systemd/systemd-import-fs
2157 %attr(755,root,root) /lib/systemd/systemd-machined
2158 %attr(755,root,root) /lib/systemd/systemd-pull
2159 %attr(755,root,root) /lib/systemd/systemd-importd
2160 %attr(755,root,root) %{_bindir}/systemd-dissect
2161 %{_datadir}/dbus-1/system-services/org.freedesktop.import1.service
2162 %{_datadir}/dbus-1/system-services/org.freedesktop.machine1.service
2163 %{_datadir}/dbus-1/interfaces/org.freedesktop.import1.*.xml
2164 %{_datadir}/dbus-1/interfaces/org.freedesktop.machine1.*.xml
2165 %{_datadir}/dbus-1/system.d/org.freedesktop.import1.conf
2166 %{_datadir}/dbus-1/system.d/org.freedesktop.machine1.conf
2167 %{_datadir}/polkit-1/actions/org.freedesktop.import1.policy
2168 %{_datadir}/polkit-1/actions/org.freedesktop.machine1.policy
2169 %{_mandir}/man1/machinectl.1*
2170 %{_mandir}/man5/org.freedesktop.import1.5*
2171 %{_mandir}/man5/org.freedesktop.machine1.5*
2172 %{_mandir}/man8/systemd-importd.8*
2173 %{_mandir}/man8/systemd-importd.service.8*
2174 %{_mandir}/man8/systemd-machined.8*
2175 %{_mandir}/man8/systemd-machined.service.8*
2176 %{systemdunitdir}/dbus-org.freedesktop.import1.service
2177 %{systemdunitdir}/dbus-org.freedesktop.machine1.service
2178 %{systemdunitdir}/machines.target
2179 %dir %{systemdunitdir}/machines.target.wants
2180 %{systemdunitdir}/machines.target.wants/var-lib-machines.mount
2181 %{systemdunitdir}/remote-fs.target.wants/var-lib-machines.mount
2182 %{systemdunitdir}/var-lib-machines.mount
2183 %{systemdunitdir}/systemd-importd.service
2184 %{systemdunitdir}/systemd-machined.service
2185
2186 %if %{with microhttpd}
2187 %files journal-remote
2188 %defattr(644,root,root,755)
2189 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journal-remote.conf
2190 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journal-upload.conf
2191 %{systemdunitdir}/systemd-journal-gatewayd.service
2192 %{systemdunitdir}/systemd-journal-gatewayd.socket
2193 %{systemdunitdir}/systemd-journal-remote.service
2194 %{systemdunitdir}/systemd-journal-upload.service
2195 %{systemdunitdir}/systemd-journal-remote.socket
2196 %attr(755,root,root) /lib/systemd/systemd-journal-gatewayd
2197 %attr(755,root,root) /lib/systemd/systemd-journal-remote
2198 %attr(755,root,root) /lib/systemd/systemd-journal-upload
2199 %{_datadir}/systemd/gatewayd
2200 %{_mandir}/man5/journal-remote.conf.5*
2201 %{_mandir}/man5/journal-remote.conf.d.5*
2202 %{_mandir}/man5/journal-upload.conf.5.*
2203 %{_mandir}/man5/journal-upload.conf.d.5*
2204 %{_mandir}/man8/systemd-journal-gatewayd.8*
2205 %{_mandir}/man8/systemd-journal-gatewayd.service.8*
2206 %{_mandir}/man8/systemd-journal-gatewayd.socket.8*
2207 %{_mandir}/man8/systemd-journal-remote.8*
2208 %{_mandir}/man8/systemd-journal-upload.8*
2209 %{_mandir}/man8/systemd-journal-remote.service.8*
2210 %{_mandir}/man8/systemd-journal-remote.socket.8*
2211 %{_mandir}/man8/systemd-journal-upload.service.8*
2212 %endif
2213
2214 %files homed
2215 %defattr(644,root,root,755)
2216 %attr(755,root,root) %{_bindir}/homectl
2217 %attr(755,root,root) /lib/systemd/systemd-homed
2218 %attr(755,root,root) /lib/systemd/systemd-homework
2219 %attr(755,root,root) /%{_lib}/security/pam_systemd_home.so
2220 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/homed.conf
2221 %{systemdunitdir}/systemd-homed.service
2222 %{systemdunitdir}/systemd-homed-activate.service
2223 %{_datadir}/dbus-1/interfaces/org.freedesktop.home1.*.xml
2224 %{_datadir}/dbus-1/system-services/org.freedesktop.home1.service
2225 %{_datadir}/dbus-1/system.d/org.freedesktop.home1.conf
2226 %{_datadir}/polkit-1/actions/org.freedesktop.home1.policy
2227 %{_mandir}/man1/homectl.1*
2228 %{_mandir}/man5/homed.conf.5*
2229 %{_mandir}/man5/homed.conf.d.5*
2230 %{_mandir}/man5/org.freedesktop.home1.5*
2231 %{_mandir}/man8/pam_systemd_home.8*
2232 %{_mandir}/man8/systemd-homed.8*
2233 %{_mandir}/man8/systemd-homed.service.8*
2234
2235 %files networkd
2236 %defattr(644,root,root,755)
2237 %{_datadir}/dbus-1/interfaces/org.freedesktop.network1.*.xml
2238 %{_datadir}/dbus-1/system.d/org.freedesktop.network1.conf
2239 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/networkd.conf
2240 %dir %{_sysconfdir}/systemd/network
2241 %{_prefix}/lib/tmpfiles.d/systemd-network.conf
2242 /lib/systemd/network/80-6rd-tunnel.network
2243 /lib/systemd/network/80-container-host0.network
2244 /lib/systemd/network/80-container-ve.network
2245 /lib/systemd/network/80-container-vz.network
2246 /lib/systemd/network/80-vm-vt.network
2247 /lib/systemd/network/80-wifi-adhoc.network
2248 %{_prefix}/lib/sysusers.d/systemd-network.conf
2249 %{systemdunitdir}/systemd-network-generator.service
2250 %{systemdunitdir}/systemd-networkd-wait-online.service
2251 %{systemdunitdir}/systemd-networkd-wait-online@.service
2252 %{systemdunitdir}/systemd-networkd.service
2253 %{systemdunitdir}/systemd-networkd.socket
2254 %{_datadir}/dbus-1/system-services/org.freedesktop.network1.service
2255 %{_datadir}/polkit-1/actions/org.freedesktop.network1.policy
2256 %attr(755,root,root) /bin/networkctl
2257 %attr(755,root,root) /lib/systemd/systemd-network-generator
2258 %attr(755,root,root) /lib/systemd/systemd-networkd
2259 %attr(755,root,root) /lib/systemd/systemd-networkd-wait-online
2260 %{_mandir}/man1/networkctl.1*
2261 %{_mandir}/man5/networkd.conf.5*
2262 %{_mandir}/man5/networkd.conf.d.5*
2263 %{_mandir}/man5/org.freedesktop.network1.5*
2264 %{_mandir}/man7/systemd.net-naming-scheme.7*
2265 %{_mandir}/man8/systemd-network-generator.8*
2266 %{_mandir}/man8/systemd-network-generator.service.8*
2267 %{_mandir}/man8/systemd-networkd-wait-online.8*
2268 %{_mandir}/man8/systemd-networkd-wait-online.service.8*
2269 %{_mandir}/man8/systemd-networkd-wait-online@.service.8*
2270 %{_mandir}/man8/systemd-networkd.8*
2271 %{_mandir}/man8/systemd-networkd.service.8*
2272
2273 %files oomd
2274 %defattr(644,root,root,755)
2275 %attr(755,root,root) %{_bindir}/oomctl
2276 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/oomd.conf
2277 %attr(755,root,root) /lib/systemd/systemd-oomd
2278 %{_prefix}/lib/sysusers.d/systemd-oom.conf
2279 %{systemdunitdir}/systemd-oomd.service
2280 %{systemdunitdir}/systemd-oomd.socket
2281 %{_datadir}/dbus-1/interfaces/org.freedesktop.oom1.*.xml
2282 %{_datadir}/dbus-1/system-services/org.freedesktop.oom1.service
2283 %{_datadir}/dbus-1/system.d/org.freedesktop.oom1.conf
2284 %{_mandir}/man1/oomctl.1*
2285 %{_mandir}/man5/oomd.conf.5*
2286 %{_mandir}/man5/oomd.conf.d.5*
2287 %{_mandir}/man5/org.freedesktop.oom1.5*
2288 %{_mandir}/man8/systemd-oomd.8*
2289 %{_mandir}/man8/systemd-oomd.service.8*
2290
2291 %files portabled
2292 %defattr(644,root,root,755)
2293 %doc docs/PORTABLE_SERVICES.md
2294 %attr(755,root,root) /bin/portablectl
2295 %attr(755,root,root) /lib/systemd/systemd-portabled
2296 %{systemdunitdir}/dbus-org.freedesktop.portable1.service
2297 %{systemdunitdir}/systemd-portabled.service
2298 %dir /lib/systemd/portable
2299 %dir /lib/systemd/portable/profile
2300 %dir /lib/systemd/portable/profile/default
2301 /lib/systemd/portable/profile/default/service.conf
2302 %dir /lib/systemd/portable/profile/nonetwork
2303 /lib/systemd/portable/profile/nonetwork/service.conf
2304 %dir /lib/systemd/portable/profile/strict
2305 /lib/systemd/portable/profile/strict/service.conf
2306 %dir /lib/systemd/portable/profile/trusted
2307 /lib/systemd/portable/profile/trusted/service.conf
2308 %{systemdtmpfilesdir}/portables.conf
2309 %{_datadir}/dbus-1/interfaces/org.freedesktop.portable1.*.xml
2310 %{_datadir}/dbus-1/system-services/org.freedesktop.portable1.service
2311 %{_datadir}/dbus-1/system.d/org.freedesktop.portable1.conf
2312 %{_datadir}/polkit-1/actions/org.freedesktop.portable1.policy
2313 %{_mandir}/man1/portablectl.1*
2314 %{_mandir}/man5/org.freedesktop.portable1.5*
2315 %{_mandir}/man8/systemd-portabled.8*
2316 %{_mandir}/man8/systemd-portabled.service.8*
2317
2318 %files repart
2319 %defattr(644,root,root,755)
2320 %dir %{_sysconfdir}/repart.d
2321 %attr(755,root,root) /bin/systemd-repart
2322 %{systemdunitdir}/systemd-repart.service
2323 %{systemdunitdir}/initrd-root-fs.target.wants/systemd-repart.service
2324 %{systemdunitdir}/sysinit.target.wants/systemd-repart.service
2325 %dir %{_prefix}/lib/repart.d
2326 %{_mandir}/man5/repart.d.5*
2327 %{_mandir}/man8/systemd-repart.8*
2328 %{_mandir}/man8/systemd-repart.service.8*
2329
2330 %files resolved
2331 %defattr(644,root,root,755)
2332 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/resolved.conf
2333 %{_prefix}/lib/sysusers.d/systemd-resolve.conf
2334 %{_prefix}/lib/tmpfiles.d/systemd-resolve.conf
2335 %{_datadir}/dbus-1/interfaces/org.freedesktop.resolve1.*.xml
2336 %{_datadir}/dbus-1/system.d/org.freedesktop.resolve1.conf
2337 %{_datadir}/dbus-1/system-services/org.freedesktop.resolve1.service
2338 %{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy
2339 %{systemdunitdir}/systemd-resolved.service
2340 %attr(755,root,root) /sbin/resolvconf
2341 %attr(755,root,root) %{_bindir}/resolvectl
2342 %attr(755,root,root) /lib/systemd/systemd-resolved
2343 %{_mandir}/man1/resolvconf.1*
2344 %{_mandir}/man1/resolvectl.1*
2345 %{_mandir}/man5/org.freedesktop.resolve1.5*
2346 %{_mandir}/man5/resolved.conf.5*
2347 %{_mandir}/man5/resolved.conf.d.5*
2348 %{_mandir}/man8/systemd-resolved.8*
2349 %{_mandir}/man8/systemd-resolved.service.8*
2350
2351 %files sysupdate
2352 %defattr(644,root,root,755)
2353 %dir %{_sysconfdir}/sysupdate.d
2354 %{systemdunitdir}/systemd-sysupdate.service
2355 %{systemdunitdir}/systemd-sysupdate.timer
2356 %{systemdunitdir}/systemd-sysupdate-reboot.service
2357 %{systemdunitdir}/systemd-sysupdate-reboot.timer
2358 %attr(755,root,root) /lib/systemd/systemd-sysupdate
2359 %dir %{_prefix}/lib/sysupdate.d
2360 %{_mandir}/man5/sysupdate.d.5*
2361 %{_mandir}/man8/systemd-sysupdate.8*
2362 %{_mandir}/man8/systemd-sysupdate.service.8*
2363 %{_mandir}/man8/systemd-sysupdate.timer.8*
2364 %{_mandir}/man8/systemd-sysupdate-reboot.service.8*
2365 %{_mandir}/man8/systemd-sysupdate-reboot.timer.8*
2366
2367 %files inetd
2368 %defattr(644,root,root,755)
2369 %attr(755,root,root) %{systemdunitdir}-generators/pld-rc-inetd-generator
2370 %{systemdunitdir}/rc-inetd.service
2371
2372 %files analyze
2373 %defattr(644,root,root,755)
2374 %attr(755,root,root) %{_bindir}/systemd-analyze
2375 %{_mandir}/man1/systemd-analyze.1*
2376
2377 %files libs
2378 %defattr(644,root,root,755)
2379 %attr(755,root,root) /%{_lib}/libnss_myhostname.so.2
2380 %attr(755,root,root) /%{_lib}/libnss_mymachines.so.2
2381 %attr(755,root,root) /%{_lib}/libnss_resolve.so.2
2382 %attr(755,root,root) /%{_lib}/libnss_systemd.so.2
2383 %attr(755,root,root) /%{_lib}/libsystemd.so.*.*.*
2384 %attr(755,root,root) %ghost /%{_lib}/libsystemd.so.0
2385 %if "%{_lib}" != "lib"
2386 %dir /%{_lib}/systemd
2387 %endif
2388 %attr(755,root,root) /%{_lib}/systemd/libsystemd-core*.so
2389 %attr(755,root,root) /%{_lib}/systemd/libsystemd-shared*.so
2390 %{_mandir}/man8/libnss_resolve.so.2.8*
2391 %{_mandir}/man8/libnss_systemd.so.2.8*
2392 %{_mandir}/man8/nss-resolve.8*
2393 %{_mandir}/man8/nss-systemd.8*
2394
2395 %files devel
2396 %defattr(644,root,root,755)
2397 %attr(755,root,root) /%{_lib}/libsystemd.so
2398 %{_includedir}/%{name}
2399 %{_pkgconfigdir}/libsystemd.pc
2400 %{_npkgconfigdir}/systemd.pc
2401 %{_mandir}/man3/SD_*.3*
2402 %{_mandir}/man3/sd*.3*
2403
2404 %files -n bash-completion-systemd
2405 %defattr(644,root,root,755)
2406 %{bash_compdir}/bootctl
2407 %{bash_compdir}/busctl
2408 %{bash_compdir}/coredumpctl
2409 %{bash_compdir}/homectl
2410 %{bash_compdir}/hostnamectl
2411 %{bash_compdir}/journalctl
2412 %{bash_compdir}/kernel-install
2413 %{bash_compdir}/localectl
2414 %{bash_compdir}/loginctl
2415 %{bash_compdir}/machinectl
2416 %{bash_compdir}/networkctl
2417 %{bash_compdir}/oomctl
2418 %{bash_compdir}/portablectl
2419 %{bash_compdir}/resolvectl
2420 %{bash_compdir}/systemctl
2421 %{bash_compdir}/systemd-analyze
2422 %{bash_compdir}/systemd-cat
2423 %{bash_compdir}/systemd-cgls
2424 %{bash_compdir}/systemd-cgtop
2425 %{bash_compdir}/systemd-cryptenroll
2426 %{bash_compdir}/systemd-delta
2427 %{bash_compdir}/systemd-detect-virt
2428 %{bash_compdir}/systemd-id128
2429 %{bash_compdir}/systemd-nspawn
2430 %{bash_compdir}/systemd-path
2431 %{bash_compdir}/systemd-resolve
2432 %{bash_compdir}/systemd-run
2433 %{bash_compdir}/timedatectl
2434
2435 %files -n zsh-completion-systemd
2436 %defattr(644,root,root,755)
2437 %{zsh_compdir}/_bootctl
2438 %{zsh_compdir}/_busctl
2439 %{zsh_compdir}/_coredumpctl
2440 %{zsh_compdir}/_hostnamectl
2441 %{zsh_compdir}/_journalctl
2442 %{zsh_compdir}/_kernel-install
2443 %{zsh_compdir}/_localectl
2444 %{zsh_compdir}/_loginctl
2445 %{zsh_compdir}/_machinectl
2446 %{zsh_compdir}/_networkctl
2447 %{zsh_compdir}/_oomctl
2448 %{zsh_compdir}/_resolvectl
2449 %{zsh_compdir}/_sd_hosts_or_user_at_host
2450 %{zsh_compdir}/_sd_machines
2451 %{zsh_compdir}/_sd_outputmodes
2452 %{zsh_compdir}/_sd_unit_files
2453 %{zsh_compdir}/_systemctl
2454 %{zsh_compdir}/_systemd
2455 %{zsh_compdir}/_systemd-analyze
2456 %{zsh_compdir}/_systemd-delta
2457 %{zsh_compdir}/_systemd-inhibit
2458 %{zsh_compdir}/_systemd-nspawn
2459 %{zsh_compdir}/_systemd-path
2460 %{zsh_compdir}/_systemd-run
2461 %{zsh_compdir}/_systemd-tmpfiles
2462 %{zsh_compdir}/_timedatectl
2463
2464 %files -n udev
2465 %defattr(644,root,root,755)
2466 %dev(c,1,3) %attr(666,root,root) /dev/null
2467 %dev(c,5,1) %attr(660,root,console) /dev/console
2468 %dev(c,1,5) %attr(666,root,root) /dev/zero
2469
2470 %files -n udev-core
2471 %defattr(644,root,root,755)
2472
2473 %{_prefix}/lib/udev
2474
2475 %attr(755,root,root) /lib/udev/net_helper
2476
2477 %attr(755,root,root) /lib/udev/ata_id
2478 %attr(755,root,root) /lib/udev/cdrom_id
2479 %attr(755,root,root) /lib/udev/dmi_memory_id
2480 %attr(755,root,root) /lib/udev/fido_id
2481 %attr(755,root,root) /lib/udev/mtd_probe
2482 %attr(755,root,root) /lib/udev/scsi_id
2483 %attr(755,root,root) /lib/udev/v4l_id
2484
2485 %attr(755,root,root) /lib/udev/udevd
2486
2487 /lib/udev/hwdb.d/20-acpi-vendor.hwdb
2488 /lib/udev/hwdb.d/20-bluetooth-vendor-product.hwdb
2489 /lib/udev/hwdb.d/20-dmi-id.hwdb
2490 /lib/udev/hwdb.d/20-net-ifname.hwdb
2491 /lib/udev/hwdb.d/20-OUI.hwdb
2492 /lib/udev/hwdb.d/20-pci-classes.hwdb
2493 /lib/udev/hwdb.d/20-pci-vendor-model.hwdb
2494 /lib/udev/hwdb.d/20-sdio-classes.hwdb
2495 /lib/udev/hwdb.d/20-sdio-vendor-model.hwdb
2496 /lib/udev/hwdb.d/20-usb-classes.hwdb
2497 /lib/udev/hwdb.d/20-usb-vendor-model.hwdb
2498 /lib/udev/hwdb.d/20-vmbus-class.hwdb
2499 /lib/udev/hwdb.d/60-autosuspend-chromiumos.hwdb
2500 /lib/udev/hwdb.d/60-autosuspend-fingerprint-reader.hwdb
2501 /lib/udev/hwdb.d/60-autosuspend.hwdb
2502 /lib/udev/hwdb.d/60-evdev.hwdb
2503 /lib/udev/hwdb.d/60-input-id.hwdb
2504 /lib/udev/hwdb.d/60-keyboard.hwdb
2505 /lib/udev/hwdb.d/60-seat.hwdb
2506 /lib/udev/hwdb.d/60-sensor.hwdb
2507 /lib/udev/hwdb.d/70-analyzers.hwdb
2508 /lib/udev/hwdb.d/70-av-production.hwdb
2509 /lib/udev/hwdb.d/70-cameras.hwdb
2510 /lib/udev/hwdb.d/70-joystick.hwdb
2511 /lib/udev/hwdb.d/70-mouse.hwdb
2512 /lib/udev/hwdb.d/70-pda.hwdb
2513 /lib/udev/hwdb.d/70-pointingstick.hwdb
2514 /lib/udev/hwdb.d/70-touchpad.hwdb
2515 /lib/udev/hwdb.d/80-ieee1394-unit-function.hwdb
2516
2517 %attr(755,root,root) %{_rootsbindir}/start_udev
2518 %attr(755,root,root) %{_rootsbindir}/udevd
2519 %attr(755,root,root) %{_rootsbindir}/udevadm
2520 %attr(755,root,root) /bin/systemd-hwdb
2521 %attr(755,root,root) /bin/udevadm
2522
2523 %dir %{_sysconfdir}/udev
2524 %dir %{_sysconfdir}/udev/rules.d
2525 %dir %{_sysconfdir}/udev/hwdb.d
2526 %ghost %{_sysconfdir}/udev/hwdb.bin
2527
2528 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
2529 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/udev_blacklist.conf
2530 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/links.conf
2531 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
2532 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules
2533 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-uinput.rules
2534 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-steam_controller.rules
2535 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-i2c.rules
2536 %ifarch %{arm} aarch64
2537 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-raspberrypi.rules
2538 %endif
2539 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/80-net-setup-link.rules
2540
2541 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf
2542
2543 # rules below are NOT supposed to be changed by users
2544 /lib/udev/rules.d/50-udev-default.rules
2545 /lib/udev/rules.d/60-autosuspend.rules
2546 /lib/udev/rules.d/60-block.rules
2547 /lib/udev/rules.d/60-cdrom_id.rules
2548 /lib/udev/rules.d/60-drm.rules
2549 /lib/udev/rules.d/60-evdev.rules
2550 /lib/udev/rules.d/60-fido-id.rules
2551 /lib/udev/rules.d/60-input-id.rules
2552 /lib/udev/rules.d/60-persistent-alsa.rules
2553 /lib/udev/rules.d/60-persistent-input.rules
2554 /lib/udev/rules.d/60-persistent-storage.rules
2555 /lib/udev/rules.d/60-persistent-storage-tape.rules
2556 /lib/udev/rules.d/60-persistent-v4l.rules
2557 /lib/udev/rules.d/60-sensor.rules
2558 /lib/udev/rules.d/60-serial.rules
2559 /lib/udev/rules.d/64-btrfs.rules
2560 /lib/udev/rules.d/70-camera.rules
2561 /lib/udev/rules.d/70-joystick.rules
2562 /lib/udev/rules.d/70-memory.rules
2563 /lib/udev/rules.d/70-mouse.rules
2564 /lib/udev/rules.d/70-power-switch.rules
2565 /lib/udev/rules.d/70-touchpad.rules
2566 /lib/udev/rules.d/70-uaccess.rules
2567 /lib/udev/rules.d/71-seat.rules
2568 /lib/udev/rules.d/73-seat-late.rules
2569 /lib/udev/rules.d/75-net-description.rules
2570 /lib/udev/rules.d/75-probe_mtd.rules
2571 /lib/udev/rules.d/78-sound-card.rules
2572 /lib/udev/rules.d/80-drivers.rules
2573 /lib/udev/rules.d/80-net-setup-link.rules
2574 /lib/udev/rules.d/81-net-dhcp.rules
2575 /lib/udev/rules.d/90-vconsole.rules
2576
2577 %{_mandir}/man5/udev.conf.5*
2578 %{_mandir}/man7/udev.7*
2579 %{_mandir}/man7/hwdb.7*
2580 %{_mandir}/man8/systemd-hwdb.8*
2581 %{_mandir}/man8/udevadm.8*
2582 %{_mandir}/man8/udevd.8*
2583
2584 %files -n udev-libs
2585 %defattr(644,root,root,755)
2586 %attr(755,root,root) /%{_lib}/libudev.so.*.*.*
2587 %attr(755,root,root) %ghost /%{_lib}/libudev.so.1
2588
2589 %files -n udev-devel
2590 %defattr(644,root,root,755)
2591 %attr(755,root,root) /%{_lib}/libudev.so
2592 %{_includedir}/libudev.h
2593 %{_pkgconfigdir}/libudev.pc
2594 %{_npkgconfigdir}/udev.pc
2595 %{_mandir}/man3/libudev.3*
2596 %{_mandir}/man3/udev_*.3*
2597
2598 %files -n bash-completion-udev
2599 %defattr(644,root,root,755)
2600 %{bash_compdir}/udevadm
2601
2602 %files -n zsh-completion-udev
2603 %defattr(644,root,root,755)
2604 %{zsh_compdir}/_udevadm
2605
2606 %files -n rpm-macros-systemd
2607 %defattr(644,root,root,755)
2608 /usr/lib/rpm/macros.d/macros.systemd
This page took 0.421361 seconds and 4 git commands to generate.