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