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