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