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