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