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