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