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