]> git.pld-linux.org Git - packages/systemd.git/blob - systemd.spec
up to 252
[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
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:  99166e0d58c72988fcd1fe8ff147ed70
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 %{?with_fido2: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}
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 %attr(755,root,root) /lib/systemd/systemd-measure
1343 %attr(755,root,root) /lib/systemd/systemd-modules-load
1344 %attr(755,root,root) /lib/systemd/systemd-pcrphase
1345 %attr(755,root,root) /lib/systemd/systemd-pstore
1346 %attr(755,root,root) /lib/systemd/systemd-quotacheck
1347 %attr(755,root,root) /lib/systemd/systemd-random-seed
1348 %attr(755,root,root) /lib/systemd/systemd-remount-fs
1349 %attr(755,root,root) /lib/systemd/systemd-reply-password
1350 %attr(755,root,root) /lib/systemd/systemd-rfkill
1351 %attr(755,root,root) /lib/systemd/systemd-shutdown
1352 %attr(755,root,root) /lib/systemd/systemd-sleep
1353 %attr(755,root,root) /lib/systemd/systemd-socket-proxyd
1354 %attr(755,root,root) /lib/systemd/systemd-sulogin-shell
1355 %attr(755,root,root) /lib/systemd/systemd-sysctl
1356 %attr(755,root,root) /lib/systemd/systemd-sysroot-fstab-check
1357 %attr(755,root,root) /lib/systemd/systemd-time-wait-sync
1358 %attr(755,root,root) /lib/systemd/systemd-timedated
1359 %attr(755,root,root) /lib/systemd/systemd-timesyncd
1360 %attr(755,root,root) /lib/systemd/systemd-udevd
1361 %attr(755,root,root) /lib/systemd/systemd-update-utmp
1362 %attr(755,root,root) /lib/systemd/systemd-update-done
1363 %attr(755,root,root) /lib/systemd/systemd-user-runtime-dir
1364 %attr(755,root,root) /lib/systemd/systemd-user-sessions
1365 %attr(755,root,root) /lib/systemd/systemd-userdbd
1366 %attr(755,root,root) /lib/systemd/systemd-userwork
1367 %attr(755,root,root) /lib/systemd/systemd-vconsole-setup
1368 %attr(755,root,root) /lib/systemd/systemd-veritysetup
1369 %attr(755,root,root) /lib/systemd/systemd-volatile-root
1370 %attr(755,root,root) /lib/systemd/systemd-xdg-autostart-condition
1371 %attr(755,root,root) /lib/systemd/systemd
1372 %if %{with cryptsetup}
1373 %attr(755,root,root) /lib/systemd/system-generators/systemd-cryptsetup-generator
1374 %attr(755,root,root) /lib/systemd/system-generators/systemd-integritysetup-generator
1375 %endif
1376 %{?with_efi:%attr(755,root,root) /lib/systemd/system-generators/systemd-bless-boot-generator}
1377 %attr(755,root,root) /lib/systemd/system-generators/systemd-debug-generator
1378 %attr(755,root,root) /lib/systemd/system-generators/systemd-fstab-generator
1379 %attr(755,root,root) /lib/systemd/system-generators/systemd-getty-generator
1380 %attr(755,root,root) /lib/systemd/system-generators/systemd-gpt-auto-generator
1381 %attr(755,root,root) /lib/systemd/system-generators/systemd-hibernate-resume-generator
1382 %attr(755,root,root) /lib/systemd/system-generators/systemd-run-generator
1383 %attr(755,root,root) /lib/systemd/system-generators/systemd-system-update-generator
1384 %attr(755,root,root) /lib/systemd/system-generators/systemd-sysv-generator
1385 %attr(755,root,root) /lib/systemd/system-generators/systemd-veritysetup-generator
1386 %dir /lib/systemd/network
1387 /lib/systemd/network/99-default.link
1388 /lib/udev/rules.d/99-systemd.rules
1389 %{_prefix}/lib/environment.d/99-environment.conf
1390 %dir %{_prefix}/lib/kernel
1391 %dir %{_prefix}/lib/kernel/install.d
1392 %{_prefix}/lib/kernel/install.d/50-depmod.install
1393 %{_prefix}/lib/kernel/install.d/90-loaderentry.install
1394 %if %{with efi}
1395 %dir %{_prefix}/lib/systemd/boot
1396 %dir %{_prefix}/lib/systemd/boot/efi
1397 %ifarch %{ix86}
1398 %{_prefix}/lib/systemd/boot/efi/linuxia32.efi.stub
1399 %{_prefix}/lib/systemd/boot/efi/linuxia32.elf.stub
1400 %{_prefix}/lib/systemd/boot/efi/systemd-bootia32.efi
1401 %endif
1402 %ifarch %{x8664} x32
1403 %{_prefix}/lib/systemd/boot/efi/linuxx64.efi.stub
1404 %{_prefix}/lib/systemd/boot/efi/linuxx64.elf.stub
1405 %{_prefix}/lib/systemd/boot/efi/systemd-bootx64.efi
1406 %endif
1407 %ifarch aarch64
1408 %{_prefix}/lib/systemd/boot/efi/linuxaa64.efi.stub
1409 %{_prefix}/lib/systemd/boot/efi/linuxaa64.elf.stub
1410 %{_prefix}/lib/systemd/boot/efi/systemd-bootaa64.efi
1411 %endif
1412 %endif
1413 %{_prefix}/lib/systemd/catalog/systemd.catalog
1414 %lang(be) %{_prefix}/lib/systemd/catalog/systemd.be.catalog
1415 %lang(be) %{_prefix}/lib/systemd/catalog/systemd.be@latin.catalog
1416 %lang(bg) %{_prefix}/lib/systemd/catalog/systemd.bg.catalog
1417 %lang(de) %{_prefix}/lib/systemd/catalog/systemd.de.catalog
1418 %lang(fr) %{_prefix}/lib/systemd/catalog/systemd.fr.catalog
1419 %lang(it) %{_prefix}/lib/systemd/catalog/systemd.it.catalog
1420 %lang(pl) %{_prefix}/lib/systemd/catalog/systemd.pl.catalog
1421 %lang(pt_BR) %{_prefix}/lib/systemd/catalog/systemd.pt_BR.catalog
1422 %lang(ru) %{_prefix}/lib/systemd/catalog/systemd.ru.catalog
1423 %lang(zh_CN) %{_prefix}/lib/systemd/catalog/systemd.zh_CN.catalog
1424 %lang(zh_TW) %{_prefix}/lib/systemd/catalog/systemd.zh_TW.catalog
1425 %dir %{_prefix}/lib/sysusers.d
1426 %{_prefix}/lib/sysusers.d/basic.conf
1427 %{_prefix}/lib/sysusers.d/systemd-coredump.conf
1428 %{_prefix}/lib/sysusers.d/systemd-journal.conf
1429 %{_prefix}/lib/sysusers.d/systemd-timesync.conf
1430 %if %{with microhttpd}
1431 %{_prefix}/lib/sysusers.d/systemd-remote.conf
1432 %endif
1433 %{_prefix}/lib/tmpfiles.d/etc.conf
1434 %{_prefix}/lib/tmpfiles.d/home.conf
1435 %{_prefix}/lib/tmpfiles.d/journal-nocow.conf
1436 %{_prefix}/lib/tmpfiles.d/legacy.conf
1437 %{_prefix}/lib/tmpfiles.d/provision.conf
1438 %{_prefix}/lib/tmpfiles.d/static-nodes-permissions.conf
1439 %{_prefix}/lib/tmpfiles.d/systemd.conf
1440 %{_prefix}/lib/tmpfiles.d/systemd-nologin.conf
1441 %{_prefix}/lib/tmpfiles.d/systemd-nspawn.conf
1442 %{_prefix}/lib/tmpfiles.d/systemd-pstore.conf
1443 %{_prefix}/lib/tmpfiles.d/systemd-tmp.conf
1444 %{_prefix}/lib/tmpfiles.d/tmp.conf
1445 %{_prefix}/lib/tmpfiles.d/var.conf
1446 %{_prefix}/lib/tmpfiles.d/x11.conf
1447 %{_prefix}/lib/sysctl.d/50-coredump.conf
1448 # if cc.sizeof('long') > 4
1449 %ifarch %{x8664} aarch64
1450 %{_prefix}/lib/sysctl.d/50-pid-max.conf
1451 %endif
1452 %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
1453 %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
1454 %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
1455 %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
1456 %{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
1457 %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
1458 %{_datadir}/dbus-1/system-services/org.freedesktop.timesync1.service
1459 %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
1460 %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
1461 %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
1462 %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
1463 %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
1464 %{_datadir}/polkit-1/actions/org.freedesktop.timesync1.policy
1465 %{_datadir}/polkit-1/rules.d/systemd-networkd.rules
1466 %dir %{_datadir}/systemd
1467 %{_datadir}/systemd/kbd-model-map
1468 %{_datadir}/systemd/language-fallback-map
1469 %{_datadir}/factory/etc/issue
1470 %{_datadir}/factory/etc/locale.conf
1471 %{_datadir}/factory/etc/nsswitch.conf
1472 %{_datadir}/factory/etc/pam.d/other
1473 %{_datadir}/factory/etc/pam.d/system-auth
1474 %{?with_efi:%{_mandir}/man1/bootctl.1*}
1475 %{_mandir}/man1/busctl.1*
1476 %{_mandir}/man1/coredumpctl.1*
1477 %{_mandir}/man1/hostnamectl.1*
1478 %{_mandir}/man1/journalctl.1*
1479 %{_mandir}/man1/localectl.1*
1480 %{_mandir}/man1/loginctl.1*
1481 %{_mandir}/man1/systemd.1*
1482 %{_mandir}/man1/systemd-ask-password.1*
1483 %{_mandir}/man1/systemd-cat.1*
1484 %{_mandir}/man1/systemd-creds.1*
1485 %{?with_cryptsetup:%{_mandir}/man1/systemd-cryptenroll.1*}
1486 %{_mandir}/man1/systemd-delta.1*
1487 %{_mandir}/man1/systemd-detect-virt.1*
1488 %{_mandir}/man1/systemd-dissect.1*
1489 %{_mandir}/man1/systemd-escape.1*
1490 %{_mandir}/man1/systemd-firstboot.1*
1491 %{_mandir}/man1/systemd-firstboot.service.1*
1492 %{_mandir}/man1/systemd-id128.1*
1493 %{_mandir}/man1/systemd-inhibit.1*
1494 %{_mandir}/man1/systemd-machine-id-setup.1*
1495 %{_mandir}/man1/systemd-measure.1*
1496 %{_mandir}/man1/systemd-mount.1*
1497 %{_mandir}/man1/systemd-notify.1*
1498 %{_mandir}/man1/systemd-nspawn.1*
1499 %{_mandir}/man1/systemd-path.1*
1500 %{_mandir}/man1/systemd-run.1*
1501 %{_mandir}/man1/systemd-socket-activate.1*
1502 %{_mandir}/man1/systemd-stdio-bridge.1*
1503 %{_mandir}/man1/systemd-tty-ask-password-agent.1*
1504 %{_mandir}/man1/systemd-umount.1*
1505 %{_mandir}/man1/timedatectl.1*
1506 %{_mandir}/man1/userdbctl.1*
1507 %{_mandir}/man5/binfmt.d.5*
1508 %{_mandir}/man5/coredump.conf.5*
1509 %{_mandir}/man5/coredump.conf.d.5*
1510 %{_mandir}/man5/dnssec-trust-anchors.d.5*
1511 %{_mandir}/man5/extension-release.5*
1512 %{_mandir}/man5/hostname.5*
1513 %{_mandir}/man5/initrd-release.5*
1514 %{_mandir}/man5/journald@.conf.5*
1515 %{?with_efi:%{_mandir}/man5/loader.conf.5*}
1516 %{_mandir}/man5/journald.conf.5*
1517 %{_mandir}/man5/journald.conf.d.5*
1518 %{_mandir}/man5/locale.conf.5*
1519 %{_mandir}/man5/localtime.5*
1520 %{_mandir}/man5/logind.conf.5*
1521 %{_mandir}/man5/logind.conf.d.5*
1522 %{_mandir}/man5/machine-id.5*
1523 %{_mandir}/man5/machine-info.5*
1524 %{_mandir}/man5/modules-load.d.5*
1525 %{_mandir}/man5/org.freedesktop.LogControl1.5*
1526 %{_mandir}/man5/org.freedesktop.hostname1.5*
1527 %{_mandir}/man5/org.freedesktop.locale1.5*
1528 %{_mandir}/man5/org.freedesktop.login1.5*
1529 %{_mandir}/man5/org.freedesktop.systemd1.5*
1530 %{_mandir}/man5/org.freedesktop.timedate1.5*
1531 %{_mandir}/man5/os-release.5*
1532 %{_mandir}/man5/pstore.conf.5*
1533 %{_mandir}/man5/pstore.conf.d.5*
1534 %{_mandir}/man5/sleep.conf.d.5*
1535 %{_mandir}/man5/sysctl.d.5*
1536 %{_mandir}/man5/system.conf.d.5*
1537 %{_mandir}/man5/systemd.*.5*
1538 %{_mandir}/man5/systemd-sleep.conf.5*
1539 %{_mandir}/man5/systemd-system.conf.5*
1540 %{_mandir}/man5/systemd-user.conf.5*
1541 %{_mandir}/man5/systemd-user-runtime-dir.5*
1542 %{_mandir}/man5/sysusers.d.5*
1543 %{_mandir}/man5/timesyncd.conf.5*
1544 %{_mandir}/man5/timesyncd.conf.d.5*
1545 %{_mandir}/man5/user.conf.d.5*
1546 %{_mandir}/man5/vconsole.conf.5*
1547 %{_mandir}/man7/bootup.7*
1548 %{_mandir}/man7/daemon.7*
1549 %{_mandir}/man7/file-hierarchy.7*
1550 %{_mandir}/man7/kernel-command-line.7*
1551 %if %{with efi}
1552 %ifarch %{ix86}
1553 %{_mandir}/man7/linuxia32.efi.stub.7*
1554 %endif
1555 %ifarch %{x8664}
1556 %{_mandir}/man7/linuxx64.efi.stub.7*
1557 %endif
1558 %ifarch aarch64
1559 %{_mandir}/man7/linuxaa64.efi.stub.7*
1560 %endif
1561 %{_mandir}/man7/sd-boot.7*
1562 %{_mandir}/man7/sd-stub.7*
1563 %{_mandir}/man7/systemd-boot.7*
1564 %{_mandir}/man7/systemd-stub.7*
1565 %endif
1566 %{_mandir}/man7/systemd.directives.7*
1567 %{_mandir}/man7/systemd.environment-generator.7*
1568 %{_mandir}/man7/systemd.generator.7*
1569 %{_mandir}/man7/systemd.index.7*
1570 %{_mandir}/man7/systemd.journal-fields.7*
1571 %{_mandir}/man7/systemd.offline-updates.7*
1572 %{_mandir}/man7/systemd.special.7*
1573 %{_mandir}/man7/systemd.syntax.7*
1574 %{_mandir}/man7/systemd.system-credentials.7*
1575 %{_mandir}/man7/systemd.time.7*
1576 %{_mandir}/man8/kernel-install.8*
1577 %{_mandir}/man8/libnss_myhostname.so.2.8*
1578 %{_mandir}/man8/libnss_mymachines.so.2.8*
1579 %{_mandir}/man8/nss-myhostname.8*
1580 %{_mandir}/man8/nss-mymachines.8*
1581 %{_mandir}/man8/systemd-backlight.8*
1582 %{_mandir}/man8/systemd-binfmt.8*
1583 %if %{with efi}
1584 %{_mandir}/man8/systemd-bless-boot.8*
1585 %{_mandir}/man8/systemd-bless-boot-generator.8*
1586 %endif
1587 %{_mandir}/man8/systemd-boot-check-no-failures.8*
1588 %{_mandir}/man8/systemd-coredump.8*
1589 %if %{with cryptsetup}
1590 %{_mandir}/man8/systemd-cryptsetup-generator.8*
1591 %{_mandir}/man8/systemd-integritysetup-generator.8*
1592 %endif
1593 %{_mandir}/man8/systemd-debug-generator.8*
1594 %{_mandir}/man8/systemd-fsck.8*
1595 %{_mandir}/man8/systemd-fstab-generator.8*
1596 %{_mandir}/man8/systemd-getty-generator.8*
1597 %{_mandir}/man8/systemd-gpt-auto-generator.8*
1598 %{_mandir}/man8/systemd-growfs.8*
1599 %{_mandir}/man8/systemd-growfs@.service.8*
1600 %{_mandir}/man8/systemd-hibernate-resume-generator.8*
1601 %{_mandir}/man8/systemd-hibernate-resume.8*
1602 %{_mandir}/man8/systemd-hibernate-resume@.service.8*
1603 %{_mandir}/man8/systemd-hostnamed.8*
1604 %{_mandir}/man8/systemd-initctl.8*
1605 %{_mandir}/man8/systemd-journald-dev-log.socket.8*
1606 %{_mandir}/man8/systemd-journald-varlink@.socket.8*
1607 %{_mandir}/man8/systemd-journald.8*
1608 %{_mandir}/man8/systemd-journald@.service.8*
1609 %{_mandir}/man8/systemd-journald@.socket.8*
1610 %{_mandir}/man8/systemd-localed.8*
1611 %{_mandir}/man8/systemd-logind.8*
1612 %{_mandir}/man8/systemd-machine-id-commit.service.8*
1613 %{_mandir}/man8/systemd-makefs.8*
1614 %{_mandir}/man8/systemd-makefs@.service.8*
1615 %{_mandir}/man8/systemd-mkswap@.service.8*
1616 %{_mandir}/man8/systemd-modules-load.8*
1617 %{_mandir}/man8/systemd-pstore.8*
1618 %{_mandir}/man8/systemd-pstore.service.8*
1619 %{_mandir}/man8/systemd-quotacheck.8*
1620 %{_mandir}/man8/systemd-random-seed.8*
1621 %{_mandir}/man8/systemd-remount-fs.8*
1622 %{_mandir}/man8/systemd-rfkill.8*
1623 %{_mandir}/man8/systemd-rfkill.service.8*
1624 %{_mandir}/man8/systemd-run-generator.8*
1625 %{_mandir}/man8/systemd-shutdown.8*
1626 %{_mandir}/man8/systemd-sleep.8*
1627 %{_mandir}/man8/systemd-socket-proxyd.8*
1628 %{_mandir}/man8/systemd-sysctl.8*
1629 %{_mandir}/man8/systemd-sysext.8*
1630 %{_mandir}/man8/systemd-system-update-generator.8*
1631 %{_mandir}/man8/systemd-sysusers.8*
1632 %{_mandir}/man8/systemd-sysusers.service.8*
1633 %{_mandir}/man8/systemd-sysv-generator.8*
1634 %{_mandir}/man8/systemd-time-wait-sync.8*
1635 %{_mandir}/man8/systemd-timedated.8*
1636 %{_mandir}/man8/systemd-timesyncd.8*
1637 %{_mandir}/man8/systemd-timesyncd.service.8*
1638 %{_mandir}/man8/systemd-udevd.8*
1639 %{_mandir}/man8/systemd-update-done.8*
1640 %{_mandir}/man8/systemd-update-done.service.8*
1641 %{_mandir}/man8/systemd-update-utmp.8*
1642 %{_mandir}/man8/systemd-user-sessions.8*
1643 %{_mandir}/man8/systemd-userdbd.8*
1644 %{_mandir}/man8/systemd-vconsole-setup.8*
1645 %{_mandir}/man8/systemd-veritysetup.8*
1646 %{_mandir}/man8/systemd-veritysetup-generator.8*
1647 %{_mandir}/man8/systemd-veritysetup@.service.8*
1648 %{_mandir}/man8/systemd-volatile-root.8*
1649 %{_mandir}/man8/systemd-volatile-root.service.8*
1650 %{_mandir}/man8/systemd-xdg-autostart-generator.8*
1651 %attr(700,root,root) %dir /var/lib/machines
1652 %dir /var/lib/%{name}
1653 %dir /var/lib/%{name}/coredump
1654 %dir /var/lib/%{name}/catalog
1655 %attr(640,root,root) %ghost /var/lib/%{name}/random-seed
1656 %attr(600,root,utmp) %ghost /var/log/btmp
1657 %attr(664,root,utmp) %ghost /var/log/wtmp
1658 %attr(2755,root,systemd-journal) %dir /var/log/journal
1659 %attr(2755,root,systemd-journal) %dir /var/log/journal/remote
1660
1661 %if %{with pam}
1662 %attr(755,root,root) /%{_lib}/security/pam_systemd.so
1663 %{_mandir}/man8/pam_systemd.8*
1664 %endif
1665
1666 %files init
1667 %defattr(644,root,root,755)
1668 %attr(755,root,root) /sbin/halt
1669 %attr(755,root,root) /sbin/init
1670 %attr(755,root,root) /sbin/poweroff
1671 %attr(755,root,root) /sbin/reboot
1672 %attr(755,root,root) /sbin/runlevel
1673 %attr(755,root,root) /sbin/shutdown
1674 %attr(755,root,root) /sbin/telinit
1675 %{_mandir}/man1/init.1*
1676 %if %{with cryptsetup}
1677 %{_mandir}/man5/crypttab.5*
1678 %{_mandir}/man5/integritytab.5*
1679 %{_mandir}/man5/veritytab.5*
1680 %endif
1681 %{_mandir}/man8/halt.8*
1682 %{_mandir}/man8/poweroff.8*
1683 %{_mandir}/man8/reboot.8*
1684 %{_mandir}/man8/runlevel.8*
1685 %{_mandir}/man8/shutdown.8*
1686 %{_mandir}/man8/telinit.8*
1687
1688 %files sysv-compat
1689 %defattr(644,root,root,755)
1690 %attr(755,root,root) %{_bindir}/systemd-sysv-convert
1691
1692 %files units
1693 %defattr(644,root,root,755)
1694 %dir %{_sysconfdir}/binfmt.d
1695 %dir %{_sysconfdir}/modules-load.d
1696 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf
1697 %dir %{_sysconfdir}/sysctl.d
1698 %{_sysconfdir}/sysctl.d/99-sysctl.conf
1699 %dir %{_sysconfdir}/systemd
1700 %dir %{_sysconfdir}/systemd/system
1701 %dir %{_sysconfdir}/systemd/system-preset
1702 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system-preset/default.preset
1703 %dir %{_sysconfdir}/systemd/user-preset
1704 %dir %{_sysconfdir}/tmpfiles.d
1705 %dir %{_prefix}/lib/binfmt.d
1706 %dir %{_prefix}/lib/environment.d
1707 %dir %{_prefix}/lib/modules-load.d
1708 %dir %{_prefix}/lib/sysctl.d
1709 %{_prefix}/lib/sysctl.d/50-default.conf
1710 %dir %{_prefix}/lib/systemd
1711 %dir %{_prefix}/lib/systemd/catalog
1712 %dir %{_prefix}/lib/systemd/system-shutdown
1713 %dir %{_prefix}/lib/systemd/system-sleep
1714 %dir %{_prefix}/lib/systemd/user
1715 %{_prefix}/lib/systemd/user/app.slice
1716 %{_prefix}/lib/systemd/user/background.slice
1717 %{_prefix}/lib/systemd/user/basic.target
1718 %{_prefix}/lib/systemd/user/bluetooth.target
1719 %{_prefix}/lib/systemd/user/default.target
1720 %{_prefix}/lib/systemd/user/exit.target
1721 %{_prefix}/lib/systemd/user/paths.target
1722 %{_prefix}/lib/systemd/user/printer.target
1723 %{_prefix}/lib/systemd/user/session.slice
1724 %{_prefix}/lib/systemd/user/shutdown.target
1725 %{_prefix}/lib/systemd/user/smartcard.target
1726 %{_prefix}/lib/systemd/user/sockets.target
1727 %{_prefix}/lib/systemd/user/sound.target
1728 %{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.service
1729 %{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.timer
1730 %{_prefix}/lib/systemd/user/systemd-tmpfiles-setup.service
1731 %{_prefix}/lib/systemd/user/timers.target
1732 %{_prefix}/lib/systemd/user/systemd-exit.service
1733 %{_prefix}/lib/systemd/user/xdg-desktop-autostart.target
1734 %dir %{_prefix}/lib/systemd/user-generators
1735 %attr(755,root,root) %{_prefix}/lib/systemd/user-generators/systemd-xdg-autostart-generator
1736 %dir %{_prefix}/lib/systemd/user-environment-generators
1737 %attr(755,root,root) %{_prefix}/lib/systemd/user-environment-generators/30-systemd-environment-d-generator
1738 %dir %{_prefix}/lib/systemd/user-preset
1739 %{_prefix}/lib/systemd/user-preset/90-systemd.preset
1740 %dir %{_prefix}/lib/systemd/system-environment-generators
1741 %dir /lib/systemd/ntp-units.d
1742 /lib/systemd/ntp-units.d/80-systemd-timesync.list
1743 %dir /lib/systemd/pld-helpers.d
1744 %dir /lib/systemd/system-generators
1745 %dir /lib/systemd/system-preset
1746 /lib/systemd/system-preset/90-systemd.preset
1747 %dir /lib/systemd/system-sleep
1748 %dir /lib/systemd/system-shutdown
1749 %attr(755,root,root) /lib/systemd/systemd-update-helper
1750 %attr(755,root,root) /bin/systemctl
1751 %attr(755,root,root) /bin/systemd-tmpfiles
1752 %attr(755,root,root) /bin/systemd_booted
1753 %{_mandir}/man1/systemctl.1*
1754 %{_mandir}/man5/tmpfiles.d.5*
1755 %{_mandir}/man5/environment.d.5*
1756 %{_mandir}/man8/systemd-tmpfiles.8*
1757
1758 %{systemdunitdir}/dev-hugepages.mount
1759 %{systemdunitdir}/dev-mqueue.mount
1760 %{systemdunitdir}/initrd-root-device.target
1761 %{systemdunitdir}/proc-sys-fs-binfmt_misc.automount
1762 %{systemdunitdir}/proc-sys-fs-binfmt_misc.mount
1763 %{systemdunitdir}/sockets.target.wants/systemd-coredump.socket
1764 %{systemdunitdir}/sys-fs-fuse-connections.mount
1765 %{systemdunitdir}/sys-kernel-config.mount
1766 %{systemdunitdir}/sys-kernel-debug.mount
1767 %{systemdunitdir}/sys-kernel-tracing.mount
1768 %{systemdunitdir}/systemd-coredump@.service
1769 %{systemdunitdir}/systemd-coredump.socket
1770 %{systemdunitdir}/systemd-exit.service
1771 %{systemdunitdir}/systemd-pstore.service
1772 %{systemdunitdir}/systemd-rfkill.socket
1773 %{systemdunitdir}/tmp.mount
1774 %{systemdunitdir}/var-lock.mount
1775 %{systemdunitdir}/var-run.mount
1776 %{systemdunitdir}/systemd-ask-password-console.path
1777 %{systemdunitdir}/systemd-ask-password-wall.path
1778 %{systemdunitdir}/allowlogin.service
1779 %{systemdunitdir}/autovt@.service
1780 %{systemdunitdir}/console-getty.service
1781 %{systemdunitdir}/console.service
1782 %{systemdunitdir}/container-getty@.service
1783 %{systemdunitdir}/cpusets.service
1784 %{systemdunitdir}/dbus-org.freedesktop.hostname1.service
1785 %{systemdunitdir}/dbus-org.freedesktop.locale1.service
1786 %{systemdunitdir}/dbus-org.freedesktop.login1.service
1787 %{systemdunitdir}/dbus-org.freedesktop.timedate1.service
1788 %{systemdunitdir}/debug-shell.service
1789 %{systemdunitdir}/display-manager.service
1790 %{systemdunitdir}/emergency.service
1791 %{systemdunitdir}/getty@.service
1792 %{systemdunitdir}/initrd-cleanup.service
1793 %{systemdunitdir}/initrd-parse-etc.service
1794 %{systemdunitdir}/initrd-switch-root.service
1795 %{systemdunitdir}/initrd-udevadm-cleanup-db.service
1796 %{systemdunitdir}/killall.service
1797 %{systemdunitdir}/kmod-static-nodes.service
1798 %{systemdunitdir}/ldconfig.service
1799 %{systemdunitdir}/modprobe@.service
1800 %{systemdunitdir}/netfs.service
1801 %{systemdunitdir}/network.service
1802 %{systemdunitdir}/pld-clean-tmp.service
1803 %{systemdunitdir}/prefdm.service
1804 %{systemdunitdir}/quotaon.service
1805 %{systemdunitdir}/random.service
1806 %{systemdunitdir}/rescue.service
1807 %{systemdunitdir}/serial-getty@.service
1808 %{systemdunitdir}/single.service
1809 %{systemdunitdir}/sigpwr-container-shutdown.service
1810 %{systemdunitdir}/suspend-then-hibernate.target
1811 %{systemdunitdir}/sys-kernel-config.service
1812 %{systemdunitdir}/system-update-cleanup.service
1813 %{systemdunitdir}/system-update-pre.target
1814 %{systemdunitdir}/systemd-ask-password-console.service
1815 %{systemdunitdir}/systemd-ask-password-wall.service
1816 %{systemdunitdir}/systemd-backlight@.service
1817 %{systemdunitdir}/systemd-binfmt.service
1818 %if %{with efi}
1819 %{systemdunitdir}/systemd-bless-boot.service
1820 %{systemdunitdir}/systemd-boot-system-token.service
1821 %{systemdunitdir}/systemd-boot-update.service
1822 %endif
1823 %{systemdunitdir}/systemd-boot-check-no-failures.service
1824 %{systemdunitdir}/systemd-firstboot.service
1825 %{systemdunitdir}/systemd-fsck-root.service
1826 %{systemdunitdir}/systemd-fsck@.service
1827 %{systemdunitdir}/systemd-halt.service
1828 %{systemdunitdir}/systemd-hibernate-resume@.service
1829 %{systemdunitdir}/systemd-hibernate.service
1830 %{systemdunitdir}/systemd-hostnamed.service
1831 %{systemdunitdir}/systemd-hwdb-update.service
1832 %{systemdunitdir}/systemd-hybrid-sleep.service
1833 %{systemdunitdir}/systemd-initctl.service
1834 %{systemdunitdir}/systemd-journal-catalog-update.service
1835 %{systemdunitdir}/systemd-journal-flush.service
1836 %{systemdunitdir}/systemd-journald.service
1837 %{systemdunitdir}/systemd-journald@.service
1838 %{systemdunitdir}/systemd-kexec.service
1839 %{systemdunitdir}/systemd-localed.service
1840 %{systemdunitdir}/systemd-logind.service
1841 %{systemdunitdir}/systemd-machine-id-commit.service
1842 %{systemdunitdir}/systemd-modules-load.service
1843 %{systemdunitdir}/systemd-nspawn@.service
1844 %{systemdunitdir}/systemd-pcrphase-initrd.service
1845 %{systemdunitdir}/systemd-pcrphase-sysinit.service
1846 %{systemdunitdir}/systemd-pcrphase.service
1847 %{systemdunitdir}/systemd-poweroff.service
1848 %{systemdunitdir}/systemd-quotacheck.service
1849 %{systemdunitdir}/systemd-random-seed.service
1850 %{systemdunitdir}/systemd-reboot.service
1851 %{systemdunitdir}/systemd-remount-fs.service
1852 %{systemdunitdir}/systemd-rfkill.service
1853 %{systemdunitdir}/systemd-suspend.service
1854 %{systemdunitdir}/systemd-suspend-then-hibernate.service
1855 %{systemdunitdir}/systemd-sysctl.service
1856 %{systemdunitdir}/systemd-sysext.service
1857 %{systemdunitdir}/systemd-sysusers.service
1858 %{systemdunitdir}/systemd-time-wait-sync.service
1859 %{systemdunitdir}/systemd-timedated.service
1860 %{systemdunitdir}/systemd-timesyncd.service
1861 %{systemdunitdir}/systemd-tmpfiles-clean.service
1862 %{systemdunitdir}/systemd-tmpfiles-setup-dev.service
1863 %{systemdunitdir}/systemd-tmpfiles-setup.service
1864 %{systemdunitdir}/systemd-udev-settle.service
1865 %{systemdunitdir}/systemd-udev-trigger.service
1866 %{systemdunitdir}/systemd-udevd.service
1867 %dir %{systemdunitdir}/systemd-udevd.service.d
1868 %{systemdunitdir}/systemd-update-done.service
1869 %{systemdunitdir}/systemd-update-utmp-runlevel.service
1870 %{systemdunitdir}/systemd-update-utmp.service
1871 %{systemdunitdir}/systemd-user-sessions.service
1872 %{systemdunitdir}/systemd-userdbd.service
1873 %{systemdunitdir}/systemd-userdbd.socket
1874 %{systemdunitdir}/systemd-vconsole-setup.service
1875 %{systemdunitdir}/systemd-volatile-root.service
1876 %{systemdunitdir}/user@.service
1877 %dir %{systemdunitdir}/user@.service.d
1878 %{systemdunitdir}/user@.service.d/10-login-barrier.conf
1879 %dir %{systemdunitdir}/user@0.service.d
1880 %{systemdunitdir}/user@0.service.d/10-login-barrier.conf
1881 %{systemdunitdir}/machine.slice
1882 #%{systemdunitdir}/system.slice
1883 %{?with_cryptsetup:%{systemdunitdir}/system-systemd\x2dcryptsetup.slice}
1884 %dir %{systemdunitdir}/user-.slice.d
1885 %{systemdunitdir}/user-.slice.d/10-defaults.conf
1886 %{systemdunitdir}/user-runtime-dir@.service
1887 %{systemdunitdir}/user.slice
1888 %exclude %{systemdunitdir}/rc-inetd.service
1889 %{systemdunitdir}/syslog.socket
1890 %{systemdunitdir}/systemd-initctl.socket
1891 %{systemdunitdir}/systemd-journald-audit.socket
1892 %{systemdunitdir}/systemd-journald-dev-log.socket
1893 %{systemdunitdir}/systemd-journald-varlink@.socket
1894 %{systemdunitdir}/systemd-journald.socket
1895 %{systemdunitdir}/systemd-journald@.socket
1896 %{systemdunitdir}/systemd-udevd-control.socket
1897 %{systemdunitdir}/systemd-udevd-kernel.socket
1898 %{systemdunitdir}/basic.target
1899 %{systemdunitdir}/blockdev@.target
1900 %{systemdunitdir}/bluetooth.target
1901 %{systemdunitdir}/boot-complete.target
1902 %if %{with cryptsetup}
1903 %{systemdunitdir}/cryptsetup-pre.target
1904 %{systemdunitdir}/cryptsetup.target
1905 %{systemdunitdir}/integritysetup-pre.target
1906 %{systemdunitdir}/integritysetup.target
1907 %{systemdunitdir}/veritysetup-pre.target
1908 %{systemdunitdir}/veritysetup.target
1909 %endif
1910 %{systemdunitdir}/ctrl-alt-del.target
1911 %{systemdunitdir}/default.target
1912 %{systemdunitdir}/emergency.target
1913 %{systemdunitdir}/exit.target
1914 %{systemdunitdir}/factory-reset.target
1915 %{systemdunitdir}/final.target
1916 %{systemdunitdir}/first-boot-complete.target
1917 %{systemdunitdir}/getty.target
1918 %{systemdunitdir}/getty-pre.target
1919 %{systemdunitdir}/graphical.target
1920 %{systemdunitdir}/halt.target
1921 %{systemdunitdir}/hibernate.target
1922 %{systemdunitdir}/hybrid-sleep.target
1923 %{systemdunitdir}/initrd-fs.target
1924 %{systemdunitdir}/initrd-root-fs.target
1925 %{systemdunitdir}/initrd-switch-root.target
1926 %{systemdunitdir}/initrd-usr-fs.target
1927 %{systemdunitdir}/initrd.target
1928 %{systemdunitdir}/kexec.target
1929 %{systemdunitdir}/local-fs-pre.target
1930 %{systemdunitdir}/local-fs.target
1931 %{systemdunitdir}/multi-user.target
1932 %{systemdunitdir}/network-online.target
1933 %{systemdunitdir}/network-pre.target
1934 %{systemdunitdir}/network.target
1935 %{systemdunitdir}/nss-lookup.target
1936 %{systemdunitdir}/nss-user-lookup.target
1937 %{systemdunitdir}/paths.target
1938 %{systemdunitdir}/poweroff.target
1939 %{systemdunitdir}/printer.target
1940 %{systemdunitdir}/reboot.target
1941 %{systemdunitdir}/remote-fs-pre.target
1942 %{systemdunitdir}/remote-fs.target
1943 %if %{with cryptsetup}
1944 %{systemdunitdir}/remote-cryptsetup.target
1945 %{systemdunitdir}/remote-veritysetup.target
1946 %endif
1947 %{systemdunitdir}/rescue.target
1948 %{systemdunitdir}/rpcbind.target
1949 %{systemdunitdir}/runlevel0.target
1950 %{systemdunitdir}/runlevel1.target
1951 %{systemdunitdir}/runlevel2.target
1952 %{systemdunitdir}/runlevel3.target
1953 %{systemdunitdir}/runlevel4.target
1954 %{systemdunitdir}/runlevel5.target
1955 %{systemdunitdir}/runlevel6.target
1956 %{systemdunitdir}/shutdown.target
1957 %{systemdunitdir}/sigpwr.target
1958 %{systemdunitdir}/sleep.target
1959 %{systemdunitdir}/slices.target
1960 %{systemdunitdir}/smartcard.target
1961 %{systemdunitdir}/sockets.target
1962 %{systemdunitdir}/sound.target
1963 %{systemdunitdir}/suspend.target
1964 %{systemdunitdir}/swap.target
1965 %{systemdunitdir}/sysinit.target
1966 %{systemdunitdir}/system-update.target
1967 %{systemdunitdir}/time-set.target
1968 %{systemdunitdir}/time-sync.target
1969 %{systemdunitdir}/timers.target
1970 %{systemdunitdir}/umount.target
1971 %{systemdunitdir}/usb-gadget.target
1972 %{systemdunitdir}/systemd-tmpfiles-clean.timer
1973 %dir %{systemdunitdir}/basic.target.wants
1974 %dir %{systemdunitdir}/dbus.target.wants
1975 %dir %{systemdunitdir}/final.target.wants
1976 %dir %{systemdunitdir}/graphical.target.wants
1977 %dir %{systemdunitdir}/halt.target.wants
1978 %dir %{systemdunitdir}/initrd.target.wants
1979 %dir %{systemdunitdir}/initrd-root-device.target.wants
1980 %dir %{systemdunitdir}/initrd-root-fs.target.wants
1981 %dir %{systemdunitdir}/kexec.target.wants
1982 %dir %{systemdunitdir}/local-fs.target.wants
1983 %dir %{systemdunitdir}/multi-user.target.wants
1984 %dir %{systemdunitdir}/poweroff.target.wants
1985 %dir %{systemdunitdir}/reboot.target.wants
1986 %dir %{systemdunitdir}/remote-fs.target.wants
1987 %dir %{systemdunitdir}/rescue.target.wants
1988 %dir %{systemdunitdir}/runlevel[12345].target.wants
1989 %dir %{systemdunitdir}/shutdown.target.wants
1990 %dir %{systemdunitdir}/sigpwr.target.wants
1991 %dir %{systemdunitdir}/sockets.target.wants
1992 %dir %{systemdunitdir}/sound.target.wants
1993 %dir %{systemdunitdir}/sysinit.target.wants
1994 %dir %{systemdunitdir}/syslog.target.wants
1995 %dir %{systemdunitdir}/system-update.target.wants
1996 %dir %{systemdunitdir}/timers.target.wants
1997 %if %{with cryptsetup}
1998 %{systemdunitdir}/initrd-root-device.target.wants/remote-cryptsetup.target
1999 %{systemdunitdir}/initrd-root-device.target.wants/remote-veritysetup.target
2000 %endif
2001 %{systemdunitdir}/graphical.target.wants/display-manager.service
2002 %{systemdunitdir}/graphical.target.wants/systemd-update-utmp-runlevel.service
2003 %{systemdunitdir}/initrd.target.wants/systemd-pcrphase-initrd.service
2004 %{systemdunitdir}/local-fs.target.wants/pld-clean-tmp.service
2005 %{systemdunitdir}/local-fs.target.wants/var-lock.mount
2006 %{systemdunitdir}/local-fs.target.wants/var-run.mount
2007 %{systemdunitdir}/multi-user.target.wants/getty.target
2008 %{systemdunitdir}/multi-user.target.wants/rc-local.service
2009 %{systemdunitdir}/multi-user.target.wants/systemd-ask-password-wall.path
2010 %{systemdunitdir}/multi-user.target.wants/systemd-logind.service
2011 %{systemdunitdir}/multi-user.target.wants/systemd-update-utmp-runlevel.service
2012 %{systemdunitdir}/multi-user.target.wants/systemd-user-sessions.service
2013 %{systemdunitdir}/rescue.target.wants/systemd-update-utmp-runlevel.service
2014 %{systemdunitdir}/sigpwr.target.wants/sigpwr-container-shutdown.service
2015 %{systemdunitdir}/sockets.target.wants/systemd-initctl.socket
2016 %{systemdunitdir}/sockets.target.wants/systemd-journald-audit.socket
2017 %{systemdunitdir}/sockets.target.wants/systemd-journald-dev-log.socket
2018 %{systemdunitdir}/sockets.target.wants/systemd-journald.socket
2019 %{systemdunitdir}/sockets.target.wants/systemd-udevd-control.socket
2020 %{systemdunitdir}/sockets.target.wants/systemd-udevd-kernel.socket
2021 %if %{with cryptsetup}
2022 %{systemdunitdir}/sysinit.target.wants/cryptsetup.target
2023 %{systemdunitdir}/sysinit.target.wants/integritysetup.target
2024 %{systemdunitdir}/sysinit.target.wants/veritysetup.target
2025 %endif
2026 %{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount
2027 %{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount
2028 %{systemdunitdir}/sysinit.target.wants/kmod-static-nodes.service
2029 %{systemdunitdir}/sysinit.target.wants/ldconfig.service
2030 %{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
2031 %{systemdunitdir}/sysinit.target.wants/sys-fs-fuse-connections.mount
2032 %{systemdunitdir}/sysinit.target.wants/sys-kernel-debug.mount
2033 %{systemdunitdir}/sysinit.target.wants/sys-kernel-tracing.mount
2034 %{systemdunitdir}/sysinit.target.wants/systemd-ask-password-console.path
2035 %{systemdunitdir}/sysinit.target.wants/systemd-binfmt.service
2036 %{?with_efi:%{systemdunitdir}/sysinit.target.wants/systemd-boot-system-token.service}
2037 %{systemdunitdir}/sysinit.target.wants/systemd-firstboot.service
2038 %{systemdunitdir}/sysinit.target.wants/systemd-hwdb-update.service
2039 %{systemdunitdir}/sysinit.target.wants/systemd-journal-catalog-update.service
2040 %{systemdunitdir}/sysinit.target.wants/systemd-journald.service
2041 %{systemdunitdir}/sysinit.target.wants/systemd-journal-flush.service
2042 %{systemdunitdir}/sysinit.target.wants/systemd-machine-id-commit.service
2043 %{systemdunitdir}/sysinit.target.wants/systemd-modules-load.service
2044 %{systemdunitdir}/sysinit.target.wants/systemd-pcrphase-sysinit.service
2045 %{systemdunitdir}/sysinit.target.wants/systemd-pcrphase.service
2046 %{systemdunitdir}/sysinit.target.wants/systemd-random-seed.service
2047 %{systemdunitdir}/sysinit.target.wants/systemd-sysctl.service
2048 %{systemdunitdir}/sysinit.target.wants/systemd-sysusers.service
2049 %{systemdunitdir}/sysinit.target.wants/systemd-tmpfiles-setup-dev.service
2050 %{systemdunitdir}/sysinit.target.wants/systemd-tmpfiles-setup.service
2051 %{systemdunitdir}/sysinit.target.wants/systemd-udevd.service
2052 %{systemdunitdir}/sysinit.target.wants/systemd-udev-trigger.service
2053 %{systemdunitdir}/sysinit.target.wants/systemd-update-done.service
2054 %{systemdunitdir}/sysinit.target.wants/systemd-update-utmp.service
2055 %{systemdunitdir}/timers.target.wants/systemd-tmpfiles-clean.timer
2056 %dir %{systemduserunitdir}/sockets.target.wants
2057 %{systemduserunitdir}/graphical-session-pre.target
2058 %{systemduserunitdir}/graphical-session.target
2059 %{_mandir}/man5/user@.service.5*
2060 %{_mandir}/man5/user-runtime-dir@.service.5*
2061 %{_mandir}/man8/30-systemd-environment-d-generator.8*
2062 %{_mandir}/man8/systemd-environment-d-generator.8*
2063 %{_mandir}/man8/systemd-ask-password-console.path.8*
2064 %{_mandir}/man8/systemd-ask-password-console.service.8*
2065 %{_mandir}/man8/systemd-ask-password-wall.path.8*
2066 %{_mandir}/man8/systemd-ask-password-wall.service.8*
2067 %{_mandir}/man8/systemd-backlight@.service.8*
2068 %{_mandir}/man8/systemd-binfmt.service.8*
2069 %{?with_efi:%{_mandir}/man8/systemd-bless-boot.service.8*}
2070 %{_mandir}/man8/systemd-boot-check-no-failures.service.8*
2071 %{?with_efi:%{_mandir}/man8/systemd-boot-system-token.service.8*}
2072 %{_mandir}/man8/systemd-coredump.socket.8*
2073 %{_mandir}/man8/systemd-coredump@.service.8*
2074 %if %{with cryptsetup}
2075 %{_mandir}/man8/systemd-cryptsetup.8*
2076 %{_mandir}/man8/systemd-cryptsetup@.service.8*
2077 %{_mandir}/man8/systemd-integritysetup.8*
2078 %{_mandir}/man8/systemd-integritysetup@.service.8*
2079 %endif
2080 %{_mandir}/man8/systemd-fsck-root.service.8*
2081 %{_mandir}/man8/systemd-fsck@.service.8*
2082 %{_mandir}/man8/systemd-halt.service.8*
2083 %{_mandir}/man8/systemd-hibernate.service.8*
2084 %{_mandir}/man8/systemd-hostnamed.service.8*
2085 %{_mandir}/man8/systemd-hybrid-sleep.service.8*
2086 %{_mandir}/man8/systemd-initctl.service.8*
2087 %{_mandir}/man8/systemd-initctl.socket.8*
2088 %{_mandir}/man8/systemd-journald.service.8*
2089 %{_mandir}/man8/systemd-journald.socket.8*
2090 %{_mandir}/man8/systemd-journald-audit.socket.8*
2091 %{_mandir}/man8/systemd-kexec.service.8*
2092 %{_mandir}/man8/systemd-localed.service.8*
2093 %{_mandir}/man8/systemd-logind.service.8*
2094 %{_mandir}/man8/systemd-modules-load.service.8*
2095 %{_mandir}/man8/systemd-pcrphase-initrd.service.8*
2096 %{_mandir}/man8/systemd-pcrphase-sysinit.service.8*
2097 %{_mandir}/man8/systemd-pcrphase.8*
2098 %{_mandir}/man8/systemd-pcrphase.service.8*
2099 %{_mandir}/man8/systemd-poweroff.service.8*
2100 %{_mandir}/man8/systemd-quotacheck.service.8*
2101 %{_mandir}/man8/systemd-random-seed.service.8*
2102 %{_mandir}/man8/systemd-reboot.service.8*
2103 %{_mandir}/man8/systemd-remount-fs.service.8*
2104 %{_mandir}/man8/systemd-rfkill.socket.8*
2105 %{_mandir}/man8/systemd-suspend.service.8*
2106 %{_mandir}/man8/systemd-suspend-then-hibernate.service.8*
2107 %{_mandir}/man8/systemd-sysctl.service.8*
2108 %{_mandir}/man8/systemd-sysext.service.8*
2109 %{_mandir}/man8/systemd-time-wait-sync.service.8*
2110 %{_mandir}/man8/systemd-timedated.service.8*
2111 %{_mandir}/man8/systemd-tmpfiles-clean.service.8*
2112 %{_mandir}/man8/systemd-tmpfiles-clean.timer.8*
2113 %{_mandir}/man8/systemd-tmpfiles-setup.service.8*
2114 %{_mandir}/man8/systemd-tmpfiles-setup-dev.service.8*
2115 %{_mandir}/man8/systemd-udev-settle.service.8*
2116 %{_mandir}/man8/systemd-udevd.service.8*
2117 %{_mandir}/man8/systemd-udevd-control.socket.8*
2118 %{_mandir}/man8/systemd-udevd-kernel.socket.8*
2119 %{_mandir}/man8/systemd-update-utmp-runlevel.service.8*
2120 %{_mandir}/man8/systemd-update-utmp.service.8*
2121 %{_mandir}/man8/systemd-user-sessions.service.8*
2122 %{_mandir}/man8/systemd-userdbd.service.8*
2123 %{_mandir}/man8/systemd-vconsole-setup.service.8*
2124
2125 %files tools
2126 %defattr(644,root,root,755)
2127 %attr(755,root,root) %{_bindir}/systemd-cgls
2128 %attr(755,root,root) %{_bindir}/systemd-cgtop
2129 %{_mandir}/man1/systemd-cgls.1*
2130 %{_mandir}/man1/systemd-cgtop.1*
2131
2132 %files container
2133 %defattr(644,root,root,755)
2134 %attr(755,root,root) /bin/machinectl
2135 /lib/systemd/import-pubring.gpg
2136 %attr(755,root,root) /lib/systemd/systemd-export
2137 %attr(755,root,root) /lib/systemd/systemd-import
2138 %attr(755,root,root) /lib/systemd/systemd-import-fs
2139 %attr(755,root,root) /lib/systemd/systemd-machined
2140 %attr(755,root,root) /lib/systemd/systemd-pull
2141 %attr(755,root,root) /lib/systemd/systemd-importd
2142 %attr(755,root,root) %{_bindir}/systemd-dissect
2143 %{_datadir}/dbus-1/system-services/org.freedesktop.import1.service
2144 %{_datadir}/dbus-1/system-services/org.freedesktop.machine1.service
2145 %{_datadir}/dbus-1/interfaces/org.freedesktop.import1.*.xml
2146 %{_datadir}/dbus-1/interfaces/org.freedesktop.machine1.*.xml
2147 %{_datadir}/dbus-1/system.d/org.freedesktop.import1.conf
2148 %{_datadir}/dbus-1/system.d/org.freedesktop.machine1.conf
2149 %{_datadir}/polkit-1/actions/org.freedesktop.import1.policy
2150 %{_datadir}/polkit-1/actions/org.freedesktop.machine1.policy
2151 %{_mandir}/man1/machinectl.1*
2152 %{_mandir}/man5/org.freedesktop.import1.5*
2153 %{_mandir}/man5/org.freedesktop.machine1.5*
2154 %{_mandir}/man8/systemd-importd.8*
2155 %{_mandir}/man8/systemd-importd.service.8*
2156 %{_mandir}/man8/systemd-machined.8*
2157 %{_mandir}/man8/systemd-machined.service.8*
2158 %{systemdunitdir}/dbus-org.freedesktop.import1.service
2159 %{systemdunitdir}/dbus-org.freedesktop.machine1.service
2160 %{systemdunitdir}/machines.target
2161 %dir %{systemdunitdir}/machines.target.wants
2162 %{systemdunitdir}/machines.target.wants/var-lib-machines.mount
2163 %{systemdunitdir}/remote-fs.target.wants/var-lib-machines.mount
2164 %{systemdunitdir}/var-lib-machines.mount
2165 %{systemdunitdir}/systemd-importd.service
2166 %{systemdunitdir}/systemd-machined.service
2167
2168 %if %{with microhttpd}
2169 %files journal-remote
2170 %defattr(644,root,root,755)
2171 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journal-remote.conf
2172 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journal-upload.conf
2173 %{systemdunitdir}/systemd-journal-gatewayd.service
2174 %{systemdunitdir}/systemd-journal-gatewayd.socket
2175 %{systemdunitdir}/systemd-journal-remote.service
2176 %{systemdunitdir}/systemd-journal-upload.service
2177 %{systemdunitdir}/systemd-journal-remote.socket
2178 %attr(755,root,root) /lib/systemd/systemd-journal-gatewayd
2179 %attr(755,root,root) /lib/systemd/systemd-journal-remote
2180 %attr(755,root,root) /lib/systemd/systemd-journal-upload
2181 %{_datadir}/systemd/gatewayd
2182 %{_mandir}/man5/journal-remote.conf.5*
2183 %{_mandir}/man5/journal-remote.conf.d.5*
2184 %{_mandir}/man5/journal-upload.conf.5.*
2185 %{_mandir}/man5/journal-upload.conf.d.5*
2186 %{_mandir}/man8/systemd-journal-gatewayd.8*
2187 %{_mandir}/man8/systemd-journal-gatewayd.service.8*
2188 %{_mandir}/man8/systemd-journal-gatewayd.socket.8*
2189 %{_mandir}/man8/systemd-journal-remote.8*
2190 %{_mandir}/man8/systemd-journal-upload.8*
2191 %{_mandir}/man8/systemd-journal-remote.service.8*
2192 %{_mandir}/man8/systemd-journal-remote.socket.8*
2193 %{_mandir}/man8/systemd-journal-upload.service.8*
2194 %endif
2195
2196 %files homed
2197 %defattr(644,root,root,755)
2198 %attr(755,root,root) %{_bindir}/homectl
2199 %attr(755,root,root) /lib/systemd/systemd-homed
2200 %attr(755,root,root) /lib/systemd/systemd-homework
2201 %attr(755,root,root) /%{_lib}/security/pam_systemd_home.so
2202 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/homed.conf
2203 %{systemdunitdir}/systemd-homed.service
2204 %{systemdunitdir}/systemd-homed-activate.service
2205 %{_datadir}/dbus-1/interfaces/org.freedesktop.home1.*.xml
2206 %{_datadir}/dbus-1/system-services/org.freedesktop.home1.service
2207 %{_datadir}/dbus-1/system.d/org.freedesktop.home1.conf
2208 %{_datadir}/polkit-1/actions/org.freedesktop.home1.policy
2209 %{_mandir}/man1/homectl.1*
2210 %{_mandir}/man5/homed.conf.5*
2211 %{_mandir}/man5/homed.conf.d.5*
2212 %{_mandir}/man5/org.freedesktop.home1.5*
2213 %{_mandir}/man8/pam_systemd_home.8*
2214 %{_mandir}/man8/systemd-homed.8*
2215 %{_mandir}/man8/systemd-homed.service.8*
2216
2217 %files networkd
2218 %defattr(644,root,root,755)
2219 %{_datadir}/dbus-1/interfaces/org.freedesktop.network1.*.xml
2220 %{_datadir}/dbus-1/system.d/org.freedesktop.network1.conf
2221 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/networkd.conf
2222 %dir %{_sysconfdir}/systemd/network
2223 %{_prefix}/lib/tmpfiles.d/systemd-network.conf
2224 /lib/systemd/network/80-6rd-tunnel.network
2225 /lib/systemd/network/80-container-host0.network
2226 /lib/systemd/network/80-container-ve.network
2227 /lib/systemd/network/80-container-vz.network
2228 /lib/systemd/network/80-vm-vt.network
2229 /lib/systemd/network/80-wifi-adhoc.network
2230 %{_prefix}/lib/sysusers.d/systemd-network.conf
2231 %{systemdunitdir}/systemd-network-generator.service
2232 %{systemdunitdir}/systemd-networkd-wait-online.service
2233 %{systemdunitdir}/systemd-networkd-wait-online@.service
2234 %{systemdunitdir}/systemd-networkd.service
2235 %{systemdunitdir}/systemd-networkd.socket
2236 %{_datadir}/dbus-1/system-services/org.freedesktop.network1.service
2237 %{_datadir}/polkit-1/actions/org.freedesktop.network1.policy
2238 %attr(755,root,root) /bin/networkctl
2239 %attr(755,root,root) /lib/systemd/systemd-network-generator
2240 %attr(755,root,root) /lib/systemd/systemd-networkd
2241 %attr(755,root,root) /lib/systemd/systemd-networkd-wait-online
2242 %{_mandir}/man1/networkctl.1*
2243 %{_mandir}/man5/networkd.conf.5*
2244 %{_mandir}/man5/networkd.conf.d.5*
2245 %{_mandir}/man5/org.freedesktop.network1.5*
2246 %{_mandir}/man7/systemd.net-naming-scheme.7*
2247 %{_mandir}/man8/systemd-network-generator.8*
2248 %{_mandir}/man8/systemd-network-generator.service.8*
2249 %{_mandir}/man8/systemd-networkd-wait-online.8*
2250 %{_mandir}/man8/systemd-networkd-wait-online.service.8*
2251 %{_mandir}/man8/systemd-networkd-wait-online@.service.8*
2252 %{_mandir}/man8/systemd-networkd.8*
2253 %{_mandir}/man8/systemd-networkd.service.8*
2254
2255 %files oomd
2256 %defattr(644,root,root,755)
2257 %attr(755,root,root) %{_bindir}/oomctl
2258 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/oomd.conf
2259 %attr(755,root,root) /lib/systemd/systemd-oomd
2260 %{_prefix}/lib/sysusers.d/systemd-oom.conf
2261 %{systemdunitdir}/systemd-oomd.service
2262 %{systemdunitdir}/systemd-oomd.socket
2263 %{_datadir}/dbus-1/interfaces/org.freedesktop.oom1.*.xml
2264 %{_datadir}/dbus-1/system-services/org.freedesktop.oom1.service
2265 %{_datadir}/dbus-1/system.d/org.freedesktop.oom1.conf
2266 %{_mandir}/man1/oomctl.1*
2267 %{_mandir}/man5/oomd.conf.5*
2268 %{_mandir}/man5/oomd.conf.d.5*
2269 %{_mandir}/man5/org.freedesktop.oom1.5*
2270 %{_mandir}/man8/systemd-oomd.8*
2271 %{_mandir}/man8/systemd-oomd.service.8*
2272
2273 %files portabled
2274 %defattr(644,root,root,755)
2275 %doc docs/PORTABLE_SERVICES.md
2276 %attr(755,root,root) /bin/portablectl
2277 %attr(755,root,root) /lib/systemd/systemd-portabled
2278 %{systemdunitdir}/dbus-org.freedesktop.portable1.service
2279 %{systemdunitdir}/systemd-portabled.service
2280 %dir /lib/systemd/portable
2281 %dir /lib/systemd/portable/profile
2282 %dir /lib/systemd/portable/profile/default
2283 /lib/systemd/portable/profile/default/service.conf
2284 %dir /lib/systemd/portable/profile/nonetwork
2285 /lib/systemd/portable/profile/nonetwork/service.conf
2286 %dir /lib/systemd/portable/profile/strict
2287 /lib/systemd/portable/profile/strict/service.conf
2288 %dir /lib/systemd/portable/profile/trusted
2289 /lib/systemd/portable/profile/trusted/service.conf
2290 %{systemdtmpfilesdir}/portables.conf
2291 %{_datadir}/dbus-1/interfaces/org.freedesktop.portable1.*.xml
2292 %{_datadir}/dbus-1/system-services/org.freedesktop.portable1.service
2293 %{_datadir}/dbus-1/system.d/org.freedesktop.portable1.conf
2294 %{_datadir}/polkit-1/actions/org.freedesktop.portable1.policy
2295 %{_mandir}/man1/portablectl.1*
2296 %{_mandir}/man5/org.freedesktop.portable1.5*
2297 %{_mandir}/man8/systemd-portabled.8*
2298 %{_mandir}/man8/systemd-portabled.service.8*
2299
2300 %files repart
2301 %defattr(644,root,root,755)
2302 %dir %{_sysconfdir}/repart.d
2303 %attr(755,root,root) /bin/systemd-repart
2304 %{systemdunitdir}/systemd-repart.service
2305 %{systemdunitdir}/initrd-root-fs.target.wants/systemd-repart.service
2306 %{systemdunitdir}/sysinit.target.wants/systemd-repart.service
2307 %dir %{_prefix}/lib/repart.d
2308 %{_mandir}/man5/repart.d.5*
2309 %{_mandir}/man8/systemd-repart.8*
2310 %{_mandir}/man8/systemd-repart.service.8*
2311
2312 %files resolved
2313 %defattr(644,root,root,755)
2314 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/resolved.conf
2315 %{_prefix}/lib/sysusers.d/systemd-resolve.conf
2316 %{_prefix}/lib/tmpfiles.d/systemd-resolve.conf
2317 %{_datadir}/dbus-1/interfaces/org.freedesktop.resolve1.*.xml
2318 %{_datadir}/dbus-1/system.d/org.freedesktop.resolve1.conf
2319 %{_datadir}/dbus-1/system-services/org.freedesktop.resolve1.service
2320 %{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy
2321 %{systemdunitdir}/systemd-resolved.service
2322 %attr(755,root,root) /sbin/resolvconf
2323 %attr(755,root,root) %{_bindir}/resolvectl
2324 %attr(755,root,root) /lib/systemd/systemd-resolved
2325 %{_mandir}/man1/resolvconf.1*
2326 %{_mandir}/man1/resolvectl.1*
2327 %{_mandir}/man5/org.freedesktop.resolve1.5*
2328 %{_mandir}/man5/resolved.conf.5*
2329 %{_mandir}/man5/resolved.conf.d.5*
2330 %{_mandir}/man8/systemd-resolved.8*
2331 %{_mandir}/man8/systemd-resolved.service.8*
2332
2333 %files sysupdate
2334 %defattr(644,root,root,755)
2335 %dir %{_sysconfdir}/sysupdate.d
2336 %{systemdunitdir}/systemd-sysupdate.service
2337 %{systemdunitdir}/systemd-sysupdate.timer
2338 %{systemdunitdir}/systemd-sysupdate-reboot.service
2339 %{systemdunitdir}/systemd-sysupdate-reboot.timer
2340 %attr(755,root,root) /lib/systemd/systemd-sysupdate
2341 %dir %{_prefix}/lib/sysupdate.d
2342 %{_mandir}/man5/sysupdate.d.5*
2343 %{_mandir}/man8/systemd-sysupdate.8*
2344 %{_mandir}/man8/systemd-sysupdate.service.8*
2345 %{_mandir}/man8/systemd-sysupdate.timer.8*
2346 %{_mandir}/man8/systemd-sysupdate-reboot.service.8*
2347 %{_mandir}/man8/systemd-sysupdate-reboot.timer.8*
2348
2349 %files inetd
2350 %defattr(644,root,root,755)
2351 %attr(755,root,root) %{systemdunitdir}-generators/pld-rc-inetd-generator
2352 %{systemdunitdir}/rc-inetd.service
2353
2354 %files analyze
2355 %defattr(644,root,root,755)
2356 %attr(755,root,root) %{_bindir}/systemd-analyze
2357 %{_mandir}/man1/systemd-analyze.1*
2358
2359 %files libs
2360 %defattr(644,root,root,755)
2361 %attr(755,root,root) /%{_lib}/libnss_myhostname.so.2
2362 %attr(755,root,root) /%{_lib}/libnss_mymachines.so.2
2363 %attr(755,root,root) /%{_lib}/libnss_resolve.so.2
2364 %attr(755,root,root) /%{_lib}/libnss_systemd.so.2
2365 %attr(755,root,root) /%{_lib}/libsystemd.so.*.*.*
2366 %attr(755,root,root) %ghost /%{_lib}/libsystemd.so.0
2367 %attr(755,root,root) /%{_lib}/systemd/libsystemd-core*.so
2368 %attr(755,root,root) /%{_lib}/systemd/libsystemd-shared*.so
2369 %{_mandir}/man8/libnss_resolve.so.2.8*
2370 %{_mandir}/man8/libnss_systemd.so.2.8*
2371 %{_mandir}/man8/nss-resolve.8*
2372 %{_mandir}/man8/nss-systemd.8*
2373
2374 %files devel
2375 %defattr(644,root,root,755)
2376 %attr(755,root,root) /%{_lib}/libsystemd.so
2377 %{_includedir}/%{name}
2378 %{_pkgconfigdir}/libsystemd.pc
2379 %{_npkgconfigdir}/systemd.pc
2380 %{_mandir}/man3/SD_*.3*
2381 %{_mandir}/man3/sd*.3*
2382
2383 %files -n bash-completion-systemd
2384 %defattr(644,root,root,755)
2385 %{bash_compdir}/bootctl
2386 %{bash_compdir}/busctl
2387 %{bash_compdir}/coredumpctl
2388 %{bash_compdir}/homectl
2389 %{bash_compdir}/hostnamectl
2390 %{bash_compdir}/journalctl
2391 %{bash_compdir}/kernel-install
2392 %{bash_compdir}/localectl
2393 %{bash_compdir}/loginctl
2394 %{bash_compdir}/machinectl
2395 %{bash_compdir}/networkctl
2396 %{bash_compdir}/oomctl
2397 %{bash_compdir}/portablectl
2398 %{bash_compdir}/resolvectl
2399 %{bash_compdir}/systemctl
2400 %{bash_compdir}/systemd-analyze
2401 %{bash_compdir}/systemd-cat
2402 %{bash_compdir}/systemd-cgls
2403 %{bash_compdir}/systemd-cgtop
2404 %{bash_compdir}/systemd-cryptenroll
2405 %{bash_compdir}/systemd-delta
2406 %{bash_compdir}/systemd-detect-virt
2407 %{bash_compdir}/systemd-id128
2408 %{bash_compdir}/systemd-nspawn
2409 %{bash_compdir}/systemd-path
2410 %{bash_compdir}/systemd-resolve
2411 %{bash_compdir}/systemd-run
2412 %{bash_compdir}/timedatectl
2413
2414 %files -n zsh-completion-systemd
2415 %defattr(644,root,root,755)
2416 %{zsh_compdir}/_bootctl
2417 %{zsh_compdir}/_busctl
2418 %{zsh_compdir}/_coredumpctl
2419 %{zsh_compdir}/_hostnamectl
2420 %{zsh_compdir}/_journalctl
2421 %{zsh_compdir}/_kernel-install
2422 %{zsh_compdir}/_localectl
2423 %{zsh_compdir}/_loginctl
2424 %{zsh_compdir}/_machinectl
2425 %{zsh_compdir}/_networkctl
2426 %{zsh_compdir}/_oomctl
2427 %{zsh_compdir}/_resolvectl
2428 %{zsh_compdir}/_sd_hosts_or_user_at_host
2429 %{zsh_compdir}/_sd_machines
2430 %{zsh_compdir}/_sd_outputmodes
2431 %{zsh_compdir}/_sd_unit_files
2432 %{zsh_compdir}/_systemctl
2433 %{zsh_compdir}/_systemd
2434 %{zsh_compdir}/_systemd-analyze
2435 %{zsh_compdir}/_systemd-delta
2436 %{zsh_compdir}/_systemd-inhibit
2437 %{zsh_compdir}/_systemd-nspawn
2438 %{zsh_compdir}/_systemd-path
2439 %{zsh_compdir}/_systemd-run
2440 %{zsh_compdir}/_systemd-tmpfiles
2441 %{zsh_compdir}/_timedatectl
2442
2443 %files -n udev
2444 %defattr(644,root,root,755)
2445 %dev(c,1,3) %attr(666,root,root) /dev/null
2446 %dev(c,5,1) %attr(660,root,console) /dev/console
2447 %dev(c,1,5) %attr(666,root,root) /dev/zero
2448
2449 %files -n udev-core
2450 %defattr(644,root,root,755)
2451
2452 %{_prefix}/lib/udev
2453
2454 %attr(755,root,root) /lib/udev/net_helper
2455
2456 %attr(755,root,root) /lib/udev/ata_id
2457 %attr(755,root,root) /lib/udev/cdrom_id
2458 %attr(755,root,root) /lib/udev/dmi_memory_id
2459 %attr(755,root,root) /lib/udev/fido_id
2460 %attr(755,root,root) /lib/udev/mtd_probe
2461 %attr(755,root,root) /lib/udev/scsi_id
2462 %attr(755,root,root) /lib/udev/v4l_id
2463
2464 %attr(755,root,root) /lib/udev/udevd
2465
2466 /lib/udev/hwdb.d/20-acpi-vendor.hwdb
2467 /lib/udev/hwdb.d/20-bluetooth-vendor-product.hwdb
2468 /lib/udev/hwdb.d/20-dmi-id.hwdb
2469 /lib/udev/hwdb.d/20-net-ifname.hwdb
2470 /lib/udev/hwdb.d/20-OUI.hwdb
2471 /lib/udev/hwdb.d/20-pci-classes.hwdb
2472 /lib/udev/hwdb.d/20-pci-vendor-model.hwdb
2473 /lib/udev/hwdb.d/20-sdio-classes.hwdb
2474 /lib/udev/hwdb.d/20-sdio-vendor-model.hwdb
2475 /lib/udev/hwdb.d/20-usb-classes.hwdb
2476 /lib/udev/hwdb.d/20-usb-vendor-model.hwdb
2477 /lib/udev/hwdb.d/20-vmbus-class.hwdb
2478 /lib/udev/hwdb.d/60-autosuspend-chromiumos.hwdb
2479 /lib/udev/hwdb.d/60-autosuspend-fingerprint-reader.hwdb
2480 /lib/udev/hwdb.d/60-autosuspend.hwdb
2481 /lib/udev/hwdb.d/60-evdev.hwdb
2482 /lib/udev/hwdb.d/60-input-id.hwdb
2483 /lib/udev/hwdb.d/60-keyboard.hwdb
2484 /lib/udev/hwdb.d/60-seat.hwdb
2485 /lib/udev/hwdb.d/60-sensor.hwdb
2486 /lib/udev/hwdb.d/70-analyzers.hwdb
2487 /lib/udev/hwdb.d/70-av-production.hwdb
2488 /lib/udev/hwdb.d/70-cameras.hwdb
2489 /lib/udev/hwdb.d/70-joystick.hwdb
2490 /lib/udev/hwdb.d/70-mouse.hwdb
2491 /lib/udev/hwdb.d/70-pda.hwdb
2492 /lib/udev/hwdb.d/70-pointingstick.hwdb
2493 /lib/udev/hwdb.d/70-touchpad.hwdb
2494 /lib/udev/hwdb.d/80-ieee1394-unit-function.hwdb
2495
2496 %attr(755,root,root) %{_rootsbindir}/start_udev
2497 %attr(755,root,root) %{_rootsbindir}/udevd
2498 %attr(755,root,root) %{_rootsbindir}/udevadm
2499 %attr(755,root,root) /bin/systemd-hwdb
2500 %attr(755,root,root) /bin/udevadm
2501
2502 %dir %{_sysconfdir}/udev
2503 %dir %{_sysconfdir}/udev/rules.d
2504 %dir %{_sysconfdir}/udev/hwdb.d
2505 %ghost %{_sysconfdir}/udev/hwdb.bin
2506
2507 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
2508 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/udev_blacklist.conf
2509 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/links.conf
2510 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
2511 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules
2512 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-uinput.rules
2513 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-steam_controller.rules
2514 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-i2c.rules
2515 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/80-net-setup-link.rules
2516
2517 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf
2518
2519 # rules below are NOT supposed to be changed by users
2520 /lib/udev/rules.d/50-udev-default.rules
2521 /lib/udev/rules.d/60-autosuspend.rules
2522 /lib/udev/rules.d/60-block.rules
2523 /lib/udev/rules.d/60-cdrom_id.rules
2524 /lib/udev/rules.d/60-drm.rules
2525 /lib/udev/rules.d/60-evdev.rules
2526 /lib/udev/rules.d/60-fido-id.rules
2527 /lib/udev/rules.d/60-input-id.rules
2528 /lib/udev/rules.d/60-persistent-alsa.rules
2529 /lib/udev/rules.d/60-persistent-input.rules
2530 /lib/udev/rules.d/60-persistent-storage.rules
2531 /lib/udev/rules.d/60-persistent-storage-tape.rules
2532 /lib/udev/rules.d/60-persistent-v4l.rules
2533 /lib/udev/rules.d/60-sensor.rules
2534 /lib/udev/rules.d/60-serial.rules
2535 /lib/udev/rules.d/64-btrfs.rules
2536 /lib/udev/rules.d/70-camera.rules
2537 /lib/udev/rules.d/70-joystick.rules
2538 /lib/udev/rules.d/70-memory.rules
2539 /lib/udev/rules.d/70-mouse.rules
2540 /lib/udev/rules.d/70-power-switch.rules
2541 /lib/udev/rules.d/70-touchpad.rules
2542 /lib/udev/rules.d/70-uaccess.rules
2543 /lib/udev/rules.d/71-seat.rules
2544 /lib/udev/rules.d/73-seat-late.rules
2545 /lib/udev/rules.d/75-net-description.rules
2546 /lib/udev/rules.d/75-probe_mtd.rules
2547 /lib/udev/rules.d/78-sound-card.rules
2548 /lib/udev/rules.d/80-drivers.rules
2549 /lib/udev/rules.d/80-net-setup-link.rules
2550 /lib/udev/rules.d/81-net-dhcp.rules
2551 /lib/udev/rules.d/90-vconsole.rules
2552
2553 %{_mandir}/man5/udev.conf.5*
2554 %{_mandir}/man7/udev.7*
2555 %{_mandir}/man7/hwdb.7*
2556 %{_mandir}/man8/systemd-hwdb.8*
2557 %{_mandir}/man8/udevadm.8*
2558 %{_mandir}/man8/udevd.8*
2559
2560 %files -n udev-libs
2561 %defattr(644,root,root,755)
2562 %attr(755,root,root) /%{_lib}/libudev.so.*.*.*
2563 %attr(755,root,root) %ghost /%{_lib}/libudev.so.1
2564
2565 %files -n udev-devel
2566 %defattr(644,root,root,755)
2567 %attr(755,root,root) /%{_lib}/libudev.so
2568 %{_includedir}/libudev.h
2569 %{_pkgconfigdir}/libudev.pc
2570 %{_npkgconfigdir}/udev.pc
2571 %{_mandir}/man3/libudev.3*
2572 %{_mandir}/man3/udev_*.3*
2573
2574 %files -n bash-completion-udev
2575 %defattr(644,root,root,755)
2576 %{bash_compdir}/udevadm
2577
2578 %files -n zsh-completion-udev
2579 %defattr(644,root,root,755)
2580 %{zsh_compdir}/_udevadm
2581
2582 %files -n rpm-macros-systemd
2583 %defattr(644,root,root,755)
2584 /usr/lib/rpm/macros.d/macros.systemd
This page took 0.449507 seconds and 3 git commands to generate.