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