]> git.pld-linux.org Git - packages/systemd.git/blame - systemd.spec
- updated patches to 198
[packages/systemd.git] / systemd.spec
CommitLineData
d374e721 1# TODO:
b63d2415 2# - pldize vconsole setup:
30121190 3# http://cgit.freedesktop.org/systemd/systemd/tree/src/vconsole/vconsole-setup.c
a4981830
JR
4# - initrd needs love (does not build and is probably completly unusable in current form)
5# - merge rpm macros provided by systemd with ours
d374e721 6#
c3037397 7# Conditional build:
6c89bbd4
ER
8%bcond_without audit # without audit support
9%bcond_without cryptsetup # without cryptsetup support
f8d07093 10%bcond_without microhttpd # microhttpd support
23107006 11%bcond_without pam # PAM authentication support
f8d07093 12%bcond_without qrencode # QRencode support
23107006
TP
13%bcond_without selinux # without SELinux support
14%bcond_without tcpd # libwrap (tcp_wrappers) support
9c0b975d 15
618c1d39 16%bcond_with initrd # build without udev-initrd
30121190
JR
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
21
22%ifarch sparc sparc64
23%define with_glibc 1
24%endif
25
26# if one of the *libc is enabled disable default uClibc
27%if %{with dietlibc} && %{with uClibc}
28%undefine with_uClibc
29%endif
30
31%if %{with glibc} && %{with uClibc}
32%undefine with_uClibc
33%endif
34
35%if %{with klibc} && %{with uClibc}
36%undefine with_uClibc
37%endif
38
c3037397 39Summary: A System and Service Manager
ede8d3e5 40Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa
41Name: systemd
30121190 42# Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
2be4d5dc 43Version: 197
84153439 44Release: 5
30121190 45Epoch: 1
ede8d3e5 46License: GPL v2+
47Group: Base
440d1d13 48Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
2be4d5dc 49# Source0-md5: 56a860dceadfafe59f40141eb5223743
4f25b6ac 50Source1: %{name}-sysv-convert
b0980573 51Source2: %{name}_booted.c
a3a953ae 52Source3: network.service
870fdd3d
JR
53Source4: var-lock.mount
54Source5: var-run.mount
44410185
JR
55Source10: pld-storage-init-late.service
56Source11: pld-storage-init.service
57Source12: pld-wait-storage.service
58Source13: pld-storage-init.sh
50b8f452
ER
59Source14: pld-clean-tmp.service
60Source15: pld-clean-tmp.sh
bb6fb962
JR
61Source16: pld-rc-inetd-generator.sh
62Source17: rc-inetd.service
a98a12d9 63Source18: default.preset
2be4d5dc 64Source19: prefdm.service
30121190
JR
65# rules
66Source101: udev-alsa.rules
67Source102: udev.rules
68Source103: udev-links.conf
69# scripts / helpers
70Source110: udev-net.helper
71Source111: start_udev
72# misc
73Source120: udev.blacklist
74Source121: fbdev.blacklist
7619c097 75Patch0: target-pld.patch
252e1bad 76Patch1: config-pld.patch
8e088cd5 77Patch2: shut-sysv-up.patch
2e1f31c8 78Patch3: pld-sysv-network.patch
d374e721 79Patch4: tmpfiles-not-fatal.patch
c75fd19d
JR
80Patch6: udev-so.patch
81Patch7: udev-uClibc.patch
82Patch8: udev-ploop-rules.patch
39e47c85 83Patch9: udevadm-in-sbin.patch
5112024c 84Patch10: net-rename-revert.patch
2be4d5dc 85Patch11: nss-in-rootlib.patch
39e47c85
JR
86# hack set to allow static udev build
87Patch100: static-udev.patch
ede8d3e5 88URL: http://www.freedesktop.org/wiki/Software/systemd
5b9bde26 89BuildRequires: acl-devel
6c89bbd4 90%{?with_audit:BuildRequires: audit-libs-devel}
86d3399e 91BuildRequires: autoconf >= 2.64
6e34428f 92BuildRequires: automake >= 1:1.11
e4c66821 93BuildRequires: binutils >= 3:2.22.52.0.1-2
ab590cee 94%{?with_cryptsetup:BuildRequires: cryptsetup-devel >= 1.4.3}
23107006 95BuildRequires: dbus-devel >= 1.3.2
c3037397 96BuildRequires: docbook-style-xsl
30121190
JR
97BuildRequires: glib2-devel >= 1:2.22.0
98BuildRequires: glibc-misc
86d3399e 99BuildRequires: gobject-introspection-devel >= 1.31.1
3fc7a1cc 100BuildRequires: gperf
86d3399e 101BuildRequires: gtk-doc >= 1.18
5b9bde26 102BuildRequires: intltool >= 0.40.0
4389e6f9 103BuildRequires: kmod-devel >= 5
30121190 104BuildRequires: libblkid-devel >= 2.20
b82d0bf2 105BuildRequires: libcap-devel
f8d07093
JR
106BuildRequires: libgcrypt-devel >= 1.4.5
107%{?with_microhttpd:BuildRequires: libmicrohttpd-devel >= 0.9.5}
108%{?with_selinux:BuildRequires: libselinux-devel >= 2.1.9}
6c89bbd4
ER
109BuildRequires: libtool >= 2:2.2
110%{?with_tcpd:BuildRequires: libwrap-devel}
6e34428f 111BuildRequires: libxslt-progs
961baf80 112BuildRequires: m4
6c89bbd4 113%{?with_pam:BuildRequires: pam-devel}
23107006 114BuildRequires: pkgconfig >= 0.9.0
618c1d39 115BuildRequires: python-devel
30121190 116BuildRequires: python-modules
f8d07093 117%{?with_qrencode:BuildRequires: qrencode-devel}
618c1d39 118BuildRequires: rpm-pythonprov
30121190
JR
119BuildRequires: rpmbuild(macros) >= 1.628
120BuildRequires: sed >= 4.0
121BuildRequires: usbutils >= 0.82
58fd72e9 122BuildRequires: xz-devel
30121190
JR
123BuildRequires: zlib-devel
124%if %{with initrd}
125BuildRequires: acl-static
126BuildRequires: attr-static
127%{?with_dietlibc:BuildRequires: dietlibc-static}
128BuildRequires: glib2-static >= 1:2.22.0
129%{?with_glibc:BuildRequires: glibc-static}
130%{?with_klibc:BuildRequires: klibc-static}
131BuildRequires: kmod-libs-static >= 5
132BuildRequires: libblkid-static >= 2.20
f8d07093 133%{?with_glibc:BuildRequires: libselinux-static >= 2.1.9}
30121190
JR
134%{?with_glibc:BuildRequires: libsepol-static}
135%{?with_klibc:BuildRequires: linux-libc-headers}
136BuildRequires: pcre-static
137%{?with_uClibc:BuildRequires: uClibc-static >= 4:0.9.30.3}
138BuildRequires: xz-static
139BuildRequires: zlib-static
140%endif
7e0e6b4e
JR
141Requires: %{name}-libs = %{epoch}:%{version}-%{release}
142Requires: %{name}-units = %{epoch}:%{version}-%{release}
58d6217a 143Requires: /etc/os-release
2ff27c26 144Requires: SysVinit-tools
37b8df82 145Requires: agetty
f8d07093 146%{?with_cryptsetup:Requires: cryptsetup >= 1.4.3}
b0980573 147Requires: dbus >= 1.4.16-6
1b342fb2 148Requires: filesystem >= 4.0-3
ed5c41d4 149Requires: libutempter
a2018b66 150Requires: rc-scripts >= 0.4.5.3-7
56701781 151Requires: setup >= 2.8.0-2
cbba36f4
JR
152Requires: udev-core = %{epoch}:%{version}-%{release}
153Requires: udev-libs = %{epoch}:%{version}-%{release}
e3134fe0 154Requires: virtual(module-tools)
b0980573 155Suggests: ConsoleKit
2a61be78 156Suggests: fsck >= 2.20
e3134fe0 157Suggests: kmod >= 5
c35aa49c 158Suggests: service(klogd)
1cdd35cf 159Suggests: service(syslog)
2bd26e1e 160Provides: udev-acl = %{epoch}:%{version}-%{release}
ca73092d 161Obsoletes: systemd-no-compat-tmpfiles
cbba36f4 162Obsoletes: udev-systemd
3baeefca
PG
163# systemd takes care of that and causes problems
164Conflicts: binfmt-detector
a6203073 165# sytemd wants pam with pam_systemd.so in system-auth...
3b292a99 166Conflicts: pam < 1:1.1.5-5
a6203073
JR
167# ...and sudo hates it
168Conflicts: sudo < 1:1.7.8p2-4
06d34666
JR
169# for prefdm script
170Conflicts: xinitrc-ng < 1.0
0fedd233
JR
171# systemd scripts use options not present in older versions
172Conflicts: kpartx < 0.4.9-7
173Conflicts: multipath-tools < 0.4.9-7
d833377f
JR
174# no tmpfs on /media, use /run/media/$USER for mounting
175Conflicts: udisks2 < 1.92.0
ca73092d
JR
176# packages that have dirs under /var/run and/or /var/lock must provide tmpfiles configs
177Conflicts: ConsoleKit-dirs < 0.4.5-7
178Conflicts: NetworkManager < 2:0.9.2.0-3
179Conflicts: Zope < 2.11.8-2
180Conflicts: amavisd-new < 1:2.7.0-1
181Conflicts: apache-base < 2.2.21-4
182Conflicts: apache-mod_bw < 0.92-3
183Conflicts: apache-mod_fastcgi < 2.4.6-6
184Conflicts: apache1-base < 1.3.42-5
185Conflicts: apache1-mod_fastcgi < 2.4.6-2
186Conflicts: asterisk < 10.0.1-2
187Conflicts: autossh-init < 1.4b-3
188Conflicts: balance < 3.54-2
189Conflicts: bind < 7:9.8.1.P1-4
190Conflicts: bopm < 3.1.3-4
191Conflicts: callweaver < 1.2.1-9
192Conflicts: cassandra-bin < 0.8.9-2
193Conflicts: clamav < 0.97.3-3
194Conflicts: cups < 1:1.5.0-10
ca73092d
JR
195Conflicts: dovecot < 1:2.0.16-3
196Conflicts: dspam < 3.9.0-6
197Conflicts: fail2ban < 0.8.4-4
ca73092d
JR
198Conflicts: gammu-smsd < 1:1.31.0-3
199# Break gdm2.20 installs
200#Conflicts: gdm < 2:3.2.1.1-9
201Conflicts: greylistd < 0.8.8-2
202Conflicts: inn < 2.4.6-7
203Conflicts: ipsec-tools < 0.8.0-3
204Conflicts: jabber-common < 0-9
205Conflicts: laptop-mode-tools < 1.58-2
206Conflicts: libgpod < 0.8.0-6
207Conflicts: libvirt-utils < 0.9.9-4
208Conflicts: lighttpd < 1.4.30-5
209Conflicts: lirc < 0.9.0-20
210Conflicts: mailman < 5:2.1.14-4
211Conflicts: memcached < 1.4.11-2
212Conflicts: mpd < 0.16.5-4
213Conflicts: mrtg < 2.17.0-3
214Conflicts: munin-common < 1.4.5-5
215Conflicts: nagios-nrpe < 2.13-2
216Conflicts: ndisc6-rdnssd < 1.0.1-3
217Conflicts: nscd < 6:2.14.1-5
218Conflicts: nss_ldapd-nslcd < 0.8.4-2
219Conflicts: openct < 0.6.20-3
220Conflicts: openl2tp < 1.8-3
221Conflicts: openldap-overlay-nssov < 2.4.28-4
222Conflicts: openldap-servers < 2.4.28-4
223Conflicts: openvpn < 2.2.2-2
224Conflicts: pam-pam_mount < 2.12-3
225Conflicts: pam-pam_ssh < 1.97-2
226Conflicts: pcsc-lite < 1.8.1-2
227Conflicts: php-dirs < 1.2-3
228Conflicts: policyd < 2.0.10-3
229Conflicts: pound < 2.6-2
230Conflicts: pptp < 1.7.2-3
231Conflicts: proftpd-common < 2:1.3.4a-2
232Conflicts: pulseaudio-server < 1.1-2
233Conflicts: quagga < 0.99.20-3
234Conflicts: radvd < 1.8.5-2
ca73092d
JR
235Conflicts: red5 < 0.9.0-2
236Conflicts: redis-server < 2.4.2-4
237Conflicts: smokeping < 2.4.2-10
238Conflicts: smtp-gated < 1.4.17-2
239Conflicts: socat < 1.7.2.0-2
240Conflicts: speech-dispatcher < 0.7.1-2
241Conflicts: sphinx < 2.0.3-4
242Conflicts: splashutils < 1.5.4.3-3
243Conflicts: stunnel < 4.50-2
244Conflicts: tenshi < 0.12-2
245Conflicts: tor < 0.2.2.35-2
246Conflicts: ucarp < 1.5.2-3
247Conflicts: udisks < 1.0.4-3
248Conflicts: util-vserver < 0.30.216-1.pre3002.3
249Conflicts: vpnc < 0.5.3-2
250Conflicts: web2ldap < 1.1.0rc1-2
251Conflicts: wesnoth-server < 1:1.10-2
252Conflicts: wpa_supplicant < 0.7.3-10
253Conflicts: xl2tpd < 1.3.0-2
254# end of tmpfiles conflicts
ede8d3e5 255BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
256
c75fd19d 257%define _sbindir /sbin
85879912
ER
258%define _libexecdir %{_prefix}/lib
259
ede8d3e5 260%description
1c239f8b 261systemd is a system and service manager for Linux, compatible with
ede8d3e5 262SysV and LSB init scripts. systemd provides aggressive parallelization
263capabilities, uses socket and D-Bus activation for starting services,
264offers on-demand starting of daemons, keeps track of processes using
265Linux cgroups, supports snapshotting and restoring of the system
266state, maintains mount and automount points and implements an
267elaborate transactional dependency-based service control logic. It can
1c239f8b 268work as a drop-in replacement for sysvinit.
ede8d3e5 269
270%description -l pl.UTF-8
271systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze
272skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności
273paralelizacji, do uruchamiania usług używa socketów oraz D-Busa,
274oferuje uruchamianie usług na życzenie, monitoruje procesy używając
275linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie
276(restore) stanu systemu, zarządza (auto)mount pointami oraz
277implementuje starannie opracowaną transakcjonalną, bazującą na
d45dfc3a 278zależnościach logikę kontroli usług. Może pracować jako zastępca dla
ede8d3e5 279sysvinit.
280
c97dacdd
TP
281%package init
282Summary: systemd /sbin/init and LSB/SysV compatibility symlinks
5b9bde26 283Summary(pl.UTF-8): /sbin/init z systemd i dowiązania dla kompatybilności z LSB/SysV
c97dacdd 284Group: Base
d6829efa 285Requires: systemd
c97dacdd
TP
286Provides: readahead = 1:1.5.7-3
287Provides: virtual(init-daemon)
288Obsoletes: SysVinit
289Obsoletes: readahead < 1:1.5.7-3
290Obsoletes: virtual(init-daemon)
4e1559fc 291Conflicts: upstart
c97dacdd
TP
292
293%description init
294Install this package when you are ready to final switch to systemd.
295
5b9bde26
JB
296%description init -l pl.UTF-8
297Ten pakiet należy zainstalować po przygotowaniu się do ostatecznego
298przejścia na systemd.
299
c3037397
ER
300%package units
301Summary: Configuration files, directories and installation tool for systemd
5b9bde26 302Summary(pl.UTF-8): Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla systemd
c3037397 303Group: Base
c3037397 304Requires(post): coreutils
a8d86f01 305Requires(post): /bin/awk
c3037397
ER
306
307%description units
308Basic configuration files, directories and installation tool for the
309systemd system and service manager.
310
f341cd9b 311This is common config, use %{_sysconfdir}/systemd/system to override.
10ffdcd2 312
5b9bde26
JB
313%description units -l pl.UTF-8
314Podstawowe pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla
315zarządcy systemu i usług systemd.
316
317Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać
318poprzez katalog %{_sysconfdir}/systemd/system.
319
bb6fb962
JR
320%package inetd
321Summary: Native inet service support for systemd via socket activation
322Summary(pl.UTF-8): Natywna obsługa usług inet dla systemd
323Group: Base
324Requires: %{name} = %{epoch}:%{version}-%{release}
325Requires: rc-inetd
326Provides: inetdaemon
327Obsoletes: inetd
328Obsoletes: inetdaemon
329Obsoletes: rlinetd
330Obsoletes: xinetd
331
332%description inetd
333Native inet service support for systemd via socket activation.
334
335This package contains inet service generator that provides
336the functionality of rc-inetd service and replaces a separate
337inet daemon with systemd socket activation feature.
338
339%description inetd -l pl.UTF-8
340Natywna obsługa usług inet dla systemd.
341
342Ten pakiet zawiera generator usług inet udostępniający funkcjonalność
343serwisu rc-inetd i zastępujący osobny demon inet przez systemd i
344aktywację usług przez gniazda.
345
4e5e9c32
ER
346%package analyze
347Summary: Tool for processing systemd profiling information
86d3399e 348Summary(pl.UTF-8): Narzędzie do przetwarzania informacji profilujących systemd
4e5e9c32 349Group: Base
7e0e6b4e 350Requires: %{name} = %{epoch}:%{version}-%{release}
4e5e9c32
ER
351Requires: python-dbus
352Requires: python-modules
f4059b36 353Suggests: python-pycairo
36c60baa 354Conflicts: systemd < 44-3
4e5e9c32
ER
355
356%description analyze
357'systemd-analyze blame' lists which systemd unit needed how much time
358to finish initialization at boot. 'systemd-analyze plot' renders an
359SVG visualizing the parallel start of units at boot.
360
86d3399e
JB
361%description analyze -l pl.UTF-8
362'systemd-analyze blame' wypisuje, ile czasu wymagały poszczególne
363jednostki systemd na zakończenie podczas rozruchu systemu.
364'systemd-analyze plot' tworzy wykres SVG wizualizujący równoległy
365start jednostek podczas rozruchu.
366
011bccb6 367%package libs
5b9bde26
JB
368Summary: Shared systemd libraries
369Summary(pl.UTF-8): Biblioteki współdzielone systemd
011bccb6 370Group: Libraries
f8d07093
JR
371Requires: libgcrypt >= 1.4.5
372%{?with_selinux:Requires: libselinux >= 2.1.9}
e22b3018 373Obsoletes: nss_myhostname
011bccb6
BZ
374
375%description libs
5b9bde26
JB
376Shared systemd libraries.
377
378%description libs -l pl.UTF-8
379Biblioteki współdzielone systemd.
011bccb6 380
961baf80
AF
381%package devel
382Summary: Header files for systemd libraries
383Summary(pl.UTF-8): Pliki nagłówkowe bibliotek systemd
384Group: Development/Libraries
7e0e6b4e 385Requires: %{name}-libs = %{epoch}:%{version}-%{release}
961baf80
AF
386
387%description devel
388Header files for systemd libraries.
389
390%description devel -l pl.UTF-8
391Pliki nagłówkowe bibliotek systemd.
392
5b9bde26
JB
393%package -n bash-completion-systemd
394Summary: bash-completion for systemd
395Summary(pl.UTF-8): Bashowe dopełnianie składni dla systemd
396Group: Applications/Shells
7e0e6b4e 397Requires: %{name} = %{epoch}:%{version}
5b9bde26
JB
398Requires: bash-completion
399
400%description -n bash-completion-systemd
401bash-completion for systemd.
402
403%description -n bash-completion-systemd -l pl.UTF-8
86d3399e 404Bashowe dopełnianie składni dla systemd.
5b9bde26 405
30121190
JR
406%package -n udev
407Summary: Device manager for the Linux 2.6 kernel series
408Summary(pl.UTF-8): Zarządca urządzeń dla Linuksa 2.6
409Group: Base
410Requires: udev-core = %{epoch}:%{version}-%{release}
411Provides: dev = 3.5.0
412Obsoletes: dev
413Obsoletes: hotplug
414Obsoletes: hotplug-input
415Obsoletes: hotplug-net
416Obsoletes: hotplug-pci
30121190
JR
417Obsoletes: udev-dev
418Obsoletes: udev-extras < 20090628
419Obsoletes: udev-tools
420
421%description -n udev
422udev is the device manager for the Linux 2.6 kernel series. Its
423primary function is managing device nodes in /dev. It is the successor
424of devfs and hotplug.
425
426%description -n udev -l pl.UTF-8
427udev jest zarządcą urządzeń dla Linuksa 2.6. Jego główną funkcją jest
428zarządzanie węzłami urządzeń w katalogu /dev. Jest następcą devfs i
429hotpluga.
430
431%package -n udev-core
432Summary: A userspace implementation of devfs - core part of udev
433Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - główna część udev
434Group: Base
30121190
JR
435Requires: udev-libs = %{epoch}:%{version}-%{release}
436Requires: coreutils
437Requires: filesystem >= 3.0-45
f8d07093
JR
438Requires: kmod-libs >= 5
439Requires: libblkid >= 2.20
440%{?with_selinux:Requires: libselinux >= 2.1.9}
30121190 441Requires: setup >= 2.6.1-1
30121190 442Requires: uname(release) >= 2.6.32
30121190 443Conflicts: rc-scripts < 0.4.5.3-1
cbba36f4 444Conflicts: systemd-units < 1:183
30121190 445Conflicts: udev < 1:118-1
91243ef3 446Obsoletes: udev-compat
2be4d5dc 447%{!?with_initrd:Obsoletes: udev-initrd < %{epoch}:%{version}-%{release}}
30121190
JR
448
449%description -n udev-core
450A userspace implementation of devfs - core part of udev.
451
452%description -n udev-core -l pl.UTF-8
453Implementacja devfs w przestrzeni użytkownika - główna część udev.
454
455%package -n udev-libs
456Summary: Shared library to access udev device information
457Summary(pl.UTF-8): Biblioteka współdzielona do dostępu do informacji o urządzeniach udev
458Group: Libraries
459
460%description -n udev-libs
461Shared libudev library to access udev device information.
462
463%description -n udev-libs -l pl.UTF-8
464Biblioteka współdzielona libudev służąca do dostępu do informacji o
465urządzeniach udev.
466
467%package -n udev-devel
468Summary: Header file for libudev library
469Summary(pl.UTF-8): Plik nagłówkowy biblioteki libudev
470Group: Development/Libraries
471Requires: udev-libs = %{epoch}:%{version}-%{release}
472
473%description -n udev-devel
474Header file for libudev library.
475
476%description -n udev-devel -l pl.UTF-8
477Plik nagłówkowy biblioteki libudev.
478
479%package -n udev-static
480Summary: Static libudev library
481Summary(pl.UTF-8): Biblioteka statyczna libudev
482Group: Development/Libraries
483Requires: udev-devel = %{epoch}:%{version}-%{release}
484
485%description -n udev-static
486Static libudev library.
487
488%description -n udev-static -l pl.UTF-8
489Biblioteka statyczna libudev.
490
491%package -n udev-apidocs
492Summary: libudev API documentation
493Summary(pl.UTF-8): Dokumentacja API libudev
494Group: Documentation
495Requires: gtk-doc-common
496
497%description -n udev-apidocs
498libudev API documentation.
499
500%description -n udev-apidocs -l pl.UTF-8
501Dokumentacja API libudev.
502
503%package -n udev-glib
504Summary: Shared libgudev library - GObject bindings for libudev
505Summary(pl.UTF-8): Biblioteka współdzielona libgudev - wiązania GObject do libudev
506Group: Libraries
507Requires: udev-libs = %{epoch}:%{version}-%{release}
508Requires: glib2 >= 1:2.22.0
509
510%description -n udev-glib
511Shared libgudev library - GObject bindings for libudev.
512
513%description -n udev-glib -l pl.UTF-8
514Biblioteka współdzielona libgudev - wiązania GObject do libudev.
515
516%package -n udev-glib-devel
517Summary: Header file for libgudev library
518Summary(pl.UTF-8): Plik nagłówkowy biblioteki libgudev
519Group: Development/Libraries
520Requires: udev-devel = %{epoch}:%{version}-%{release}
521Requires: udev-glib = %{epoch}:%{version}-%{release}
522Requires: glib2-devel >= 1:2.22.0
523
524%description -n udev-glib-devel
525Header file for libgudev library.
526
527%description -n udev-glib-devel -l pl.UTF-8
528Plik nagłówkowy biblioteki libgudev.
529
530%package -n udev-glib-static
531Summary: Static libgudev library
532Summary(pl.UTF-8): Biblioteka statyczna libgudev
533Group: Development/Libraries
534Requires: udev-glib-devel = %{epoch}:%{version}-%{release}
535
536%description -n udev-glib-static
537Static libgudev library.
538
539%description -n udev-glib-static -l pl.UTF-8
540Biblioteka statyczna libgudev.
541
542%package -n udev-glib-apidocs
543Summary: libgudev API documentation
544Summary(pl.UTF-8): Dokumentacja API libgudev
545Group: Documentation
546Requires: gtk-doc-common
547
548%description -n udev-glib-apidocs
549libgudev API documentation.
550
551%description -n udev-glib-apidocs -l pl.UTF-8
552Dokumentacja API libgudev.
553
554%package -n udev-initrd
555Summary: A userspace implementation of devfs - static binary for initrd
556Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla initrd
557Group: Base
558Requires: udev-core = %{epoch}:%{version}-%{release}
559Conflicts: geninitrd < 10000.10
560
561%description -n udev-initrd
562A userspace implementation of devfs - static binary for initrd.
563
564%description -n udev-initrd -l pl.UTF-8
565Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla
566initrd.
567
618c1d39
JR
568%package -n python-systemd
569Summary: Systemd Python bindings
570Summary(pl.UTF-8): Wiązania do Systemd dla Pythona
571Group: Development/Languages/Python
572%pyrequires_eq python
573Requires: %{name}-libs = %{epoch}:%{version}-%{release}
574
575%description -n python-systemd
576Systemd Python bindings.
577
578%description -n python-systemd -l pl.UTF-8
579Wiązania do Systemd dla Pythona.
580
ede8d3e5 581%prep
582%setup -q
4c5b5ab6 583%patch0 -p1
252e1bad 584%patch1 -p1
082609ad 585#patch2 -p1
942c9075 586%patch3 -p1
d374e721 587%patch4 -p1
c75fd19d
JR
588%patch6 -p1
589%if %{with uClibc}
590%patch7 -p1
591%endif
3be4738a 592%patch8 -p1
39e47c85 593%patch9 -p1
5112024c 594%patch10 -p1
2be4d5dc 595%patch11 -p1
b77423ae 596cp -p %{SOURCE2} src/systemd_booted.c
ede8d3e5 597
598%build
c75fd19d
JR
599%{__gtkdocize}
600%{__libtoolize}
4c5b5ab6 601%{__aclocal} -I m4
ede8d3e5 602%{__autoconf}
6e34428f 603%{__autoheader}
ede8d3e5 604%{__automake}
183de3c2 605%if %{with initrd}
39e47c85 606patch -p1 <%{PATCH100}
183de3c2
JR
607%configure \
608%if "%{?configure_cache}" == "1"
609 --cache-file=%{?configure_cache_file}%{!?configure_cache_file:configure}-initrd.cache \
610%endif
611 %{?with_uClibc:CC="%{_target_cpu}-uclibc-gcc"} \
612 %{?with_dietlibc:CC="diet %{__cc} %{rpmcflags} %{rpmldflags} -Os -D_BSD_SOURCE"} \
613 %{?with_klibc:CC="%{_bindir}/klcc"} \
614 %{?debug:--enable-debug} \
615 --disable-silent-rules \
616 --disable-shared \
617 --enable-static \
f8d07093 618 --disable-audit \
183de3c2 619 --disable-gtk-doc \
f8d07093 620 --disable-gudev \
183de3c2 621 --disable-introspection \
f8d07093
JR
622 --disable-keymap \
623 --disable-microhttpd \
183de3c2 624 --disable-pam \
f8d07093 625 --disable-qrencode \
183de3c2 626 --disable-selinux \
0a9f5d7b
JB
627 --enable-chkconfig \
628 --enable-split-usr \
629 --with-kbd-loadkeys=/usr/bin/loadkeys \
630 --with-kbd-setfont=/bin/setfont \
631 --with-sysvinit-path=/etc/rc.d/init.d \
632 --with-sysvrcnd-path=/etc/rc.d \
633 --with-rc-local-script-path-start=/etc/rc.d/rc.local \
634 --with-rc-local-script-path-stop=/sbin/halt.local \
635 --with-rootprefix="" \
636 --with-rootlibdir=/%{_lib}
183de3c2
JR
637
638%{__make} \
639 libudev-core.la \
640 systemd-udevd \
641 udevadm \
642 ata_id \
643 cdrom_id \
644 collect \
645 scsi_id \
646 v4l_id \
647 accelerometer \
648 mtd_probe \
649 LDFLAGS="-all-static" \
650 KMOD_LIBS="-lkmod -lz -llzma"
651
652mkdir udev-initrd
653cp -a systemd-udevd \
654 udevadm \
655 ata_id \
656 cdrom_id \
657 collect \
658 scsi_id \
659 v4l_id \
660 accelerometer \
661 mtd_probe \
662 udev-initrd/
663
664%{__make} clean
39e47c85 665patch -p1 -R <%{PATCH100}
183de3c2
JR
666%endif
667
9c0b975d 668%configure \
f8d07093
JR
669 QUOTAON=/sbin/quotaon \
670 QUOTACHECK=/sbin/quotacheck \
671 SETCAP=/sbin/setcap \
672 KILL=/bin/kill \
c75fd19d 673 %{?debug:--enable-debug} \
6c89bbd4
ER
674 %{__enable_disable audit} \
675 %{__enable_disable cryptsetup libcryptsetup} \
6c89bbd4
ER
676 %{__enable_disable pam} \
677 %{__enable_disable selinux} \
678 %{__enable_disable tcpd tcpwrap} \
f8d07093
JR
679 %{__enable_disable microhttpd} \
680 %{__enable_disable qrencode} \
6c89bbd4 681 --disable-silent-rules \
0a9f5d7b 682 --enable-chkconfig \
f8d07093
JR
683 --enable-gtk-doc \
684 --enable-introspection \
685 --enable-split-usr \
183de3c2 686 --enable-static \
0a9f5d7b
JB
687 --with-html-dir=%{_gtkdocdir} \
688 --with-kbd-loadkeys=/usr/bin/loadkeys \
689 --with-kbd-setfont=/bin/setfont \
690 --with-sysvinit-path=/etc/rc.d/init.d \
691 --with-sysvrcnd-path=/etc/rc.d \
692 --with-rc-local-script-path-start=/etc/rc.d/rc.local \
693 --with-rc-local-script-path-stop=/sbin/halt.local \
c75fd19d 694 --with-rootprefix="" \
0a9f5d7b 695 --with-rootlibdir=/%{_lib}
e1d9cc15 696
ede8d3e5 697%{__make}
b77423ae 698./libtool --mode=link --tag=CC %{__cc} %{rpmcppflags} %{rpmcflags} -o systemd_booted %{rpmldflags} src/systemd_booted.c -L. -lsystemd-daemon
ede8d3e5 699
700%install
701rm -rf $RPM_BUILD_ROOT
c75fd19d 702install -d $RPM_BUILD_ROOT/var/lib/%{name}/coredump \
a98a12d9 703 $RPM_BUILD_ROOT{%{_sysconfdir}/{modprobe.d,systemd/system-preset},%{_sbindir}}
23107006 704
ede8d3e5 705%{__make} install \
706 DESTDIR=$RPM_BUILD_ROOT
707
216f25d7 708./libtool --mode=install install -p -m755 systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted
b77423ae 709
c75fd19d 710# compatibility symlinks to udevd binary
cbba36f4
JR
711mv $RPM_BUILD_ROOT/lib/{systemd/systemd-,udev/}udevd
712ln -s /lib/udev/udevd $RPM_BUILD_ROOT/lib/systemd/systemd-udevd
713ln -s /lib/udev/udevd $RPM_BUILD_ROOT%{_sbindir}/udevd
c75fd19d
JR
714
715# compat symlinks for "/ merged into /usr" programs
716mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/udevadm
717ln -s %{_sbindir}/udevadm $RPM_BUILD_ROOT%{_bindir}
183de3c2 718ln -s /lib/udev $RPM_BUILD_ROOT/usr/lib/
c75fd19d
JR
719
720# install custom udev rules from pld package
721cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
722cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules
723
2be4d5dc
JR
724# disable this abomination
725# http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
726ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/80-net-name-slot.rules
727
c75fd19d
JR
728# install udev configs
729cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/udev/links.conf
730
731# install udev executables (scripts, helpers, etc.)
732install -p %{SOURCE110} $RPM_BUILD_ROOT/lib/udev/net_helper
733install -p %{SOURCE111} $RPM_BUILD_ROOT%{_sbindir}/start_udev
734
735# install misc udev stuff
736cp -a %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/udev_blacklist.conf
737cp -a %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
738
cbba36f4 739mv $RPM_BUILD_ROOT%{_mandir}/man8/{systemd-,}udevd.8
579cb1fc 740echo ".so man8/udevd.8" >$RPM_BUILD_ROOT%{_mandir}/man8/systemd-udevd.8
c75fd19d
JR
741
742%if %{with initrd}
743install -d $RPM_BUILD_ROOT%{_libdir}/initrd/udev
183de3c2
JR
744install -p udev-initrd/udevadm $RPM_BUILD_ROOT%{_libdir}/initrd
745install -p udev-initrd/systemd-udevd $RPM_BUILD_ROOT%{_libdir}/initrd
746# hardlink udevd -> systemd-udevd
747ln $RPM_BUILD_ROOT%{_libdir}/initrd/{systemd-,}udevd
c75fd19d 748ln -s udevd $RPM_BUILD_ROOT%{_libdir}/initrd/udevstart
183de3c2
JR
749install -p udev-initrd/*_id $RPM_BUILD_ROOT%{_libdir}/initrd/udev
750install -p udev-initrd/collect $RPM_BUILD_ROOT%{_libdir}/initrd/udev
751install -p udev-initrd/mtd_probe $RPM_BUILD_ROOT%{_libdir}/initrd/udev
c75fd19d
JR
752%endif
753
4389e6f9
JR
754# Main binary has been moved, but we don't want to break existing installs
755ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/bin/systemd
756
1dcb74bb 757# Create SysV compatibility symlinks. systemctl/systemd are smart
2a61be78 758# enough to detect the way they were called
c28b0c1c 759install -d $RPM_BUILD_ROOT/sbin
4389e6f9 760ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/sbin/init
1dcb74bb 761ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/halt
762ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/poweroff
23107006
TP
763ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/reboot
764ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/runlevel
1dcb74bb 765ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/shutdown
766ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/telinit
1dcb74bb 767
5d32f234 768ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf
44410185
JR
769
770# disable redundant SYSV services
771ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/allowlogin.service
4cc1cb1d 772ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/console.service
44410185
JR
773ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/cpusets.service
774ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/killall.service
775ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/netfs.service
776ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/random.service
5d32f234 777
f1586299 778# add static (non-NetworkManager) networking
216f25d7 779cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/network.service
f1586299 780
d833377f
JR
781# restore bind-mounts /var/run -> run and /var/lock -> /run/lock
782# we don't have those directories symlinked
870fdd3d
JR
783cp -p %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/var-lock.mount
784cp -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/var-run.mount
0e50d607
JR
785ln -s ../var-lock.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
786ln -s ../var-run.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
d833377f
JR
787
788# and remove tmp on tmpfs mount
789%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/tmp.mount
183de3c2 790%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants/tmp.mount
d833377f 791
44410185 792# Install and enable storage subsystems support services (RAID, LVM, etc.)
216f25d7
ER
793cp -p %{SOURCE10} $RPM_BUILD_ROOT%{systemdunitdir}/pld-storage-init-late.service
794cp -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}/pld-storage-init.service
795cp -p %{SOURCE12} $RPM_BUILD_ROOT%{systemdunitdir}/pld-wait-storage.service
50b8f452 796cp -p %{SOURCE14} $RPM_BUILD_ROOT%{systemdunitdir}/pld-clean-tmp.service
216f25d7 797install -p %{SOURCE13} $RPM_BUILD_ROOT/lib/systemd/pld-storage-init
50b8f452 798install -p %{SOURCE15} $RPM_BUILD_ROOT/lib/systemd/pld-clean-tmp
44410185 799
50b8f452
ER
800ln -s ../pld-storage-init-late.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
801ln -s ../pld-storage-init.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
802ln -s ../pld-clean-tmp.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
c3037397 803
bb6fb962
JR
804# Install rc-inetd replacement
805cp -p %{SOURCE16} $RPM_BUILD_ROOT/lib/systemd/system-generators/pld-rc-inetd-generator
806cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdunitdir}/rc-inetd.service
807
a98a12d9
JR
808cp -p %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system-preset/default.preset
809
2be4d5dc
JR
810cp -p %{SOURCE19} $RPM_BUILD_ROOT%{systemdunitdir}/prefdm.service
811
216f25d7
ER
812# handled by rc-local sysv service, no need for generator
813%{__rm} $RPM_BUILD_ROOT/lib/systemd/system-generators/systemd-rc-local-generator
216f25d7 814
72e4d9f8 815# provided by rc-scripts
4f6dc28a 816%{__rm} $RPM_BUILD_ROOT/lib/systemd/system/rc-local.service
72e4d9f8 817
2a61be78
TP
818# Make sure these directories are properly owned:
819# - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd,
820# - syslog _might_ be used by some syslog implementation (none for now),
821# - isn't dbus populated by dbus-systemd only (so to be moved there)?
4cc1cb1d 822install -d $RPM_BUILD_ROOT%{systemdunitdir}/{dbus,halt,kexec,poweroff,reboot,syslog}.target.wants
961baf80
AF
823
824# Create new-style configuration files so that we can ghost-own them
70047b34 825touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,timezone,vconsole.conf}
4bbef33c 826
9d8b5dfe 827# Install SysV conversion tool for systemd
4f25b6ac 828install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
9d8b5dfe
BZ
829
830install -d $RPM_BUILD_ROOT/var/log
5a65c84e
TP
831:> $RPM_BUILD_ROOT/var/log/btmp
832:> $RPM_BUILD_ROOT/var/log/wtmp
a761f93e 833
5d32f234 834%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
a86320a6 835%{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_systemd.la
0a9f5d7b 836%{__rm} $RPM_BUILD_ROOT/%{_lib}/libnss_myhostname.la
5d32f234 837%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
f8d07093
JR
838%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/systemd/*.la
839%py_postclean
5d32f234 840
ede8d3e5 841%clean
842rm -rf $RPM_BUILD_ROOT
843
9638c72f 844%post
4bbef33c 845/bin/systemd-machine-id-setup > /dev/null 2>&1 || :
9638c72f 846/bin/systemctl daemon-reexec > /dev/null 2>&1 || :
c3037397 847
961baf80 848%postun
85879912 849if [ $1 -ge 1 ]; then
961baf80 850 /bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
9638c72f 851fi
852
3edd52a6
TP
853%post libs -p /sbin/ldconfig
854%postun libs -p /sbin/ldconfig
011bccb6 855
961baf80 856%post units
85879912 857if [ $1 -eq 1 ]; then
961baf80
AF
858 # Try to read default runlevel from the old inittab if it exists
859 runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2> /dev/null)
860 if [ -z "$runlevel" ] ; then
4cc1cb1d 861 target="%{systemdunitdir}/graphical.target"
961baf80 862 else
4cc1cb1d 863 target="%{systemdunitdir}/runlevel$runlevel.target"
961baf80
AF
864 fi
865
866 # And symlink what we found to the new-style default.target
f341cd9b 867 ln -s "$target" %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || :
cf819365
JR
868
869 # Setup hostname
870 [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
871 if [ -n "$HOSTNAME" -a "$HOSTNAME" != "pldmachine" ]; then
872 [ -f /etc/hostname ] && mv -f /etc/hostname /etc/hostname.rpmsave
873 echo $HOSTNAME > /etc/hostname
874 chmod 644 /etc/hostname
875 fi
44410185
JR
876
877 # Enable the services we install by default.
878 /bin/systemctl enable \
879 getty@.service \
880 network.service \
881 remote-fs.target \
882 systemd-readahead-replay.service \
cbba36f4
JR
883 systemd-readahead-collect.service \
884 systemd-udev-settle.service >/dev/null 2>&1 || :
9638c72f 885fi
c3037397
ER
886
887%preun units
961baf80
AF
888if [ $1 -eq 0 ] ; then
889 /bin/systemctl disable \
890 getty@.service \
f1586299 891 network.service \
961baf80
AF
892 remote-fs.target \
893 systemd-readahead-replay.service \
cbba36f4
JR
894 systemd-readahead-collect.service \
895 systemd-udev-settle.service >/dev/null 2>&1 || :
961baf80 896
f341cd9b 897 %{__rm} -f %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || :
c3037397 898fi
9638c72f 899
961baf80 900%postun units
85879912 901if [ $1 -ge 1 ]; then
9638c72f 902 /bin/systemctl daemon-reload > /dev/null 2>&1 || :
903fi
904
2386bcb6 905%triggerpostun units -- systemd-units < 43-7
44410185 906# Remove design fialures
cbba36f4
JR
907%{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service >/dev/null 2>&1 || :
908%{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service >/dev/null 2>&1 || :
909%{__rm} -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service >/dev/null 2>&1 || :
f3877668 910/bin/systemctl reenable network.service >/dev/null 2>&1 || :
44410185 911
cde7998d 912%triggerpostun units -- systemd-units < 1:183
cbba36f4
JR
913/bin/systemctl --quiet enable systemd-udev-settle.service >/dev/null 2>&1 || :
914%{__rm} -f /etc/systemd/system/basic.target.wants/udev-settle.service >/dev/null 2>&1 || :
6f109eab
JR
915# preserve renamed configs
916if [ -f /etc/systemd/systemd-journald.conf.rpmsave ]; then
917 %{__mv} /etc/systemd/journald.conf{,.rpmnew}
918 %{__mv} -f /etc/systemd/systemd-journald.conf.rpmsave /etc/systemd/journald.conf
919fi
920if [ -f /etc/systemd/systemd-logind.conf.rpmsave ]; then
921 %{__mv} /etc/systemd/logind.conf{,.rpmnew}
922 %{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf
923fi
cbba36f4 924
a98a12d9
JR
925%triggerpostun units -- systemd-units < 1:187-3
926if [ -f /etc/sysconfig/rpm ]; then
927 . /etc/sysconfig/rpm
928 if [ ${RPM_ENABLE_SYSTEMD_SERVICE:-yes} = no ]; then
929 echo "disable *" >>%{_sysconfdir}/systemd/system-preset/default.preset
930 fi
931fi
932
bb6fb962
JR
933%post inetd
934%systemd_reload
f96cfa86
JR
935# Do not change it to restart, we only want to start new services here
936%systemd_service_start sockets.target
bb6fb962
JR
937
938%postun inetd
939%systemd_reload
940
30121190
JR
941%triggerpostun -n udev-core -- dev
942if [ "$2" = 0 ]; then
943 # need to kill and restart udevd as after obsoleting dev package the
944 # /dev tree will remain empty. umask is needed as otherwise udev will
945 # create devices with strange permissions (udev bug probably)
946 umask 000
947 /sbin/start_udev || exit 0
948fi
949
950%triggerpostun -n udev-core -- udev < 108
951%{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules
952%if "%{_lib}" != "lib"
953%{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules
954%endif
955
956%triggerpostun -n udev-core -- udev < 165
957/sbin/udevadm info --convert-db
958
30121190
JR
959%post -n udev-core
960if [ $1 -gt 1 ]; then
961 if [ ! -x /bin/systemd_booted ] || ! /bin/systemd_booted; then
962 if grep -qs devtmpfs /proc/mounts && [ -n "$(pidof udevd)" ]; then
963 /sbin/udevadm control --exit
ac4b515a 964 /lib/udev/udevd --daemon
30121190
JR
965 fi
966 else
967 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
2bf49637 968 /bin/systemctl --quiet try-restart systemd-udevd.service || :
30121190
JR
969 fi
970fi
30121190
JR
971
972%postun -n udev-core
cbba36f4
JR
973if [ -x /bin/systemd_booted ] && /bin/systemd_booted; then
974 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
975 /bin/systemctl --quiet daemon-reload || :
976fi
30121190
JR
977
978%post -n udev-libs -p /sbin/ldconfig
979%postun -n udev-libs -p /sbin/ldconfig
980
981%post -n udev-glib -p /sbin/ldconfig
982%postun -n udev-glib -p /sbin/ldconfig
983
ede8d3e5 984%files
985%defattr(644,root,root,755)
1c239f8b 986%doc DISTRO_PORTING README TODO
6e34428f 987/etc/dbus-1/system.d/org.freedesktop.hostname1.conf
961baf80
AF
988/etc/dbus-1/system.d/org.freedesktop.locale1.conf
989/etc/dbus-1/system.d/org.freedesktop.login1.conf
c3037397 990/etc/dbus-1/system.d/org.freedesktop.systemd1.conf
961baf80 991/etc/dbus-1/system.d/org.freedesktop.timedate1.conf
3edd52a6 992%ghost %config(noreplace) %{_sysconfdir}/machine-id
b77423ae
AF
993%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname
994%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf
995%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info
b77423ae
AF
996%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/timezone
997%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf
c75fd19d
JR
998%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journald.conf
999%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/logind.conf
1000%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system.conf
1001%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/user.conf
2a61be78 1002%dir %{_sysconfdir}/systemd/user
44410185
JR
1003%dir %{_sysconfdir}/systemd/system/*.target.wants
1004%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/*.target.wants/*.service
1005%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/*.target.wants/*.target
abd479ee 1006/etc/xdg/systemd
c75fd19d
JR
1007%attr(755,root,root) /bin/journalctl
1008%attr(755,root,root) /bin/loginctl
1dcb74bb 1009%attr(755,root,root) /bin/systemd
1010%attr(755,root,root) /bin/systemd-ask-password
c75fd19d 1011%attr(755,root,root) /bin/systemd-inhibit
7a76bc86 1012%attr(755,root,root) /bin/systemd-machine-id-setup
1dcb74bb 1013%attr(755,root,root) /bin/systemd-notify
1014%attr(755,root,root) /bin/systemd-tty-ask-password-agent
618c1d39
JR
1015%attr(755,root,root) %{_bindir}/hostnamectl
1016%attr(755,root,root) %{_bindir}/localectl
d374e721 1017%attr(755,root,root) %{_bindir}/systemd-cat
23107006 1018%attr(755,root,root) %{_bindir}/systemd-cgls
f8d07093
JR
1019%attr(755,root,root) %{_bindir}/systemd-cgtop
1020%attr(755,root,root) %{_bindir}/systemd-coredumpctl
c75fd19d
JR
1021%attr(755,root,root) %{_bindir}/systemd-delta
1022%attr(755,root,root) %{_bindir}/systemd-detect-virt
57cd0d13
ZU
1023%attr(755,root,root) %{_bindir}/systemd-nspawn
1024%attr(755,root,root) %{_bindir}/systemd-stdio-bridge
2a61be78 1025%attr(755,root,root) %{_bindir}/systemd-sysv-convert
f8d07093 1026%attr(755,root,root) %{_bindir}/timedatectl
8a78a3e8 1027%attr(755,root,root) /lib/systemd/pld-clean-tmp
44410185 1028%attr(755,root,root) /lib/systemd/pld-storage-init
c75fd19d
JR
1029%attr(755,root,root) /lib/systemd/systemd-ac-power
1030%attr(755,root,root) /lib/systemd/systemd-binfmt
2be4d5dc 1031%attr(755,root,root) /lib/systemd/systemd-bootchart
c75fd19d
JR
1032%attr(755,root,root) /lib/systemd/systemd-cgroups-agent
1033%attr(755,root,root) /lib/systemd/systemd-coredump
657515ed 1034%{?with_cryptsetup:%attr(755,root,root) /lib/systemd/systemd-cryptsetup}
c75fd19d
JR
1035%attr(755,root,root) /lib/systemd/systemd-fsck
1036%attr(755,root,root) /lib/systemd/systemd-hostnamed
1037%attr(755,root,root) /lib/systemd/systemd-initctl
f8d07093 1038%{?with_microhttpd:%attr(755,root,root) /lib/systemd/systemd-journal-gatewayd}
c75fd19d
JR
1039%attr(755,root,root) /lib/systemd/systemd-journald
1040%attr(755,root,root) /lib/systemd/systemd-localed
1041%attr(755,root,root) /lib/systemd/systemd-logind
1042%attr(755,root,root) /lib/systemd/systemd-modules-load
1043%attr(755,root,root) /lib/systemd/systemd-multi-seat-x
1044%attr(755,root,root) /lib/systemd/systemd-quotacheck
1045%attr(755,root,root) /lib/systemd/systemd-random-seed
4400c575 1046%attr(755,root,root) /lib/systemd/systemd-readahead
c75fd19d
JR
1047%attr(755,root,root) /lib/systemd/systemd-remount-fs
1048%attr(755,root,root) /lib/systemd/systemd-reply-password
1049%attr(755,root,root) /lib/systemd/systemd-shutdown
1050%attr(755,root,root) /lib/systemd/systemd-shutdownd
1051%attr(755,root,root) /lib/systemd/systemd-sleep
1052%attr(755,root,root) /lib/systemd/systemd-sysctl
1053%attr(755,root,root) /lib/systemd/systemd-timedated
1054%attr(755,root,root) /lib/systemd/systemd-timestamp
cbba36f4 1055%attr(755,root,root) /lib/systemd/systemd-udevd
c75fd19d
JR
1056%attr(755,root,root) /lib/systemd/systemd-update-utmp
1057%attr(755,root,root) /lib/systemd/systemd-user-sessions
1058%attr(755,root,root) /lib/systemd/systemd-vconsole-setup
c3037397 1059%dir /lib/systemd/system-generators
4389e6f9 1060%attr(755,root,root) /lib/systemd/systemd
5d32f234 1061%attr(755,root,root) /lib/systemd/system-generators/systemd-*-generator
961baf80
AF
1062/lib/udev/rules.d/70-uaccess.rules
1063/lib/udev/rules.d/71-seat.rules
1064/lib/udev/rules.d/73-seat-late.rules
f8d07093 1065/lib/udev/rules.d/99-systemd.rules
3edd52a6 1066%dir %{_libexecdir}/systemd
f8d07093
JR
1067%dir %{_libexecdir}/systemd/catalog
1068%{_libexecdir}/systemd/catalog/systemd.catalog
3edd52a6 1069%{_libexecdir}/systemd/user
2a61be78 1070%dir %{_libexecdir}/systemd/user-generators
c7a423d8
JR
1071%{_libexecdir}/tmpfiles.d/legacy.conf
1072%{_libexecdir}/tmpfiles.d/systemd.conf
1073%{_libexecdir}/tmpfiles.d/tmp.conf
1074%{_libexecdir}/tmpfiles.d/x11.conf
961baf80
AF
1075%{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml
1076%{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml
c3037397 1077%{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml
961baf80 1078%{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml
1c239f8b 1079%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
6e34428f 1080%{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
961baf80
AF
1081%{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
1082%{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
1c239f8b 1083%{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
961baf80 1084%{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
6e34428f 1085%{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
961baf80
AF
1086%{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
1087%{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
1088%{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
1089%{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
1090%dir %{_datadir}/systemd
f8d07093 1091%{?with_microhttpd:%{_datadir}/systemd/gatewayd}
961baf80 1092%{_datadir}/systemd/kbd-model-map
618c1d39 1093%{_mandir}/man1/hostnamectl.1*
c75fd19d 1094%{_mandir}/man1/journalctl.1*
f8d07093 1095%{_mandir}/man1/localectl.1*
c75fd19d 1096%{_mandir}/man1/loginctl.1*
7a76bc86 1097%{_mandir}/man1/systemd.1*
c75fd19d 1098%{_mandir}/man1/systemd-ask-password.1*
2be4d5dc 1099%{_mandir}/man1/systemd-bootchart.1*
c75fd19d
JR
1100%{_mandir}/man1/systemd-cat.1*
1101%{_mandir}/man1/systemd-cgls.1*
1102%{_mandir}/man1/systemd-cgtop.1*
f8d07093 1103%{_mandir}/man1/systemd-coredumpctl.1*
c75fd19d
JR
1104%{_mandir}/man1/systemd-delta.1*
1105%{_mandir}/man1/systemd-detect-virt.1*
1106%{_mandir}/man1/systemd-inhibit.1*
1107%{_mandir}/man1/systemd-machine-id-setup.1*
1108%{_mandir}/man1/systemd-notify.1*
1109%{_mandir}/man1/systemd-nspawn.1*
4400c575 1110%{_mandir}/man1/systemd-tty-ask-password-agent.1*
f8d07093 1111%{_mandir}/man1/timedatectl.1*
6e34428f 1112%{_mandir}/man5/binfmt.d.5*
4400c575
JR
1113# cfl with rc-scripts
1114#%{_mandir}/man5/crypttab.5*
1c239f8b 1115%{_mandir}/man5/hostname.5*
c75fd19d 1116%{_mandir}/man5/journald.conf.5*
1c239f8b 1117%{_mandir}/man5/locale.conf.5*
618c1d39 1118%{_mandir}/man5/localtime.5*
c75fd19d 1119%{_mandir}/man5/logind.conf.5*
7a76bc86 1120%{_mandir}/man5/machine-id.5*
6e34428f 1121%{_mandir}/man5/machine-info.5*
1c239f8b 1122%{_mandir}/man5/modules-load.d.5*
1123%{_mandir}/man5/os-release.5*
6e34428f 1124%{_mandir}/man5/sysctl.d.5*
89d58574 1125%{_mandir}/man5/systemd.*.5*
23107006 1126%{_mandir}/man5/vconsole.conf.5*
4400c575 1127%{_mandir}/man7/bootup.7*
1c239f8b 1128%{_mandir}/man7/daemon.7*
4400c575 1129%{_mandir}/man7/kernel-command-line.7*
c75fd19d 1130%{_mandir}/man7/systemd.journal-fields.7*
4400c575 1131%{_mandir}/man7/systemd.special.7*
2be4d5dc
JR
1132%{_mandir}/man7/systemd.time.7*
1133%{_mandir}/man8/nss-myhostname.8*
4f1f9baf 1134%{_mandir}/man8/systemd-binfmt.8*
657515ed 1135%{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup-generator.8*}
f8d07093 1136%{_mandir}/man8/systemd-fsck.8*
4400c575
JR
1137%{_mandir}/man8/systemd-fstab-generator.8*
1138%{_mandir}/man8/systemd-getty-generator.8*
1139%{_mandir}/man8/systemd-hostnamed.8*
1140%{_mandir}/man8/systemd-initctl.8*
e10e2521 1141%{?with_microhttpd:%{_mandir}/man8/systemd-journal-gatewayd.8*}
4f1f9baf 1142%{_mandir}/man8/systemd-journald.8*
4400c575 1143%{_mandir}/man8/systemd-localed.8*
4f1f9baf 1144%{_mandir}/man8/systemd-logind.8*
4f1f9baf 1145%{_mandir}/man8/systemd-modules-load.8*
4400c575
JR
1146%{_mandir}/man8/systemd-quotacheck.8*
1147%{_mandir}/man8/systemd-random-seed.8*
1148%{_mandir}/man8/systemd-readahead.8*
1149%{_mandir}/man8/systemd-remount-fs.8*
1150%{_mandir}/man8/systemd-shutdown.8*
1151%{_mandir}/man8/systemd-shutdownd.8*
1152%{_mandir}/man8/systemd-sleep.8*
4f1f9baf 1153%{_mandir}/man8/systemd-sysctl.8*
4400c575
JR
1154%{_mandir}/man8/systemd-system-update-generator.8*
1155%{_mandir}/man8/systemd-timedated.8*
cbba36f4 1156%{_mandir}/man8/systemd-udevd.8*
4400c575
JR
1157%{_mandir}/man8/systemd-update-utmp.8*
1158%{_mandir}/man8/systemd-user-sessions.8*
1159%{_mandir}/man8/systemd-vconsole-setup.8*
24f95219
ER
1160%dir /var/lib/%{name}
1161%dir /var/lib/%{name}/coredump
a761f93e
TP
1162%attr(640,root,root) %ghost /var/log/btmp
1163%attr(664,root,utmp) %ghost /var/log/wtmp
c3037397 1164
6c89bbd4 1165%if %{with pam}
a86320a6 1166%attr(755,root,root) /%{_lib}/security/pam_systemd.so
6c89bbd4
ER
1167%{_mandir}/man8/pam_systemd.8*
1168%endif
1169
c97dacdd 1170%files init
5b9bde26 1171%defattr(644,root,root,755)
c97dacdd
TP
1172%attr(755,root,root) /sbin/halt
1173%attr(755,root,root) /sbin/init
1174%attr(755,root,root) /sbin/poweroff
1175%attr(755,root,root) /sbin/reboot
1176%attr(755,root,root) /sbin/runlevel
1177%attr(755,root,root) /sbin/shutdown
1178%attr(755,root,root) /sbin/telinit
1179%{_mandir}/man1/init.1
1180%{_mandir}/man8/halt.8*
1181%{_mandir}/man8/poweroff.8
1182%{_mandir}/man8/reboot.8
1183%{_mandir}/man8/runlevel.8*
1184%{_mandir}/man8/shutdown.8*
1185%{_mandir}/man8/telinit.8*
1186
c3037397
ER
1187%files units
1188%defattr(644,root,root,755)
abd479ee
MB
1189%dir %{_sysconfdir}/binfmt.d
1190%dir %{_sysconfdir}/modules-load.d
5d32f234 1191%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf
abd479ee 1192%dir %{_sysconfdir}/sysctl.d
c3037397
ER
1193%dir %{_sysconfdir}/systemd
1194%dir %{_sysconfdir}/systemd/system
a98a12d9
JR
1195%dir %{_sysconfdir}/systemd/system-preset
1196%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system-preset/default.preset
c3037397 1197%dir %{_sysconfdir}/tmpfiles.d
85879912
ER
1198%dir %{_libexecdir}/binfmt.d
1199%dir %{_libexecdir}/modules-load.d
1200%dir %{_libexecdir}/sysctl.d
16f4419f 1201%dir /lib/systemd/system-sleep
828362e7 1202%dir /lib/systemd/system-shutdown
618c1d39 1203%{_libexecdir}/sysctl.d/coredump.conf
c3037397
ER
1204%attr(755,root,root) /bin/systemctl
1205%attr(755,root,root) /bin/systemd-tmpfiles
b77423ae 1206%attr(755,root,root) /bin/systemd_booted
c3037397 1207%{_mandir}/man1/systemctl.1*
89d58574 1208%{_mandir}/man5/tmpfiles.d.5*
c3037397 1209%{_mandir}/man8/systemd-tmpfiles.8*
961baf80 1210%{_npkgconfigdir}/systemd.pc
c3037397 1211
4cc1cb1d
ER
1212%{systemdunitdir}/*.automount
1213%{systemdunitdir}/*.mount
1214%{systemdunitdir}/*.path
1215%{systemdunitdir}/*.service
618c1d39 1216%exclude %{systemdunitdir}/rc-inetd.service
4cc1cb1d
ER
1217%{systemdunitdir}/*.socket
1218%{systemdunitdir}/*.target
1219%{systemdunitdir}/*.timer
e4c66821
JB
1220%dir %{systemdunitdir}/basic.target.wants
1221%dir %{systemdunitdir}/dbus.target.wants
1222%dir %{systemdunitdir}/final.target.wants
1223%dir %{systemdunitdir}/graphical.target.wants
1224%dir %{systemdunitdir}/halt.target.wants
1225%dir %{systemdunitdir}/kexec.target.wants
1226%dir %{systemdunitdir}/local-fs.target.wants
1227%dir %{systemdunitdir}/multi-user.target.wants
1228%dir %{systemdunitdir}/poweroff.target.wants
1229%dir %{systemdunitdir}/reboot.target.wants
1230%dir %{systemdunitdir}/runlevel[12345].target.wants
1231%dir %{systemdunitdir}/shutdown.target.wants
1232%dir %{systemdunitdir}/sockets.target.wants
1233%dir %{systemdunitdir}/sysinit.target.wants
1234%dir %{systemdunitdir}/syslog.target.wants
c7a423d8
JR
1235%{systemdunitdir}/basic.target.wants/*
1236%{systemdunitdir}/final.target.wants/*
1237%{systemdunitdir}/graphical.target.wants/*
1238%{systemdunitdir}/local-fs.target.wants/*
1239%{systemdunitdir}/multi-user.target.wants/getty.target
1240%{systemdunitdir}/multi-user.target.wants/rc-local.service
1241%{systemdunitdir}/multi-user.target.wants/systemd-ask-password-wall.path
1242%{systemdunitdir}/multi-user.target.wants/systemd-logind.service
1243%{systemdunitdir}/multi-user.target.wants/systemd-user-sessions.service
1244%{systemdunitdir}/runlevel[12345].target.wants/*
1245%{systemdunitdir}/shutdown.target.wants/*
1246%{systemdunitdir}/sockets.target.wants/*
1247%{?with_cryptsetup:%{systemdunitdir}/sysinit.target.wants/cryptsetup.target}
1248%{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount
1249%{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount
1250%{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
1251%{systemdunitdir}/sysinit.target.wants/sys-*.mount
1252%{systemdunitdir}/sysinit.target.wants/systemd-*
4400c575
JR
1253%{_mandir}/man8/systemd-ask-password-console.path.8*
1254%{_mandir}/man8/systemd-ask-password-console.service.8*
1255%{_mandir}/man8/systemd-ask-password-wall.path.8*
1256%{_mandir}/man8/systemd-ask-password-wall.service.8*
1257%{_mandir}/man8/systemd-binfmt.service.8*
657515ed
JK
1258%{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup.8*}
1259%{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup@.service.8*}
4400c575
JR
1260%{_mandir}/man8/systemd-fsck-root.service.8*
1261%{_mandir}/man8/systemd-fsck@.service.8*
1262%{_mandir}/man8/systemd-halt.service.8*
1263%{_mandir}/man8/systemd-hibernate.service.8*
1264%{_mandir}/man8/systemd-hostnamed.service.8*
f8d07093 1265%{_mandir}/man8/systemd-hybrid-sleep.service.8*
4400c575
JR
1266%{_mandir}/man8/systemd-initctl.service.8*
1267%{_mandir}/man8/systemd-initctl.socket.8*
e10e2521
JK
1268%{?with_microhttpd:%{_mandir}/man8/systemd-journal-gatewayd.service.8*}
1269%{?with_microhttpd:%{_mandir}/man8/systemd-journal-gatewayd.socket.8*}
4400c575
JR
1270%{_mandir}/man8/systemd-journald.service.8*
1271%{_mandir}/man8/systemd-journald.socket.8*
1272%{_mandir}/man8/systemd-kexec.service.8*
1273%{_mandir}/man8/systemd-localed.service.8*
1274%{_mandir}/man8/systemd-logind.service.8*
1275%{_mandir}/man8/systemd-modules-load.service.8*
1276%{_mandir}/man8/systemd-poweroff.service.8*
1277%{_mandir}/man8/systemd-quotacheck.service.8*
1278%{_mandir}/man8/systemd-random-seed-load.service.8*
1279%{_mandir}/man8/systemd-random-seed-save.service.8*
1280%{_mandir}/man8/systemd-readahead-collect.service.8*
1281%{_mandir}/man8/systemd-readahead-done.service.8*
1282%{_mandir}/man8/systemd-readahead-done.timer.8*
1283%{_mandir}/man8/systemd-readahead-replay.service.8*
1284%{_mandir}/man8/systemd-reboot.service.8*
1285%{_mandir}/man8/systemd-remount-fs.service.8*
1286%{_mandir}/man8/systemd-shutdownd.service.8*
1287%{_mandir}/man8/systemd-shutdownd.socket.8*
1288%{_mandir}/man8/systemd-suspend.service.8*
1289%{_mandir}/man8/systemd-sysctl.service.8*
1290%{_mandir}/man8/systemd-timedated.service.8*
1291%{_mandir}/man8/systemd-tmpfiles-clean.service.8*
1292%{_mandir}/man8/systemd-tmpfiles-clean.timer.8*
1293%{_mandir}/man8/systemd-tmpfiles-setup.service.8*
1294%{_mandir}/man8/systemd-udevd.service.8*
f8d07093
JR
1295%{_mandir}/man8/systemd-udevd-control.socket.8*
1296%{_mandir}/man8/systemd-udevd-kernel.socket.8*
4400c575
JR
1297%{_mandir}/man8/systemd-update-utmp-runlevel.service.8*
1298%{_mandir}/man8/systemd-update-utmp-shutdown.service.8*
1299%{_mandir}/man8/systemd-user-sessions.service.8*
1300%{_mandir}/man8/systemd-vconsole-setup.service.8*
e4c66821 1301
bb6fb962
JR
1302%files inetd
1303%defattr(644,root,root,755)
1304%attr(755,root,root) /lib/systemd/system-generators/pld-rc-inetd-generator
1305%{systemdunitdir}/rc-inetd.service
1306
4e5e9c32
ER
1307%files analyze
1308%defattr(644,root,root,755)
1309%attr(755,root,root) %{_bindir}/systemd-analyze
4400c575 1310%{_mandir}/man1/systemd-analyze.1*
4e5e9c32 1311
5b9bde26 1312%files libs
6c89bbd4 1313%defattr(644,root,root,755)
2be4d5dc 1314%attr(755,root,root) /%{_lib}/libnss_myhostname.so.2
6ba1f779
MB
1315%attr(755,root,root) /%{_lib}/libsystemd-daemon.so.*.*.*
1316%attr(755,root,root) %ghost /%{_lib}/libsystemd-daemon.so.0
1317%attr(755,root,root) /%{_lib}/libsystemd-id128.so.*.*.*
1318%attr(755,root,root) %ghost /%{_lib}/libsystemd-id128.so.0
1319%attr(755,root,root) /%{_lib}/libsystemd-journal.so.*.*.*
1320%attr(755,root,root) %ghost /%{_lib}/libsystemd-journal.so.0
1321%attr(755,root,root) /%{_lib}/libsystemd-login.so.*.*.*
1322%attr(755,root,root) %ghost /%{_lib}/libsystemd-login.so.0
961baf80
AF
1323
1324%files devel
1325%defattr(644,root,root,755)
89d58574 1326%attr(755,root,root) %{_libdir}/libsystemd-daemon.so
c76a8951
BZ
1327%attr(755,root,root) %{_libdir}/libsystemd-id128.so
1328%attr(755,root,root) %{_libdir}/libsystemd-journal.so
89d58574 1329%attr(755,root,root) %{_libdir}/libsystemd-login.so
5b9bde26 1330%{_includedir}/%{name}
961baf80 1331%{_pkgconfigdir}/libsystemd-daemon.pc
c76a8951
BZ
1332%{_pkgconfigdir}/libsystemd-id128.pc
1333%{_pkgconfigdir}/libsystemd-journal.pc
961baf80 1334%{_pkgconfigdir}/libsystemd-login.pc
ab590cee
JR
1335%{_mandir}/man3/SD_*.3*
1336%{_mandir}/man3/sd*.3*
5b9bde26
JB
1337
1338%files -n bash-completion-systemd
1339%defattr(644,root,root,755)
391eea76 1340/etc/bash_completion.d/systemd-bash-completion.sh
ae4d0acb 1341
30121190
JR
1342%files -n udev
1343%defattr(644,root,root,755)
1344%dev(c,1,3) %attr(666,root,root) /dev/null
1345%dev(c,5,1) %attr(660,root,console) /dev/console
1346%dev(c,1,5) %attr(666,root,root) /dev/zero
1347
1348%files -n udev-core
1349%defattr(644,root,root,755)
30121190 1350
183de3c2 1351/usr/lib/udev
30121190 1352
30121190
JR
1353%attr(755,root,root) /lib/udev/collect
1354
1355%attr(755,root,root) /lib/udev/keyboard-force-release.sh
1356
1357%attr(755,root,root) /lib/udev/net_helper
1358
1359%attr(755,root,root) /lib/udev/ata_id
1360%attr(755,root,root) /lib/udev/cdrom_id
1361%attr(755,root,root) /lib/udev/mtd_probe
1362%attr(755,root,root) /lib/udev/scsi_id
1363%attr(755,root,root) /lib/udev/v4l_id
1364
1365%attr(755,root,root) /lib/udev/udevd
1366
1367%attr(755,root,root) /lib/udev/keymap
1368%dir /lib/udev/keymaps
1369/lib/udev/keymaps/*
1370
1371%attr(755,root,root) /lib/udev/accelerometer
1372%attr(755,root,root) /lib/udev/findkeyboards
1373
f8d07093
JR
1374%dir /lib/udev/hwdb.d
1375/lib/udev/hwdb.d/20-OUI.hwdb
1376/lib/udev/hwdb.d/20-acpi-vendor.hwdb
2be4d5dc 1377/lib/udev/hwdb.d/20-bluetooth-vendor-product.hwdb
f8d07093
JR
1378/lib/udev/hwdb.d/20-pci-classes.hwdb
1379/lib/udev/hwdb.d/20-pci-vendor-product.hwdb
1380/lib/udev/hwdb.d/20-usb-classes.hwdb
1381/lib/udev/hwdb.d/20-usb-vendor-product.hwdb
1382
30121190
JR
1383%attr(755,root,root) %{_sbindir}/start_udev
1384%attr(755,root,root) %{_sbindir}/udevd
1385%attr(755,root,root) %{_sbindir}/udevadm
1386%attr(755,root,root) %{_bindir}/udevadm
1387
1388%dir %{_sysconfdir}/udev
1389%dir %{_sysconfdir}/udev/rules.d
618c1d39 1390%dir %{_sysconfdir}/udev/hwdb.d
30121190
JR
1391
1392%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
1393%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/udev_blacklist.conf
1394%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/links.conf
1395%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
1396%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules
2be4d5dc 1397%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/80-net-name-slot.rules
30121190
JR
1398
1399%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf
1400
1401# rules below are NOT supposed to be changed by users
1402/lib/udev/rules.d/42-usb-hid-pm.rules
1403/lib/udev/rules.d/50-udev-default.rules
1404/lib/udev/rules.d/60-cdrom_id.rules
30121190
JR
1405/lib/udev/rules.d/60-persistent-alsa.rules
1406/lib/udev/rules.d/60-persistent-input.rules
1407/lib/udev/rules.d/60-persistent-serial.rules
1408/lib/udev/rules.d/60-persistent-storage-tape.rules
1409/lib/udev/rules.d/60-persistent-storage.rules
1410/lib/udev/rules.d/60-persistent-v4l.rules
1411/lib/udev/rules.d/61-accelerometer.rules
618c1d39 1412/lib/udev/rules.d/64-btrfs.rules
4f1f9baf 1413/lib/udev/rules.d/70-power-switch.rules
30121190
JR
1414/lib/udev/rules.d/75-net-description.rules
1415/lib/udev/rules.d/75-probe_mtd.rules
1416/lib/udev/rules.d/75-tty-description.rules
1417/lib/udev/rules.d/78-sound-card.rules
1418/lib/udev/rules.d/80-drivers.rules
2be4d5dc 1419/lib/udev/rules.d/80-net-name-slot.rules
30121190
JR
1420/lib/udev/rules.d/95-keyboard-force-release.rules
1421/lib/udev/rules.d/95-keymap.rules
1422/lib/udev/rules.d/95-udev-late.rules
1423
1424%{_mandir}/man7/udev.7*
c75fd19d
JR
1425%{_mandir}/man8/udevadm.8*
1426%{_mandir}/man8/udevd.8*
1427
30121190
JR
1428%files -n udev-libs
1429%defattr(644,root,root,755)
1430%attr(755,root,root) /%{_lib}/libudev.so.*.*.*
c75fd19d 1431%attr(755,root,root) %ghost /%{_lib}/libudev.so.1
30121190
JR
1432
1433%files -n udev-devel
1434%defattr(644,root,root,755)
1435%attr(755,root,root) %{_libdir}/libudev.so
30121190
JR
1436%{_includedir}/libudev.h
1437%{_pkgconfigdir}/libudev.pc
1438%{_npkgconfigdir}/udev.pc
1439
1440%files -n udev-static
1441%defattr(644,root,root,755)
1442%attr(755,root,root) %{_libdir}/libudev.a
1443
1444%files -n udev-apidocs
1445%defattr(644,root,root,755)
1446%{_gtkdocdir}/libudev
1447
1448%files -n udev-glib
1449%defattr(644,root,root,755)
1450%attr(755,root,root) /%{_lib}/libgudev-1.0.so.*.*.*
1451%attr(755,root,root) %ghost /%{_lib}/libgudev-1.0.so.0
1452%{_libdir}/girepository-1.0/GUdev-1.0.typelib
1453
1454%files -n udev-glib-devel
1455%defattr(644,root,root,755)
1456%attr(755,root,root) %{_libdir}/libgudev-1.0.so
30121190
JR
1457%{_includedir}/gudev-1.0
1458%{_pkgconfigdir}/gudev-1.0.pc
1459%{_datadir}/gir-1.0/GUdev-1.0.gir
1460
1461%files -n udev-glib-static
1462%defattr(644,root,root,755)
1463%attr(755,root,root) %{_libdir}/libgudev-1.0.a
1464
1465%files -n udev-glib-apidocs
1466%defattr(644,root,root,755)
1467%{_gtkdocdir}/gudev
1468
1469%if %{with initrd}
1470%files -n udev-initrd
1471%defattr(644,root,root,755)
1472%dir %{_libdir}/initrd/udev
183de3c2 1473%attr(755,root,root) %{_libdir}/initrd/systemd-udevd
30121190
JR
1474%attr(755,root,root) %{_libdir}/initrd/udevd
1475%attr(755,root,root) %{_libdir}/initrd/udevadm
1476%attr(755,root,root) %{_libdir}/initrd/udevstart
1477%attr(755,root,root) %{_libdir}/initrd/udev/*_id
1478%attr(755,root,root) %{_libdir}/initrd/udev/collect
183de3c2 1479%attr(755,root,root) %{_libdir}/initrd/udev/mtd_probe
30121190 1480%endif
618c1d39
JR
1481
1482%files -n python-systemd
1483%defattr(644,root,root,755)
1484%dir %{py_sitedir}/systemd
1485%{py_sitedir}/systemd/*.py*
1486%attr(755,root,root) %{py_sitedir}/systemd/*.so
This page took 0.392239 seconds and 4 git commands to generate.