2 # - pldize vconsole setup:
3 # http://cgit.freedesktop.org/systemd/systemd/tree/src/vconsole/vconsole-setup.c
4 # - udev initrd needs love (is probably completly unusable in current form)
5 # - replace our rpm macros with systemd provided?
8 %bcond_without audit # without audit support
9 %bcond_without cryptsetup # without cryptsetup support
10 %bcond_without pam # PAM authentication support
11 %bcond_without selinux # without SELinux support
12 %bcond_without tcpd # libwrap (tcp_wrappers) support
14 %bcond_without initrd # build without udev-initrd
15 %bcond_with uClibc # link initrd version with static uClibc
16 %bcond_with klibc # link initrd version with static klibc
17 %bcond_with dietlibc # link initrd version with static dietlibc (currently broken and unsupported)
18 %bcond_without glibc # link initrd version with static glibc
24 # if one of the *libc is enabled disable default uClibc
25 %if %{with dietlibc} && %{with uClibc}
29 %if %{with glibc} && %{with uClibc}
33 %if %{with klibc} && %{with uClibc}
37 Summary: A System and Service Manager
38 Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa
40 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
46 Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
47 # Source0-md5: 26606e3c84448800ef0b3ffd57e6e8b6
48 Source1: %{name}-sysv-convert
49 Source2: %{name}_booted.c
50 Source3: network.service
51 Source4: var-lock.mount
52 Source5: var-run.mount
53 Source10: pld-storage-init-late.service
54 Source11: pld-storage-init.service
55 Source12: pld-wait-storage.service
56 Source13: pld-storage-init.sh
57 Source14: pld-clean-tmp.service
58 Source15: pld-clean-tmp.sh
59 Source16: pld-rc-inetd-generator.sh
60 Source17: rc-inetd.service
62 Source101: udev-alsa.rules
64 Source103: udev-links.conf
66 Source110: udev-net.helper
69 Source120: udev.blacklist
70 Source121: fbdev.blacklist
71 Patch0: target-pld.patch
72 Patch1: config-pld.patch
73 Patch2: shut-sysv-up.patch
74 Patch3: pld-sysv-network.patch
75 Patch4: tmpfiles-not-fatal.patch
76 Patch5: kmsg-to-syslog.patch
78 Patch7: udev-uClibc.patch
79 Patch8: udev-ploop-rules.patch
80 Patch9: udevadm-in-sbin.patch
81 # hack set to allow static udev build
82 Patch100: static-udev.patch
83 URL: http://www.freedesktop.org/wiki/Software/systemd
84 BuildRequires: acl-devel
85 %{?with_audit:BuildRequires: audit-libs-devel}
86 BuildRequires: autoconf >= 2.64
87 BuildRequires: automake >= 1:1.11
88 BuildRequires: binutils >= 3:2.22.52.0.1-2
89 %{?with_cryptsetup:BuildRequires: cryptsetup-devel >= 1.4.3}
90 BuildRequires: dbus-devel >= 1.3.2
91 BuildRequires: docbook-style-xsl
92 BuildRequires: glib2-devel >= 1:2.22.0
93 BuildRequires: glibc-misc
94 BuildRequires: gobject-introspection-devel >= 1.31.1
96 BuildRequires: gtk-doc >= 1.18
97 BuildRequires: intltool >= 0.40.0
98 BuildRequires: kmod-devel >= 5
99 BuildRequires: libblkid-devel >= 2.20
100 BuildRequires: libcap-devel
101 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.0}
102 BuildRequires: libtool >= 2:2.2
103 %{?with_tcpd:BuildRequires: libwrap-devel}
104 BuildRequires: libxslt-progs
106 %{?with_pam:BuildRequires: pam-devel}
107 BuildRequires: pciutils
108 BuildRequires: pkgconfig >= 0.9.0
109 BuildRequires: python-modules
110 BuildRequires: rpmbuild(macros) >= 1.628
111 BuildRequires: sed >= 4.0
112 BuildRequires: usbutils >= 0.82
113 BuildRequires: xz-devel
114 BuildRequires: zlib-devel
116 BuildRequires: acl-static
117 BuildRequires: attr-static
118 %{?with_dietlibc:BuildRequires: dietlibc-static}
119 BuildRequires: glib2-static >= 1:2.22.0
120 %{?with_glibc:BuildRequires: glibc-static}
121 %{?with_klibc:BuildRequires: klibc-static}
122 BuildRequires: kmod-libs-static >= 5
123 BuildRequires: libblkid-static >= 2.20
124 %{?with_glibc:BuildRequires: libselinux-static}
125 %{?with_glibc:BuildRequires: libsepol-static}
126 %{?with_klibc:BuildRequires: linux-libc-headers}
127 BuildRequires: pcre-static
128 %{?with_uClibc:BuildRequires: uClibc-static >= 4:0.9.30.3}
129 BuildRequires: xz-static
130 BuildRequires: zlib-static
132 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
133 Requires: %{name}-units = %{epoch}:%{version}-%{release}
134 Requires: /etc/os-release
135 Requires: SysVinit-tools
137 Requires: dbus >= 1.4.16-6
138 Requires: filesystem >= 4.0-3
139 Requires: libutempter
140 Requires: rc-scripts >= 0.4.5.3-7
141 Requires: setup >= 2.8.0-2
142 Requires: udev-core = %{epoch}:%{version}-%{release}
143 Requires: udev-libs = %{epoch}:%{version}-%{release}
144 Requires: virtual(module-tools)
146 Suggests: fsck >= 2.20
148 Suggests: nss_myhostname
149 Suggests: service(klogd)
150 Suggests: service(syslog)
151 Provides: udev-acl = %{epoch}:%{version}-%{release}
152 Obsoletes: systemd-no-compat-tmpfiles
153 Obsoletes: udev-systemd
154 # systemd takes care of that and causes problems
155 Conflicts: binfmt-detector
156 # sytemd wants pam with pam_systemd.so in system-auth...
157 Conflicts: pam < 1:1.1.5-5
158 # ...and sudo hates it
159 Conflicts: sudo < 1:1.7.8p2-4
161 Conflicts: xinitrc-ng < 1.0
162 # systemd scripts use options not present in older versions
163 Conflicts: kpartx < 0.4.9-7
164 Conflicts: multipath-tools < 0.4.9-7
165 # no tmpfs on /media, use /run/media/$USER for mounting
166 Conflicts: udisks2 < 1.92.0
167 # packages that have dirs under /var/run and/or /var/lock must provide tmpfiles configs
168 Conflicts: ConsoleKit-dirs < 0.4.5-7
169 Conflicts: NetworkManager < 2:0.9.2.0-3
170 Conflicts: Zope < 2.11.8-2
171 Conflicts: amavisd-new < 1:2.7.0-1
172 Conflicts: apache-base < 2.2.21-4
173 Conflicts: apache-mod_bw < 0.92-3
174 Conflicts: apache-mod_fastcgi < 2.4.6-6
175 Conflicts: apache1-base < 1.3.42-5
176 Conflicts: apache1-mod_fastcgi < 2.4.6-2
177 Conflicts: asterisk < 10.0.1-2
178 Conflicts: autossh-init < 1.4b-3
179 Conflicts: balance < 3.54-2
180 Conflicts: bind < 7:9.8.1.P1-4
181 Conflicts: bopm < 3.1.3-4
182 Conflicts: callweaver < 1.2.1-9
183 Conflicts: cassandra-bin < 0.8.9-2
184 Conflicts: clamav < 0.97.3-3
185 Conflicts: cups < 1:1.5.0-10
186 Conflicts: dovecot < 1:2.0.16-3
187 Conflicts: dspam < 3.9.0-6
188 Conflicts: fail2ban < 0.8.4-4
189 Conflicts: gammu-smsd < 1:1.31.0-3
190 # Break gdm2.20 installs
191 #Conflicts: gdm < 2:3.2.1.1-9
192 Conflicts: greylistd < 0.8.8-2
193 Conflicts: inn < 2.4.6-7
194 Conflicts: ipsec-tools < 0.8.0-3
195 Conflicts: jabber-common < 0-9
196 Conflicts: laptop-mode-tools < 1.58-2
197 Conflicts: libgpod < 0.8.0-6
198 Conflicts: libvirt-utils < 0.9.9-4
199 Conflicts: lighttpd < 1.4.30-5
200 Conflicts: lirc < 0.9.0-20
201 Conflicts: mailman < 5:2.1.14-4
202 Conflicts: memcached < 1.4.11-2
203 Conflicts: mpd < 0.16.5-4
204 Conflicts: mrtg < 2.17.0-3
205 Conflicts: munin-common < 1.4.5-5
206 Conflicts: nagios-nrpe < 2.13-2
207 Conflicts: ndisc6-rdnssd < 1.0.1-3
208 Conflicts: nscd < 6:2.14.1-5
209 Conflicts: nss_ldapd-nslcd < 0.8.4-2
210 Conflicts: openct < 0.6.20-3
211 Conflicts: openl2tp < 1.8-3
212 Conflicts: openldap-overlay-nssov < 2.4.28-4
213 Conflicts: openldap-servers < 2.4.28-4
214 Conflicts: openvpn < 2.2.2-2
215 Conflicts: pam-pam_mount < 2.12-3
216 Conflicts: pam-pam_ssh < 1.97-2
217 Conflicts: pcsc-lite < 1.8.1-2
218 Conflicts: php-dirs < 1.2-3
219 Conflicts: policyd < 2.0.10-3
220 Conflicts: pound < 2.6-2
221 Conflicts: pptp < 1.7.2-3
222 Conflicts: proftpd-common < 2:1.3.4a-2
223 Conflicts: pulseaudio-server < 1.1-2
224 Conflicts: quagga < 0.99.20-3
225 Conflicts: radvd < 1.8.5-2
226 Conflicts: red5 < 0.9.0-2
227 Conflicts: redis-server < 2.4.2-4
228 Conflicts: smokeping < 2.4.2-10
229 Conflicts: smtp-gated < 1.4.17-2
230 Conflicts: socat < 1.7.2.0-2
231 Conflicts: speech-dispatcher < 0.7.1-2
232 Conflicts: sphinx < 2.0.3-4
233 Conflicts: splashutils < 1.5.4.3-3
234 Conflicts: stunnel < 4.50-2
235 Conflicts: tenshi < 0.12-2
236 Conflicts: tor < 0.2.2.35-2
237 Conflicts: ucarp < 1.5.2-3
238 Conflicts: udisks < 1.0.4-3
239 Conflicts: util-vserver < 0.30.216-1.pre3002.3
240 Conflicts: vpnc < 0.5.3-2
241 Conflicts: web2ldap < 1.1.0rc1-2
242 Conflicts: wesnoth-server < 1:1.10-2
243 Conflicts: wpa_supplicant < 0.7.3-10
244 Conflicts: xl2tpd < 1.3.0-2
245 # end of tmpfiles conflicts
246 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
248 %define _sbindir /sbin
249 %define _libexecdir %{_prefix}/lib
252 systemd is a system and service manager for Linux, compatible with
253 SysV and LSB init scripts. systemd provides aggressive parallelization
254 capabilities, uses socket and D-Bus activation for starting services,
255 offers on-demand starting of daemons, keeps track of processes using
256 Linux cgroups, supports snapshotting and restoring of the system
257 state, maintains mount and automount points and implements an
258 elaborate transactional dependency-based service control logic. It can
259 work as a drop-in replacement for sysvinit.
261 %description -l pl.UTF-8
262 systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze
263 skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności
264 paralelizacji, do uruchamiania usług używa socketów oraz D-Busa,
265 oferuje uruchamianie usług na życzenie, monitoruje procesy używając
266 linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie
267 (restore) stanu systemu, zarządza (auto)mount pointami oraz
268 implementuje starannie opracowaną transakcjonalną, bazującą na
269 zależnościach logikę kontroli usług. Może pracować jako zastępca dla
273 Summary: systemd /sbin/init and LSB/SysV compatibility symlinks
274 Summary(pl.UTF-8): /sbin/init z systemd i dowiązania dla kompatybilności z LSB/SysV
277 Provides: readahead = 1:1.5.7-3
278 Provides: virtual(init-daemon)
280 Obsoletes: readahead < 1:1.5.7-3
281 Obsoletes: virtual(init-daemon)
285 Install this package when you are ready to final switch to systemd.
287 %description init -l pl.UTF-8
288 Ten pakiet należy zainstalować po przygotowaniu się do ostatecznego
289 przejścia na systemd.
292 Summary: Configuration files, directories and installation tool for systemd
293 Summary(pl.UTF-8): Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla systemd
295 Requires(post): coreutils
296 Requires(post): /bin/awk
299 Basic configuration files, directories and installation tool for the
300 systemd system and service manager.
302 This is common config, use %{_sysconfdir}/systemd/system to override.
304 %description units -l pl.UTF-8
305 Podstawowe pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla
306 zarządcy systemu i usług systemd.
308 Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać
309 poprzez katalog %{_sysconfdir}/systemd/system.
312 Summary: Native inet service support for systemd via socket activation
313 Summary(pl.UTF-8): Natywna obsługa usług inet dla systemd
315 Requires: %{name} = %{epoch}:%{version}-%{release}
319 Obsoletes: inetdaemon
324 Native inet service support for systemd via socket activation.
326 This package contains inet service generator that provides
327 the functionality of rc-inetd service and replaces a separate
328 inet daemon with systemd socket activation feature.
330 %description inetd -l pl.UTF-8
331 Natywna obsługa usług inet dla systemd.
333 Ten pakiet zawiera generator usług inet udostępniający funkcjonalność
334 serwisu rc-inetd i zastępujący osobny demon inet przez systemd i
335 aktywację usług przez gniazda.
338 Summary: Tool for processing systemd profiling information
339 Summary(pl.UTF-8): Narzędzie do przetwarzania informacji profilujących systemd
341 Requires: %{name} = %{epoch}:%{version}-%{release}
342 Requires: python-dbus
343 Requires: python-modules
344 Requires: python-pycairo
345 Conflicts: systemd < 44-3
348 'systemd-analyze blame' lists which systemd unit needed how much time
349 to finish initialization at boot. 'systemd-analyze plot' renders an
350 SVG visualizing the parallel start of units at boot.
352 %description analyze -l pl.UTF-8
353 'systemd-analyze blame' wypisuje, ile czasu wymagały poszczególne
354 jednostki systemd na zakończenie podczas rozruchu systemu.
355 'systemd-analyze plot' tworzy wykres SVG wizualizujący równoległy
356 start jednostek podczas rozruchu.
359 Summary: Shared systemd libraries
360 Summary(pl.UTF-8): Biblioteki współdzielone systemd
364 Shared systemd libraries.
366 %description libs -l pl.UTF-8
367 Biblioteki współdzielone systemd.
370 Summary: Header files for systemd libraries
371 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek systemd
372 Group: Development/Libraries
373 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
376 Header files for systemd libraries.
378 %description devel -l pl.UTF-8
379 Pliki nagłówkowe bibliotek systemd.
381 %package -n bash-completion-systemd
382 Summary: bash-completion for systemd
383 Summary(pl.UTF-8): Bashowe dopełnianie składni dla systemd
384 Group: Applications/Shells
385 Requires: %{name} = %{epoch}:%{version}
386 Requires: bash-completion
388 %description -n bash-completion-systemd
389 bash-completion for systemd.
391 %description -n bash-completion-systemd -l pl.UTF-8
392 Bashowe dopełnianie składni dla systemd.
395 Summary: Device manager for the Linux 2.6 kernel series
396 Summary(pl.UTF-8): Zarządca urządzeń dla Linuksa 2.6
398 Requires: udev-core = %{epoch}:%{version}-%{release}
399 Provides: dev = 3.5.0
402 Obsoletes: hotplug-input
403 Obsoletes: hotplug-net
404 Obsoletes: hotplug-pci
406 Obsoletes: udev-extras < 20090628
407 Obsoletes: udev-tools
410 udev is the device manager for the Linux 2.6 kernel series. Its
411 primary function is managing device nodes in /dev. It is the successor
412 of devfs and hotplug.
414 %description -n udev -l pl.UTF-8
415 udev jest zarządcą urządzeń dla Linuksa 2.6. Jego główną funkcją jest
416 zarządzanie węzłami urządzeń w katalogu /dev. Jest następcą devfs i
419 %package -n udev-core
420 Summary: A userspace implementation of devfs - core part of udev
421 Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - główna część udev
423 Requires: udev-libs = %{epoch}:%{version}-%{release}
425 Requires: filesystem >= 3.0-45
426 Requires: setup >= 2.6.1-1
427 Requires: uname(release) >= 2.6.32
428 Conflicts: rc-scripts < 0.4.5.3-1
429 Conflicts: systemd-units < 1:183
430 Conflicts: udev < 1:118-1
431 Obsoletes: udev-compat
433 %description -n udev-core
434 A userspace implementation of devfs - core part of udev.
436 %description -n udev-core -l pl.UTF-8
437 Implementacja devfs w przestrzeni użytkownika - główna część udev.
439 %package -n udev-libs
440 Summary: Shared library to access udev device information
441 Summary(pl.UTF-8): Biblioteka współdzielona do dostępu do informacji o urządzeniach udev
444 %description -n udev-libs
445 Shared libudev library to access udev device information.
447 %description -n udev-libs -l pl.UTF-8
448 Biblioteka współdzielona libudev służąca do dostępu do informacji o
451 %package -n udev-devel
452 Summary: Header file for libudev library
453 Summary(pl.UTF-8): Plik nagłówkowy biblioteki libudev
454 Group: Development/Libraries
455 Requires: udev-libs = %{epoch}:%{version}-%{release}
457 %description -n udev-devel
458 Header file for libudev library.
460 %description -n udev-devel -l pl.UTF-8
461 Plik nagłówkowy biblioteki libudev.
463 %package -n udev-static
464 Summary: Static libudev library
465 Summary(pl.UTF-8): Biblioteka statyczna libudev
466 Group: Development/Libraries
467 Requires: udev-devel = %{epoch}:%{version}-%{release}
469 %description -n udev-static
470 Static libudev library.
472 %description -n udev-static -l pl.UTF-8
473 Biblioteka statyczna libudev.
475 %package -n udev-apidocs
476 Summary: libudev API documentation
477 Summary(pl.UTF-8): Dokumentacja API libudev
479 Requires: gtk-doc-common
481 %description -n udev-apidocs
482 libudev API documentation.
484 %description -n udev-apidocs -l pl.UTF-8
485 Dokumentacja API libudev.
487 %package -n udev-glib
488 Summary: Shared libgudev library - GObject bindings for libudev
489 Summary(pl.UTF-8): Biblioteka współdzielona libgudev - wiązania GObject do libudev
491 Requires: udev-libs = %{epoch}:%{version}-%{release}
492 Requires: glib2 >= 1:2.22.0
494 %description -n udev-glib
495 Shared libgudev library - GObject bindings for libudev.
497 %description -n udev-glib -l pl.UTF-8
498 Biblioteka współdzielona libgudev - wiązania GObject do libudev.
500 %package -n udev-glib-devel
501 Summary: Header file for libgudev library
502 Summary(pl.UTF-8): Plik nagłówkowy biblioteki libgudev
503 Group: Development/Libraries
504 Requires: udev-devel = %{epoch}:%{version}-%{release}
505 Requires: udev-glib = %{epoch}:%{version}-%{release}
506 Requires: glib2-devel >= 1:2.22.0
508 %description -n udev-glib-devel
509 Header file for libgudev library.
511 %description -n udev-glib-devel -l pl.UTF-8
512 Plik nagłówkowy biblioteki libgudev.
514 %package -n udev-glib-static
515 Summary: Static libgudev library
516 Summary(pl.UTF-8): Biblioteka statyczna libgudev
517 Group: Development/Libraries
518 Requires: udev-glib-devel = %{epoch}:%{version}-%{release}
520 %description -n udev-glib-static
521 Static libgudev library.
523 %description -n udev-glib-static -l pl.UTF-8
524 Biblioteka statyczna libgudev.
526 %package -n udev-glib-apidocs
527 Summary: libgudev API documentation
528 Summary(pl.UTF-8): Dokumentacja API libgudev
530 Requires: gtk-doc-common
532 %description -n udev-glib-apidocs
533 libgudev API documentation.
535 %description -n udev-glib-apidocs -l pl.UTF-8
536 Dokumentacja API libgudev.
538 %package -n udev-initrd
539 Summary: A userspace implementation of devfs - static binary for initrd
540 Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla initrd
542 Requires: udev-core = %{epoch}:%{version}-%{release}
543 Conflicts: geninitrd < 10000.10
545 %description -n udev-initrd
546 A userspace implementation of devfs - static binary for initrd.
548 %description -n udev-initrd -l pl.UTF-8
549 Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla
566 cp -p %{SOURCE2} src/systemd_booted.c
576 patch -p1 <%{PATCH100}
578 %if "%{?configure_cache}" == "1"
579 --cache-file=%{?configure_cache_file}%{!?configure_cache_file:configure}-initrd.cache \
581 %{?with_uClibc:CC="%{_target_cpu}-uclibc-gcc"} \
582 %{?with_dietlibc:CC="diet %{__cc} %{rpmcflags} %{rpmldflags} -Os -D_BSD_SOURCE"} \
583 %{?with_klibc:CC="%{_bindir}/klcc"} \
584 %{?debug:--enable-debug} \
585 --disable-silent-rules \
589 --with-rootprefix="" \
590 --with-rootlibdir=/%{_lib} \
594 --disable-introspection \
595 --with-pci-ids-path=%{_sysconfdir}/pci.ids \
613 LDFLAGS="-all-static" \
614 KMOD_LIBS="-lkmod -lz -llzma"
617 cp -a systemd-udevd \
629 patch -p1 -R <%{PATCH100}
633 %{?debug:--enable-debug} \
634 %{__enable_disable audit} \
635 %{__enable_disable cryptsetup libcryptsetup} \
636 %{__enable_disable pam} \
637 %{__enable_disable selinux} \
638 %{__enable_disable tcpd tcpwrap} \
640 --disable-silent-rules \
644 --with-rootprefix="" \
645 --with-rootlibdir=/%{_lib} \
646 --with-html-dir=%{_gtkdocdir} \
647 --with-pci-ids-path=%{_sysconfdir}/pci.ids \
649 --enable-introspection \
653 ./libtool --mode=link --tag=CC %{__cc} %{rpmcppflags} %{rpmcflags} -o systemd_booted %{rpmldflags} src/systemd_booted.c -L. -lsystemd-daemon
656 rm -rf $RPM_BUILD_ROOT
657 install -d $RPM_BUILD_ROOT/var/lib/%{name}/coredump \
658 $RPM_BUILD_ROOT{%{_sysconfdir}/modprobe.d,%{_sbindir}}
661 DESTDIR=$RPM_BUILD_ROOT
663 ./libtool --mode=install install -p -m755 systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted
665 # compatibility symlinks to udevd binary
666 mv $RPM_BUILD_ROOT/lib/{systemd/systemd-,udev/}udevd
667 ln -s /lib/udev/udevd $RPM_BUILD_ROOT/lib/systemd/systemd-udevd
668 ln -s /lib/udev/udevd $RPM_BUILD_ROOT%{_sbindir}/udevd
670 # compat symlinks for "/ merged into /usr" programs
671 mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/udevadm
672 ln -s %{_sbindir}/udevadm $RPM_BUILD_ROOT%{_bindir}
673 ln -s /lib/udev $RPM_BUILD_ROOT/usr/lib/
675 # install custom udev rules from pld package
676 cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
677 cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules
679 # install udev configs
680 cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/udev/links.conf
682 # install udev executables (scripts, helpers, etc.)
683 install -p %{SOURCE110} $RPM_BUILD_ROOT/lib/udev/net_helper
684 install -p %{SOURCE111} $RPM_BUILD_ROOT%{_sbindir}/start_udev
686 # install misc udev stuff
687 cp -a %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/udev_blacklist.conf
688 cp -a %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
690 mv $RPM_BUILD_ROOT%{_mandir}/man8/{systemd-,}udevd.8
691 echo ".so man8/udevd.8" >$RPM_BUILD_ROOT%{_mandir}/man8/systemd-udevd.8
694 install -d $RPM_BUILD_ROOT%{_libdir}/initrd/udev
695 install -p udev-initrd/udevadm $RPM_BUILD_ROOT%{_libdir}/initrd
696 install -p udev-initrd/systemd-udevd $RPM_BUILD_ROOT%{_libdir}/initrd
697 # hardlink udevd -> systemd-udevd
698 ln $RPM_BUILD_ROOT%{_libdir}/initrd/{systemd-,}udevd
699 ln -s udevd $RPM_BUILD_ROOT%{_libdir}/initrd/udevstart
700 install -p udev-initrd/*_id $RPM_BUILD_ROOT%{_libdir}/initrd/udev
701 install -p udev-initrd/collect $RPM_BUILD_ROOT%{_libdir}/initrd/udev
702 install -p udev-initrd/mtd_probe $RPM_BUILD_ROOT%{_libdir}/initrd/udev
705 # Main binary has been moved, but we don't want to break existing installs
706 ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/bin/systemd
708 # Create SysV compatibility symlinks. systemctl/systemd are smart
709 # enough to detect the way they were called
710 install -d $RPM_BUILD_ROOT/sbin
711 ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/sbin/init
712 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/halt
713 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/poweroff
714 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/reboot
715 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/runlevel
716 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/shutdown
717 ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/telinit
719 ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf
721 # disable redundant SYSV services
722 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/allowlogin.service
723 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/console.service
724 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/cpusets.service
725 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/killall.service
726 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/netfs.service
727 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/random.service
729 # add static (non-NetworkManager) networking
730 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/network.service
732 # restore bind-mounts /var/run -> run and /var/lock -> /run/lock
733 # we don't have those directories symlinked
734 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/var-lock.mount
735 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/var-run.mount
736 ln -s ../var-lock.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
737 ln -s ../var-run.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
739 # and remove tmp on tmpfs mount
740 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/tmp.mount
741 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants/tmp.mount
743 # Install and enable storage subsystems support services (RAID, LVM, etc.)
744 cp -p %{SOURCE10} $RPM_BUILD_ROOT%{systemdunitdir}/pld-storage-init-late.service
745 cp -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}/pld-storage-init.service
746 cp -p %{SOURCE12} $RPM_BUILD_ROOT%{systemdunitdir}/pld-wait-storage.service
747 cp -p %{SOURCE14} $RPM_BUILD_ROOT%{systemdunitdir}/pld-clean-tmp.service
748 install -p %{SOURCE13} $RPM_BUILD_ROOT/lib/systemd/pld-storage-init
749 install -p %{SOURCE15} $RPM_BUILD_ROOT/lib/systemd/pld-clean-tmp
751 ln -s ../pld-storage-init-late.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
752 ln -s ../pld-storage-init.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
753 ln -s ../pld-clean-tmp.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
755 # Install rc-inetd replacement
756 cp -p %{SOURCE16} $RPM_BUILD_ROOT/lib/systemd/system-generators/pld-rc-inetd-generator
757 cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdunitdir}/rc-inetd.service
759 # handled by rc-local sysv service, no need for generator
760 %{__rm} $RPM_BUILD_ROOT/lib/systemd/system-generators/systemd-rc-local-generator
762 # Make sure these directories are properly owned:
763 # - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd,
764 # - syslog _might_ be used by some syslog implementation (none for now),
765 # - isn't dbus populated by dbus-systemd only (so to be moved there)?
766 install -d $RPM_BUILD_ROOT%{systemdunitdir}/{dbus,halt,kexec,poweroff,reboot,syslog}.target.wants
768 # Create new-style configuration files so that we can ghost-own them
769 touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,timezone,vconsole.conf}
771 # Install SysV conversion tool for systemd
772 install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
774 install -d $RPM_BUILD_ROOT/var/log
775 :> $RPM_BUILD_ROOT/var/log/btmp
776 :> $RPM_BUILD_ROOT/var/log/wtmp
778 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
779 %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_systemd.la
780 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
783 rm -rf $RPM_BUILD_ROOT
786 /bin/systemd-machine-id-setup > /dev/null 2>&1 || :
787 /bin/systemctl daemon-reexec > /dev/null 2>&1 || :
790 if [ $1 -ge 1 ]; then
791 /bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
794 %post libs -p /sbin/ldconfig
795 %postun libs -p /sbin/ldconfig
798 if [ $1 -eq 1 ]; then
799 # Try to read default runlevel from the old inittab if it exists
800 runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2> /dev/null)
801 if [ -z "$runlevel" ] ; then
802 target="%{systemdunitdir}/graphical.target"
804 target="%{systemdunitdir}/runlevel$runlevel.target"
807 # And symlink what we found to the new-style default.target
808 ln -s "$target" %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || :
811 [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
812 if [ -n "$HOSTNAME" -a "$HOSTNAME" != "pldmachine" ]; then
813 [ -f /etc/hostname ] && mv -f /etc/hostname /etc/hostname.rpmsave
814 echo $HOSTNAME > /etc/hostname
815 chmod 644 /etc/hostname
818 # Enable the services we install by default.
819 /bin/systemctl enable \
823 systemd-readahead-replay.service \
824 systemd-readahead-collect.service \
825 systemd-udev-settle.service >/dev/null 2>&1 || :
829 if [ $1 -eq 0 ] ; then
830 /bin/systemctl disable \
834 systemd-readahead-replay.service \
835 systemd-readahead-collect.service \
836 systemd-udev-settle.service >/dev/null 2>&1 || :
838 %{__rm} -f %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || :
842 if [ $1 -ge 1 ]; then
843 /bin/systemctl daemon-reload > /dev/null 2>&1 || :
846 %triggerpostun units -- systemd-units < 43-7
847 # Remove design fialures
848 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service >/dev/null 2>&1 || :
849 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service >/dev/null 2>&1 || :
850 %{__rm} -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service >/dev/null 2>&1 || :
851 /bin/systemctl reenable network.service >/dev/null 2>&1 || :
853 %triggerpostun units -- systemd-units < 1:183
854 /bin/systemctl --quiet enable systemd-udev-settle.service >/dev/null 2>&1 || :
855 %{__rm} -f /etc/systemd/system/basic.target.wants/udev-settle.service >/dev/null 2>&1 || :
856 # preserve renamed configs
857 if [ -f /etc/systemd/systemd-journald.conf.rpmsave ]; then
858 %{__mv} /etc/systemd/journald.conf{,.rpmnew}
859 %{__mv} -f /etc/systemd/systemd-journald.conf.rpmsave /etc/systemd/journald.conf
861 if [ -f /etc/systemd/systemd-logind.conf.rpmsave ]; then
862 %{__mv} /etc/systemd/logind.conf{,.rpmnew}
863 %{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf
868 # Do not change it to restart, we only want to start new services here
869 %systemd_service_start sockets.target
874 %triggerpostun -n udev-core -- dev
875 if [ "$2" = 0 ]; then
876 # need to kill and restart udevd as after obsoleting dev package the
877 # /dev tree will remain empty. umask is needed as otherwise udev will
878 # create devices with strange permissions (udev bug probably)
880 /sbin/start_udev || exit 0
883 %triggerpostun -n udev-core -- udev < 108
884 %{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules
885 %if "%{_lib}" != "lib"
886 %{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules
889 %triggerpostun -n udev-core -- udev < 165
890 /sbin/udevadm info --convert-db
893 if [ $1 -gt 1 ]; then
894 if [ ! -x /bin/systemd_booted ] || ! /bin/systemd_booted; then
895 if grep -qs devtmpfs /proc/mounts && [ -n "$(pidof udevd)" ]; then
896 /sbin/udevadm control --exit
897 /lib/udev/udevd --daemon
900 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
901 /bin/systemctl --quiet try-restart systemd-udevd.service || :
906 if [ -x /bin/systemd_booted ] && /bin/systemd_booted; then
907 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
908 /bin/systemctl --quiet daemon-reload || :
911 %post -n udev-libs -p /sbin/ldconfig
912 %postun -n udev-libs -p /sbin/ldconfig
914 %post -n udev-glib -p /sbin/ldconfig
915 %postun -n udev-glib -p /sbin/ldconfig
918 %defattr(644,root,root,755)
919 %doc DISTRO_PORTING README TODO
920 /etc/dbus-1/system.d/org.freedesktop.hostname1.conf
921 /etc/dbus-1/system.d/org.freedesktop.locale1.conf
922 /etc/dbus-1/system.d/org.freedesktop.login1.conf
923 /etc/dbus-1/system.d/org.freedesktop.systemd1.conf
924 /etc/dbus-1/system.d/org.freedesktop.timedate1.conf
925 %ghost %config(noreplace) %{_sysconfdir}/machine-id
926 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname
927 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf
928 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info
929 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/timezone
930 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf
931 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journald.conf
932 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/logind.conf
933 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system.conf
934 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/user.conf
935 %dir %{_sysconfdir}/systemd/user
936 %dir %{_sysconfdir}/systemd/system/*.target.wants
937 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/*.target.wants/*.service
938 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/*.target.wants/*.target
940 %attr(755,root,root) /bin/journalctl
941 %attr(755,root,root) /bin/loginctl
942 %attr(755,root,root) /bin/systemd
943 %attr(755,root,root) /bin/systemd-ask-password
944 %attr(755,root,root) /bin/systemd-inhibit
945 %attr(755,root,root) /bin/systemd-machine-id-setup
946 %attr(755,root,root) /bin/systemd-notify
947 %attr(755,root,root) /bin/systemd-tty-ask-password-agent
948 %attr(755,root,root) %{_bindir}/systemd-cat
949 %attr(755,root,root) %{_bindir}/systemd-cgtop
950 %attr(755,root,root) %{_bindir}/systemd-cgls
951 %attr(755,root,root) %{_bindir}/systemd-delta
952 %attr(755,root,root) %{_bindir}/systemd-detect-virt
953 %attr(755,root,root) %{_bindir}/systemd-nspawn
954 %attr(755,root,root) %{_bindir}/systemd-stdio-bridge
955 %attr(755,root,root) %{_bindir}/systemd-sysv-convert
956 %attr(755,root,root) /lib/systemd/pld-clean-tmp
957 %attr(755,root,root) /lib/systemd/pld-storage-init
958 %attr(755,root,root) /lib/systemd/systemd-ac-power
959 %attr(755,root,root) /lib/systemd/systemd-binfmt
960 %attr(755,root,root) /lib/systemd/systemd-cgroups-agent
961 %attr(755,root,root) /lib/systemd/systemd-coredump
962 %attr(755,root,root) /lib/systemd/systemd-cryptsetup
963 %attr(755,root,root) /lib/systemd/systemd-fsck
964 %attr(755,root,root) /lib/systemd/systemd-hostnamed
965 %attr(755,root,root) /lib/systemd/systemd-initctl
966 %attr(755,root,root) /lib/systemd/systemd-journald
967 %attr(755,root,root) /lib/systemd/systemd-localed
968 %attr(755,root,root) /lib/systemd/systemd-logind
969 %attr(755,root,root) /lib/systemd/systemd-modules-load
970 %attr(755,root,root) /lib/systemd/systemd-multi-seat-x
971 %attr(755,root,root) /lib/systemd/systemd-quotacheck
972 %attr(755,root,root) /lib/systemd/systemd-random-seed
973 %attr(755,root,root) /lib/systemd/systemd-readahead
974 %attr(755,root,root) /lib/systemd/systemd-remount-fs
975 %attr(755,root,root) /lib/systemd/systemd-reply-password
976 %attr(755,root,root) /lib/systemd/systemd-shutdown
977 %attr(755,root,root) /lib/systemd/systemd-shutdownd
978 %attr(755,root,root) /lib/systemd/systemd-sleep
979 %attr(755,root,root) /lib/systemd/systemd-sysctl
980 %attr(755,root,root) /lib/systemd/systemd-timedated
981 %attr(755,root,root) /lib/systemd/systemd-timestamp
982 %attr(755,root,root) /lib/systemd/systemd-udevd
983 %attr(755,root,root) /lib/systemd/systemd-update-utmp
984 %attr(755,root,root) /lib/systemd/systemd-user-sessions
985 %attr(755,root,root) /lib/systemd/systemd-vconsole-setup
986 %dir /lib/systemd/system-generators
987 %attr(755,root,root) /lib/systemd/systemd
988 %attr(755,root,root) /lib/systemd/system-generators/systemd-*-generator
989 /lib/udev/rules.d/99-systemd.rules
990 /lib/udev/rules.d/70-uaccess.rules
991 /lib/udev/rules.d/71-seat.rules
992 /lib/udev/rules.d/73-seat-late.rules
993 %dir %{_libexecdir}/systemd
994 %{_libexecdir}/systemd/user
995 %dir %{_libexecdir}/systemd/user-generators
996 %{_libexecdir}/tmpfiles.d/legacy.conf
997 %{_libexecdir}/tmpfiles.d/systemd.conf
998 %{_libexecdir}/tmpfiles.d/tmp.conf
999 %{_libexecdir}/tmpfiles.d/x11.conf
1000 %{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml
1001 %{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml
1002 %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml
1003 %{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml
1004 %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
1005 %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
1006 %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
1007 %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
1008 %{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
1009 %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
1010 %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
1011 %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
1012 %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
1013 %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
1014 %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
1015 %dir %{_datadir}/systemd
1016 %{_datadir}/systemd/kbd-model-map
1017 %{_mandir}/man1/journalctl.1*
1018 %{_mandir}/man1/loginctl.1*
1019 %{_mandir}/man1/systemd.1*
1020 %{_mandir}/man1/systemd-ask-password.1*
1021 %{_mandir}/man1/systemd-cat.1*
1022 %{_mandir}/man1/systemd-cgls.1*
1023 %{_mandir}/man1/systemd-cgtop.1*
1024 %{_mandir}/man1/systemd-delta.1*
1025 %{_mandir}/man1/systemd-detect-virt.1*
1026 %{_mandir}/man1/systemd-inhibit.1*
1027 %{_mandir}/man1/systemd-machine-id-setup.1*
1028 %{_mandir}/man1/systemd-notify.1*
1029 %{_mandir}/man1/systemd-nspawn.1*
1030 %{_mandir}/man1/systemd-tty-ask-password-agent.1*
1031 %{_mandir}/man5/binfmt.d.5*
1032 # cfl with rc-scripts
1033 #%{_mandir}/man5/crypttab.5*
1034 %{_mandir}/man5/hostname.5*
1035 %{_mandir}/man5/journald.conf.5*
1036 %{_mandir}/man5/locale.conf.5*
1037 %{_mandir}/man5/logind.conf.5*
1038 %{_mandir}/man5/machine-id.5*
1039 %{_mandir}/man5/machine-info.5*
1040 %{_mandir}/man5/modules-load.d.5*
1041 %{_mandir}/man5/os-release.5*
1042 %{_mandir}/man5/sysctl.d.5*
1043 %{_mandir}/man5/systemd.*.5*
1044 %{_mandir}/man5/timezone.5*
1045 %{_mandir}/man5/vconsole.conf.5*
1046 %{_mandir}/man7/bootup.7*
1047 %{_mandir}/man7/daemon.7*
1048 %{_mandir}/man7/kernel-command-line.7*
1049 %{_mandir}/man7/systemd.journal-fields.7*
1050 %{_mandir}/man7/systemd.special.7*
1051 %{_mandir}/man8/systemd-binfmt.8*
1052 %{_mandir}/man8/systemd-cryptsetup-generator.8*
1053 %{_mandir}/man8/systemd-fstab-generator.8*
1054 %{_mandir}/man8/systemd-getty-generator.8*
1055 %{_mandir}/man8/systemd-hostnamed.8*
1056 %{_mandir}/man8/systemd-initctl.8*
1057 %{_mandir}/man8/systemd-journald.8*
1058 %{_mandir}/man8/systemd-localed.8*
1059 %{_mandir}/man8/systemd-logind.8*
1060 %{_mandir}/man8/systemd-modules-load.8*
1061 %{_mandir}/man8/systemd-quotacheck.8*
1062 %{_mandir}/man8/systemd-random-seed.8*
1063 %{_mandir}/man8/systemd-readahead.8*
1064 %{_mandir}/man8/systemd-remount-fs.8*
1065 %{_mandir}/man8/systemd-shutdown.8*
1066 %{_mandir}/man8/systemd-shutdownd.8*
1067 %{_mandir}/man8/systemd-sleep.8*
1068 %{_mandir}/man8/systemd-sysctl.8*
1069 %{_mandir}/man8/systemd-system-update-generator.8*
1070 %{_mandir}/man8/systemd-timedated.8*
1071 %{_mandir}/man8/systemd-udevd.8*
1072 %{_mandir}/man8/systemd-update-utmp.8*
1073 %{_mandir}/man8/systemd-user-sessions.8*
1074 %{_mandir}/man8/systemd-vconsole-setup.8*
1075 %dir /var/lib/%{name}
1076 %dir /var/lib/%{name}/coredump
1077 %attr(640,root,root) %ghost /var/log/btmp
1078 %attr(664,root,utmp) %ghost /var/log/wtmp
1081 %attr(755,root,root) /%{_lib}/security/pam_systemd.so
1082 %{_mandir}/man8/pam_systemd.8*
1086 %defattr(644,root,root,755)
1087 %attr(755,root,root) /sbin/halt
1088 %attr(755,root,root) /sbin/init
1089 %attr(755,root,root) /sbin/poweroff
1090 %attr(755,root,root) /sbin/reboot
1091 %attr(755,root,root) /sbin/runlevel
1092 %attr(755,root,root) /sbin/shutdown
1093 %attr(755,root,root) /sbin/telinit
1094 %{_mandir}/man1/init.1
1095 %{_mandir}/man8/halt.8*
1096 %{_mandir}/man8/poweroff.8
1097 %{_mandir}/man8/reboot.8
1098 %{_mandir}/man8/runlevel.8*
1099 %{_mandir}/man8/shutdown.8*
1100 %{_mandir}/man8/telinit.8*
1103 %defattr(644,root,root,755)
1104 %dir %{_sysconfdir}/binfmt.d
1105 %dir %{_sysconfdir}/modules-load.d
1106 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf
1107 %dir %{_sysconfdir}/sysctl.d
1108 %dir %{_sysconfdir}/systemd
1109 %dir %{_sysconfdir}/systemd/system
1110 %dir %{_sysconfdir}/tmpfiles.d
1111 %dir %{_libexecdir}/binfmt.d
1112 %dir %{_libexecdir}/modules-load.d
1113 %dir %{_libexecdir}/sysctl.d
1114 %dir /lib/systemd/system-shutdown
1115 # Don't package the kernel.core_pattern setting until systemd-coredump
1116 # is a part of an actual systemd release and it's made clear how to
1117 # get the core dumps out of the journal.
1118 #%{_libexecdir}/sysctl.d/coredump.conf
1119 %attr(755,root,root) /bin/systemctl
1120 %attr(755,root,root) /bin/systemd-tmpfiles
1121 %attr(755,root,root) /bin/systemd_booted
1122 %{_mandir}/man1/systemctl.1*
1123 %{_mandir}/man5/tmpfiles.d.5*
1124 %{_mandir}/man8/systemd-tmpfiles.8*
1125 %{_npkgconfigdir}/systemd.pc
1127 %{systemdunitdir}/*.automount
1128 %{systemdunitdir}/*.mount
1129 %{systemdunitdir}/*.path
1130 %{systemdunitdir}/*.service
1131 %{systemdunitdir}/*.socket
1132 %{systemdunitdir}/*.target
1133 %{systemdunitdir}/*.timer
1134 %dir %{systemdunitdir}/basic.target.wants
1135 %dir %{systemdunitdir}/dbus.target.wants
1136 %dir %{systemdunitdir}/final.target.wants
1137 %dir %{systemdunitdir}/graphical.target.wants
1138 %dir %{systemdunitdir}/halt.target.wants
1139 %dir %{systemdunitdir}/kexec.target.wants
1140 %dir %{systemdunitdir}/local-fs.target.wants
1141 %dir %{systemdunitdir}/multi-user.target.wants
1142 %dir %{systemdunitdir}/poweroff.target.wants
1143 %dir %{systemdunitdir}/reboot.target.wants
1144 %dir %{systemdunitdir}/runlevel[12345].target.wants
1145 %dir %{systemdunitdir}/shutdown.target.wants
1146 %dir %{systemdunitdir}/sockets.target.wants
1147 %dir %{systemdunitdir}/sysinit.target.wants
1148 %dir %{systemdunitdir}/syslog.target.wants
1149 %{systemdunitdir}/basic.target.wants/*
1150 %{systemdunitdir}/final.target.wants/*
1151 %{systemdunitdir}/graphical.target.wants/*
1152 %{systemdunitdir}/local-fs.target.wants/*
1153 %{systemdunitdir}/multi-user.target.wants/getty.target
1154 %{systemdunitdir}/multi-user.target.wants/rc-local.service
1155 %{systemdunitdir}/multi-user.target.wants/systemd-ask-password-wall.path
1156 %{systemdunitdir}/multi-user.target.wants/systemd-logind.service
1157 %{systemdunitdir}/multi-user.target.wants/systemd-user-sessions.service
1158 %{systemdunitdir}/runlevel[12345].target.wants/*
1159 %{systemdunitdir}/shutdown.target.wants/*
1160 %{systemdunitdir}/sockets.target.wants/*
1161 %{?with_cryptsetup:%{systemdunitdir}/sysinit.target.wants/cryptsetup.target}
1162 %{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount
1163 %{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount
1164 %{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
1165 %{systemdunitdir}/sysinit.target.wants/sys-*.mount
1166 %{systemdunitdir}/sysinit.target.wants/systemd-*
1167 %{_mandir}/man8/systemd-ask-password-console.path.8*
1168 %{_mandir}/man8/systemd-ask-password-console.service.8*
1169 %{_mandir}/man8/systemd-ask-password-wall.path.8*
1170 %{_mandir}/man8/systemd-ask-password-wall.service.8*
1171 %{_mandir}/man8/systemd-binfmt.service.8*
1172 %{_mandir}/man8/systemd-cryptsetup.8*
1173 %{_mandir}/man8/systemd-cryptsetup@.service.8*
1174 %{_mandir}/man8/systemd-fsck-root.service.8*
1175 %{_mandir}/man8/systemd-fsck@.service.8*
1176 %{_mandir}/man8/systemd-halt.service.8*
1177 %{_mandir}/man8/systemd-hibernate.service.8*
1178 %{_mandir}/man8/systemd-hostnamed.service.8*
1179 %{_mandir}/man8/systemd-initctl.service.8*
1180 %{_mandir}/man8/systemd-initctl.socket.8*
1181 %{_mandir}/man8/systemd-journald.service.8*
1182 %{_mandir}/man8/systemd-journald.socket.8*
1183 %{_mandir}/man8/systemd-kexec.service.8*
1184 %{_mandir}/man8/systemd-localed.service.8*
1185 %{_mandir}/man8/systemd-logind.service.8*
1186 %{_mandir}/man8/systemd-modules-load.service.8*
1187 %{_mandir}/man8/systemd-poweroff.service.8*
1188 %{_mandir}/man8/systemd-quotacheck.service.8*
1189 %{_mandir}/man8/systemd-random-seed-load.service.8*
1190 %{_mandir}/man8/systemd-random-seed-save.service.8*
1191 %{_mandir}/man8/systemd-readahead-collect.service.8*
1192 %{_mandir}/man8/systemd-readahead-done.service.8*
1193 %{_mandir}/man8/systemd-readahead-done.timer.8*
1194 %{_mandir}/man8/systemd-readahead-replay.service.8*
1195 %{_mandir}/man8/systemd-reboot.service.8*
1196 %{_mandir}/man8/systemd-remount-fs.service.8*
1197 %{_mandir}/man8/systemd-shutdownd.service.8*
1198 %{_mandir}/man8/systemd-shutdownd.socket.8*
1199 %{_mandir}/man8/systemd-suspend.service.8*
1200 %{_mandir}/man8/systemd-sysctl.service.8*
1201 %{_mandir}/man8/systemd-timedated.service.8*
1202 %{_mandir}/man8/systemd-tmpfiles-clean.service.8*
1203 %{_mandir}/man8/systemd-tmpfiles-clean.timer.8*
1204 %{_mandir}/man8/systemd-tmpfiles-setup.service.8*
1205 %{_mandir}/man8/systemd-udevd.service.8*
1206 %{_mandir}/man8/systemd-update-utmp-runlevel.service.8*
1207 %{_mandir}/man8/systemd-update-utmp-shutdown.service.8*
1208 %{_mandir}/man8/systemd-user-sessions.service.8*
1209 %{_mandir}/man8/systemd-vconsole-setup.service.8*
1212 %defattr(644,root,root,755)
1213 %attr(755,root,root) /lib/systemd/system-generators/pld-rc-inetd-generator
1214 %{systemdunitdir}/rc-inetd.service
1217 %defattr(644,root,root,755)
1218 %attr(755,root,root) %{_bindir}/systemd-analyze
1219 %{_mandir}/man1/systemd-analyze.1*
1222 %defattr(644,root,root,755)
1223 %attr(755,root,root) /%{_lib}/libsystemd-daemon.so.*.*.*
1224 %attr(755,root,root) %ghost /%{_lib}/libsystemd-daemon.so.0
1225 %attr(755,root,root) /%{_lib}/libsystemd-id128.so.*.*.*
1226 %attr(755,root,root) %ghost /%{_lib}/libsystemd-id128.so.0
1227 %attr(755,root,root) /%{_lib}/libsystemd-journal.so.*.*.*
1228 %attr(755,root,root) %ghost /%{_lib}/libsystemd-journal.so.0
1229 %attr(755,root,root) /%{_lib}/libsystemd-login.so.*.*.*
1230 %attr(755,root,root) %ghost /%{_lib}/libsystemd-login.so.0
1233 %defattr(644,root,root,755)
1234 %attr(755,root,root) %{_libdir}/libsystemd-daemon.so
1235 %attr(755,root,root) %{_libdir}/libsystemd-id128.so
1236 %attr(755,root,root) %{_libdir}/libsystemd-journal.so
1237 %attr(755,root,root) %{_libdir}/libsystemd-login.so
1238 %{_includedir}/%{name}
1239 %{_pkgconfigdir}/libsystemd-daemon.pc
1240 %{_pkgconfigdir}/libsystemd-id128.pc
1241 %{_pkgconfigdir}/libsystemd-journal.pc
1242 %{_pkgconfigdir}/libsystemd-login.pc
1243 %{_mandir}/man3/SD_*.3*
1244 %{_mandir}/man3/sd*.3*
1246 %files -n bash-completion-systemd
1247 %defattr(644,root,root,755)
1248 /etc/bash_completion.d/systemd-bash-completion.sh
1251 %defattr(644,root,root,755)
1252 %dev(c,1,3) %attr(666,root,root) /dev/null
1253 %dev(c,5,1) %attr(660,root,console) /dev/console
1254 %dev(c,1,5) %attr(666,root,root) /dev/zero
1257 %defattr(644,root,root,755)
1261 %attr(755,root,root) /lib/udev/collect
1263 %attr(755,root,root) /lib/udev/keyboard-force-release.sh
1265 %attr(755,root,root) /lib/udev/net_helper
1267 %attr(755,root,root) /lib/udev/ata_id
1268 %attr(755,root,root) /lib/udev/cdrom_id
1269 %attr(755,root,root) /lib/udev/mtd_probe
1270 %attr(755,root,root) /lib/udev/scsi_id
1271 %attr(755,root,root) /lib/udev/v4l_id
1273 %attr(755,root,root) /lib/udev/udevd
1275 %attr(755,root,root) /lib/udev/keymap
1276 %dir /lib/udev/keymaps
1279 %attr(755,root,root) /lib/udev/accelerometer
1280 %attr(755,root,root) /lib/udev/findkeyboards
1282 %attr(755,root,root) %{_sbindir}/start_udev
1283 %attr(755,root,root) %{_sbindir}/udevd
1284 %attr(755,root,root) %{_sbindir}/udevadm
1285 %attr(755,root,root) %{_bindir}/udevadm
1287 %dir %{_sysconfdir}/udev
1288 %dir %{_sysconfdir}/udev/rules.d
1290 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
1291 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/udev_blacklist.conf
1292 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/links.conf
1293 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
1294 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules
1296 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf
1298 # rules below are NOT supposed to be changed by users
1299 /lib/udev/rules.d/42-usb-hid-pm.rules
1300 /lib/udev/rules.d/50-udev-default.rules
1301 /lib/udev/rules.d/60-cdrom_id.rules
1302 /lib/udev/rules.d/60-persistent-alsa.rules
1303 /lib/udev/rules.d/60-persistent-input.rules
1304 /lib/udev/rules.d/60-persistent-serial.rules
1305 /lib/udev/rules.d/60-persistent-storage-tape.rules
1306 /lib/udev/rules.d/60-persistent-storage.rules
1307 /lib/udev/rules.d/60-persistent-v4l.rules
1308 /lib/udev/rules.d/61-accelerometer.rules
1309 /lib/udev/rules.d/70-power-switch.rules
1310 /lib/udev/rules.d/75-net-description.rules
1311 /lib/udev/rules.d/75-probe_mtd.rules
1312 /lib/udev/rules.d/75-tty-description.rules
1313 /lib/udev/rules.d/78-sound-card.rules
1314 /lib/udev/rules.d/80-drivers.rules
1315 /lib/udev/rules.d/95-keyboard-force-release.rules
1316 /lib/udev/rules.d/95-keymap.rules
1317 /lib/udev/rules.d/95-udev-late.rules
1319 %{_mandir}/man7/udev.7*
1320 %{_mandir}/man8/udevadm.8*
1321 %{_mandir}/man8/udevd.8*
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) /%{_lib}/libudev.so.*.*.*
1326 %attr(755,root,root) %ghost /%{_lib}/libudev.so.1
1328 %files -n udev-devel
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/libudev.so
1331 %{_includedir}/libudev.h
1332 %{_pkgconfigdir}/libudev.pc
1333 %{_npkgconfigdir}/udev.pc
1335 %files -n udev-static
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_libdir}/libudev.a
1339 %files -n udev-apidocs
1340 %defattr(644,root,root,755)
1341 %{_gtkdocdir}/libudev
1344 %defattr(644,root,root,755)
1345 %attr(755,root,root) /%{_lib}/libgudev-1.0.so.*.*.*
1346 %attr(755,root,root) %ghost /%{_lib}/libgudev-1.0.so.0
1347 %{_libdir}/girepository-1.0/GUdev-1.0.typelib
1349 %files -n udev-glib-devel
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_libdir}/libgudev-1.0.so
1352 %{_includedir}/gudev-1.0
1353 %{_pkgconfigdir}/gudev-1.0.pc
1354 %{_datadir}/gir-1.0/GUdev-1.0.gir
1356 %files -n udev-glib-static
1357 %defattr(644,root,root,755)
1358 %attr(755,root,root) %{_libdir}/libgudev-1.0.a
1360 %files -n udev-glib-apidocs
1361 %defattr(644,root,root,755)
1365 %files -n udev-initrd
1366 %defattr(644,root,root,755)
1367 %dir %{_libdir}/initrd/udev
1368 %attr(755,root,root) %{_libdir}/initrd/systemd-udevd
1369 %attr(755,root,root) %{_libdir}/initrd/udevd
1370 %attr(755,root,root) %{_libdir}/initrd/udevadm
1371 %attr(755,root,root) %{_libdir}/initrd/udevstart
1372 %attr(755,root,root) %{_libdir}/initrd/udev/*_id
1373 %attr(755,root,root) %{_libdir}/initrd/udev/collect
1374 %attr(755,root,root) %{_libdir}/initrd/udev/mtd_probe