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