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