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