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