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