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