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