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