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