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