2 # - pldize vconsole setup:
3 # http://cgit.freedesktop.org/systemd/systemd/tree/src/vconsole/vconsole-setup.c
4 # - initrd needs love (does not build and is probably completly unusable in current form)
5 # - merge rpm macros provided by systemd with ours
10 %bcond_without audit # without audit support
11 %bcond_without cryptsetup # without cryptsetup support
12 %bcond_without microhttpd # microhttpd support
13 %bcond_without pam # PAM authentication support
14 %bcond_without qrencode # QRencode support
15 %bcond_without selinux # without SELinux support
16 %bcond_without tcpd # libwrap (tcp_wrappers) support
18 %bcond_with initrd # build without udev-initrd
19 %bcond_with uClibc # link initrd version with static uClibc
20 %bcond_with klibc # link initrd version with static klibc
21 %bcond_with dietlibc # link initrd version with static dietlibc (currently broken and unsupported)
22 %bcond_without glibc # link initrd version with static glibc
28 # if one of the *libc is enabled disable default uClibc
29 %if %{with dietlibc} && %{with uClibc}
33 %if %{with glibc} && %{with uClibc}
37 %if %{with klibc} && %{with uClibc}
41 Summary: A System and Service Manager
42 Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa
44 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
50 Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
51 # Source0-md5: 26a75e2a310f8c1c1ea9ec26ddb171c5
52 Source1: %{name}-sysv-convert
53 Source2: %{name}_booted.c
54 Source3: network.service
55 Source4: var-lock.mount
56 Source5: var-run.mount
57 Source10: pld-storage-init-late.service
58 Source11: pld-storage-init.service
59 Source12: pld-wait-storage.service
60 Source13: pld-storage-init.sh
61 Source14: pld-clean-tmp.service
62 Source15: pld-clean-tmp.sh
63 Source16: pld-rc-inetd-generator.sh
64 Source17: rc-inetd.service
65 Source18: default.preset
66 Source19: prefdm.service
68 Source101: udev-alsa.rules
70 Source103: udev-links.conf
72 Source110: udev-net.helper
75 Source120: udev.blacklist
76 Source121: fbdev.blacklist
77 Patch0: target-pld.patch
78 Patch1: config-pld.patch
79 Patch2: shut-sysv-up.patch
80 Patch3: pld-sysv-network.patch
81 Patch4: tmpfiles-not-fatal.patch
83 Patch7: udev-uClibc.patch
84 Patch8: udev-ploop-rules.patch
85 Patch9: udevadm-in-sbin.patch
86 Patch10: net-rename-revert.patch
87 Patch11: nss-in-rootlib.patch
88 # hack set to allow static udev build
89 Patch100: static-udev.patch
90 URL: http://www.freedesktop.org/wiki/Software/systemd
91 BuildRequires: acl-devel
92 %{?with_audit:BuildRequires: audit-libs-devel}
93 BuildRequires: autoconf >= 2.64
94 BuildRequires: automake >= 1:1.11
95 BuildRequires: binutils >= 3:2.22.52.0.1-2
96 %{?with_cryptsetup:BuildRequires: cryptsetup-devel >= 1.4.3}
97 BuildRequires: dbus-devel >= 1.3.2
98 BuildRequires: docbook-style-xsl
99 BuildRequires: glib2-devel >= 1:2.22.0
100 BuildRequires: glibc-misc
101 BuildRequires: gobject-introspection-devel >= 1.31.1
103 BuildRequires: gtk-doc >= 1.18
104 BuildRequires: intltool >= 0.40.0
105 BuildRequires: kmod-devel >= 5
106 BuildRequires: libblkid-devel >= 2.20
107 BuildRequires: libcap-devel
108 BuildRequires: libgcrypt-devel >= 1.4.5
109 %{?with_microhttpd:BuildRequires: libmicrohttpd-devel >= 0.9.5}
110 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.9}
111 BuildRequires: libtool >= 2:2.2
112 %{?with_tcpd:BuildRequires: libwrap-devel}
113 BuildRequires: libxslt-progs
115 %{?with_pam:BuildRequires: pam-devel}
116 BuildRequires: pkgconfig >= 0.9.0
117 BuildRequires: python-devel
118 BuildRequires: python-modules
119 %{?with_qrencode:BuildRequires: qrencode-devel}
120 BuildRequires: rpm-pythonprov
121 BuildRequires: rpmbuild(macros) >= 1.628
122 BuildRequires: sed >= 4.0
123 BuildRequires: usbutils >= 0.82
124 BuildRequires: xz-devel
125 BuildRequires: zlib-devel
127 BuildRequires: acl-static
128 BuildRequires: attr-static
129 %{?with_dietlibc:BuildRequires: dietlibc-static}
130 BuildRequires: glib2-static >= 1:2.22.0
131 %{?with_glibc:BuildRequires: glibc-static}
132 %{?with_klibc:BuildRequires: klibc-static}
133 BuildRequires: kmod-libs-static >= 5
134 BuildRequires: libblkid-static >= 2.20
135 %{?with_glibc:BuildRequires: libselinux-static >= 2.1.9}
136 %{?with_glibc:BuildRequires: libsepol-static}
137 %{?with_klibc:BuildRequires: linux-libc-headers}
138 BuildRequires: pcre-static
139 %{?with_uClibc:BuildRequires: uClibc-static >= 4:0.9.30.3}
140 BuildRequires: xz-static
141 BuildRequires: zlib-static
143 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
144 Requires: %{name}-units = %{epoch}:%{version}-%{release}
145 Requires(postun): /usr/sbin/groupdel
146 Requires(postun): /usr/sbin/userdel
147 Requires(pre): /bin/id
148 Requires(pre): /usr/bin/getgid
149 Requires(pre): /usr/sbin/groupadd
150 Requires(pre): /usr/sbin/useradd
151 Requires: /etc/os-release
152 Requires: SysVinit-tools
154 %{?with_cryptsetup:Requires: cryptsetup >= 1.4.3}
155 Requires: dbus >= 1.4.16-6
156 Requires: filesystem >= 4.0-3
157 Requires: libutempter
158 Requires: rc-scripts >= 0.4.5.3-7
159 Requires: setup >= 2.8.0-2
160 Requires: udev-core = %{epoch}:%{version}-%{release}
161 Requires: udev-libs = %{epoch}:%{version}-%{release}
162 Requires: virtual(module-tools)
164 Suggests: fsck >= 2.20
166 Suggests: service(klogd)
167 Suggests: service(syslog)
168 Provides: user(systemd-journal-gateway)
169 Provides: group(systemd-journal-gateway)
170 Provides: group(systemd-journal)
171 Provides: udev-acl = %{epoch}:%{version}-%{release}
172 Obsoletes: systemd-no-compat-tmpfiles
173 Obsoletes: udev-systemd
174 # systemd takes care of that and causes problems
175 Conflicts: binfmt-detector
176 # sytemd wants pam with pam_systemd.so in system-auth...
177 Conflicts: pam < 1:1.1.5-5
178 # ...and sudo hates it
179 Conflicts: sudo < 1:1.7.8p2-4
181 Conflicts: xinitrc-ng < 1.0
182 # systemd scripts use options not present in older versions
183 Conflicts: kpartx < 0.4.9-7
184 Conflicts: multipath-tools < 0.4.9-7
185 # no tmpfs on /media, use /run/media/$USER for mounting
186 Conflicts: udisks2 < 1.92.0
187 # packages that have dirs under /var/run and/or /var/lock must provide tmpfiles configs
188 Conflicts: ConsoleKit-dirs < 0.4.5-7
189 Conflicts: NetworkManager < 2:0.9.2.0-3
190 Conflicts: Zope < 2.11.8-2
191 Conflicts: amavisd-new < 1:2.7.0-1
192 Conflicts: apache-base < 2.2.21-4
193 Conflicts: apache-mod_bw < 0.92-3
194 Conflicts: apache-mod_fastcgi < 2.4.6-6
195 Conflicts: apache1-base < 1.3.42-5
196 Conflicts: apache1-mod_fastcgi < 2.4.6-2
197 Conflicts: asterisk < 10.0.1-2
198 Conflicts: autossh-init < 1.4b-3
199 Conflicts: balance < 3.54-2
200 Conflicts: bind < 7:9.8.1.P1-4
201 Conflicts: bopm < 3.1.3-4
202 Conflicts: callweaver < 1.2.1-9
203 Conflicts: cassandra-bin < 0.8.9-2
204 Conflicts: clamav < 0.97.3-3
205 Conflicts: cups < 1:1.5.0-10
206 Conflicts: dovecot < 1:2.0.16-3
207 Conflicts: dspam < 3.9.0-6
208 Conflicts: fail2ban < 0.8.4-4
209 Conflicts: gammu-smsd < 1:1.31.0-3
210 # Break gdm2.20 installs
211 #Conflicts: gdm < 2:3.2.1.1-9
212 Conflicts: greylistd < 0.8.8-2
213 Conflicts: inn < 2.4.6-7
214 Conflicts: ipsec-tools < 0.8.0-3
215 Conflicts: jabber-common < 0-9
216 Conflicts: laptop-mode-tools < 1.58-2
217 Conflicts: libgpod < 0.8.0-6
218 Conflicts: libvirt-utils < 0.9.9-4
219 Conflicts: lighttpd < 1.4.30-5
220 Conflicts: lirc < 0.9.0-20
221 Conflicts: mailman < 5:2.1.14-4
222 Conflicts: memcached < 1.4.11-2
223 Conflicts: mpd < 0.16.5-4
224 Conflicts: mrtg < 2.17.0-3
225 Conflicts: munin-common < 1.4.5-5
226 Conflicts: nagios-nrpe < 2.13-2
227 Conflicts: ndisc6-rdnssd < 1.0.1-3
228 Conflicts: nscd < 6:2.14.1-5
229 Conflicts: nss_ldapd-nslcd < 0.8.4-2
230 Conflicts: openct < 0.6.20-3
231 Conflicts: openl2tp < 1.8-3
232 Conflicts: openldap-overlay-nssov < 2.4.28-4
233 Conflicts: openldap-servers < 2.4.28-4
234 Conflicts: openvpn < 2.2.2-2
235 Conflicts: pam-pam_mount < 2.12-3
236 Conflicts: pam-pam_ssh < 1.97-2
237 Conflicts: pcsc-lite < 1.8.1-2
238 Conflicts: php-dirs < 1.2-3
239 Conflicts: policyd < 2.0.10-3
240 Conflicts: pound < 2.6-2
241 Conflicts: pptp < 1.7.2-3
242 Conflicts: proftpd-common < 2:1.3.4a-2
243 Conflicts: pulseaudio-server < 1.1-2
244 Conflicts: quagga < 0.99.20-3
245 Conflicts: radvd < 1.8.5-2
246 Conflicts: red5 < 0.9.0-2
247 Conflicts: redis-server < 2.4.2-4
248 Conflicts: smokeping < 2.4.2-10
249 Conflicts: smtp-gated < 1.4.17-2
250 Conflicts: socat < 1.7.2.0-2
251 Conflicts: speech-dispatcher < 0.7.1-2
252 Conflicts: sphinx < 2.0.3-4
253 Conflicts: splashutils < 1.5.4.3-3
254 Conflicts: stunnel < 4.50-2
255 Conflicts: tenshi < 0.12-2
256 Conflicts: tor < 0.2.2.35-2
257 Conflicts: ucarp < 1.5.2-3
258 Conflicts: udisks < 1.0.4-3
259 Conflicts: util-vserver < 0.30.216-1.pre3002.3
260 Conflicts: vpnc < 0.5.3-2
261 Conflicts: web2ldap < 1.1.0rc1-2
262 Conflicts: wesnoth-server < 1:1.10-2
263 Conflicts: wpa_supplicant < 0.7.3-10
264 Conflicts: xl2tpd < 1.3.0-2
265 # end of tmpfiles conflicts
266 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
268 %define _sbindir /sbin
269 %define _libexecdir %{_prefix}/lib
272 systemd is a system and service manager for Linux, compatible with
273 SysV and LSB init scripts. systemd provides aggressive parallelization
274 capabilities, uses socket and D-Bus activation for starting services,
275 offers on-demand starting of daemons, keeps track of processes using
276 Linux cgroups, supports snapshotting and restoring of the system
277 state, maintains mount and automount points and implements an
278 elaborate transactional dependency-based service control logic. It can
279 work as a drop-in replacement for sysvinit.
281 %description -l pl.UTF-8
282 systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze
283 skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności
284 paralelizacji, do uruchamiania usług używa socketów oraz D-Busa,
285 oferuje uruchamianie usług na życzenie, monitoruje procesy używając
286 linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie
287 (restore) stanu systemu, zarządza (auto)mount pointami oraz
288 implementuje starannie opracowaną transakcjonalną, bazującą na
289 zależnościach logikę kontroli usług. Może pracować jako zastępca dla
293 Summary: systemd /sbin/init and LSB/SysV compatibility symlinks
294 Summary(pl.UTF-8): /sbin/init z systemd i dowiązania dla kompatybilności z LSB/SysV
297 Provides: readahead = 1:1.5.7-3
298 Provides: virtual(init-daemon)
300 Obsoletes: readahead < 1:1.5.7-3
301 Obsoletes: virtual(init-daemon)
305 Install this package when you are ready to final switch to systemd.
307 %description init -l pl.UTF-8
308 Ten pakiet należy zainstalować po przygotowaniu się do ostatecznego
309 przejścia na systemd.
312 Summary: Configuration files, directories and installation tool for systemd
313 Summary(pl.UTF-8): Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla systemd
315 Requires(post): coreutils
316 Requires(post): /bin/awk
319 Basic configuration files, directories and installation tool for the
320 systemd system and service manager.
322 This is common config, use %{_sysconfdir}/systemd/system to override.
324 %description units -l pl.UTF-8
325 Podstawowe pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla
326 zarządcy systemu i usług systemd.
328 Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać
329 poprzez katalog %{_sysconfdir}/systemd/system.
332 Summary: Native inet service support for systemd via socket activation
333 Summary(pl.UTF-8): Natywna obsługa usług inet dla systemd
335 Requires: %{name} = %{epoch}:%{version}-%{release}
339 Obsoletes: inetdaemon
344 Native inet service support for systemd via socket activation.
346 This package contains inet service generator that provides
347 the functionality of rc-inetd service and replaces a separate
348 inet daemon with systemd socket activation feature.
350 %description inetd -l pl.UTF-8
351 Natywna obsługa usług inet dla systemd.
353 Ten pakiet zawiera generator usług inet udostępniający funkcjonalność
354 serwisu rc-inetd i zastępujący osobny demon inet przez systemd i
355 aktywację usług przez gniazda.
358 Summary: Tool for processing systemd profiling information
359 Summary(pl.UTF-8): Narzędzie do przetwarzania informacji profilujących systemd
361 Requires: %{name} = %{epoch}:%{version}-%{release}
362 Requires: python-dbus
363 Requires: python-modules
364 Suggests: python-pycairo
365 Conflicts: systemd < 44-3
368 'systemd-analyze blame' lists which systemd unit needed how much time
369 to finish initialization at boot. 'systemd-analyze plot' renders an
370 SVG visualizing the parallel start of units at boot.
372 %description analyze -l pl.UTF-8
373 'systemd-analyze blame' wypisuje, ile czasu wymagały poszczególne
374 jednostki systemd na zakończenie podczas rozruchu systemu.
375 'systemd-analyze plot' tworzy wykres SVG wizualizujący równoległy
376 start jednostek podczas rozruchu.
379 Summary: Shared systemd libraries
380 Summary(pl.UTF-8): Biblioteki współdzielone systemd
382 Requires: libgcrypt >= 1.4.5
383 %{?with_selinux:Requires: libselinux >= 2.1.9}
384 Obsoletes: nss_myhostname
387 Shared systemd libraries.
389 %description libs -l pl.UTF-8
390 Biblioteki współdzielone systemd.
393 Summary: Header files for systemd libraries
394 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek systemd
395 Group: Development/Libraries
396 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
399 Header files for systemd libraries.
401 %description devel -l pl.UTF-8
402 Pliki nagłówkowe bibliotek systemd.
404 %package -n bash-completion-systemd
405 Summary: bash-completion for systemd
406 Summary(pl.UTF-8): Bashowe dopełnianie składni dla systemd
407 Group: Applications/Shells
408 Requires: %{name} = %{epoch}:%{version}
409 Requires: bash-completion >= 2.0
411 %description -n bash-completion-systemd
412 bash-completion for systemd.
414 %description -n bash-completion-systemd -l pl.UTF-8
415 Bashowe dopełnianie składni dla systemd.
418 Summary: Device manager for the Linux 2.6 kernel series
419 Summary(pl.UTF-8): Zarządca urządzeń dla Linuksa 2.6
421 Requires: udev-core = %{epoch}:%{version}-%{release}
422 Provides: dev = 3.5.0
425 Obsoletes: hotplug-input
426 Obsoletes: hotplug-net
427 Obsoletes: hotplug-pci
429 Obsoletes: udev-extras < 20090628
430 Obsoletes: udev-tools
433 udev is the device manager for the Linux 2.6 kernel series. Its
434 primary function is managing device nodes in /dev. It is the successor
435 of devfs and hotplug.
437 %description -n udev -l pl.UTF-8
438 udev jest zarządcą urządzeń dla Linuksa 2.6. Jego główną funkcją jest
439 zarządzanie węzłami urządzeń w katalogu /dev. Jest następcą devfs i
442 %package -n udev-core
443 Summary: A userspace implementation of devfs - core part of udev
444 Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - główna część udev
446 Requires: udev-libs = %{epoch}:%{version}-%{release}
448 Requires: filesystem >= 3.0-45
449 Requires: kmod-libs >= 5
450 Requires: libblkid >= 2.20
451 %{?with_selinux:Requires: libselinux >= 2.1.9}
452 Requires: setup >= 2.6.1-1
453 Requires: uname(release) >= 2.6.32
454 Conflicts: rc-scripts < 0.4.5.3-1
455 Conflicts: systemd-units < 1:183
456 Conflicts: udev < 1:118-1
457 Obsoletes: udev-compat
458 %{!?with_initrd:Obsoletes: udev-initrd < %{epoch}:%{version}-%{release}}
460 %description -n udev-core
461 A userspace implementation of devfs - core part of udev.
463 %description -n udev-core -l pl.UTF-8
464 Implementacja devfs w przestrzeni użytkownika - główna część udev.
466 %package -n udev-libs
467 Summary: Shared library to access udev device information
468 Summary(pl.UTF-8): Biblioteka współdzielona do dostępu do informacji o urządzeniach udev
471 %description -n udev-libs
472 Shared libudev library to access udev device information.
474 %description -n udev-libs -l pl.UTF-8
475 Biblioteka współdzielona libudev służąca do dostępu do informacji o
478 %package -n udev-devel
479 Summary: Header file for libudev library
480 Summary(pl.UTF-8): Plik nagłówkowy biblioteki libudev
481 Group: Development/Libraries
482 Requires: udev-libs = %{epoch}:%{version}-%{release}
484 %description -n udev-devel
485 Header file for libudev library.
487 %description -n udev-devel -l pl.UTF-8
488 Plik nagłówkowy biblioteki libudev.
490 %package -n udev-static
491 Summary: Static libudev library
492 Summary(pl.UTF-8): Biblioteka statyczna libudev
493 Group: Development/Libraries
494 Requires: udev-devel = %{epoch}:%{version}-%{release}
496 %description -n udev-static
497 Static libudev library.
499 %description -n udev-static -l pl.UTF-8
500 Biblioteka statyczna libudev.
502 %package -n udev-apidocs
503 Summary: libudev API documentation
504 Summary(pl.UTF-8): Dokumentacja API libudev
506 Requires: gtk-doc-common
508 %description -n udev-apidocs
509 libudev API documentation.
511 %description -n udev-apidocs -l pl.UTF-8
512 Dokumentacja API libudev.
514 %package -n udev-glib
515 Summary: Shared libgudev library - GObject bindings for libudev
516 Summary(pl.UTF-8): Biblioteka współdzielona libgudev - wiązania GObject do libudev
518 Requires: udev-libs = %{epoch}:%{version}-%{release}
519 Requires: glib2 >= 1:2.22.0
521 %description -n udev-glib
522 Shared libgudev library - GObject bindings for libudev.
524 %description -n udev-glib -l pl.UTF-8
525 Biblioteka współdzielona libgudev - wiązania GObject do libudev.
527 %package -n udev-glib-devel
528 Summary: Header file for libgudev library
529 Summary(pl.UTF-8): Plik nagłówkowy biblioteki libgudev
530 Group: Development/Libraries
531 Requires: udev-devel = %{epoch}:%{version}-%{release}
532 Requires: udev-glib = %{epoch}:%{version}-%{release}
533 Requires: glib2-devel >= 1:2.22.0
535 %description -n udev-glib-devel
536 Header file for libgudev library.
538 %description -n udev-glib-devel -l pl.UTF-8
539 Plik nagłówkowy biblioteki libgudev.
541 %package -n udev-glib-static
542 Summary: Static libgudev library
543 Summary(pl.UTF-8): Biblioteka statyczna libgudev
544 Group: Development/Libraries
545 Requires: udev-glib-devel = %{epoch}:%{version}-%{release}
547 %description -n udev-glib-static
548 Static libgudev library.
550 %description -n udev-glib-static -l pl.UTF-8
551 Biblioteka statyczna libgudev.
553 %package -n udev-glib-apidocs
554 Summary: libgudev API documentation
555 Summary(pl.UTF-8): Dokumentacja API libgudev
557 Requires: gtk-doc-common
559 %description -n udev-glib-apidocs
560 libgudev API documentation.
562 %description -n udev-glib-apidocs -l pl.UTF-8
563 Dokumentacja API libgudev.
565 %package -n udev-initrd
566 Summary: A userspace implementation of devfs - static binary for initrd
567 Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla initrd
569 Requires: udev-core = %{epoch}:%{version}-%{release}
570 Conflicts: geninitrd < 10000.10
572 %description -n udev-initrd
573 A userspace implementation of devfs - static binary for initrd.
575 %description -n udev-initrd -l pl.UTF-8
576 Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla
579 %package -n bash-completion-udev
580 Summary: bash-completion for udev
581 Summary(pl.UTF-8): Bashowe dopełnianie składni dla udev
582 Group: Applications/Shells
583 Requires: udev = %{epoch}:%{version}
584 Requires: bash-completion >= 2.0
586 %description -n bash-completion-udev
587 bash-completion for udev.
589 %description -n bash-completion-udev -l pl.UTF-8
590 Bashowe dopełnianie składni dla udev.
593 %package -n python-systemd
594 Summary: Systemd Python bindings
595 Summary(pl.UTF-8): Wiązania do Systemd dla Pythona
596 Group: Development/Languages/Python
597 %pyrequires_eq python
598 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
600 %description -n python-systemd
601 Systemd Python bindings.
603 %description -n python-systemd -l pl.UTF-8
604 Wiązania do Systemd dla Pythona.
621 cp -p %{SOURCE2} src/systemd_booted.c
631 patch -p1 <%{PATCH100}
633 %if "%{?configure_cache}" == "1"
634 --cache-file=%{?configure_cache_file}%{!?configure_cache_file:configure}-initrd.cache \
636 %{?with_uClibc:CC="%{_target_cpu}-uclibc-gcc"} \
637 %{?with_dietlibc:CC="diet %{__cc} %{rpmcflags} %{rpmldflags} -Os -D_BSD_SOURCE"} \
638 %{?with_klibc:CC="%{_bindir}/klcc"} \
639 %{?debug:--enable-debug} \
640 --disable-silent-rules \
646 --disable-introspection \
648 --disable-microhttpd \
654 --with-kbd-loadkeys=/usr/bin/loadkeys \
655 --with-kbd-setfont=/bin/setfont \
656 --with-sysvinit-path=/etc/rc.d/init.d \
657 --with-sysvrcnd-path=/etc/rc.d \
658 --with-rc-local-script-path-start=/etc/rc.d/rc.local \
659 --with-rc-local-script-path-stop=/sbin/halt.local \
660 --with-rootprefix="" \
661 --with-rootlibdir=/%{_lib}
674 LDFLAGS="-all-static" \
675 KMOD_LIBS="-lkmod -lz -llzma"
678 cp -a systemd-udevd \
690 patch -p1 -R <%{PATCH100}
694 QUOTAON=/sbin/quotaon \
695 QUOTACHECK=/sbin/quotacheck \
696 SETCAP=/sbin/setcap \
698 %{?debug:--enable-debug} \
699 %{__enable_disable audit} \
700 %{__enable_disable cryptsetup libcryptsetup} \
701 %{__enable_disable pam} \
702 %{__enable_disable selinux} \
703 %{__enable_disable tcpd tcpwrap} \
704 %{__enable_disable microhttpd} \
705 %{__enable_disable qrencode} \
706 --disable-silent-rules \
709 --enable-introspection \
712 --with-html-dir=%{_gtkdocdir} \
713 --with-kbd-loadkeys=/usr/bin/loadkeys \
714 --with-kbd-setfont=/bin/setfont \
715 --with-sysvinit-path=/etc/rc.d/init.d \
716 --with-sysvrcnd-path=/etc/rc.d \
717 --with-rc-local-script-path-start=/etc/rc.d/rc.local \
718 --with-rc-local-script-path-stop=/sbin/halt.local \
719 --with-rootprefix="" \
720 --with-rootlibdir=/%{_lib}
723 ./libtool --mode=link --tag=CC %{__cc} %{rpmcppflags} %{rpmcflags} -o systemd_booted %{rpmldflags} src/systemd_booted.c -L. -lsystemd-daemon
726 rm -rf $RPM_BUILD_ROOT
727 install -d $RPM_BUILD_ROOT/var/lib/%{name}/coredump \
728 $RPM_BUILD_ROOT{%{_sysconfdir}/{modprobe.d,systemd/system-preset},%{_sbindir}}
731 DESTDIR=$RPM_BUILD_ROOT
733 ./libtool --mode=install install -p -m755 systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted
735 # compatibility symlinks to udevd binary
736 mv $RPM_BUILD_ROOT/lib/{systemd/systemd-,udev/}udevd
737 ln -s /lib/udev/udevd $RPM_BUILD_ROOT/lib/systemd/systemd-udevd
738 ln -s /lib/udev/udevd $RPM_BUILD_ROOT%{_sbindir}/udevd
740 # compat symlinks for "/ merged into /usr" programs
741 mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/udevadm
742 ln -s %{_sbindir}/udevadm $RPM_BUILD_ROOT%{_bindir}
743 ln -s /lib/udev $RPM_BUILD_ROOT/usr/lib/
745 # install custom udev rules from pld package
746 cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
747 cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules
749 # disable this abomination
750 # http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
751 ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/80-net-name-slot.rules
753 # install udev configs
754 cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/udev/links.conf
756 # install udev executables (scripts, helpers, etc.)
757 install -p %{SOURCE110} $RPM_BUILD_ROOT/lib/udev/net_helper
758 install -p %{SOURCE111} $RPM_BUILD_ROOT%{_sbindir}/start_udev
760 # install misc udev stuff
761 cp -a %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/udev_blacklist.conf
762 cp -a %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
764 mv $RPM_BUILD_ROOT%{_mandir}/man8/{systemd-,}udevd.8
765 echo ".so man8/udevd.8" >$RPM_BUILD_ROOT%{_mandir}/man8/systemd-udevd.8
768 install -d $RPM_BUILD_ROOT%{_libdir}/initrd/udev
769 install -p udev-initrd/udevadm $RPM_BUILD_ROOT%{_libdir}/initrd
770 install -p udev-initrd/systemd-udevd $RPM_BUILD_ROOT%{_libdir}/initrd
771 # hardlink udevd -> systemd-udevd
772 ln $RPM_BUILD_ROOT%{_libdir}/initrd/{systemd-,}udevd
773 ln -s udevd $RPM_BUILD_ROOT%{_libdir}/initrd/udevstart
774 install -p udev-initrd/*_id $RPM_BUILD_ROOT%{_libdir}/initrd/udev
775 install -p udev-initrd/collect $RPM_BUILD_ROOT%{_libdir}/initrd/udev
776 install -p udev-initrd/mtd_probe $RPM_BUILD_ROOT%{_libdir}/initrd/udev
779 # Main binary has been moved, but we don't want to break existing installs
780 ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/bin/systemd
782 # Create SysV compatibility symlinks. systemctl/systemd are smart
783 # enough to detect the way they were called
784 install -d $RPM_BUILD_ROOT/sbin
785 ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/sbin/init
786 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/halt
787 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/poweroff
788 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/reboot
789 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/runlevel
790 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/shutdown
791 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/telinit
793 ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf
795 # disable redundant SYSV services
796 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/allowlogin.service
797 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/console.service
798 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/cpusets.service
799 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/killall.service
800 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/netfs.service
801 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/random.service
803 # add static (non-NetworkManager) networking
804 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/network.service
806 # restore bind-mounts /var/run -> run and /var/lock -> /run/lock
807 # we don't have those directories symlinked
808 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/var-lock.mount
809 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/var-run.mount
810 ln -s ../var-lock.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
811 ln -s ../var-run.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
813 # and remove tmp on tmpfs mount
814 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/tmp.mount
815 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants/tmp.mount
817 # Install and enable storage subsystems support services (RAID, LVM, etc.)
818 cp -p %{SOURCE10} $RPM_BUILD_ROOT%{systemdunitdir}/pld-storage-init-late.service
819 cp -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}/pld-storage-init.service
820 cp -p %{SOURCE12} $RPM_BUILD_ROOT%{systemdunitdir}/pld-wait-storage.service
821 cp -p %{SOURCE14} $RPM_BUILD_ROOT%{systemdunitdir}/pld-clean-tmp.service
822 install -p %{SOURCE13} $RPM_BUILD_ROOT/lib/systemd/pld-storage-init
823 install -p %{SOURCE15} $RPM_BUILD_ROOT/lib/systemd/pld-clean-tmp
825 ln -s ../pld-storage-init-late.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
826 ln -s ../pld-storage-init.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
827 ln -s ../pld-clean-tmp.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
829 # Install rc-inetd replacement
830 cp -p %{SOURCE16} $RPM_BUILD_ROOT/lib/systemd/system-generators/pld-rc-inetd-generator
831 cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdunitdir}/rc-inetd.service
833 cp -p %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system-preset/default.preset
835 cp -p %{SOURCE19} $RPM_BUILD_ROOT%{systemdunitdir}/prefdm.service
837 # handled by rc-local sysv service, no need for generator
838 %{__rm} $RPM_BUILD_ROOT/lib/systemd/system-generators/systemd-rc-local-generator
840 # provided by rc-scripts
841 %{__rm} $RPM_BUILD_ROOT/lib/systemd/system/rc-local.service
843 # Make sure these directories are properly owned:
844 # - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd,
845 # - syslog _might_ be used by some syslog implementation (none for now),
846 # - isn't dbus populated by dbus-systemd only (so to be moved there)?
847 install -d $RPM_BUILD_ROOT%{systemdunitdir}/{dbus,halt,kexec,poweroff,reboot,syslog}.target.wants
849 # Create new-style configuration files so that we can ghost-own them
850 touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,timezone,vconsole.conf}
852 # Install SysV conversion tool for systemd
853 install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
855 install -d $RPM_BUILD_ROOT/var/log
856 :> $RPM_BUILD_ROOT/var/log/btmp
857 :> $RPM_BUILD_ROOT/var/log/wtmp
859 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
860 %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_systemd.la
861 %{__rm} $RPM_BUILD_ROOT/%{_lib}/libnss_myhostname.la
862 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
863 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/systemd/*.la
867 rm -rf $RPM_BUILD_ROOT
870 %groupadd -g 288 systemd-journal
871 %groupadd -g 287 systemd-journal-gateway
872 %useradd -u 287 -g 287 -d /var/log/journal -s /bin/false -c "Systemd Journal Gateway" systemd-journal-gateway
876 #setfacl -nm g:logs:rx,d:g:logs:rx /var/log/journal
877 /bin/systemd-machine-id-setup > /dev/null 2>&1 || :
878 /bin/systemctl daemon-reexec > /dev/null 2>&1 || :
881 if [ $1 -ge 1 ]; then
882 /bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
884 if [ "$1" = "0" ]; then
885 %userremove systemd-journal-gateway
886 %groupremove systemd-journal-gateway
887 %groupremove systemd-journal
890 %post libs -p /sbin/ldconfig
891 %postun libs -p /sbin/ldconfig
894 if [ $1 -eq 1 ]; then
895 # Try to read default runlevel from the old inittab if it exists
896 runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2> /dev/null)
897 if [ -z "$runlevel" ] ; then
898 target="%{systemdunitdir}/graphical.target"
900 target="%{systemdunitdir}/runlevel$runlevel.target"
903 # And symlink what we found to the new-style default.target
904 ln -s "$target" %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || :
907 [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
908 if [ -n "$HOSTNAME" -a "$HOSTNAME" != "pldmachine" ]; then
909 [ -f /etc/hostname ] && mv -f /etc/hostname /etc/hostname.rpmsave
910 echo $HOSTNAME > /etc/hostname
911 chmod 644 /etc/hostname
914 # Enable the services we install by default.
915 /bin/systemctl enable \
919 systemd-readahead-replay.service \
920 systemd-readahead-collect.service \
921 systemd-udev-settle.service >/dev/null 2>&1 || :
925 if [ $1 -eq 0 ] ; then
926 /bin/systemctl disable \
930 systemd-readahead-replay.service \
931 systemd-readahead-collect.service \
932 systemd-udev-settle.service >/dev/null 2>&1 || :
934 %{__rm} -f %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || :
938 if [ $1 -ge 1 ]; then
939 /bin/systemctl daemon-reload > /dev/null 2>&1 || :
942 %triggerpostun units -- systemd-units < 43-7
943 # Remove design fialures
944 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service >/dev/null 2>&1 || :
945 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service >/dev/null 2>&1 || :
946 %{__rm} -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service >/dev/null 2>&1 || :
947 /bin/systemctl reenable network.service >/dev/null 2>&1 || :
949 %triggerpostun units -- systemd-units < 1:183
950 /bin/systemctl --quiet enable systemd-udev-settle.service >/dev/null 2>&1 || :
951 %{__rm} -f /etc/systemd/system/basic.target.wants/udev-settle.service >/dev/null 2>&1 || :
952 # preserve renamed configs
953 if [ -f /etc/systemd/systemd-journald.conf.rpmsave ]; then
954 %{__mv} /etc/systemd/journald.conf{,.rpmnew}
955 %{__mv} -f /etc/systemd/systemd-journald.conf.rpmsave /etc/systemd/journald.conf
957 if [ -f /etc/systemd/systemd-logind.conf.rpmsave ]; then
958 %{__mv} /etc/systemd/logind.conf{,.rpmnew}
959 %{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf
962 %triggerpostun units -- systemd-units < 1:187-3
963 if [ -f /etc/sysconfig/rpm ]; then
965 if [ ${RPM_ENABLE_SYSTEMD_SERVICE:-yes} = no ]; then
966 echo "disable *" >>%{_sysconfdir}/systemd/system-preset/default.preset
972 # Do not change it to restart, we only want to start new services here
973 %systemd_service_start sockets.target
978 %triggerpostun -n udev-core -- dev
979 if [ "$2" = 0 ]; then
980 # need to kill and restart udevd as after obsoleting dev package the
981 # /dev tree will remain empty. umask is needed as otherwise udev will
982 # create devices with strange permissions (udev bug probably)
984 /sbin/start_udev || exit 0
987 %triggerpostun -n udev-core -- udev < 108
988 %{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules
989 %if "%{_lib}" != "lib"
990 %{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules
993 %triggerpostun -n udev-core -- udev < 165
994 /sbin/udevadm info --convert-db
997 if [ $1 -gt 1 ]; then
998 if [ ! -x /bin/systemd_booted ] || ! /bin/systemd_booted; then
999 if grep -qs devtmpfs /proc/mounts && [ -n "$(pidof udevd)" ]; then
1000 /sbin/udevadm control --exit
1001 /lib/udev/udevd --daemon
1004 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
1005 /bin/systemctl --quiet try-restart systemd-udevd.service || :
1009 %postun -n udev-core
1010 if [ -x /bin/systemd_booted ] && /bin/systemd_booted; then
1011 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
1012 /bin/systemctl --quiet daemon-reload || :
1015 %post -n udev-libs -p /sbin/ldconfig
1016 %postun -n udev-libs -p /sbin/ldconfig
1018 %post -n udev-glib -p /sbin/ldconfig
1019 %postun -n udev-glib -p /sbin/ldconfig
1022 %defattr(644,root,root,755)
1023 %doc DISTRO_PORTING README TODO
1024 /etc/dbus-1/system.d/org.freedesktop.hostname1.conf
1025 /etc/dbus-1/system.d/org.freedesktop.locale1.conf
1026 /etc/dbus-1/system.d/org.freedesktop.login1.conf
1027 /etc/dbus-1/system.d/org.freedesktop.systemd1.conf
1028 /etc/dbus-1/system.d/org.freedesktop.timedate1.conf
1029 %ghost %config(noreplace) %{_sysconfdir}/machine-id
1030 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname
1031 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf
1032 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info
1033 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/timezone
1034 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf
1035 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journald.conf
1036 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/logind.conf
1037 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system.conf
1038 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/user.conf
1039 %dir %{_sysconfdir}/systemd/user
1040 %dir %{_sysconfdir}/systemd/system/*.target.wants
1041 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/*.target.wants/*.service
1042 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/*.target.wants/*.target
1044 %attr(755,root,root) /bin/journalctl
1045 %attr(755,root,root) /bin/loginctl
1046 %attr(755,root,root) /bin/systemd
1047 %attr(755,root,root) /bin/systemd-ask-password
1048 %attr(755,root,root) /bin/systemd-inhibit
1049 %attr(755,root,root) /bin/systemd-machine-id-setup
1050 %attr(755,root,root) /bin/systemd-notify
1051 %attr(755,root,root) /bin/systemd-tty-ask-password-agent
1052 %attr(755,root,root) %{_bindir}/hostnamectl
1053 %attr(755,root,root) %{_bindir}/localectl
1054 %attr(755,root,root) %{_bindir}/systemd-cat
1055 %attr(755,root,root) %{_bindir}/systemd-cgls
1056 %attr(755,root,root) %{_bindir}/systemd-cgtop
1057 %attr(755,root,root) %{_bindir}/systemd-coredumpctl
1058 %attr(755,root,root) %{_bindir}/systemd-delta
1059 %attr(755,root,root) %{_bindir}/systemd-detect-virt
1060 %attr(755,root,root) %{_bindir}/systemd-nspawn
1061 %attr(755,root,root) %{_bindir}/systemd-stdio-bridge
1062 %attr(755,root,root) %{_bindir}/systemd-sysv-convert
1063 %attr(755,root,root) %{_bindir}/timedatectl
1064 %attr(755,root,root) /lib/systemd/pld-clean-tmp
1065 %attr(755,root,root) /lib/systemd/pld-storage-init
1066 %attr(755,root,root) /lib/systemd/systemd-ac-power
1067 %attr(755,root,root) /lib/systemd/systemd-binfmt
1068 %attr(755,root,root) /lib/systemd/systemd-bootchart
1069 %attr(755,root,root) /lib/systemd/systemd-cgroups-agent
1070 %attr(755,root,root) /lib/systemd/systemd-coredump
1071 %{?with_cryptsetup:%attr(755,root,root) /lib/systemd/systemd-cryptsetup}
1072 %attr(755,root,root) /lib/systemd/systemd-fsck
1073 %attr(755,root,root) /lib/systemd/systemd-hostnamed
1074 %attr(755,root,root) /lib/systemd/systemd-initctl
1075 %{?with_microhttpd:%attr(755,root,root) /lib/systemd/systemd-journal-gatewayd}
1076 %attr(755,root,root) /lib/systemd/systemd-journald
1077 %attr(755,root,root) /lib/systemd/systemd-localed
1078 %attr(755,root,root) /lib/systemd/systemd-logind
1079 %attr(755,root,root) /lib/systemd/systemd-modules-load
1080 %attr(755,root,root) /lib/systemd/systemd-multi-seat-x
1081 %attr(755,root,root) /lib/systemd/systemd-quotacheck
1082 %attr(755,root,root) /lib/systemd/systemd-random-seed
1083 %attr(755,root,root) /lib/systemd/systemd-readahead
1084 %attr(755,root,root) /lib/systemd/systemd-remount-fs
1085 %attr(755,root,root) /lib/systemd/systemd-reply-password
1086 %attr(755,root,root) /lib/systemd/systemd-shutdown
1087 %attr(755,root,root) /lib/systemd/systemd-shutdownd
1088 %attr(755,root,root) /lib/systemd/systemd-sleep
1089 %attr(755,root,root) /lib/systemd/systemd-sysctl
1090 %attr(755,root,root) /lib/systemd/systemd-timedated
1091 %attr(755,root,root) /lib/systemd/systemd-timestamp
1092 %attr(755,root,root) /lib/systemd/systemd-udevd
1093 %attr(755,root,root) /lib/systemd/systemd-update-utmp
1094 %attr(755,root,root) /lib/systemd/systemd-user-sessions
1095 %attr(755,root,root) /lib/systemd/systemd-vconsole-setup
1096 %dir /lib/systemd/system-generators
1097 %attr(755,root,root) /lib/systemd/systemd
1098 %attr(755,root,root) /lib/systemd/system-generators/systemd-*-generator
1099 /lib/udev/rules.d/70-uaccess.rules
1100 /lib/udev/rules.d/71-seat.rules
1101 /lib/udev/rules.d/73-seat-late.rules
1102 /lib/udev/rules.d/99-systemd.rules
1103 %dir %{_libexecdir}/systemd
1104 %dir %{_libexecdir}/systemd/catalog
1105 %{_libexecdir}/systemd/catalog/systemd.catalog
1106 %{_libexecdir}/systemd/user
1107 %dir %{_libexecdir}/systemd/user-generators
1108 %{_libexecdir}/tmpfiles.d/legacy.conf
1109 %{_libexecdir}/tmpfiles.d/systemd.conf
1110 %{_libexecdir}/tmpfiles.d/tmp.conf
1111 %{_libexecdir}/tmpfiles.d/x11.conf
1112 %{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml
1113 %{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml
1114 %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml
1115 %{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml
1116 %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
1117 %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
1118 %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
1119 %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
1120 %{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
1121 %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
1122 %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
1123 %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
1124 %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
1125 %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
1126 %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
1127 %dir %{_datadir}/systemd
1128 %{?with_microhttpd:%{_datadir}/systemd/gatewayd}
1129 %{_datadir}/systemd/kbd-model-map
1130 %{_mandir}/man1/hostnamectl.1*
1131 %{_mandir}/man1/journalctl.1*
1132 %{_mandir}/man1/localectl.1*
1133 %{_mandir}/man1/loginctl.1*
1134 %{_mandir}/man1/systemd.1*
1135 %{_mandir}/man1/systemd-ask-password.1*
1136 %{_mandir}/man1/systemd-bootchart.1*
1137 %{_mandir}/man1/systemd-cat.1*
1138 %{_mandir}/man1/systemd-cgls.1*
1139 %{_mandir}/man1/systemd-cgtop.1*
1140 %{_mandir}/man1/systemd-coredumpctl.1*
1141 %{_mandir}/man1/systemd-delta.1*
1142 %{_mandir}/man1/systemd-detect-virt.1*
1143 %{_mandir}/man1/systemd-inhibit.1*
1144 %{_mandir}/man1/systemd-machine-id-setup.1*
1145 %{_mandir}/man1/systemd-notify.1*
1146 %{_mandir}/man1/systemd-nspawn.1*
1147 %{_mandir}/man1/systemd-tty-ask-password-agent.1*
1148 %{_mandir}/man1/timedatectl.1*
1149 %{_mandir}/man5/binfmt.d.5*
1150 # cfl with rc-scripts
1151 #%{_mandir}/man5/crypttab.5*
1152 %{_mandir}/man5/hostname.5*
1153 %{_mandir}/man5/journald.conf.5*
1154 %{_mandir}/man5/locale.conf.5*
1155 %{_mandir}/man5/localtime.5*
1156 %{_mandir}/man5/logind.conf.5*
1157 %{_mandir}/man5/machine-id.5*
1158 %{_mandir}/man5/machine-info.5*
1159 %{_mandir}/man5/modules-load.d.5*
1160 %{_mandir}/man5/os-release.5*
1161 %{_mandir}/man5/sysctl.d.5*
1162 %{_mandir}/man5/systemd.*.5*
1163 %{_mandir}/man5/vconsole.conf.5*
1164 %{_mandir}/man7/bootup.7*
1165 %{_mandir}/man7/daemon.7*
1166 %{_mandir}/man7/kernel-command-line.7*
1167 %{_mandir}/man7/systemd.journal-fields.7*
1168 %{_mandir}/man7/systemd.special.7*
1169 %{_mandir}/man7/systemd.time.7*
1170 %{_mandir}/man8/nss-myhostname.8*
1171 %{_mandir}/man8/systemd-binfmt.8*
1172 %{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup-generator.8*}
1173 %{_mandir}/man8/systemd-fsck.8*
1174 %{_mandir}/man8/systemd-fstab-generator.8*
1175 %{_mandir}/man8/systemd-getty-generator.8*
1176 %{_mandir}/man8/systemd-hostnamed.8*
1177 %{_mandir}/man8/systemd-initctl.8*
1178 %{?with_microhttpd:%{_mandir}/man8/systemd-journal-gatewayd.8*}
1179 %{_mandir}/man8/systemd-journald.8*
1180 %{_mandir}/man8/systemd-localed.8*
1181 %{_mandir}/man8/systemd-logind.8*
1182 %{_mandir}/man8/systemd-modules-load.8*
1183 %{_mandir}/man8/systemd-quotacheck.8*
1184 %{_mandir}/man8/systemd-random-seed.8*
1185 %{_mandir}/man8/systemd-readahead.8*
1186 %{_mandir}/man8/systemd-remount-fs.8*
1187 %{_mandir}/man8/systemd-shutdown.8*
1188 %{_mandir}/man8/systemd-shutdownd.8*
1189 %{_mandir}/man8/systemd-sleep.8*
1190 %{_mandir}/man8/systemd-sysctl.8*
1191 %{_mandir}/man8/systemd-system-update-generator.8*
1192 %{_mandir}/man8/systemd-timedated.8*
1193 %{_mandir}/man8/systemd-udevd.8*
1194 %{_mandir}/man8/systemd-update-utmp.8*
1195 %{_mandir}/man8/systemd-user-sessions.8*
1196 %{_mandir}/man8/systemd-vconsole-setup.8*
1197 %dir /var/lib/%{name}
1198 %dir /var/lib/%{name}/coredump
1199 %attr(640,root,root) %ghost /var/log/btmp
1200 %attr(664,root,utmp) %ghost /var/log/wtmp
1201 %dir /var/log/journal
1204 %attr(755,root,root) /%{_lib}/security/pam_systemd.so
1205 %{_mandir}/man8/pam_systemd.8*
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) /sbin/halt
1211 %attr(755,root,root) /sbin/init
1212 %attr(755,root,root) /sbin/poweroff
1213 %attr(755,root,root) /sbin/reboot
1214 %attr(755,root,root) /sbin/runlevel
1215 %attr(755,root,root) /sbin/shutdown
1216 %attr(755,root,root) /sbin/telinit
1217 %{_mandir}/man1/init.1
1218 %{_mandir}/man8/halt.8*
1219 %{_mandir}/man8/poweroff.8
1220 %{_mandir}/man8/reboot.8
1221 %{_mandir}/man8/runlevel.8*
1222 %{_mandir}/man8/shutdown.8*
1223 %{_mandir}/man8/telinit.8*
1226 %defattr(644,root,root,755)
1227 %dir %{_sysconfdir}/binfmt.d
1228 %dir %{_sysconfdir}/modules-load.d
1229 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf
1230 %dir %{_sysconfdir}/sysctl.d
1231 %dir %{_sysconfdir}/systemd
1232 %dir %{_sysconfdir}/systemd/system
1233 %dir %{_sysconfdir}/systemd/system-preset
1234 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system-preset/default.preset
1235 %dir %{_sysconfdir}/tmpfiles.d
1236 %dir %{_libexecdir}/binfmt.d
1237 %dir %{_libexecdir}/modules-load.d
1238 %dir %{_libexecdir}/sysctl.d
1239 %dir /lib/systemd/system-sleep
1240 %dir /lib/systemd/system-shutdown
1241 %{_libexecdir}/sysctl.d/coredump.conf
1242 %attr(755,root,root) /bin/systemctl
1243 %attr(755,root,root) /bin/systemd-tmpfiles
1244 %attr(755,root,root) /bin/systemd_booted
1245 %{_mandir}/man1/systemctl.1*
1246 %{_mandir}/man5/tmpfiles.d.5*
1247 %{_mandir}/man8/systemd-tmpfiles.8*
1248 %{_npkgconfigdir}/systemd.pc
1250 %{systemdunitdir}/*.automount
1251 %{systemdunitdir}/*.mount
1252 %{systemdunitdir}/*.path
1253 %{systemdunitdir}/*.service
1254 %exclude %{systemdunitdir}/rc-inetd.service
1255 %{systemdunitdir}/*.socket
1256 %{systemdunitdir}/*.target
1257 %{systemdunitdir}/*.timer
1258 %dir %{systemdunitdir}/basic.target.wants
1259 %dir %{systemdunitdir}/dbus.target.wants
1260 %dir %{systemdunitdir}/final.target.wants
1261 %dir %{systemdunitdir}/graphical.target.wants
1262 %dir %{systemdunitdir}/halt.target.wants
1263 %dir %{systemdunitdir}/kexec.target.wants
1264 %dir %{systemdunitdir}/local-fs.target.wants
1265 %dir %{systemdunitdir}/multi-user.target.wants
1266 %dir %{systemdunitdir}/poweroff.target.wants
1267 %dir %{systemdunitdir}/reboot.target.wants
1268 %dir %{systemdunitdir}/runlevel[12345].target.wants
1269 %dir %{systemdunitdir}/shutdown.target.wants
1270 %dir %{systemdunitdir}/sockets.target.wants
1271 %dir %{systemdunitdir}/sysinit.target.wants
1272 %dir %{systemdunitdir}/syslog.target.wants
1273 %{systemdunitdir}/basic.target.wants/*
1274 %{systemdunitdir}/final.target.wants/*
1275 %{systemdunitdir}/graphical.target.wants/*
1276 %{systemdunitdir}/local-fs.target.wants/*
1277 %{systemdunitdir}/multi-user.target.wants/getty.target
1278 %{systemdunitdir}/multi-user.target.wants/rc-local.service
1279 %{systemdunitdir}/multi-user.target.wants/systemd-ask-password-wall.path
1280 %{systemdunitdir}/multi-user.target.wants/systemd-logind.service
1281 %{systemdunitdir}/multi-user.target.wants/systemd-user-sessions.service
1282 %{systemdunitdir}/runlevel[12345].target.wants/*
1283 %{systemdunitdir}/shutdown.target.wants/*
1284 %{systemdunitdir}/sockets.target.wants/*
1285 %{?with_cryptsetup:%{systemdunitdir}/sysinit.target.wants/cryptsetup.target}
1286 %{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount
1287 %{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount
1288 %{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
1289 %{systemdunitdir}/sysinit.target.wants/sys-*.mount
1290 %{systemdunitdir}/sysinit.target.wants/systemd-*
1291 %{_mandir}/man8/systemd-ask-password-console.path.8*
1292 %{_mandir}/man8/systemd-ask-password-console.service.8*
1293 %{_mandir}/man8/systemd-ask-password-wall.path.8*
1294 %{_mandir}/man8/systemd-ask-password-wall.service.8*
1295 %{_mandir}/man8/systemd-binfmt.service.8*
1296 %{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup.8*}
1297 %{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup@.service.8*}
1298 %{_mandir}/man8/systemd-fsck-root.service.8*
1299 %{_mandir}/man8/systemd-fsck@.service.8*
1300 %{_mandir}/man8/systemd-halt.service.8*
1301 %{_mandir}/man8/systemd-hibernate.service.8*
1302 %{_mandir}/man8/systemd-hostnamed.service.8*
1303 %{_mandir}/man8/systemd-hybrid-sleep.service.8*
1304 %{_mandir}/man8/systemd-initctl.service.8*
1305 %{_mandir}/man8/systemd-initctl.socket.8*
1306 %{?with_microhttpd:%{_mandir}/man8/systemd-journal-gatewayd.service.8*}
1307 %{?with_microhttpd:%{_mandir}/man8/systemd-journal-gatewayd.socket.8*}
1308 %{_mandir}/man8/systemd-journald.service.8*
1309 %{_mandir}/man8/systemd-journald.socket.8*
1310 %{_mandir}/man8/systemd-kexec.service.8*
1311 %{_mandir}/man8/systemd-localed.service.8*
1312 %{_mandir}/man8/systemd-logind.service.8*
1313 %{_mandir}/man8/systemd-modules-load.service.8*
1314 %{_mandir}/man8/systemd-poweroff.service.8*
1315 %{_mandir}/man8/systemd-quotacheck.service.8*
1316 %{_mandir}/man8/systemd-random-seed-load.service.8*
1317 %{_mandir}/man8/systemd-random-seed-save.service.8*
1318 %{_mandir}/man8/systemd-readahead-collect.service.8*
1319 %{_mandir}/man8/systemd-readahead-done.service.8*
1320 %{_mandir}/man8/systemd-readahead-done.timer.8*
1321 %{_mandir}/man8/systemd-readahead-replay.service.8*
1322 %{_mandir}/man8/systemd-reboot.service.8*
1323 %{_mandir}/man8/systemd-remount-fs.service.8*
1324 %{_mandir}/man8/systemd-shutdownd.service.8*
1325 %{_mandir}/man8/systemd-shutdownd.socket.8*
1326 %{_mandir}/man8/systemd-suspend.service.8*
1327 %{_mandir}/man8/systemd-sysctl.service.8*
1328 %{_mandir}/man8/systemd-timedated.service.8*
1329 %{_mandir}/man8/systemd-tmpfiles-clean.service.8*
1330 %{_mandir}/man8/systemd-tmpfiles-clean.timer.8*
1331 %{_mandir}/man8/systemd-tmpfiles-setup.service.8*
1332 %{_mandir}/man8/systemd-udevd.service.8*
1333 %{_mandir}/man8/systemd-udevd-control.socket.8*
1334 %{_mandir}/man8/systemd-udevd-kernel.socket.8*
1335 %{_mandir}/man8/systemd-update-utmp-runlevel.service.8*
1336 %{_mandir}/man8/systemd-update-utmp-shutdown.service.8*
1337 %{_mandir}/man8/systemd-user-sessions.service.8*
1338 %{_mandir}/man8/systemd-vconsole-setup.service.8*
1341 %defattr(644,root,root,755)
1342 %attr(755,root,root) /lib/systemd/system-generators/pld-rc-inetd-generator
1343 %{systemdunitdir}/rc-inetd.service
1346 %defattr(644,root,root,755)
1347 %attr(755,root,root) %{_bindir}/systemd-analyze
1348 %{_mandir}/man1/systemd-analyze.1*
1351 %defattr(644,root,root,755)
1352 %attr(755,root,root) /%{_lib}/libnss_myhostname.so.2
1353 %attr(755,root,root) /%{_lib}/libsystemd-daemon.so.*.*.*
1354 %attr(755,root,root) %ghost /%{_lib}/libsystemd-daemon.so.0
1355 %attr(755,root,root) /%{_lib}/libsystemd-id128.so.*.*.*
1356 %attr(755,root,root) %ghost /%{_lib}/libsystemd-id128.so.0
1357 %attr(755,root,root) /%{_lib}/libsystemd-journal.so.*.*.*
1358 %attr(755,root,root) %ghost /%{_lib}/libsystemd-journal.so.0
1359 %attr(755,root,root) /%{_lib}/libsystemd-login.so.*.*.*
1360 %attr(755,root,root) %ghost /%{_lib}/libsystemd-login.so.0
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_libdir}/libsystemd-daemon.so
1365 %attr(755,root,root) %{_libdir}/libsystemd-id128.so
1366 %attr(755,root,root) %{_libdir}/libsystemd-journal.so
1367 %attr(755,root,root) %{_libdir}/libsystemd-login.so
1368 %{_includedir}/%{name}
1369 %{_pkgconfigdir}/libsystemd-daemon.pc
1370 %{_pkgconfigdir}/libsystemd-id128.pc
1371 %{_pkgconfigdir}/libsystemd-journal.pc
1372 %{_pkgconfigdir}/libsystemd-login.pc
1373 %{_mandir}/man3/SD_*.3*
1374 %{_mandir}/man3/sd*.3*
1376 %files -n bash-completion-systemd
1377 %defattr(644,root,root,755)
1378 %{_datadir}/bash-completion/completions/hostnamectl
1379 %{_datadir}/bash-completion/completions/journalctl
1380 %{_datadir}/bash-completion/completions/localectl
1381 %{_datadir}/bash-completion/completions/loginctl
1382 %{_datadir}/bash-completion/completions/systemctl
1383 %{_datadir}/bash-completion/completions/systemd-coredumpctl
1384 %{_datadir}/bash-completion/completions/timedatectl
1387 %defattr(644,root,root,755)
1388 %dev(c,1,3) %attr(666,root,root) /dev/null
1389 %dev(c,5,1) %attr(660,root,console) /dev/console
1390 %dev(c,1,5) %attr(666,root,root) /dev/zero
1393 %defattr(644,root,root,755)
1397 %attr(755,root,root) /lib/udev/collect
1399 %attr(755,root,root) /lib/udev/keyboard-force-release.sh
1401 %attr(755,root,root) /lib/udev/net_helper
1403 %attr(755,root,root) /lib/udev/ata_id
1404 %attr(755,root,root) /lib/udev/cdrom_id
1405 %attr(755,root,root) /lib/udev/mtd_probe
1406 %attr(755,root,root) /lib/udev/scsi_id
1407 %attr(755,root,root) /lib/udev/v4l_id
1409 %attr(755,root,root) /lib/udev/udevd
1411 %attr(755,root,root) /lib/udev/keymap
1412 %dir /lib/udev/keymaps
1415 %attr(755,root,root) /lib/udev/accelerometer
1416 %attr(755,root,root) /lib/udev/findkeyboards
1418 %dir /lib/udev/hwdb.d
1419 /lib/udev/hwdb.d/20-OUI.hwdb
1420 /lib/udev/hwdb.d/20-acpi-vendor.hwdb
1421 /lib/udev/hwdb.d/20-bluetooth-vendor-product.hwdb
1422 /lib/udev/hwdb.d/20-pci-classes.hwdb
1423 /lib/udev/hwdb.d/20-pci-vendor-product.hwdb
1424 /lib/udev/hwdb.d/20-usb-classes.hwdb
1425 /lib/udev/hwdb.d/20-usb-vendor-product.hwdb
1427 %attr(755,root,root) %{_sbindir}/start_udev
1428 %attr(755,root,root) %{_sbindir}/udevd
1429 %attr(755,root,root) %{_sbindir}/udevadm
1430 %attr(755,root,root) %{_bindir}/udevadm
1432 %dir %{_sysconfdir}/udev
1433 %dir %{_sysconfdir}/udev/rules.d
1434 %dir %{_sysconfdir}/udev/hwdb.d
1436 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
1437 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/udev_blacklist.conf
1438 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/links.conf
1439 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
1440 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules
1441 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/80-net-name-slot.rules
1443 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf
1445 # rules below are NOT supposed to be changed by users
1446 /lib/udev/rules.d/42-usb-hid-pm.rules
1447 /lib/udev/rules.d/50-udev-default.rules
1448 /lib/udev/rules.d/60-cdrom_id.rules
1449 /lib/udev/rules.d/60-persistent-alsa.rules
1450 /lib/udev/rules.d/60-persistent-input.rules
1451 /lib/udev/rules.d/60-persistent-serial.rules
1452 /lib/udev/rules.d/60-persistent-storage-tape.rules
1453 /lib/udev/rules.d/60-persistent-storage.rules
1454 /lib/udev/rules.d/60-persistent-v4l.rules
1455 /lib/udev/rules.d/61-accelerometer.rules
1456 /lib/udev/rules.d/64-btrfs.rules
1457 /lib/udev/rules.d/70-power-switch.rules
1458 /lib/udev/rules.d/75-net-description.rules
1459 /lib/udev/rules.d/75-probe_mtd.rules
1460 /lib/udev/rules.d/75-tty-description.rules
1461 /lib/udev/rules.d/78-sound-card.rules
1462 /lib/udev/rules.d/80-drivers.rules
1463 /lib/udev/rules.d/80-net-name-slot.rules
1464 /lib/udev/rules.d/95-keyboard-force-release.rules
1465 /lib/udev/rules.d/95-keymap.rules
1466 /lib/udev/rules.d/95-udev-late.rules
1468 %{_mandir}/man7/udev.7*
1469 %{_mandir}/man8/udevadm.8*
1470 %{_mandir}/man8/udevd.8*
1473 %defattr(644,root,root,755)
1474 %attr(755,root,root) /%{_lib}/libudev.so.*.*.*
1475 %attr(755,root,root) %ghost /%{_lib}/libudev.so.1
1477 %files -n udev-devel
1478 %defattr(644,root,root,755)
1479 %attr(755,root,root) %{_libdir}/libudev.so
1480 %{_includedir}/libudev.h
1481 %{_pkgconfigdir}/libudev.pc
1482 %{_npkgconfigdir}/udev.pc
1484 %files -n udev-static
1485 %defattr(644,root,root,755)
1486 %attr(755,root,root) %{_libdir}/libudev.a
1488 %files -n udev-apidocs
1489 %defattr(644,root,root,755)
1490 %{_gtkdocdir}/libudev
1493 %defattr(644,root,root,755)
1494 %attr(755,root,root) /%{_lib}/libgudev-1.0.so.*.*.*
1495 %attr(755,root,root) %ghost /%{_lib}/libgudev-1.0.so.0
1496 %{_libdir}/girepository-1.0/GUdev-1.0.typelib
1498 %files -n udev-glib-devel
1499 %defattr(644,root,root,755)
1500 %attr(755,root,root) %{_libdir}/libgudev-1.0.so
1501 %{_includedir}/gudev-1.0
1502 %{_pkgconfigdir}/gudev-1.0.pc
1503 %{_datadir}/gir-1.0/GUdev-1.0.gir
1505 %files -n udev-glib-static
1506 %defattr(644,root,root,755)
1507 %attr(755,root,root) %{_libdir}/libgudev-1.0.a
1509 %files -n udev-glib-apidocs
1510 %defattr(644,root,root,755)
1514 %files -n udev-initrd
1515 %defattr(644,root,root,755)
1516 %dir %{_libdir}/initrd/udev
1517 %attr(755,root,root) %{_libdir}/initrd/systemd-udevd
1518 %attr(755,root,root) %{_libdir}/initrd/udevd
1519 %attr(755,root,root) %{_libdir}/initrd/udevadm
1520 %attr(755,root,root) %{_libdir}/initrd/udevstart
1521 %attr(755,root,root) %{_libdir}/initrd/udev/*_id
1522 %attr(755,root,root) %{_libdir}/initrd/udev/collect
1523 %attr(755,root,root) %{_libdir}/initrd/udev/mtd_probe
1526 %files -n bash-completion-udev
1527 %defattr(644,root,root,755)
1528 %{_datadir}/bash-completion/completions/udevadm
1530 %files -n python-systemd
1531 %defattr(644,root,root,755)
1532 %dir %{py_sitedir}/systemd
1533 %{py_sitedir}/systemd/*.py*
1534 %attr(755,root,root) %{py_sitedir}/systemd/*.so