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