]> git.pld-linux.org Git - packages/systemd.git/blob - systemd.spec
up to 251.7
[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:        251.7
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:  5ef4286f7678127ca151c7910291874e
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 Patch17:        %{name}-include.patch
83 URL:            https://www.freedesktop.org/wiki/Software/systemd/
84 BuildRequires:  acl-devel
85 %{?with_audit:BuildRequires:    audit-libs-devel}
86 BuildRequires:  binutils >= 3:2.22.52.0.1-2
87 BuildRequires:  bzip2-devel
88 %{?with_bpf:BuildRequires:      clang >= 10.0.0}
89 # ln --relative
90 BuildRequires:  coreutils >= 8.16
91 %{?with_cryptsetup:BuildRequires:       cryptsetup-devel >= 2.4.0}
92 BuildRequires:  curl-devel >= 7.32.0
93 BuildRequires:  dbus-devel >= 1.9.18
94 BuildRequires:  docbook-dtd42-xml
95 BuildRequires:  docbook-dtd45-xml
96 BuildRequires:  docbook-style-xsl-nons
97 BuildRequires:  elfutils-devel >= 0.177
98 BuildRequires:  gcc >= 6:4.9
99 BuildRequires:  gettext-tools
100 BuildRequires:  glib2-devel >= 1:2.22.0
101 BuildRequires:  glibc-misc
102 %{?with_efi:BuildRequires:      gnu-efi}
103 BuildRequires:  gnutls-devel >= 3.6.0
104 BuildRequires:  gperf
105 BuildRequires:  intltool >= 0.40.0
106 # pkgconfig(libiptc)
107 BuildRequires:  iptables-devel
108 %{?with_bpf:BuildRequires:      kernel-tools >= 5.13.0}
109 BuildRequires:  kmod-devel >= 15
110 BuildRequires:  libapparmor-devel >= 1:2.13
111 BuildRequires:  libblkid-devel >= 2.24
112 %{?with_bpf:BuildRequires:      libbpf-devel >= 0.1.0}
113 BuildRequires:  libcap-devel
114 BuildRequires:  libfdisk-devel >= 2.32
115 %{?with_fido2:BuildRequires:    libfido2-devel}
116 BuildRequires:  libgcrypt-devel >= 1.4.5
117 BuildRequires:  libgpg-error-devel >= 1.12
118 BuildRequires:  libidn2-devel
119 %{?with_microhttpd:BuildRequires:       libmicrohttpd-devel >= 0.9.33}
120 BuildRequires:  libmount-devel >= 2.30
121 BuildRequires:  libpwquality-devel
122 BuildRequires:  libseccomp-devel >= 2.4.0
123 %{?with_selinux:BuildRequires:  libselinux-devel >= 2.6}
124 BuildRequires:  libtool >= 2:2.2
125 BuildRequires:  libxslt-progs
126 BuildRequires:  lz4-devel >= 1:1.3.0
127 BuildRequires:  m4
128 BuildRequires:  meson >= 0.53.2
129 BuildRequires:  ninja
130 BuildRequires:  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 %patch17 -p1
805
806 cp -p %{SOURCE2} src/systemd_booted.c
807
808 grep -rlZ -0 '#!/usr/bin/env bash' . | xargs -0 sed -i -e 's,#!/usr/bin/env bash,#!/bin/bash,g'
809
810 %build
811 %meson build \
812         -Dadm-gid=3 \
813         -Daudio-gid=23 \
814         -Dcdrom-gid=27 \
815         -Ddialout-gid=16 \
816         -Ddisk-gid=6 \
817         -Dinput-gid=182 \
818         -Dkmem-gid=9 \
819         -Dkvm-gid=160 \
820         -Dlp-gid=7 \
821         -Dsgx-gid=344 \
822         -Dtape-gid=68 \
823         -Dusers-gid=1000 \
824         -Dutmp-gid=22 \
825         -Dvideo-gid=24 \
826         -Dwheel-gid=10 \
827         -Dsystemd-journal-gid=288 \
828         -Dsystemd-network-uid=316 \
829         -Dsystemd-resolve-uid=317 \
830         -Dsystemd-timesync-uid=318 \
831         -Dnobody-user="nobody" \
832         -Dnobody-group="nogroup" \
833         -Daudit=%{__true_false audit} \
834         -Dbpf-framework=%{__true_false bpf} \
835         -Ddefault-kill-user-processes=false \
836         %{?debug:--buildtype=debug} \
837         -Defi=%{__true_false efi} \
838         -Dlibfido2=%{__true_false fido2} \
839         -Dkexec-path=/sbin/kexec \
840         -Dkmod-path=/sbin/kmod \
841         -Dlibcryptsetup=%{__true_false cryptsetup} \
842         -Dlibcryptsetup-plugins-dir=/usr/%{_lib}/cryptsetup \
843         -Dlibidn2=true \
844         -Dloadkeys-path=/usr/bin/loadkeys \
845         -Dlz4=true \
846         -Dman=true \
847         -Dmicrohttpd=%{__true_false microhttpd} \
848         -Dmount-path=/bin/mount \
849         -Dntp-servers='0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org' \
850         -Dpam=%{__true_false pam} \
851         -Dqrencode=%{__true_false qrencode} \
852         -Dquotacheck=true \
853         -Dquotacheck-path=/sbin/quotacheck \
854         -Dquotaon-path=/sbin/quotaon \
855         -Drc-local=/etc/rc.d/rc.local \
856         -Drootlibdir=/%{_lib} \
857         -Drootprefix="" \
858         -Dselinux=%{__true_false selinux} \
859         -Dsetfont-path=/bin/setfont \
860         -Dsplit-bin=true \
861         -Dsplit-usr=true \
862         -Dsulogin-path=/sbin/sulogin \
863         -Dsysvinit-path=/etc/rc.d/init.d \
864         -Dsysvrcnd-path=/etc/rc.d \
865         -Dtpm2=%{__true_false tpm2} \
866         -Dumount-path=/bin/umount \
867
868 %ninja_build -C build
869
870 %{__cc} %{rpmcppflags} %{rpmcflags} -o build/systemd_booted %{rpmldflags} src/systemd_booted.c -Lbuild -lsystemd
871
872 %{?with_tests:%ninja_test -C build}
873
874 %install
875 rm -rf $RPM_BUILD_ROOT
876 install -d $RPM_BUILD_ROOT/var/lib/{%{name}/{catalog,coredump},machines} \
877         $RPM_BUILD_ROOT%{_rootsbindir} \
878         $RPM_BUILD_ROOT%{_sysconfdir}/{modprobe.d,repart.d,systemd/{system,user}-preset,sysupdate.d} \
879         $RPM_BUILD_ROOT%{systemduserunitdir}/sockets.target.wants \
880         $RPM_BUILD_ROOT%{systemdunitdir}/{final,sound,system-update}.target.wants \
881         $RPM_BUILD_ROOT%{systemdunitdir}/systemd-udevd.service.d \
882         $RPM_BUILD_ROOT%{_prefix}/lib/{repart.d,systemd/system-environment-generators,sysupdate.d}
883
884 %ninja_install -C build
885
886 touch $RPM_BUILD_ROOT/var/lib/%{name}/random-seed
887
888 install -p -m755 build/systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted
889
890 # target-pld.patch supplements
891 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/sysinit.target.wants/sys-kernel-config.mount
892 ln -s %{systemdunitdir}/prefdm.service $RPM_BUILD_ROOT%{systemdunitdir}/graphical.target.wants/display-manager.service
893 ln -s prefdm.service $RPM_BUILD_ROOT%{systemdunitdir}/display-manager.service
894 ln -s rescue.service $RPM_BUILD_ROOT%{systemdunitdir}/single.service
895 ln -s %{systemdunitdir}/rc-local.service $RPM_BUILD_ROOT%{systemdunitdir}/multi-user.target.wants/rc-local.service
896
897 # compatibility symlinks to udevd binary
898 mv $RPM_BUILD_ROOT/lib/{systemd/systemd-,udev/}udevd
899 ln -s /lib/udev/udevd $RPM_BUILD_ROOT/lib/systemd/systemd-udevd
900 ln -s /lib/udev/udevd $RPM_BUILD_ROOT%{_rootsbindir}/udevd
901
902 # compat symlinks for "/ merged into /usr" programs
903 ln -s ../bin/udevadm $RPM_BUILD_ROOT%{_rootsbindir}
904 ln -s /lib/udev $RPM_BUILD_ROOT%{_prefix}/lib
905
906 # install custom udev rules from pld package
907 cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
908 cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules
909 cp -a %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-uinput.rules
910 cp -a %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-steam_controller.rules
911 cp -a %{SOURCE106} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-i2c.rules
912
913 # http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
914 ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/80-net-setup-link.rules
915
916 # install udev configs
917 cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/udev/links.conf
918
919 # install udev executables (scripts, helpers, etc.)
920 install -p %{SOURCE110} $RPM_BUILD_ROOT/lib/udev/net_helper
921 install -p %{SOURCE111} $RPM_BUILD_ROOT%{_rootsbindir}/start_udev
922
923 # install misc udev stuff
924 cp -a %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/udev_blacklist.conf
925 cp -a %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
926
927 :>$RPM_BUILD_ROOT%{_sysconfdir}/udev/hwdb.bin
928
929 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man8/{systemd-,}udevd.8
930 echo ".so man8/udevd.8" >$RPM_BUILD_ROOT%{_mandir}/man8/systemd-udevd.8
931
932 # Main binary has been moved, but we don't want to break existing installs
933 ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/bin/systemd
934
935 ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf
936
937 # disable redundant SYSV services
938 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/allowlogin.service
939 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/console.service
940 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/cpusets.service
941 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/killall.service
942 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/netfs.service
943 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/random.service
944
945 # add static (non-NetworkManager) networking
946 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/network.service
947
948 # restore bind-mounts /var/run -> run and /var/lock -> /run/lock
949 # we don't have those directories symlinked
950 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/var-lock.mount
951 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/var-run.mount
952 ln -s ../var-lock.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
953 ln -s ../var-run.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
954
955 # and remove mounting tmp on tmpfs by default
956 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants/tmp.mount
957
958 # add /tmp cleanup service
959 cp -p %{SOURCE14} $RPM_BUILD_ROOT%{systemdunitdir}/pld-clean-tmp.service
960 install -p %{SOURCE15} $RPM_BUILD_ROOT/lib/systemd/pld-clean-tmp
961 ln -s ../pld-clean-tmp.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
962
963 # Add inside container only SIGPWR handler which is used by lxc-stop
964 install -p %{SOURCE20} $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr-container-shutdown.service
965 install -d $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr.target.wants
966 ln -s ../sigpwr-container-shutdown.service $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr.target.wants
967
968 # As of 207 the systemd-sysctl tool no longer natively reads the file /etc/sysctl.conf.
969 # If desired, the file should be symlinked from /etc/sysctl.d/99-sysctl.conf.
970 ln -s /etc/sysctl.conf $RPM_BUILD_ROOT/etc/sysctl.d/99-sysctl.conf
971
972 # Install rc-inetd replacement
973 cp -p %{SOURCE16} $RPM_BUILD_ROOT%{systemdunitdir}-generators/pld-rc-inetd-generator
974 cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdunitdir}/rc-inetd.service
975
976 cp -p %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system-preset/default.preset
977
978 cp -p %{SOURCE19} $RPM_BUILD_ROOT%{systemdunitdir}/prefdm.service
979
980 # handled by rc-local sysv service, no need for generator
981 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}-generators/systemd-rc-local-generator \
982         $RPM_BUILD_ROOT%{_mandir}/man8/systemd-rc-local-generator.8
983
984 # provided by rc-scripts
985 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/rc-local.service \
986         $RPM_BUILD_ROOT%{_mandir}/man8/rc-local.service.8
987
988 # Make sure these directories are properly owned:
989 #       - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd,
990 #       - syslog _might_ be used by some syslog implementation (none for now),
991 #       - isn't dbus populated by dbus-systemd only (so to be moved there)?
992 install -d $RPM_BUILD_ROOT%{systemdunitdir}/{basic,dbus,halt,initrd,kexec,poweroff,reboot,shutdown,syslog}.target.wants
993
994 # Make sure the shutdown/sleep drop-in dirs exist
995 install -d $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-{shutdown,sleep}
996
997 # Create new-style configuration files so that we can ghost-own them
998 touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,vconsole.conf}
999
1000 # Install SysV conversion tool for systemd
1001 install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
1002
1003 # Create directory for service helper scripts
1004 install -d $RPM_BUILD_ROOT/lib/systemd/pld-helpers.d
1005
1006 install -d $RPM_BUILD_ROOT/var/log
1007 :> $RPM_BUILD_ROOT/var/log/btmp
1008 :> $RPM_BUILD_ROOT/var/log/wtmp
1009
1010 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
1011
1012 %find_lang %{name}
1013
1014 %clean
1015 rm -rf $RPM_BUILD_ROOT
1016
1017 %pre
1018 %groupadd -g 288 systemd-journal
1019 %groupadd -g 316 systemd-network
1020 %useradd -u 316 -g 316 -d /var/log/journal -s /bin/false -c "Systemd Network Management" systemd-network
1021 %groupadd -g 317 systemd-resolve
1022 %useradd -u 317 -g 317 -d /var/log/journal -s /bin/false -c "Systemd Resolver" systemd-resolve
1023 %groupadd -g 318 systemd-timesync
1024 %useradd -u 318 -g 318 -d /var/log/journal -s /bin/false -c "Systemd Time Synchronization" systemd-timesync
1025 %groupadd -g 333 systemd-coredump
1026 %useradd -u 333 -g 333 -d /var/log/journal -s /bin/false -c "Systemd Core Dumper" systemd-coredump
1027 %groupadd -g 341 systemd-oom
1028 %useradd -u 341 -g 341 -d /var/log/journal -s /bin/false -c "Systemd Userspace OOM Killer" systemd-oom
1029
1030 %post
1031 /bin/systemd-machine-id-setup || :
1032 /lib/systemd/systemd-random-seed save || :
1033 /bin/systemctl --system daemon-reexec || :
1034 /bin/journalctl --update-catalog || :
1035 /bin/systemd-sysusers || :
1036
1037 %postun
1038 if [ $1 -ge 1 ]; then
1039         /bin/systemctl --system daemon-reload || :
1040         /bin/systemctl try-restart systemd-logind.service || :
1041 fi
1042 if [ "$1" = "0" ]; then
1043         %userremove systemd-coredump
1044         %groupremove systemd-coredump
1045         %userremove systemd-network
1046         %groupremove systemd-network
1047         %userremove systemd-oom
1048         %groupremove systemd-oom
1049         %userremove systemd-resolve
1050         %groupremove systemd-resolve
1051         %userremove systemd-timesync
1052         %groupremove systemd-timesync
1053         %groupremove systemd-journal
1054 fi
1055
1056 %triggerpostun -- systemd < 1:220-1
1057 # systemd < 1:208-1
1058 chgrp -R systemd-journal /var/log/journal
1059 chmod g+s /var/log/journal
1060 # systemd < 1:220-1
1061 # https://bugs.freedesktop.org/show_bug.cgi?id=89202
1062 /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) || :
1063
1064 %triggerpostun -- systemd-consoled < 1:232-1
1065 if [ -f %{_sysconfdir}/vconsole.conf.rpmsave ]; then
1066         %{__mv} -f %{_sysconfdir}/vconsole.conf %{_sysconfdir}/vconsole.conf.rpmnew
1067         %{__mv} -f %{_sysconfdir}/vconsole.conf.rpmsave %{_sysconfdir}/vconsole.conf
1068 fi
1069
1070 %post   libs -p /sbin/ldconfig
1071 %postun libs -p /sbin/ldconfig
1072
1073 %post units
1074 if [ $1 -eq 1 ]; then
1075         # Try to read default runlevel from the old inittab if it exists
1076         runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2>/dev/null)
1077         if [ -z "$runlevel" ] ; then
1078                 target="%{systemdunitdir}/graphical.target"
1079         else
1080                 target="%{systemdunitdir}/runlevel$runlevel.target"
1081         fi
1082
1083         # And symlink what we found to the new-style default.target
1084         ln -s "$target" %{_sysconfdir}/systemd/system/default.target || :
1085
1086         # Setup hostname if not yet done so
1087         if [ ! -s /etc/hostname ]; then
1088                 HOSTNAME=
1089                 [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
1090                 if [ -n "$HOSTNAME" -a "$HOSTNAME" != "pldmachine" ]; then
1091                         echo $HOSTNAME > /etc/hostname
1092                         chmod 644 /etc/hostname
1093                 fi
1094         fi
1095
1096         # Enable the services we install by default.
1097         /bin/systemctl enable \
1098                 network.service \
1099                 remote-fs.target \
1100                 systemd-udev-settle.service || :
1101 fi
1102
1103 %preun units
1104 if [ $1 -eq 0 ] ; then
1105         /bin/systemctl disable \
1106                 network.service \
1107                 remote-fs.target \
1108                 systemd-udev-settle.service || :
1109
1110         %{__rm} -f %{_sysconfdir}/systemd/system/default.target || :
1111 fi
1112
1113 %postun units
1114 if [ $1 -ge 1 ]; then
1115         /bin/systemctl daemon-reload || :
1116 fi
1117
1118 %triggerpostun units -- systemd-units < 1:242
1119 # systemd-units < 43-7
1120 # Remove design fialures
1121 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service || :
1122 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service || :
1123 %{__rm} -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service || :
1124 /bin/systemctl reenable network.service || :
1125 # systemd-units < 1:183
1126 /bin/systemctl --quiet enable systemd-udev-settle.service || :
1127 %{__rm} -f /etc/systemd/system/basic.target.wants/udev-settle.service || :
1128 # preserve renamed configs
1129 if [ -f /etc/systemd/systemd-journald.conf.rpmsave ]; then
1130         %{__mv} /etc/systemd/journald.conf{,.rpmnew}
1131         %{__mv} -f /etc/systemd/systemd-journald.conf.rpmsave /etc/systemd/journald.conf
1132 fi
1133 if [ -f /etc/systemd/systemd-logind.conf.rpmsave ]; then
1134         %{__mv} /etc/systemd/logind.conf{,.rpmnew}
1135         %{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf
1136 fi
1137 # systemd-units < 1:187-3
1138 if [ -f /etc/sysconfig/rpm ]; then
1139         . /etc/sysconfig/rpm
1140         if [ ${RPM_ENABLE_SYSTEMD_SERVICE:-yes} = no ]; then
1141                 echo "disable *" >>%{_sysconfdir}/systemd/system-preset/default.preset
1142         fi
1143 fi
1144 # systemd-units < 1:208-9
1145 # remove buggy symlink
1146 if [ -L /etc/systemd/system/getty.target.wants/getty@.service ] ; then
1147         rm -f /etc/systemd/system/getty.target.wants/getty@.service || :
1148 fi
1149 # systemd-units < 1:242
1150 if [ -L /var/lib/systemd/timesync ] ; then
1151         rm -f /var/lib/systemd/timesync || :
1152 fi
1153
1154 %post inetd
1155 %systemd_reload
1156 # Do not change it to restart, we only want to start new services here
1157 %systemd_service_start sockets.target
1158
1159 %postun inetd
1160 %systemd_reload
1161
1162 %pre journal-remote
1163 %groupadd -g 287 systemd-journal-gateway
1164 %useradd -u 287 -g 287 -d /var/log/journal -s /bin/false -c "Systemd Journal Gateway" systemd-journal-gateway
1165 %groupadd -g 319 systemd-journal-remote
1166 %useradd -u 319 -g 319 -d /var/log/journal -s /bin/false -c "Systemd Journal Remote" systemd-journal-remote
1167 %groupadd -g 320 systemd-journal-upload
1168 %useradd -u 320 -g 320 -d /var/log/journal -s /bin/false -c "Systemd Journal Upload" systemd-journal-upload
1169
1170 %post journal-remote
1171 %systemd_post systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
1172
1173 %preun journal-remote
1174 %systemd_preun systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
1175
1176 %postun journal-remote
1177 %systemd_reload
1178
1179 if [ "$1" = "0" ]; then
1180         %userremove systemd-journal-gateway
1181         %groupremove systemd-journal-gateway
1182         %userremove systemd-journal-remote
1183         %groupremove systemd-journal-remote
1184         %userremove systemd-journal-upload
1185         %groupremove systemd-journal-upload
1186 fi
1187
1188 %post networkd
1189 %systemd_post systemd-networkd.socket systemd-networkd.service
1190
1191 %preun networkd
1192 %systemd_preun systemd-networkd.socket systemd-networkd.service
1193
1194 %postun networkd
1195 %systemd_reload
1196
1197 %post resolved
1198 %systemd_post systemd-resolved.service
1199
1200 %preun resolved
1201 %systemd_preun systemd-resolved.service
1202
1203 %postun resolved
1204 %systemd_reload
1205
1206 %triggerpostun -n udev-core -- dev
1207 if [ "$2" = 0 ]; then
1208         # need to kill and restart udevd as after obsoleting dev package the
1209         # /dev tree will remain empty. umask is needed as otherwise udev will
1210         # create devices with strange permissions (udev bug probably)
1211         umask 000
1212         /sbin/start_udev || exit 0
1213 fi
1214
1215 %triggerpostun -n udev-core -- udev < 165
1216 # udev < 108
1217 %{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules
1218 %if "%{_lib}" != "lib"
1219 %{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules
1220 %endif
1221
1222 # udev < 165
1223 /bin/udevadm info --convert-db
1224
1225 %post -n udev-core
1226 /bin/udevadm hwdb --update || :
1227 if [ $1 -gt 1 ]; then
1228         if [ ! -x /bin/systemd_booted ] || ! /bin/systemd_booted; then
1229                 if grep -qs devtmpfs /proc/mounts && [ -n "$(pidof udevd)" ]; then
1230                         /bin/udevadm control --exit
1231                         /lib/udev/udevd --daemon
1232                 fi
1233         else
1234                 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
1235                 /bin/systemctl --quiet try-restart systemd-udevd.service || :
1236         fi
1237 fi
1238
1239 %postun -n udev-core
1240 if [ -x /bin/systemd_booted ] && /bin/systemd_booted; then
1241         SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
1242         /bin/systemctl --quiet daemon-reload || :
1243 fi
1244
1245 %post   -n udev-libs -p /sbin/ldconfig
1246 %postun -n udev-libs -p /sbin/ldconfig
1247
1248 %files -f %{name}.lang
1249 %defattr(644,root,root,755)
1250 %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
1251 %{_datadir}/dbus-1/interfaces/org.freedesktop.LogControl1.xml
1252 %{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml
1253 %{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml
1254 %{_datadir}/dbus-1/interfaces/org.freedesktop.login1.*.xml
1255 %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml
1256 %{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml
1257 %{_datadir}/dbus-1/system.d/org.freedesktop.hostname1.conf
1258 %{_datadir}/dbus-1/system.d/org.freedesktop.locale1.conf
1259 %{_datadir}/dbus-1/system.d/org.freedesktop.login1.conf
1260 %{_datadir}/dbus-1/system.d/org.freedesktop.systemd1.conf
1261 %{_datadir}/dbus-1/system.d/org.freedesktop.timedate1.conf
1262 %{_datadir}/dbus-1/system.d/org.freedesktop.timesync1.conf
1263 %attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh
1264 %attr(444,root,root) %ghost %config(noreplace) %{_sysconfdir}/machine-id
1265 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname
1266 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf
1267 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info
1268 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf
1269 %dir %{_sysconfdir}/kernel
1270 %dir %{_sysconfdir}/kernel/install.d
1271 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/coredump.conf
1272 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journald.conf
1273 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/logind.conf
1274 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/pstore.conf
1275 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/sleep.conf
1276 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system.conf
1277 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/timesyncd.conf
1278 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/user.conf
1279 %dir %{_sysconfdir}/systemd/user
1280
1281 %config(noreplace) %verify(not md5 mtime size) /usr/lib/pam.d/systemd-user
1282 /etc/xdg/systemd
1283 %attr(755,root,root) /bin/journalctl
1284 %attr(755,root,root) /bin/loginctl
1285 %attr(755,root,root) /bin/systemd
1286 %attr(755,root,root) /bin/systemd-ask-password
1287 %attr(755,root,root) /bin/systemd-creds
1288 %attr(755,root,root) /bin/systemd-escape
1289 %attr(755,root,root) /bin/systemd-firstboot
1290 %attr(755,root,root) /bin/systemd-inhibit
1291 %attr(755,root,root) /bin/systemd-machine-id-setup
1292 %attr(755,root,root) /bin/systemd-notify
1293 %attr(755,root,root) /bin/systemd-sysext
1294 %attr(755,root,root) /bin/systemd-sysusers
1295 %attr(755,root,root) /bin/systemd-tty-ask-password-agent
1296 %attr(755,root,root) /bin/userdbctl
1297 %{?with_efi:%attr(755,root,root) %{_bindir}/bootctl}
1298 %attr(755,root,root) %{_bindir}/busctl
1299 %attr(755,root,root) %{_bindir}/coredumpctl
1300 %attr(755,root,root) %{_bindir}/hostnamectl
1301 %attr(755,root,root) %{_bindir}/kernel-install
1302 %attr(755,root,root) %{_bindir}/localectl
1303 %attr(755,root,root) %{_bindir}/systemd-cat
1304 %{?with_cryptsetup:%attr(755,root,root) %{_bindir}/systemd-cryptenroll}
1305 %attr(755,root,root) %{_bindir}/systemd-delta
1306 %attr(755,root,root) %{_bindir}/systemd-detect-virt
1307 %attr(755,root,root) %{_bindir}/systemd-id128
1308 %attr(755,root,root) %{_bindir}/systemd-mount
1309 %attr(755,root,root) %{_bindir}/systemd-nspawn
1310 %attr(755,root,root) %{_bindir}/systemd-path
1311 %attr(755,root,root) %{_bindir}/systemd-resolve
1312 %attr(755,root,root) %{_bindir}/systemd-run
1313 %attr(755,root,root) %{_bindir}/systemd-socket-activate
1314 %attr(755,root,root) %{_bindir}/systemd-stdio-bridge
1315 %attr(755,root,root) %{_bindir}/systemd-umount
1316 %attr(755,root,root) %{_bindir}/timedatectl
1317 /lib/modprobe.d/systemd.conf
1318 /lib/systemd/resolv.conf
1319 %attr(755,root,root) /lib/systemd/pld-clean-tmp
1320 %attr(755,root,root) /lib/systemd/systemd-ac-power
1321 %attr(755,root,root) /lib/systemd/systemd-backlight
1322 %attr(755,root,root) /lib/systemd/systemd-binfmt
1323 %{?with_efi:%attr(755,root,root) /lib/systemd/systemd-bless-boot}
1324 %attr(755,root,root) /lib/systemd/systemd-boot-check-no-failures
1325 %attr(755,root,root) /lib/systemd/systemd-cgroups-agent
1326 %attr(755,root,root) /lib/systemd/systemd-coredump
1327 %if %{with cryptsetup}
1328 %attr(755,root,root) /lib/systemd/systemd-cryptsetup
1329 %attr(755,root,root) /lib/systemd/systemd-integritysetup
1330 %{?with_fido2:%attr(755,root,root) /usr/%{_lib}/cryptsetup/libcryptsetup-token-systemd-fido2.so}
1331 %attr(755,root,root) /usr/%{_lib}/cryptsetup/libcryptsetup-token-systemd-pkcs11.so
1332 %{?with_tpm2:%attr(755,root,root) /usr/%{_lib}/cryptsetup/libcryptsetup-token-systemd-tpm2.so}
1333 %endif
1334 %attr(755,root,root) /lib/systemd/systemd-fsck
1335 %attr(755,root,root) /lib/systemd/systemd-growfs
1336 %attr(755,root,root) /lib/systemd/systemd-hibernate-resume
1337 %attr(755,root,root) /lib/systemd/systemd-hostnamed
1338 %attr(755,root,root) /lib/systemd/systemd-initctl
1339 %attr(755,root,root) /lib/systemd/systemd-journald
1340 %attr(755,root,root) /lib/systemd/systemd-localed
1341 %attr(755,root,root) /lib/systemd/systemd-logind
1342 %attr(755,root,root) /lib/systemd/systemd-makefs
1343 %attr(755,root,root) /lib/systemd/systemd-modules-load
1344 %attr(755,root,root) /lib/systemd/systemd-pstore
1345 %attr(755,root,root) /lib/systemd/systemd-quotacheck
1346 %attr(755,root,root) /lib/systemd/systemd-random-seed
1347 %attr(755,root,root) /lib/systemd/systemd-remount-fs
1348 %attr(755,root,root) /lib/systemd/systemd-reply-password
1349 %attr(755,root,root) /lib/systemd/systemd-rfkill
1350 %attr(755,root,root) /lib/systemd/systemd-shutdown
1351 %attr(755,root,root) /lib/systemd/systemd-sleep
1352 %attr(755,root,root) /lib/systemd/systemd-socket-proxyd
1353 %attr(755,root,root) /lib/systemd/systemd-sulogin-shell
1354 %attr(755,root,root) /lib/systemd/systemd-sysctl
1355 %attr(755,root,root) /lib/systemd/systemd-time-wait-sync
1356 %attr(755,root,root) /lib/systemd/systemd-timedated
1357 %attr(755,root,root) /lib/systemd/systemd-timesyncd
1358 %attr(755,root,root) /lib/systemd/systemd-udevd
1359 %attr(755,root,root) /lib/systemd/systemd-update-utmp
1360 %attr(755,root,root) /lib/systemd/systemd-update-done
1361 %attr(755,root,root) /lib/systemd/systemd-user-runtime-dir
1362 %attr(755,root,root) /lib/systemd/systemd-user-sessions
1363 %attr(755,root,root) /lib/systemd/systemd-userdbd
1364 %attr(755,root,root) /lib/systemd/systemd-userwork
1365 %attr(755,root,root) /lib/systemd/systemd-vconsole-setup
1366 %attr(755,root,root) /lib/systemd/systemd-veritysetup
1367 %attr(755,root,root) /lib/systemd/systemd-volatile-root
1368 %attr(755,root,root) /lib/systemd/systemd-xdg-autostart-condition
1369 %attr(755,root,root) /lib/systemd/systemd
1370 %if %{with cryptsetup}
1371 %attr(755,root,root) /lib/systemd/system-generators/systemd-cryptsetup-generator
1372 %attr(755,root,root) /lib/systemd/system-generators/systemd-integritysetup-generator
1373 %endif
1374 %{?with_efi:%attr(755,root,root) /lib/systemd/system-generators/systemd-bless-boot-generator}
1375 %attr(755,root,root) /lib/systemd/system-generators/systemd-debug-generator
1376 %attr(755,root,root) /lib/systemd/system-generators/systemd-fstab-generator
1377 %attr(755,root,root) /lib/systemd/system-generators/systemd-getty-generator
1378 %attr(755,root,root) /lib/systemd/system-generators/systemd-gpt-auto-generator
1379 %attr(755,root,root) /lib/systemd/system-generators/systemd-hibernate-resume-generator
1380 %attr(755,root,root) /lib/systemd/system-generators/systemd-run-generator
1381 %attr(755,root,root) /lib/systemd/system-generators/systemd-system-update-generator
1382 %attr(755,root,root) /lib/systemd/system-generators/systemd-sysv-generator
1383 %attr(755,root,root) /lib/systemd/system-generators/systemd-veritysetup-generator
1384 %dir /lib/systemd/network
1385 /lib/systemd/network/99-default.link
1386 /lib/udev/rules.d/99-systemd.rules
1387 %{_prefix}/lib/environment.d/99-environment.conf
1388 %dir %{_prefix}/lib/kernel
1389 %dir %{_prefix}/lib/kernel/install.d
1390 %{_prefix}/lib/kernel/install.d/50-depmod.install
1391 %{_prefix}/lib/kernel/install.d/90-loaderentry.install
1392 %if %{with efi}
1393 %dir %{_prefix}/lib/systemd/boot
1394 %dir %{_prefix}/lib/systemd/boot/efi
1395 %ifarch %{ix86}
1396 %{_prefix}/lib/systemd/boot/efi/linuxia32.efi.stub
1397 %{_prefix}/lib/systemd/boot/efi/linuxia32.elf.stub
1398 %{_prefix}/lib/systemd/boot/efi/systemd-bootia32.efi
1399 %endif
1400 %ifarch %{x8664} x32
1401 %{_prefix}/lib/systemd/boot/efi/linuxx64.efi.stub
1402 %{_prefix}/lib/systemd/boot/efi/linuxx64.elf.stub
1403 %{_prefix}/lib/systemd/boot/efi/systemd-bootx64.efi
1404 %endif
1405 %ifarch aarch64
1406 %{_prefix}/lib/systemd/boot/efi/linuxaa64.efi.stub
1407 %{_prefix}/lib/systemd/boot/efi/linuxaa64.elf.stub
1408 %{_prefix}/lib/systemd/boot/efi/systemd-bootaa64.efi
1409 %endif
1410 %endif
1411 %{_prefix}/lib/systemd/catalog/systemd.catalog
1412 %lang(be) %{_prefix}/lib/systemd/catalog/systemd.be.catalog
1413 %lang(be) %{_prefix}/lib/systemd/catalog/systemd.be@latin.catalog
1414 %lang(bg) %{_prefix}/lib/systemd/catalog/systemd.bg.catalog
1415 %lang(de) %{_prefix}/lib/systemd/catalog/systemd.de.catalog
1416 %lang(fr) %{_prefix}/lib/systemd/catalog/systemd.fr.catalog
1417 %lang(it) %{_prefix}/lib/systemd/catalog/systemd.it.catalog
1418 %lang(pl) %{_prefix}/lib/systemd/catalog/systemd.pl.catalog
1419 %lang(pt_BR) %{_prefix}/lib/systemd/catalog/systemd.pt_BR.catalog
1420 %lang(ru) %{_prefix}/lib/systemd/catalog/systemd.ru.catalog
1421 %lang(zh_CN) %{_prefix}/lib/systemd/catalog/systemd.zh_CN.catalog
1422 %lang(zh_TW) %{_prefix}/lib/systemd/catalog/systemd.zh_TW.catalog
1423 %dir %{_prefix}/lib/sysusers.d
1424 %{_prefix}/lib/sysusers.d/basic.conf
1425 %{_prefix}/lib/sysusers.d/systemd-coredump.conf
1426 %{_prefix}/lib/sysusers.d/systemd-journal.conf
1427 %{_prefix}/lib/sysusers.d/systemd-timesync.conf
1428 %if %{with microhttpd}
1429 %{_prefix}/lib/sysusers.d/systemd-remote.conf
1430 %endif
1431 %{_prefix}/lib/tmpfiles.d/etc.conf
1432 %{_prefix}/lib/tmpfiles.d/home.conf
1433 %{_prefix}/lib/tmpfiles.d/journal-nocow.conf
1434 %{_prefix}/lib/tmpfiles.d/legacy.conf
1435 %{_prefix}/lib/tmpfiles.d/static-nodes-permissions.conf
1436 %{_prefix}/lib/tmpfiles.d/systemd.conf
1437 %{_prefix}/lib/tmpfiles.d/systemd-nologin.conf
1438 %{_prefix}/lib/tmpfiles.d/systemd-nspawn.conf
1439 %{_prefix}/lib/tmpfiles.d/systemd-pstore.conf
1440 %{_prefix}/lib/tmpfiles.d/systemd-tmp.conf
1441 %{_prefix}/lib/tmpfiles.d/tmp.conf
1442 %{_prefix}/lib/tmpfiles.d/var.conf
1443 %{_prefix}/lib/tmpfiles.d/x11.conf
1444 %{_prefix}/lib/sysctl.d/50-coredump.conf
1445 # if cc.sizeof('long') > 4
1446 %ifarch %{x8664} aarch64
1447 %{_prefix}/lib/sysctl.d/50-pid-max.conf
1448 %endif
1449 %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
1450 %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
1451 %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
1452 %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
1453 %{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
1454 %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
1455 %{_datadir}/dbus-1/system-services/org.freedesktop.timesync1.service
1456 %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
1457 %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
1458 %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
1459 %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
1460 %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
1461 %{_datadir}/polkit-1/actions/org.freedesktop.timesync1.policy
1462 %{_datadir}/polkit-1/rules.d/systemd-networkd.rules
1463 %dir %{_datadir}/systemd
1464 %{_datadir}/systemd/kbd-model-map
1465 %{_datadir}/systemd/language-fallback-map
1466 %{_datadir}/factory/etc/issue
1467 %{_datadir}/factory/etc/locale.conf
1468 %{_datadir}/factory/etc/nsswitch.conf
1469 %{_datadir}/factory/etc/pam.d/other
1470 %{_datadir}/factory/etc/pam.d/system-auth
1471 %{?with_efi:%{_mandir}/man1/bootctl.1*}
1472 %{_mandir}/man1/busctl.1*
1473 %{_mandir}/man1/coredumpctl.1*
1474 %{_mandir}/man1/hostnamectl.1*
1475 %{_mandir}/man1/journalctl.1*
1476 %{_mandir}/man1/localectl.1*
1477 %{_mandir}/man1/loginctl.1*
1478 %{_mandir}/man1/systemd.1*
1479 %{_mandir}/man1/systemd-ask-password.1*
1480 %{_mandir}/man1/systemd-cat.1*
1481 %{_mandir}/man1/systemd-creds.1*
1482 %{?with_cryptsetup:%{_mandir}/man1/systemd-cryptenroll.1*}
1483 %{_mandir}/man1/systemd-delta.1*
1484 %{_mandir}/man1/systemd-detect-virt.1*
1485 %{_mandir}/man1/systemd-dissect.1*
1486 %{_mandir}/man1/systemd-escape.1*
1487 %{_mandir}/man1/systemd-firstboot.1*
1488 %{_mandir}/man1/systemd-firstboot.service.1*
1489 %{_mandir}/man1/systemd-id128.1*
1490 %{_mandir}/man1/systemd-inhibit.1*
1491 %{_mandir}/man1/systemd-machine-id-setup.1*
1492 %{_mandir}/man1/systemd-mount.1*
1493 %{_mandir}/man1/systemd-notify.1*
1494 %{_mandir}/man1/systemd-nspawn.1*
1495 %{_mandir}/man1/systemd-path.1*
1496 %{_mandir}/man1/systemd-run.1*
1497 %{_mandir}/man1/systemd-socket-activate.1*
1498 %{_mandir}/man1/systemd-stdio-bridge.1*
1499 %{_mandir}/man1/systemd-tty-ask-password-agent.1*
1500 %{_mandir}/man1/systemd-umount.1*
1501 %{_mandir}/man1/timedatectl.1*
1502 %{_mandir}/man1/userdbctl.1*
1503 %{_mandir}/man5/binfmt.d.5*
1504 %{_mandir}/man5/coredump.conf.5*
1505 %{_mandir}/man5/coredump.conf.d.5*
1506 %{_mandir}/man5/dnssec-trust-anchors.d.5*
1507 %{_mandir}/man5/extension-release.5*
1508 %{_mandir}/man5/hostname.5*
1509 %{_mandir}/man5/initrd-release.5*
1510 %{_mandir}/man5/journald@.conf.5*
1511 %{?with_efi:%{_mandir}/man5/loader.conf.5*}
1512 %{_mandir}/man5/journald.conf.5*
1513 %{_mandir}/man5/journald.conf.d.5*
1514 %{_mandir}/man5/locale.conf.5*
1515 %{_mandir}/man5/localtime.5*
1516 %{_mandir}/man5/logind.conf.5*
1517 %{_mandir}/man5/logind.conf.d.5*
1518 %{_mandir}/man5/machine-id.5*
1519 %{_mandir}/man5/machine-info.5*
1520 %{_mandir}/man5/modules-load.d.5*
1521 %{_mandir}/man5/org.freedesktop.LogControl1.5*
1522 %{_mandir}/man5/org.freedesktop.hostname1.5*
1523 %{_mandir}/man5/org.freedesktop.locale1.5*
1524 %{_mandir}/man5/org.freedesktop.login1.5*
1525 %{_mandir}/man5/org.freedesktop.systemd1.5*
1526 %{_mandir}/man5/org.freedesktop.timedate1.5*
1527 %{_mandir}/man5/os-release.5*
1528 %{_mandir}/man5/pstore.conf.5*
1529 %{_mandir}/man5/pstore.conf.d.5*
1530 %{_mandir}/man5/sleep.conf.d.5*
1531 %{_mandir}/man5/sysctl.d.5*
1532 %{_mandir}/man5/system.conf.d.5*
1533 %{_mandir}/man5/systemd.*.5*
1534 %{_mandir}/man5/systemd-sleep.conf.5*
1535 %{_mandir}/man5/systemd-system.conf.5*
1536 %{_mandir}/man5/systemd-user.conf.5*
1537 %{_mandir}/man5/systemd-user-runtime-dir.5*
1538 %{_mandir}/man5/sysusers.d.5*
1539 %{_mandir}/man5/timesyncd.conf.5*
1540 %{_mandir}/man5/timesyncd.conf.d.5*
1541 %{_mandir}/man5/user.conf.d.5*
1542 %{_mandir}/man5/vconsole.conf.5*
1543 %{_mandir}/man7/bootup.7*
1544 %{_mandir}/man7/daemon.7*
1545 %{_mandir}/man7/file-hierarchy.7*
1546 %{_mandir}/man7/kernel-command-line.7*
1547 %if %{with efi}
1548 %ifarch %{ix86}
1549 %{_mandir}/man7/linuxia32.efi.stub.7*
1550 %endif
1551 %ifarch %{x8664}
1552 %{_mandir}/man7/linuxx64.efi.stub.7*
1553 %endif
1554 %ifarch aarch64
1555 %{_mandir}/man7/linuxaa64.efi.stub.7*
1556 %endif
1557 %{_mandir}/man7/sd-boot.7*
1558 %{_mandir}/man7/sd-stub.7*
1559 %{_mandir}/man7/systemd-boot.7*
1560 %{_mandir}/man7/systemd-stub.7*
1561 %endif
1562 %{_mandir}/man7/systemd.directives.7*
1563 %{_mandir}/man7/systemd.environment-generator.7*
1564 %{_mandir}/man7/systemd.generator.7*
1565 %{_mandir}/man7/systemd.index.7*
1566 %{_mandir}/man7/systemd.journal-fields.7*
1567 %{_mandir}/man7/systemd.offline-updates.7*
1568 %{_mandir}/man7/systemd.special.7*
1569 %{_mandir}/man7/systemd.syntax.7*
1570 %{_mandir}/man7/systemd.time.7*
1571 %{_mandir}/man8/kernel-install.8*
1572 %{_mandir}/man8/libnss_myhostname.so.2.8*
1573 %{_mandir}/man8/libnss_mymachines.so.2.8*
1574 %{_mandir}/man8/nss-myhostname.8*
1575 %{_mandir}/man8/nss-mymachines.8*
1576 %{_mandir}/man8/systemd-backlight.8*
1577 %{_mandir}/man8/systemd-binfmt.8*
1578 %if %{with efi}
1579 %{_mandir}/man8/systemd-bless-boot.8*
1580 %{_mandir}/man8/systemd-bless-boot-generator.8*
1581 %endif
1582 %{_mandir}/man8/systemd-boot-check-no-failures.8*
1583 %{_mandir}/man8/systemd-coredump.8*
1584 %if %{with cryptsetup}
1585 %{_mandir}/man8/systemd-cryptsetup-generator.8*
1586 %{_mandir}/man8/systemd-integritysetup-generator.8*
1587 %endif
1588 %{_mandir}/man8/systemd-debug-generator.8*
1589 %{_mandir}/man8/systemd-fsck.8*
1590 %{_mandir}/man8/systemd-fstab-generator.8*
1591 %{_mandir}/man8/systemd-getty-generator.8*
1592 %{_mandir}/man8/systemd-gpt-auto-generator.8*
1593 %{_mandir}/man8/systemd-growfs.8*
1594 %{_mandir}/man8/systemd-growfs@.service.8*
1595 %{_mandir}/man8/systemd-hibernate-resume-generator.8*
1596 %{_mandir}/man8/systemd-hibernate-resume.8*
1597 %{_mandir}/man8/systemd-hibernate-resume@.service.8*
1598 %{_mandir}/man8/systemd-hostnamed.8*
1599 %{_mandir}/man8/systemd-initctl.8*
1600 %{_mandir}/man8/systemd-journald-dev-log.socket.8*
1601 %{_mandir}/man8/systemd-journald-varlink@.socket.8*
1602 %{_mandir}/man8/systemd-journald.8*
1603 %{_mandir}/man8/systemd-journald@.service.8*
1604 %{_mandir}/man8/systemd-journald@.socket.8*
1605 %{_mandir}/man8/systemd-localed.8*
1606 %{_mandir}/man8/systemd-logind.8*
1607 %{_mandir}/man8/systemd-machine-id-commit.service.8*
1608 %{_mandir}/man8/systemd-makefs.8*
1609 %{_mandir}/man8/systemd-makefs@.service.8*
1610 %{_mandir}/man8/systemd-mkswap@.service.8*
1611 %{_mandir}/man8/systemd-modules-load.8*
1612 %{_mandir}/man8/systemd-pstore.8*
1613 %{_mandir}/man8/systemd-pstore.service.8*
1614 %{_mandir}/man8/systemd-quotacheck.8*
1615 %{_mandir}/man8/systemd-random-seed.8*
1616 %{_mandir}/man8/systemd-remount-fs.8*
1617 %{_mandir}/man8/systemd-rfkill.8*
1618 %{_mandir}/man8/systemd-rfkill.service.8*
1619 %{_mandir}/man8/systemd-run-generator.8*
1620 %{_mandir}/man8/systemd-shutdown.8*
1621 %{_mandir}/man8/systemd-sleep.8*
1622 %{_mandir}/man8/systemd-socket-proxyd.8*
1623 %{_mandir}/man8/systemd-sysctl.8*
1624 %{_mandir}/man8/systemd-sysext.8*
1625 %{_mandir}/man8/systemd-system-update-generator.8*
1626 %{_mandir}/man8/systemd-sysusers.8*
1627 %{_mandir}/man8/systemd-sysusers.service.8*
1628 %{_mandir}/man8/systemd-sysv-generator.8*
1629 %{_mandir}/man8/systemd-time-wait-sync.8*
1630 %{_mandir}/man8/systemd-timedated.8*
1631 %{_mandir}/man8/systemd-timesyncd.8*
1632 %{_mandir}/man8/systemd-timesyncd.service.8*
1633 %{_mandir}/man8/systemd-udevd.8*
1634 %{_mandir}/man8/systemd-update-done.8*
1635 %{_mandir}/man8/systemd-update-done.service.8*
1636 %{_mandir}/man8/systemd-update-utmp.8*
1637 %{_mandir}/man8/systemd-user-sessions.8*
1638 %{_mandir}/man8/systemd-userdbd.8*
1639 %{_mandir}/man8/systemd-vconsole-setup.8*
1640 %{_mandir}/man8/systemd-veritysetup.8*
1641 %{_mandir}/man8/systemd-veritysetup-generator.8*
1642 %{_mandir}/man8/systemd-veritysetup@.service.8*
1643 %{_mandir}/man8/systemd-volatile-root.8*
1644 %{_mandir}/man8/systemd-volatile-root.service.8*
1645 %{_mandir}/man8/systemd-xdg-autostart-generator.8*
1646 %attr(700,root,root) %dir /var/lib/machines
1647 %dir /var/lib/%{name}
1648 %dir /var/lib/%{name}/coredump
1649 %dir /var/lib/%{name}/catalog
1650 %attr(640,root,root) %ghost /var/lib/%{name}/random-seed
1651 %attr(600,root,utmp) %ghost /var/log/btmp
1652 %attr(664,root,utmp) %ghost /var/log/wtmp
1653 %attr(2755,root,systemd-journal) %dir /var/log/journal
1654 %attr(2755,root,systemd-journal) %dir /var/log/journal/remote
1655
1656 %if %{with pam}
1657 %attr(755,root,root) /%{_lib}/security/pam_systemd.so
1658 %{_mandir}/man8/pam_systemd.8*
1659 %endif
1660
1661 %files init
1662 %defattr(644,root,root,755)
1663 %attr(755,root,root) /sbin/halt
1664 %attr(755,root,root) /sbin/init
1665 %attr(755,root,root) /sbin/poweroff
1666 %attr(755,root,root) /sbin/reboot
1667 %attr(755,root,root) /sbin/runlevel
1668 %attr(755,root,root) /sbin/shutdown
1669 %attr(755,root,root) /sbin/telinit
1670 %{_mandir}/man1/init.1*
1671 %if %{with cryptsetup}
1672 %{_mandir}/man5/crypttab.5*
1673 %{_mandir}/man5/integritytab.5*
1674 %{_mandir}/man5/veritytab.5*
1675 %endif
1676 %{_mandir}/man8/halt.8*
1677 %{_mandir}/man8/poweroff.8*
1678 %{_mandir}/man8/reboot.8*
1679 %{_mandir}/man8/runlevel.8*
1680 %{_mandir}/man8/shutdown.8*
1681 %{_mandir}/man8/telinit.8*
1682
1683 %files sysv-compat
1684 %defattr(644,root,root,755)
1685 %attr(755,root,root) %{_bindir}/systemd-sysv-convert
1686
1687 %files units
1688 %defattr(644,root,root,755)
1689 %dir %{_sysconfdir}/binfmt.d
1690 %dir %{_sysconfdir}/modules-load.d
1691 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf
1692 %dir %{_sysconfdir}/sysctl.d
1693 %{_sysconfdir}/sysctl.d/99-sysctl.conf
1694 %dir %{_sysconfdir}/systemd
1695 %dir %{_sysconfdir}/systemd/system
1696 %dir %{_sysconfdir}/systemd/system-preset
1697 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system-preset/default.preset
1698 %dir %{_sysconfdir}/systemd/user-preset
1699 %dir %{_sysconfdir}/tmpfiles.d
1700 %dir %{_prefix}/lib/binfmt.d
1701 %dir %{_prefix}/lib/environment.d
1702 %dir %{_prefix}/lib/modules-load.d
1703 %dir %{_prefix}/lib/sysctl.d
1704 %{_prefix}/lib/sysctl.d/50-default.conf
1705 %dir %{_prefix}/lib/systemd
1706 %dir %{_prefix}/lib/systemd/catalog
1707 %dir %{_prefix}/lib/systemd/system-shutdown
1708 %dir %{_prefix}/lib/systemd/system-sleep
1709 %dir %{_prefix}/lib/systemd/user
1710 %{_prefix}/lib/systemd/user/app.slice
1711 %{_prefix}/lib/systemd/user/background.slice
1712 %{_prefix}/lib/systemd/user/basic.target
1713 %{_prefix}/lib/systemd/user/bluetooth.target
1714 %{_prefix}/lib/systemd/user/default.target
1715 %{_prefix}/lib/systemd/user/exit.target
1716 %{_prefix}/lib/systemd/user/paths.target
1717 %{_prefix}/lib/systemd/user/printer.target
1718 %{_prefix}/lib/systemd/user/session.slice
1719 %{_prefix}/lib/systemd/user/shutdown.target
1720 %{_prefix}/lib/systemd/user/smartcard.target
1721 %{_prefix}/lib/systemd/user/sockets.target
1722 %{_prefix}/lib/systemd/user/sound.target
1723 %{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.service
1724 %{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.timer
1725 %{_prefix}/lib/systemd/user/systemd-tmpfiles-setup.service
1726 %{_prefix}/lib/systemd/user/timers.target
1727 %{_prefix}/lib/systemd/user/systemd-exit.service
1728 %{_prefix}/lib/systemd/user/xdg-desktop-autostart.target
1729 %dir %{_prefix}/lib/systemd/user-generators
1730 %attr(755,root,root) %{_prefix}/lib/systemd/user-generators/systemd-xdg-autostart-generator
1731 %dir %{_prefix}/lib/systemd/user-environment-generators
1732 %attr(755,root,root) %{_prefix}/lib/systemd/user-environment-generators/30-systemd-environment-d-generator
1733 %dir %{_prefix}/lib/systemd/user-preset
1734 %{_prefix}/lib/systemd/user-preset/90-systemd.preset
1735 %dir %{_prefix}/lib/systemd/system-environment-generators
1736 %dir /lib/systemd/ntp-units.d
1737 /lib/systemd/ntp-units.d/80-systemd-timesync.list
1738 %dir /lib/systemd/pld-helpers.d
1739 %dir /lib/systemd/system-generators
1740 %dir /lib/systemd/system-preset
1741 /lib/systemd/system-preset/90-systemd.preset
1742 %dir /lib/systemd/system-sleep
1743 %dir /lib/systemd/system-shutdown
1744 %attr(755,root,root) /lib/systemd/systemd-update-helper
1745 %attr(755,root,root) /bin/systemctl
1746 %attr(755,root,root) /bin/systemd-tmpfiles
1747 %attr(755,root,root) /bin/systemd_booted
1748 %{_mandir}/man1/systemctl.1*
1749 %{_mandir}/man5/tmpfiles.d.5*
1750 %{_mandir}/man5/environment.d.5*
1751 %{_mandir}/man8/systemd-tmpfiles.8*
1752
1753 %{systemdunitdir}/dev-hugepages.mount
1754 %{systemdunitdir}/dev-mqueue.mount
1755 %{systemdunitdir}/initrd-root-device.target
1756 %{systemdunitdir}/proc-sys-fs-binfmt_misc.automount
1757 %{systemdunitdir}/proc-sys-fs-binfmt_misc.mount
1758 %{systemdunitdir}/sockets.target.wants/systemd-coredump.socket
1759 %{systemdunitdir}/sys-fs-fuse-connections.mount
1760 %{systemdunitdir}/sys-kernel-config.mount
1761 %{systemdunitdir}/sys-kernel-debug.mount
1762 %{systemdunitdir}/sys-kernel-tracing.mount
1763 %{systemdunitdir}/systemd-coredump@.service
1764 %{systemdunitdir}/systemd-coredump.socket
1765 %{systemdunitdir}/systemd-exit.service
1766 %{systemdunitdir}/systemd-pstore.service
1767 %{systemdunitdir}/systemd-rfkill.socket
1768 %{systemdunitdir}/tmp.mount
1769 %{systemdunitdir}/var-lock.mount
1770 %{systemdunitdir}/var-run.mount
1771 %{systemdunitdir}/systemd-ask-password-console.path
1772 %{systemdunitdir}/systemd-ask-password-wall.path
1773 %{systemdunitdir}/allowlogin.service
1774 %{systemdunitdir}/autovt@.service
1775 %{systemdunitdir}/console-getty.service
1776 %{systemdunitdir}/console.service
1777 %{systemdunitdir}/container-getty@.service
1778 %{systemdunitdir}/cpusets.service
1779 %{systemdunitdir}/dbus-org.freedesktop.hostname1.service
1780 %{systemdunitdir}/dbus-org.freedesktop.locale1.service
1781 %{systemdunitdir}/dbus-org.freedesktop.login1.service
1782 %{systemdunitdir}/dbus-org.freedesktop.timedate1.service
1783 %{systemdunitdir}/debug-shell.service
1784 %{systemdunitdir}/display-manager.service
1785 %{systemdunitdir}/emergency.service
1786 %{systemdunitdir}/getty@.service
1787 %{systemdunitdir}/initrd-cleanup.service
1788 %{systemdunitdir}/initrd-parse-etc.service
1789 %{systemdunitdir}/initrd-switch-root.service
1790 %{systemdunitdir}/initrd-udevadm-cleanup-db.service
1791 %{systemdunitdir}/killall.service
1792 %{systemdunitdir}/kmod-static-nodes.service
1793 %{systemdunitdir}/ldconfig.service
1794 %{systemdunitdir}/modprobe@.service
1795 %{systemdunitdir}/netfs.service
1796 %{systemdunitdir}/network.service
1797 %{systemdunitdir}/pld-clean-tmp.service
1798 %{systemdunitdir}/prefdm.service
1799 %{systemdunitdir}/quotaon.service
1800 %{systemdunitdir}/random.service
1801 %{systemdunitdir}/rescue.service
1802 %{systemdunitdir}/serial-getty@.service
1803 %{systemdunitdir}/single.service
1804 %{systemdunitdir}/sigpwr-container-shutdown.service
1805 %{systemdunitdir}/suspend-then-hibernate.target
1806 %{systemdunitdir}/sys-kernel-config.service
1807 %{systemdunitdir}/system-update-cleanup.service
1808 %{systemdunitdir}/system-update-pre.target
1809 %{systemdunitdir}/systemd-ask-password-console.service
1810 %{systemdunitdir}/systemd-ask-password-wall.service
1811 %{systemdunitdir}/systemd-backlight@.service
1812 %{systemdunitdir}/systemd-binfmt.service
1813 %if %{with efi}
1814 %{systemdunitdir}/systemd-bless-boot.service
1815 %{systemdunitdir}/systemd-boot-system-token.service
1816 %{systemdunitdir}/systemd-boot-update.service
1817 %endif
1818 %{systemdunitdir}/systemd-boot-check-no-failures.service
1819 %{systemdunitdir}/systemd-firstboot.service
1820 %{systemdunitdir}/systemd-fsck-root.service
1821 %{systemdunitdir}/systemd-fsck@.service
1822 %{systemdunitdir}/systemd-halt.service
1823 %{systemdunitdir}/systemd-hibernate-resume@.service
1824 %{systemdunitdir}/systemd-hibernate.service
1825 %{systemdunitdir}/systemd-hostnamed.service
1826 %{systemdunitdir}/systemd-hwdb-update.service
1827 %{systemdunitdir}/systemd-hybrid-sleep.service
1828 %{systemdunitdir}/systemd-initctl.service
1829 %{systemdunitdir}/systemd-journal-catalog-update.service
1830 %{systemdunitdir}/systemd-journal-flush.service
1831 %{systemdunitdir}/systemd-journald.service
1832 %{systemdunitdir}/systemd-journald@.service
1833 %{systemdunitdir}/systemd-kexec.service
1834 %{systemdunitdir}/systemd-localed.service
1835 %{systemdunitdir}/systemd-logind.service
1836 %{systemdunitdir}/systemd-machine-id-commit.service
1837 %{systemdunitdir}/systemd-modules-load.service
1838 %{systemdunitdir}/systemd-nspawn@.service
1839 %{systemdunitdir}/systemd-poweroff.service
1840 %{systemdunitdir}/systemd-quotacheck.service
1841 %{systemdunitdir}/systemd-random-seed.service
1842 %{systemdunitdir}/systemd-reboot.service
1843 %{systemdunitdir}/systemd-remount-fs.service
1844 %{systemdunitdir}/systemd-rfkill.service
1845 %{systemdunitdir}/systemd-suspend.service
1846 %{systemdunitdir}/systemd-suspend-then-hibernate.service
1847 %{systemdunitdir}/systemd-sysctl.service
1848 %{systemdunitdir}/systemd-sysext.service
1849 %{systemdunitdir}/systemd-sysusers.service
1850 %{systemdunitdir}/systemd-time-wait-sync.service
1851 %{systemdunitdir}/systemd-timedated.service
1852 %{systemdunitdir}/systemd-timesyncd.service
1853 %{systemdunitdir}/systemd-tmpfiles-clean.service
1854 %{systemdunitdir}/systemd-tmpfiles-setup-dev.service
1855 %{systemdunitdir}/systemd-tmpfiles-setup.service
1856 %{systemdunitdir}/systemd-udev-settle.service
1857 %{systemdunitdir}/systemd-udev-trigger.service
1858 %{systemdunitdir}/systemd-udevd.service
1859 %dir %{systemdunitdir}/systemd-udevd.service.d
1860 %{systemdunitdir}/systemd-update-done.service
1861 %{systemdunitdir}/systemd-update-utmp-runlevel.service
1862 %{systemdunitdir}/systemd-update-utmp.service
1863 %{systemdunitdir}/systemd-user-sessions.service
1864 %{systemdunitdir}/systemd-userdbd.service
1865 %{systemdunitdir}/systemd-userdbd.socket
1866 %{systemdunitdir}/systemd-vconsole-setup.service
1867 %{systemdunitdir}/systemd-volatile-root.service
1868 %{systemdunitdir}/user@.service
1869 %{systemdunitdir}/machine.slice
1870 #%{systemdunitdir}/system.slice
1871 %{?with_cryptsetup:%{systemdunitdir}/system-systemd\x2dcryptsetup.slice}
1872 %dir %{systemdunitdir}/user-.slice.d
1873 %{systemdunitdir}/user-.slice.d/10-defaults.conf
1874 %{systemdunitdir}/user-runtime-dir@.service
1875 %{systemdunitdir}/user.slice
1876 %exclude %{systemdunitdir}/rc-inetd.service
1877 %{systemdunitdir}/syslog.socket
1878 %{systemdunitdir}/systemd-initctl.socket
1879 %{systemdunitdir}/systemd-journald-audit.socket
1880 %{systemdunitdir}/systemd-journald-dev-log.socket
1881 %{systemdunitdir}/systemd-journald-varlink@.socket
1882 %{systemdunitdir}/systemd-journald.socket
1883 %{systemdunitdir}/systemd-journald@.socket
1884 %{systemdunitdir}/systemd-udevd-control.socket
1885 %{systemdunitdir}/systemd-udevd-kernel.socket
1886 %{systemdunitdir}/basic.target
1887 %{systemdunitdir}/blockdev@.target
1888 %{systemdunitdir}/bluetooth.target
1889 %{systemdunitdir}/boot-complete.target
1890 %if %{with cryptsetup}
1891 %{systemdunitdir}/cryptsetup-pre.target
1892 %{systemdunitdir}/cryptsetup.target
1893 %{systemdunitdir}/integritysetup-pre.target
1894 %{systemdunitdir}/integritysetup.target
1895 %{systemdunitdir}/veritysetup-pre.target
1896 %{systemdunitdir}/veritysetup.target
1897 %endif
1898 %{systemdunitdir}/ctrl-alt-del.target
1899 %{systemdunitdir}/default.target
1900 %{systemdunitdir}/emergency.target
1901 %{systemdunitdir}/exit.target
1902 %{systemdunitdir}/factory-reset.target
1903 %{systemdunitdir}/final.target
1904 %{systemdunitdir}/first-boot-complete.target
1905 %{systemdunitdir}/getty.target
1906 %{systemdunitdir}/getty-pre.target
1907 %{systemdunitdir}/graphical.target
1908 %{systemdunitdir}/halt.target
1909 %{systemdunitdir}/hibernate.target
1910 %{systemdunitdir}/hybrid-sleep.target
1911 %{systemdunitdir}/initrd-fs.target
1912 %{systemdunitdir}/initrd-root-fs.target
1913 %{systemdunitdir}/initrd-switch-root.target
1914 %{systemdunitdir}/initrd-usr-fs.target
1915 %{systemdunitdir}/initrd.target
1916 %{systemdunitdir}/kexec.target
1917 %{systemdunitdir}/local-fs-pre.target
1918 %{systemdunitdir}/local-fs.target
1919 %{systemdunitdir}/multi-user.target
1920 %{systemdunitdir}/network-online.target
1921 %{systemdunitdir}/network-pre.target
1922 %{systemdunitdir}/network.target
1923 %{systemdunitdir}/nss-lookup.target
1924 %{systemdunitdir}/nss-user-lookup.target
1925 %{systemdunitdir}/paths.target
1926 %{systemdunitdir}/poweroff.target
1927 %{systemdunitdir}/printer.target
1928 %{systemdunitdir}/reboot.target
1929 %{systemdunitdir}/remote-fs-pre.target
1930 %{systemdunitdir}/remote-fs.target
1931 %if %{with cryptsetup}
1932 %{systemdunitdir}/remote-cryptsetup.target
1933 %{systemdunitdir}/remote-veritysetup.target
1934 %endif
1935 %{systemdunitdir}/rescue.target
1936 %{systemdunitdir}/rpcbind.target
1937 %{systemdunitdir}/runlevel0.target
1938 %{systemdunitdir}/runlevel1.target
1939 %{systemdunitdir}/runlevel2.target
1940 %{systemdunitdir}/runlevel3.target
1941 %{systemdunitdir}/runlevel4.target
1942 %{systemdunitdir}/runlevel5.target
1943 %{systemdunitdir}/runlevel6.target
1944 %{systemdunitdir}/shutdown.target
1945 %{systemdunitdir}/sigpwr.target
1946 %{systemdunitdir}/sleep.target
1947 %{systemdunitdir}/slices.target
1948 %{systemdunitdir}/smartcard.target
1949 %{systemdunitdir}/sockets.target
1950 %{systemdunitdir}/sound.target
1951 %{systemdunitdir}/suspend.target
1952 %{systemdunitdir}/swap.target
1953 %{systemdunitdir}/sysinit.target
1954 %{systemdunitdir}/system-update.target
1955 %{systemdunitdir}/time-set.target
1956 %{systemdunitdir}/time-sync.target
1957 %{systemdunitdir}/timers.target
1958 %{systemdunitdir}/umount.target
1959 %{systemdunitdir}/usb-gadget.target
1960 %{systemdunitdir}/systemd-tmpfiles-clean.timer
1961 %dir %{systemdunitdir}/basic.target.wants
1962 %dir %{systemdunitdir}/dbus.target.wants
1963 %dir %{systemdunitdir}/final.target.wants
1964 %dir %{systemdunitdir}/graphical.target.wants
1965 %dir %{systemdunitdir}/halt.target.wants
1966 %dir %{systemdunitdir}/initrd.target.wants
1967 %dir %{systemdunitdir}/initrd-root-device.target.wants
1968 %dir %{systemdunitdir}/initrd-root-fs.target.wants
1969 %dir %{systemdunitdir}/kexec.target.wants
1970 %dir %{systemdunitdir}/local-fs.target.wants
1971 %dir %{systemdunitdir}/multi-user.target.wants
1972 %dir %{systemdunitdir}/poweroff.target.wants
1973 %dir %{systemdunitdir}/reboot.target.wants
1974 %dir %{systemdunitdir}/remote-fs.target.wants
1975 %dir %{systemdunitdir}/rescue.target.wants
1976 %dir %{systemdunitdir}/runlevel[12345].target.wants
1977 %dir %{systemdunitdir}/shutdown.target.wants
1978 %dir %{systemdunitdir}/sigpwr.target.wants
1979 %dir %{systemdunitdir}/sockets.target.wants
1980 %dir %{systemdunitdir}/sound.target.wants
1981 %dir %{systemdunitdir}/sysinit.target.wants
1982 %dir %{systemdunitdir}/syslog.target.wants
1983 %dir %{systemdunitdir}/system-update.target.wants
1984 %dir %{systemdunitdir}/timers.target.wants
1985 %if %{with cryptsetup}
1986 %{systemdunitdir}/initrd-root-device.target.wants/remote-cryptsetup.target
1987 %{systemdunitdir}/initrd-root-device.target.wants/remote-veritysetup.target
1988 %endif
1989 %{systemdunitdir}/graphical.target.wants/display-manager.service
1990 %{systemdunitdir}/graphical.target.wants/systemd-update-utmp-runlevel.service
1991 %{systemdunitdir}/local-fs.target.wants/pld-clean-tmp.service
1992 %{systemdunitdir}/local-fs.target.wants/var-lock.mount
1993 %{systemdunitdir}/local-fs.target.wants/var-run.mount
1994 %{systemdunitdir}/multi-user.target.wants/getty.target
1995 %{systemdunitdir}/multi-user.target.wants/rc-local.service
1996 %{systemdunitdir}/multi-user.target.wants/systemd-ask-password-wall.path
1997 %{systemdunitdir}/multi-user.target.wants/systemd-logind.service
1998 %{systemdunitdir}/multi-user.target.wants/systemd-update-utmp-runlevel.service
1999 %{systemdunitdir}/multi-user.target.wants/systemd-user-sessions.service
2000 %{systemdunitdir}/rescue.target.wants/systemd-update-utmp-runlevel.service
2001 %{systemdunitdir}/sigpwr.target.wants/sigpwr-container-shutdown.service
2002 %{systemdunitdir}/sockets.target.wants/systemd-initctl.socket
2003 %{systemdunitdir}/sockets.target.wants/systemd-journald-audit.socket
2004 %{systemdunitdir}/sockets.target.wants/systemd-journald-dev-log.socket
2005 %{systemdunitdir}/sockets.target.wants/systemd-journald.socket
2006 %{systemdunitdir}/sockets.target.wants/systemd-udevd-control.socket
2007 %{systemdunitdir}/sockets.target.wants/systemd-udevd-kernel.socket
2008 %if %{with cryptsetup}
2009 %{systemdunitdir}/sysinit.target.wants/cryptsetup.target
2010 %{systemdunitdir}/sysinit.target.wants/integritysetup.target
2011 %{systemdunitdir}/sysinit.target.wants/veritysetup.target
2012 %endif
2013 %{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount
2014 %{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount
2015 %{systemdunitdir}/sysinit.target.wants/kmod-static-nodes.service
2016 %{systemdunitdir}/sysinit.target.wants/ldconfig.service
2017 %{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
2018 %{systemdunitdir}/sysinit.target.wants/sys-fs-fuse-connections.mount
2019 %{systemdunitdir}/sysinit.target.wants/sys-kernel-debug.mount
2020 %{systemdunitdir}/sysinit.target.wants/sys-kernel-tracing.mount
2021 %{systemdunitdir}/sysinit.target.wants/systemd-ask-password-console.path
2022 %{systemdunitdir}/sysinit.target.wants/systemd-binfmt.service
2023 %{?with_efi:%{systemdunitdir}/sysinit.target.wants/systemd-boot-system-token.service}
2024 %{systemdunitdir}/sysinit.target.wants/systemd-firstboot.service
2025 %{systemdunitdir}/sysinit.target.wants/systemd-hwdb-update.service
2026 %{systemdunitdir}/sysinit.target.wants/systemd-journal-catalog-update.service
2027 %{systemdunitdir}/sysinit.target.wants/systemd-journald.service
2028 %{systemdunitdir}/sysinit.target.wants/systemd-journal-flush.service
2029 %{systemdunitdir}/sysinit.target.wants/systemd-machine-id-commit.service
2030 %{systemdunitdir}/sysinit.target.wants/systemd-modules-load.service
2031 %{systemdunitdir}/sysinit.target.wants/systemd-random-seed.service
2032 %{systemdunitdir}/sysinit.target.wants/systemd-sysctl.service
2033 %{systemdunitdir}/sysinit.target.wants/systemd-sysusers.service
2034 %{systemdunitdir}/sysinit.target.wants/systemd-tmpfiles-setup-dev.service
2035 %{systemdunitdir}/sysinit.target.wants/systemd-tmpfiles-setup.service
2036 %{systemdunitdir}/sysinit.target.wants/systemd-udevd.service
2037 %{systemdunitdir}/sysinit.target.wants/systemd-udev-trigger.service
2038 %{systemdunitdir}/sysinit.target.wants/systemd-update-done.service
2039 %{systemdunitdir}/sysinit.target.wants/systemd-update-utmp.service
2040 %{systemdunitdir}/timers.target.wants/systemd-tmpfiles-clean.timer
2041 %dir %{systemduserunitdir}/sockets.target.wants
2042 %{systemduserunitdir}/graphical-session-pre.target
2043 %{systemduserunitdir}/graphical-session.target
2044 %{_mandir}/man5/user@.service.5*
2045 %{_mandir}/man5/user-runtime-dir@.service.5*
2046 %{_mandir}/man8/30-systemd-environment-d-generator.8*
2047 %{_mandir}/man8/systemd-environment-d-generator.8*
2048 %{_mandir}/man8/systemd-ask-password-console.path.8*
2049 %{_mandir}/man8/systemd-ask-password-console.service.8*
2050 %{_mandir}/man8/systemd-ask-password-wall.path.8*
2051 %{_mandir}/man8/systemd-ask-password-wall.service.8*
2052 %{_mandir}/man8/systemd-backlight@.service.8*
2053 %{_mandir}/man8/systemd-binfmt.service.8*
2054 %{?with_efi:%{_mandir}/man8/systemd-bless-boot.service.8*}
2055 %{_mandir}/man8/systemd-boot-check-no-failures.service.8*
2056 %{?with_efi:%{_mandir}/man8/systemd-boot-system-token.service.8*}
2057 %{_mandir}/man8/systemd-coredump.socket.8*
2058 %{_mandir}/man8/systemd-coredump@.service.8*
2059 %if %{with cryptsetup}
2060 %{_mandir}/man8/systemd-cryptsetup.8*
2061 %{_mandir}/man8/systemd-cryptsetup@.service.8*
2062 %{_mandir}/man8/systemd-integritysetup.8*
2063 %{_mandir}/man8/systemd-integritysetup@.service.8*
2064 %endif
2065 %{_mandir}/man8/systemd-fsck-root.service.8*
2066 %{_mandir}/man8/systemd-fsck@.service.8*
2067 %{_mandir}/man8/systemd-halt.service.8*
2068 %{_mandir}/man8/systemd-hibernate.service.8*
2069 %{_mandir}/man8/systemd-hostnamed.service.8*
2070 %{_mandir}/man8/systemd-hybrid-sleep.service.8*
2071 %{_mandir}/man8/systemd-initctl.service.8*
2072 %{_mandir}/man8/systemd-initctl.socket.8*
2073 %{_mandir}/man8/systemd-journald.service.8*
2074 %{_mandir}/man8/systemd-journald.socket.8*
2075 %{_mandir}/man8/systemd-journald-audit.socket.8*
2076 %{_mandir}/man8/systemd-kexec.service.8*
2077 %{_mandir}/man8/systemd-localed.service.8*
2078 %{_mandir}/man8/systemd-logind.service.8*
2079 %{_mandir}/man8/systemd-modules-load.service.8*
2080 %{_mandir}/man8/systemd-poweroff.service.8*
2081 %{_mandir}/man8/systemd-quotacheck.service.8*
2082 %{_mandir}/man8/systemd-random-seed.service.8*
2083 %{_mandir}/man8/systemd-reboot.service.8*
2084 %{_mandir}/man8/systemd-remount-fs.service.8*
2085 %{_mandir}/man8/systemd-rfkill.socket.8*
2086 %{_mandir}/man8/systemd-suspend.service.8*
2087 %{_mandir}/man8/systemd-suspend-then-hibernate.service.8*
2088 %{_mandir}/man8/systemd-sysctl.service.8*
2089 %{_mandir}/man8/systemd-sysext.service.8*
2090 %{_mandir}/man8/systemd-time-wait-sync.service.8*
2091 %{_mandir}/man8/systemd-timedated.service.8*
2092 %{_mandir}/man8/systemd-tmpfiles-clean.service.8*
2093 %{_mandir}/man8/systemd-tmpfiles-clean.timer.8*
2094 %{_mandir}/man8/systemd-tmpfiles-setup.service.8*
2095 %{_mandir}/man8/systemd-tmpfiles-setup-dev.service.8*
2096 %{_mandir}/man8/systemd-udev-settle.service.8*
2097 %{_mandir}/man8/systemd-udevd.service.8*
2098 %{_mandir}/man8/systemd-udevd-control.socket.8*
2099 %{_mandir}/man8/systemd-udevd-kernel.socket.8*
2100 %{_mandir}/man8/systemd-update-utmp-runlevel.service.8*
2101 %{_mandir}/man8/systemd-update-utmp.service.8*
2102 %{_mandir}/man8/systemd-user-sessions.service.8*
2103 %{_mandir}/man8/systemd-userdbd.service.8*
2104 %{_mandir}/man8/systemd-vconsole-setup.service.8*
2105
2106 %files tools
2107 %defattr(644,root,root,755)
2108 %attr(755,root,root) %{_bindir}/systemd-cgls
2109 %attr(755,root,root) %{_bindir}/systemd-cgtop
2110 %{_mandir}/man1/systemd-cgls.1*
2111 %{_mandir}/man1/systemd-cgtop.1*
2112
2113 %files container
2114 %defattr(644,root,root,755)
2115 %attr(755,root,root) /bin/machinectl
2116 /lib/systemd/import-pubring.gpg
2117 %attr(755,root,root) /lib/systemd/systemd-export
2118 %attr(755,root,root) /lib/systemd/systemd-import
2119 %attr(755,root,root) /lib/systemd/systemd-import-fs
2120 %attr(755,root,root) /lib/systemd/systemd-machined
2121 %attr(755,root,root) /lib/systemd/systemd-pull
2122 %attr(755,root,root) /lib/systemd/systemd-importd
2123 %attr(755,root,root) %{_bindir}/systemd-dissect
2124 %{_datadir}/dbus-1/system-services/org.freedesktop.import1.service
2125 %{_datadir}/dbus-1/system-services/org.freedesktop.machine1.service
2126 %{_datadir}/dbus-1/interfaces/org.freedesktop.import1.*.xml
2127 %{_datadir}/dbus-1/interfaces/org.freedesktop.machine1.*.xml
2128 %{_datadir}/dbus-1/system.d/org.freedesktop.import1.conf
2129 %{_datadir}/dbus-1/system.d/org.freedesktop.machine1.conf
2130 %{_datadir}/polkit-1/actions/org.freedesktop.import1.policy
2131 %{_datadir}/polkit-1/actions/org.freedesktop.machine1.policy
2132 %{_mandir}/man1/machinectl.1*
2133 %{_mandir}/man5/org.freedesktop.import1.5*
2134 %{_mandir}/man5/org.freedesktop.machine1.5*
2135 %{_mandir}/man8/systemd-importd.8*
2136 %{_mandir}/man8/systemd-importd.service.8*
2137 %{_mandir}/man8/systemd-machined.8*
2138 %{_mandir}/man8/systemd-machined.service.8*
2139 %{systemdunitdir}/dbus-org.freedesktop.import1.service
2140 %{systemdunitdir}/dbus-org.freedesktop.machine1.service
2141 %{systemdunitdir}/machines.target
2142 %dir %{systemdunitdir}/machines.target.wants
2143 %{systemdunitdir}/machines.target.wants/var-lib-machines.mount
2144 %{systemdunitdir}/remote-fs.target.wants/var-lib-machines.mount
2145 %{systemdunitdir}/var-lib-machines.mount
2146 %{systemdunitdir}/systemd-importd.service
2147 %{systemdunitdir}/systemd-machined.service
2148
2149 %if %{with microhttpd}
2150 %files journal-remote
2151 %defattr(644,root,root,755)
2152 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journal-remote.conf
2153 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journal-upload.conf
2154 %{systemdunitdir}/systemd-journal-gatewayd.service
2155 %{systemdunitdir}/systemd-journal-gatewayd.socket
2156 %{systemdunitdir}/systemd-journal-remote.service
2157 %{systemdunitdir}/systemd-journal-upload.service
2158 %{systemdunitdir}/systemd-journal-remote.socket
2159 %attr(755,root,root) /lib/systemd/systemd-journal-gatewayd
2160 %attr(755,root,root) /lib/systemd/systemd-journal-remote
2161 %attr(755,root,root) /lib/systemd/systemd-journal-upload
2162 %{_datadir}/systemd/gatewayd
2163 %{_mandir}/man5/journal-remote.conf.5*
2164 %{_mandir}/man5/journal-remote.conf.d.5*
2165 %{_mandir}/man5/journal-upload.conf.5.*
2166 %{_mandir}/man5/journal-upload.conf.d.5*
2167 %{_mandir}/man8/systemd-journal-gatewayd.8*
2168 %{_mandir}/man8/systemd-journal-gatewayd.service.8*
2169 %{_mandir}/man8/systemd-journal-gatewayd.socket.8*
2170 %{_mandir}/man8/systemd-journal-remote.8*
2171 %{_mandir}/man8/systemd-journal-upload.8*
2172 %{_mandir}/man8/systemd-journal-remote.service.8*
2173 %{_mandir}/man8/systemd-journal-remote.socket.8*
2174 %{_mandir}/man8/systemd-journal-upload.service.8*
2175 %endif
2176
2177 %files homed
2178 %defattr(644,root,root,755)
2179 %attr(755,root,root) /bin/homectl
2180 %attr(755,root,root) /lib/systemd/systemd-homed
2181 %attr(755,root,root) /lib/systemd/systemd-homework
2182 %attr(755,root,root) /%{_lib}/security/pam_systemd_home.so
2183 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/homed.conf
2184 %{systemdunitdir}/systemd-homed.service
2185 %{systemdunitdir}/systemd-homed-activate.service
2186 %{_datadir}/dbus-1/interfaces/org.freedesktop.home1.*.xml
2187 %{_datadir}/dbus-1/system-services/org.freedesktop.home1.service
2188 %{_datadir}/dbus-1/system.d/org.freedesktop.home1.conf
2189 %{_datadir}/polkit-1/actions/org.freedesktop.home1.policy
2190 %{_mandir}/man1/homectl.1*
2191 %{_mandir}/man5/homed.conf.5*
2192 %{_mandir}/man5/homed.conf.d.5*
2193 %{_mandir}/man5/org.freedesktop.home1.5*
2194 %{_mandir}/man8/pam_systemd_home.8*
2195 %{_mandir}/man8/systemd-homed.8*
2196 %{_mandir}/man8/systemd-homed.service.8*
2197
2198 %files networkd
2199 %defattr(644,root,root,755)
2200 %{_datadir}/dbus-1/interfaces/org.freedesktop.network1.*.xml
2201 %{_datadir}/dbus-1/system.d/org.freedesktop.network1.conf
2202 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/networkd.conf
2203 %dir %{_sysconfdir}/systemd/network
2204 %{_prefix}/lib/tmpfiles.d/systemd-network.conf
2205 /lib/systemd/network/80-6rd-tunnel.network
2206 /lib/systemd/network/80-container-host0.network
2207 /lib/systemd/network/80-container-ve.network
2208 /lib/systemd/network/80-container-vz.network
2209 /lib/systemd/network/80-vm-vt.network
2210 /lib/systemd/network/80-wifi-adhoc.network
2211 %{_prefix}/lib/sysusers.d/systemd-network.conf
2212 %{systemdunitdir}/systemd-network-generator.service
2213 %{systemdunitdir}/systemd-networkd-wait-online.service
2214 %{systemdunitdir}/systemd-networkd-wait-online@.service
2215 %{systemdunitdir}/systemd-networkd.service
2216 %{systemdunitdir}/systemd-networkd.socket
2217 %{_datadir}/dbus-1/system-services/org.freedesktop.network1.service
2218 %{_datadir}/polkit-1/actions/org.freedesktop.network1.policy
2219 %attr(755,root,root) /bin/networkctl
2220 %attr(755,root,root) /lib/systemd/systemd-network-generator
2221 %attr(755,root,root) /lib/systemd/systemd-networkd
2222 %attr(755,root,root) /lib/systemd/systemd-networkd-wait-online
2223 %{_mandir}/man1/networkctl.1*
2224 %{_mandir}/man5/networkd.conf.5*
2225 %{_mandir}/man5/networkd.conf.d.5*
2226 %{_mandir}/man5/org.freedesktop.network1.5*
2227 %{_mandir}/man7/systemd.net-naming-scheme.7*
2228 %{_mandir}/man8/systemd-network-generator.8*
2229 %{_mandir}/man8/systemd-network-generator.service.8*
2230 %{_mandir}/man8/systemd-networkd-wait-online.8*
2231 %{_mandir}/man8/systemd-networkd-wait-online.service.8*
2232 %{_mandir}/man8/systemd-networkd-wait-online@.service.8*
2233 %{_mandir}/man8/systemd-networkd.8*
2234 %{_mandir}/man8/systemd-networkd.service.8*
2235
2236 %files oomd
2237 %defattr(644,root,root,755)
2238 %attr(755,root,root) %{_bindir}/oomctl
2239 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/oomd.conf
2240 %attr(755,root,root) /lib/systemd/systemd-oomd
2241 %{_prefix}/lib/sysusers.d/systemd-oom.conf
2242 %{systemdunitdir}/systemd-oomd.service
2243 %{systemdunitdir}/systemd-oomd.socket
2244 %{_datadir}/dbus-1/interfaces/org.freedesktop.oom1.*.xml
2245 %{_datadir}/dbus-1/system-services/org.freedesktop.oom1.service
2246 %{_datadir}/dbus-1/system.d/org.freedesktop.oom1.conf
2247 %{_mandir}/man1/oomctl.1*
2248 %{_mandir}/man5/oomd.conf.5*
2249 %{_mandir}/man5/oomd.conf.d.5*
2250 %{_mandir}/man5/org.freedesktop.oom1.5*
2251 %{_mandir}/man8/systemd-oomd.8*
2252 %{_mandir}/man8/systemd-oomd.service.8*
2253
2254 %files portabled
2255 %defattr(644,root,root,755)
2256 %doc docs/PORTABLE_SERVICES.md
2257 %attr(755,root,root) /bin/portablectl
2258 %attr(755,root,root) /lib/systemd/systemd-portabled
2259 %{systemdunitdir}/dbus-org.freedesktop.portable1.service
2260 %{systemdunitdir}/systemd-portabled.service
2261 %dir /lib/systemd/portable
2262 %dir /lib/systemd/portable/profile
2263 %dir /lib/systemd/portable/profile/default
2264 /lib/systemd/portable/profile/default/service.conf
2265 %dir /lib/systemd/portable/profile/nonetwork
2266 /lib/systemd/portable/profile/nonetwork/service.conf
2267 %dir /lib/systemd/portable/profile/strict
2268 /lib/systemd/portable/profile/strict/service.conf
2269 %dir /lib/systemd/portable/profile/trusted
2270 /lib/systemd/portable/profile/trusted/service.conf
2271 %{systemdtmpfilesdir}/portables.conf
2272 %{_datadir}/dbus-1/interfaces/org.freedesktop.portable1.*.xml
2273 %{_datadir}/dbus-1/system-services/org.freedesktop.portable1.service
2274 %{_datadir}/dbus-1/system.d/org.freedesktop.portable1.conf
2275 %{_datadir}/polkit-1/actions/org.freedesktop.portable1.policy
2276 %{_mandir}/man1/portablectl.1*
2277 %{_mandir}/man5/org.freedesktop.portable1.5*
2278 %{_mandir}/man8/systemd-portabled.8*
2279 %{_mandir}/man8/systemd-portabled.service.8*
2280
2281 %files repart
2282 %defattr(644,root,root,755)
2283 %dir %{_sysconfdir}/repart.d
2284 %attr(755,root,root) /bin/systemd-repart
2285 %{systemdunitdir}/systemd-repart.service
2286 %{systemdunitdir}/initrd-root-fs.target.wants/systemd-repart.service
2287 %{systemdunitdir}/sysinit.target.wants/systemd-repart.service
2288 %dir %{_prefix}/lib/repart.d
2289 %{_mandir}/man5/repart.d.5*
2290 %{_mandir}/man8/systemd-repart.8*
2291 %{_mandir}/man8/systemd-repart.service.8*
2292
2293 %files resolved
2294 %defattr(644,root,root,755)
2295 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/resolved.conf
2296 %{_prefix}/lib/sysusers.d/systemd-resolve.conf
2297 %{_prefix}/lib/tmpfiles.d/systemd-resolve.conf
2298 %{_datadir}/dbus-1/interfaces/org.freedesktop.resolve1.*.xml
2299 %{_datadir}/dbus-1/system.d/org.freedesktop.resolve1.conf
2300 %{_datadir}/dbus-1/system-services/org.freedesktop.resolve1.service
2301 %{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy
2302 %{systemdunitdir}/systemd-resolved.service
2303 %attr(755,root,root) /sbin/resolvconf
2304 %attr(755,root,root) %{_bindir}/resolvectl
2305 %attr(755,root,root) /lib/systemd/systemd-resolved
2306 %{_mandir}/man1/resolvconf.1*
2307 %{_mandir}/man1/resolvectl.1*
2308 %{_mandir}/man5/org.freedesktop.resolve1.5*
2309 %{_mandir}/man5/resolved.conf.5*
2310 %{_mandir}/man5/resolved.conf.d.5*
2311 %{_mandir}/man8/systemd-resolved.8*
2312 %{_mandir}/man8/systemd-resolved.service.8*
2313
2314 %files sysupdate
2315 %defattr(644,root,root,755)
2316 %dir %{_sysconfdir}/sysupdate.d
2317 %{systemdunitdir}/systemd-sysupdate.service
2318 %{systemdunitdir}/systemd-sysupdate.timer
2319 %{systemdunitdir}/systemd-sysupdate-reboot.service
2320 %{systemdunitdir}/systemd-sysupdate-reboot.timer
2321 %attr(755,root,root) /lib/systemd/systemd-sysupdate
2322 %dir %{_prefix}/lib/sysupdate.d
2323 %{_mandir}/man5/sysupdate.d.5*
2324 %{_mandir}/man8/systemd-sysupdate.8*
2325 %{_mandir}/man8/systemd-sysupdate.service.8*
2326 %{_mandir}/man8/systemd-sysupdate.timer.8*
2327 %{_mandir}/man8/systemd-sysupdate-reboot.service.8*
2328 %{_mandir}/man8/systemd-sysupdate-reboot.timer.8*
2329
2330 %files inetd
2331 %defattr(644,root,root,755)
2332 %attr(755,root,root) %{systemdunitdir}-generators/pld-rc-inetd-generator
2333 %{systemdunitdir}/rc-inetd.service
2334
2335 %files analyze
2336 %defattr(644,root,root,755)
2337 %attr(755,root,root) %{_bindir}/systemd-analyze
2338 %{_mandir}/man1/systemd-analyze.1*
2339
2340 %files libs
2341 %defattr(644,root,root,755)
2342 %attr(755,root,root) /%{_lib}/libnss_myhostname.so.2
2343 %attr(755,root,root) /%{_lib}/libnss_mymachines.so.2
2344 %attr(755,root,root) /%{_lib}/libnss_resolve.so.2
2345 %attr(755,root,root) /%{_lib}/libnss_systemd.so.2
2346 %attr(755,root,root) /%{_lib}/libsystemd.so.*.*.*
2347 %attr(755,root,root) %ghost /%{_lib}/libsystemd.so.0
2348 %attr(755,root,root) /lib/systemd/libsystemd-core*.so
2349 %attr(755,root,root) /lib/systemd/libsystemd-shared*.so
2350 %{_mandir}/man8/libnss_resolve.so.2.8*
2351 %{_mandir}/man8/libnss_systemd.so.2.8*
2352 %{_mandir}/man8/nss-resolve.8*
2353 %{_mandir}/man8/nss-systemd.8*
2354
2355 %files devel
2356 %defattr(644,root,root,755)
2357 %attr(755,root,root) /%{_lib}/libsystemd.so
2358 %{_includedir}/%{name}
2359 %{_pkgconfigdir}/libsystemd.pc
2360 %{_npkgconfigdir}/systemd.pc
2361 %{_mandir}/man3/SD_*.3*
2362 %{_mandir}/man3/sd*.3*
2363
2364 %files -n bash-completion-systemd
2365 %defattr(644,root,root,755)
2366 %{bash_compdir}/bootctl
2367 %{bash_compdir}/busctl
2368 %{bash_compdir}/coredumpctl
2369 %{bash_compdir}/homectl
2370 %{bash_compdir}/hostnamectl
2371 %{bash_compdir}/journalctl
2372 %{bash_compdir}/kernel-install
2373 %{bash_compdir}/localectl
2374 %{bash_compdir}/loginctl
2375 %{bash_compdir}/machinectl
2376 %{bash_compdir}/networkctl
2377 %{bash_compdir}/oomctl
2378 %{bash_compdir}/portablectl
2379 %{bash_compdir}/resolvectl
2380 %{bash_compdir}/systemctl
2381 %{bash_compdir}/systemd-analyze
2382 %{bash_compdir}/systemd-cat
2383 %{bash_compdir}/systemd-cgls
2384 %{bash_compdir}/systemd-cgtop
2385 %{bash_compdir}/systemd-delta
2386 %{bash_compdir}/systemd-detect-virt
2387 %{bash_compdir}/systemd-id128
2388 %{bash_compdir}/systemd-nspawn
2389 %{bash_compdir}/systemd-path
2390 %{bash_compdir}/systemd-resolve
2391 %{bash_compdir}/systemd-run
2392 %{bash_compdir}/timedatectl
2393
2394 %files -n zsh-completion-systemd
2395 %defattr(644,root,root,755)
2396 %{zsh_compdir}/_bootctl
2397 %{zsh_compdir}/_busctl
2398 %{zsh_compdir}/_coredumpctl
2399 %{zsh_compdir}/_hostnamectl
2400 %{zsh_compdir}/_journalctl
2401 %{zsh_compdir}/_kernel-install
2402 %{zsh_compdir}/_localectl
2403 %{zsh_compdir}/_loginctl
2404 %{zsh_compdir}/_machinectl
2405 %{zsh_compdir}/_networkctl
2406 %{zsh_compdir}/_oomctl
2407 %{zsh_compdir}/_resolvectl
2408 %{zsh_compdir}/_sd_hosts_or_user_at_host
2409 %{zsh_compdir}/_sd_machines
2410 %{zsh_compdir}/_sd_outputmodes
2411 %{zsh_compdir}/_sd_unit_files
2412 %{zsh_compdir}/_systemctl
2413 %{zsh_compdir}/_systemd
2414 %{zsh_compdir}/_systemd-analyze
2415 %{zsh_compdir}/_systemd-delta
2416 %{zsh_compdir}/_systemd-inhibit
2417 %{zsh_compdir}/_systemd-nspawn
2418 %{zsh_compdir}/_systemd-path
2419 %{zsh_compdir}/_systemd-run
2420 %{zsh_compdir}/_systemd-tmpfiles
2421 %{zsh_compdir}/_timedatectl
2422
2423 %files -n udev
2424 %defattr(644,root,root,755)
2425 %dev(c,1,3) %attr(666,root,root) /dev/null
2426 %dev(c,5,1) %attr(660,root,console) /dev/console
2427 %dev(c,1,5) %attr(666,root,root) /dev/zero
2428
2429 %files -n udev-core
2430 %defattr(644,root,root,755)
2431
2432 %{_prefix}/lib/udev
2433
2434 %attr(755,root,root) /lib/udev/net_helper
2435
2436 %attr(755,root,root) /lib/udev/ata_id
2437 %attr(755,root,root) /lib/udev/cdrom_id
2438 %attr(755,root,root) /lib/udev/dmi_memory_id
2439 %attr(755,root,root) /lib/udev/fido_id
2440 %attr(755,root,root) /lib/udev/mtd_probe
2441 %attr(755,root,root) /lib/udev/scsi_id
2442 %attr(755,root,root) /lib/udev/v4l_id
2443
2444 %attr(755,root,root) /lib/udev/udevd
2445
2446 /lib/udev/hwdb.d/20-acpi-vendor.hwdb
2447 /lib/udev/hwdb.d/20-bluetooth-vendor-product.hwdb
2448 /lib/udev/hwdb.d/20-dmi-id.hwdb
2449 /lib/udev/hwdb.d/20-net-ifname.hwdb
2450 /lib/udev/hwdb.d/20-OUI.hwdb
2451 /lib/udev/hwdb.d/20-pci-classes.hwdb
2452 /lib/udev/hwdb.d/20-pci-vendor-model.hwdb
2453 /lib/udev/hwdb.d/20-sdio-classes.hwdb
2454 /lib/udev/hwdb.d/20-sdio-vendor-model.hwdb
2455 /lib/udev/hwdb.d/20-usb-classes.hwdb
2456 /lib/udev/hwdb.d/20-usb-vendor-model.hwdb
2457 /lib/udev/hwdb.d/20-vmbus-class.hwdb
2458 /lib/udev/hwdb.d/60-autosuspend-chromiumos.hwdb
2459 /lib/udev/hwdb.d/60-autosuspend-fingerprint-reader.hwdb
2460 /lib/udev/hwdb.d/60-autosuspend.hwdb
2461 /lib/udev/hwdb.d/60-evdev.hwdb
2462 /lib/udev/hwdb.d/60-input-id.hwdb
2463 /lib/udev/hwdb.d/60-keyboard.hwdb
2464 /lib/udev/hwdb.d/60-seat.hwdb
2465 /lib/udev/hwdb.d/60-sensor.hwdb
2466 /lib/udev/hwdb.d/70-analyzers.hwdb
2467 /lib/udev/hwdb.d/70-av-production.hwdb
2468 /lib/udev/hwdb.d/70-cameras.hwdb
2469 /lib/udev/hwdb.d/70-joystick.hwdb
2470 /lib/udev/hwdb.d/70-mouse.hwdb
2471 /lib/udev/hwdb.d/70-pda.hwdb
2472 /lib/udev/hwdb.d/70-pointingstick.hwdb
2473 /lib/udev/hwdb.d/70-touchpad.hwdb
2474 /lib/udev/hwdb.d/80-ieee1394-unit-function.hwdb
2475
2476 %attr(755,root,root) %{_rootsbindir}/start_udev
2477 %attr(755,root,root) %{_rootsbindir}/udevd
2478 %attr(755,root,root) %{_rootsbindir}/udevadm
2479 %attr(755,root,root) /bin/systemd-hwdb
2480 %attr(755,root,root) /bin/udevadm
2481
2482 %dir %{_sysconfdir}/udev
2483 %dir %{_sysconfdir}/udev/rules.d
2484 %dir %{_sysconfdir}/udev/hwdb.d
2485 %ghost %{_sysconfdir}/udev/hwdb.bin
2486
2487 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
2488 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/udev_blacklist.conf
2489 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/links.conf
2490 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
2491 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules
2492 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-uinput.rules
2493 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-steam_controller.rules
2494 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-i2c.rules
2495 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/80-net-setup-link.rules
2496
2497 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf
2498
2499 # rules below are NOT supposed to be changed by users
2500 /lib/udev/rules.d/50-udev-default.rules
2501 /lib/udev/rules.d/60-autosuspend.rules
2502 /lib/udev/rules.d/60-block.rules
2503 /lib/udev/rules.d/60-cdrom_id.rules
2504 /lib/udev/rules.d/60-drm.rules
2505 /lib/udev/rules.d/60-evdev.rules
2506 /lib/udev/rules.d/60-fido-id.rules
2507 /lib/udev/rules.d/60-input-id.rules
2508 /lib/udev/rules.d/60-persistent-alsa.rules
2509 /lib/udev/rules.d/60-persistent-input.rules
2510 /lib/udev/rules.d/60-persistent-storage.rules
2511 /lib/udev/rules.d/60-persistent-storage-tape.rules
2512 /lib/udev/rules.d/60-persistent-v4l.rules
2513 /lib/udev/rules.d/60-sensor.rules
2514 /lib/udev/rules.d/60-serial.rules
2515 /lib/udev/rules.d/64-btrfs.rules
2516 /lib/udev/rules.d/70-camera.rules
2517 /lib/udev/rules.d/70-joystick.rules
2518 /lib/udev/rules.d/70-memory.rules
2519 /lib/udev/rules.d/70-mouse.rules
2520 /lib/udev/rules.d/70-power-switch.rules
2521 /lib/udev/rules.d/70-touchpad.rules
2522 /lib/udev/rules.d/70-uaccess.rules
2523 /lib/udev/rules.d/71-seat.rules
2524 /lib/udev/rules.d/73-seat-late.rules
2525 /lib/udev/rules.d/75-net-description.rules
2526 /lib/udev/rules.d/75-probe_mtd.rules
2527 /lib/udev/rules.d/78-sound-card.rules
2528 /lib/udev/rules.d/80-drivers.rules
2529 /lib/udev/rules.d/80-net-setup-link.rules
2530 /lib/udev/rules.d/81-net-dhcp.rules
2531 /lib/udev/rules.d/90-vconsole.rules
2532
2533 %{_mandir}/man5/udev.conf.5*
2534 %{_mandir}/man7/udev.7*
2535 %{_mandir}/man7/hwdb.7*
2536 %{_mandir}/man8/systemd-hwdb.8*
2537 %{_mandir}/man8/udevadm.8*
2538 %{_mandir}/man8/udevd.8*
2539
2540 %files -n udev-libs
2541 %defattr(644,root,root,755)
2542 %attr(755,root,root) /%{_lib}/libudev.so.*.*.*
2543 %attr(755,root,root) %ghost /%{_lib}/libudev.so.1
2544
2545 %files -n udev-devel
2546 %defattr(644,root,root,755)
2547 %attr(755,root,root) /%{_lib}/libudev.so
2548 %{_includedir}/libudev.h
2549 %{_pkgconfigdir}/libudev.pc
2550 %{_npkgconfigdir}/udev.pc
2551 %{_mandir}/man3/libudev.3*
2552 %{_mandir}/man3/udev_*.3*
2553
2554 %files -n bash-completion-udev
2555 %defattr(644,root,root,755)
2556 %{bash_compdir}/udevadm
2557
2558 %files -n zsh-completion-udev
2559 %defattr(644,root,root,755)
2560 %{zsh_compdir}/_udevadm
2561
2562 %files -n rpm-macros-systemd
2563 %defattr(644,root,root,755)
2564 /usr/lib/rpm/macros.d/macros.systemd
This page took 0.368638 seconds and 3 git commands to generate.