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