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