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