]>
Commit | Line | Data |
---|---|---|
5d32f234 | 1 | # |
d374e721 JR |
2 | # TODO: |
3 | # - remove compat-pld-var-run.tmpfiles and maybe tmpfiles-not-fatal.patch | |
4 | # after enough packages provide their own tmpfiles.d configs for | |
5 | # /var/run directories | |
6 | # | |
c3037397 | 7 | # Conditional build: |
6c89bbd4 ER |
8 | %bcond_without audit # without audit support |
9 | %bcond_without cryptsetup # without cryptsetup support | |
23107006 TP |
10 | %bcond_without gtk # build gtk tools |
11 | %bcond_without pam # PAM authentication support | |
4389e6f9 | 12 | %bcond_with plymouth # plymouth support |
23107006 TP |
13 | %bcond_without selinux # without SELinux support |
14 | %bcond_without tcpd # libwrap (tcp_wrappers) support | |
9c0b975d | 15 | |
c3037397 | 16 | Summary: A System and Service Manager |
ede8d3e5 | 17 | Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa |
18 | Name: systemd | |
c3d5cf4e | 19 | Version: 43 |
70047b34 | 20 | Release: 2 |
ede8d3e5 | 21 | License: GPL v2+ |
22 | Group: Base | |
440d1d13 | 23 | Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz |
c3d5cf4e | 24 | # Source0-md5: 446cc6db7625617af67e2d8e5f503a49 |
4f25b6ac | 25 | Source1: %{name}-sysv-convert |
b0980573 | 26 | Source2: %{name}_booted.c |
f1586299 JR |
27 | Source3: ifup@.service |
28 | Source4: network-post.service | |
29 | Source5: network.service | |
5c8fe698 JR |
30 | Source6: compat-pld-media.tmpfiles |
31 | Source7: compat-pld-var-run.tmpfiles | |
7619c097 | 32 | Patch0: target-pld.patch |
252e1bad | 33 | Patch1: config-pld.patch |
8e088cd5 | 34 | Patch2: shut-sysv-up.patch |
2e1f31c8 | 35 | Patch3: pld-sysv-network.patch |
d374e721 | 36 | Patch4: tmpfiles-not-fatal.patch |
ede8d3e5 | 37 | URL: http://www.freedesktop.org/wiki/Software/systemd |
5b9bde26 | 38 | BuildRequires: acl-devel |
6c89bbd4 | 39 | %{?with_audit:BuildRequires: audit-libs-devel} |
6e34428f MB |
40 | BuildRequires: autoconf >= 2.63 |
41 | BuildRequires: automake >= 1:1.11 | |
e4c66821 | 42 | BuildRequires: binutils >= 3:2.22.52.0.1-2 |
6e34428f | 43 | %{?with_cryptsetup:BuildRequires: cryptsetup-luks-devel} |
23107006 | 44 | BuildRequires: dbus-devel >= 1.3.2 |
c3037397 | 45 | BuildRequires: docbook-style-xsl |
3fc7a1cc | 46 | BuildRequires: gperf |
5b9bde26 | 47 | BuildRequires: intltool >= 0.40.0 |
4389e6f9 | 48 | BuildRequires: kmod-devel >= 5 |
b82d0bf2 | 49 | BuildRequires: libcap-devel |
6c89bbd4 ER |
50 | %{?with_selinux:BuildRequires: libselinux-devel} |
51 | BuildRequires: libtool >= 2:2.2 | |
52 | %{?with_tcpd:BuildRequires: libwrap-devel} | |
6e34428f | 53 | BuildRequires: libxslt-progs |
961baf80 | 54 | BuildRequires: m4 |
6c89bbd4 | 55 | %{?with_pam:BuildRequires: pam-devel} |
23107006 | 56 | BuildRequires: pkgconfig >= 0.9.0 |
4cc1cb1d | 57 | BuildRequires: rpmbuild(macros) >= 1.627 |
58fd72e9 | 58 | BuildRequires: udev-devel >= 1:172 |
5b9bde26 JB |
59 | # not required for building from release (which contains *.c for *.vala) |
60 | #BuildRequires: vala >= 0.10.0 | |
58fd72e9 | 61 | BuildRequires: xz-devel |
e4c66821 JB |
62 | %if %{with gtk} |
63 | BuildRequires: glib2-devel >= 1:2.26.1 | |
64 | BuildRequires: gtk+2-devel >= 2:2.24.0 | |
65 | BuildRequires: libgee-devel | |
66 | BuildRequires: libnotify-devel >= 0.7.0 | |
67 | %endif | |
011bccb6 | 68 | Requires: %{name}-libs = %{version}-%{release} |
c3037397 | 69 | Requires: %{name}-units = %{version}-%{release} |
58d6217a | 70 | Requires: /etc/os-release |
2ff27c26 | 71 | Requires: SysVinit-tools |
37b8df82 | 72 | Requires: agetty |
b0980573 | 73 | Requires: dbus >= 1.4.16-6 |
7cb5cfc8 | 74 | Requires: filesystem >= 4.0-2 |
851fb4d8 | 75 | Requires: rc-scripts >= 0.4.5.1-7 |
56701781 | 76 | Requires: setup >= 2.8.0-2 |
b0980573 | 77 | Requires: udev-core >= 1:175-5 |
fe6ae5ab | 78 | Requires: udev-libs >= 1:172 |
e3134fe0 | 79 | Requires: virtual(module-tools) |
b0980573 | 80 | Suggests: ConsoleKit |
2a61be78 | 81 | Suggests: fsck >= 2.20 |
e3134fe0 | 82 | Suggests: kmod >= 5 |
4b15486a | 83 | Suggests: nss_myhostname |
2a61be78 | 84 | # python modules required by systemd-analyze |
b0980573 | 85 | Suggests: %{name}-no-compat-tmpfiles |
2a61be78 TP |
86 | Suggests: python-dbus |
87 | Suggests: python-modules | |
c35aa49c | 88 | Suggests: service(klogd) |
1cdd35cf | 89 | Suggests: service(syslog) |
fda563d5 | 90 | Provides: udev-acl |
3baeefca PG |
91 | # systemd takes care of that and causes problems |
92 | Conflicts: binfmt-detector | |
a6203073 | 93 | # sytemd wants pam with pam_systemd.so in system-auth... |
3b292a99 | 94 | Conflicts: pam < 1:1.1.5-5 |
a6203073 JR |
95 | # ...and sudo hates it |
96 | Conflicts: sudo < 1:1.7.8p2-4 | |
ff9cae1d | 97 | Conflicts: upstart |
ede8d3e5 | 98 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
99 | ||
85879912 ER |
100 | %define _libexecdir %{_prefix}/lib |
101 | ||
ede8d3e5 | 102 | %description |
1c239f8b | 103 | systemd is a system and service manager for Linux, compatible with |
ede8d3e5 | 104 | SysV and LSB init scripts. systemd provides aggressive parallelization |
105 | capabilities, uses socket and D-Bus activation for starting services, | |
106 | offers on-demand starting of daemons, keeps track of processes using | |
107 | Linux cgroups, supports snapshotting and restoring of the system | |
108 | state, maintains mount and automount points and implements an | |
109 | elaborate transactional dependency-based service control logic. It can | |
1c239f8b | 110 | work as a drop-in replacement for sysvinit. |
ede8d3e5 | 111 | |
112 | %description -l pl.UTF-8 | |
113 | systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze | |
114 | skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności | |
115 | paralelizacji, do uruchamiania usług używa socketów oraz D-Busa, | |
116 | oferuje uruchamianie usług na życzenie, monitoruje procesy używając | |
117 | linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie | |
118 | (restore) stanu systemu, zarządza (auto)mount pointami oraz | |
119 | implementuje starannie opracowaną transakcjonalną, bazującą na | |
d45dfc3a | 120 | zależnościach logikę kontroli usług. Może pracować jako zastępca dla |
ede8d3e5 | 121 | sysvinit. |
122 | ||
c97dacdd TP |
123 | %package init |
124 | Summary: systemd /sbin/init and LSB/SysV compatibility symlinks | |
5b9bde26 | 125 | Summary(pl.UTF-8): /sbin/init z systemd i dowiązania dla kompatybilności z LSB/SysV |
c97dacdd | 126 | Group: Base |
d6829efa | 127 | Requires: systemd |
c97dacdd TP |
128 | Provides: readahead = 1:1.5.7-3 |
129 | Provides: virtual(init-daemon) | |
130 | Obsoletes: SysVinit | |
131 | Obsoletes: readahead < 1:1.5.7-3 | |
132 | Obsoletes: virtual(init-daemon) | |
133 | ||
134 | %description init | |
135 | Install this package when you are ready to final switch to systemd. | |
136 | ||
5b9bde26 JB |
137 | %description init -l pl.UTF-8 |
138 | Ten pakiet należy zainstalować po przygotowaniu się do ostatecznego | |
139 | przejścia na systemd. | |
140 | ||
c3037397 ER |
141 | %package units |
142 | Summary: Configuration files, directories and installation tool for systemd | |
5b9bde26 | 143 | Summary(pl.UTF-8): Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla systemd |
c3037397 | 144 | Group: Base |
c3037397 | 145 | Requires(post): coreutils |
a8d86f01 | 146 | Requires(post): /bin/awk |
c3037397 ER |
147 | |
148 | %description units | |
149 | Basic configuration files, directories and installation tool for the | |
150 | systemd system and service manager. | |
151 | ||
f341cd9b | 152 | This is common config, use %{_sysconfdir}/systemd/system to override. |
10ffdcd2 | 153 | |
5b9bde26 JB |
154 | %description units -l pl.UTF-8 |
155 | Podstawowe pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla | |
156 | zarządcy systemu i usług systemd. | |
157 | ||
158 | Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać | |
159 | poprzez katalog %{_sysconfdir}/systemd/system. | |
160 | ||
e4c66821 JB |
161 | %package plymouth |
162 | Summary: Plymouth support units for systemd | |
163 | Summary(pl.UTF-8): Jednostki wspierające Plymouth dla systemd | |
164 | Group: Base | |
165 | Requires: %{name}-units = %{version}-%{release} | |
166 | ||
167 | %description plymouth | |
168 | Plymouth (graphical boot) support units for systemd. | |
169 | ||
170 | %description plymouth -l pl.UTF-8 | |
171 | Jednostki wspierające Plymouth (graficzny start systemu) dla systemd. | |
172 | ||
c3037397 ER |
173 | %package gtk |
174 | Summary: Graphical frontend for systemd | |
5b9bde26 | 175 | Summary(pl.UTF-8): Graficzny interfejs do systemd |
c3037397 ER |
176 | Group: Base |
177 | Requires: %{name} = %{version}-%{release} | |
178 | Requires: polkit | |
179 | ||
180 | %description gtk | |
181 | Graphical front-end for systemd. | |
182 | ||
5b9bde26 JB |
183 | %description gtk -l pl.UTF-8 |
184 | Graficzny interfejs do systemd. | |
6c89bbd4 | 185 | |
011bccb6 | 186 | %package libs |
5b9bde26 JB |
187 | Summary: Shared systemd libraries |
188 | Summary(pl.UTF-8): Biblioteki współdzielone systemd | |
011bccb6 BZ |
189 | Group: Libraries |
190 | ||
191 | %description libs | |
5b9bde26 JB |
192 | Shared systemd libraries. |
193 | ||
194 | %description libs -l pl.UTF-8 | |
195 | Biblioteki współdzielone systemd. | |
011bccb6 | 196 | |
961baf80 AF |
197 | %package devel |
198 | Summary: Header files for systemd libraries | |
199 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek systemd | |
200 | Group: Development/Libraries | |
011bccb6 | 201 | Requires: %{name}-libs = %{version}-%{release} |
961baf80 AF |
202 | |
203 | %description devel | |
204 | Header files for systemd libraries. | |
205 | ||
206 | %description devel -l pl.UTF-8 | |
207 | Pliki nagłówkowe bibliotek systemd. | |
208 | ||
5b9bde26 JB |
209 | %package -n bash-completion-systemd |
210 | Summary: bash-completion for systemd | |
211 | Summary(pl.UTF-8): Bashowe dopełnianie składni dla systemd | |
212 | Group: Applications/Shells | |
213 | Requires: %{name} | |
214 | Requires: bash-completion | |
215 | ||
216 | %description -n bash-completion-systemd | |
217 | bash-completion for systemd. | |
218 | ||
219 | %description -n bash-completion-systemd -l pl.UTF-8 | |
220 | Bashowe dopełnianie składni dla systemd | |
221 | ||
ae4d0acb JR |
222 | %package no-compat-tmpfiles |
223 | Summary: Force update of packages that provide tmpfiles.d configuration | |
224 | Group: Base | |
225 | Requires(post): sed > 4.0 | |
226 | Conflicts: ConsoleKit-dirs < 0.4.5-7 | |
227 | Conflicts: NetworkManager < 2:0.9.2.0-3 | |
228 | Conflicts: Zope < 2.11.8-2 | |
229 | Conflicts: amavisd-new < 1:2.7.0-1 | |
ae4d0acb JR |
230 | Conflicts: apache-base < 2.2.21-4 |
231 | Conflicts: apache-mod_bw < 0.92-3 | |
232 | Conflicts: apache-mod_fastcgi < 2.4.6-6 | |
b0980573 ŁK |
233 | Conflicts: apache1-base < 1.3.42-5 |
234 | Conflicts: apache1-mod_fastcgi < 2.4.6-2 | |
ae4d0acb JR |
235 | Conflicts: asterisk < 10.0.1-2 |
236 | Conflicts: autossh-init < 1.4b-3 | |
237 | Conflicts: balance < 3.54-2 | |
238 | Conflicts: bind < 7:9.8.1.P1-4 | |
239 | Conflicts: bopm < 3.1.3-4 | |
240 | Conflicts: callweaver < 1.2.1-9 | |
241 | Conflicts: cassandra-bin < 0.8.9-2 | |
242 | Conflicts: clamav < 0.97.3-3 | |
243 | Conflicts: cups < 1:1.5.0-10 | |
244 | Conflicts: dbus < 1.4.16-4 | |
245 | Conflicts: dovecot < 1:2.0.16-3 | |
246 | Conflicts: dspam < 3.9.0-6 | |
247 | Conflicts: fail2ban < 0.8.4-4 | |
248 | Conflicts: filesystem < 4.0-3 | |
249 | Conflicts: gammu-smsd < 1:1.31.0-3 | |
a6203073 JR |
250 | # Break gdm2.20 installs |
251 | #Conflicts: gdm < 2:3.2.1.1-9 | |
ae4d0acb JR |
252 | Conflicts: greylistd < 0.8.8-2 |
253 | Conflicts: inn < 2.4.6-7 | |
254 | Conflicts: ipsec-tools < 0.8.0-3 | |
255 | Conflicts: jabber-common < 0-9 | |
256 | Conflicts: laptop-mode-tools < 1.58-2 | |
257 | Conflicts: libgpod < 0.8.0-6 | |
258 | Conflicts: libvirt-utils < 0.9.9-4 | |
259 | Conflicts: lighttpd < 1.4.30-5 | |
260 | Conflicts: lirc < 0.9.0-20 | |
261 | Conflicts: mailman < 5:2.1.14-4 | |
262 | Conflicts: memcached < 1.4.11-2 | |
263 | Conflicts: mpd < 0.16.5-4 | |
264 | Conflicts: mrtg < 2.17.0-3 | |
265 | Conflicts: munin-common < 1.4.5-5 | |
266 | Conflicts: nagios-nrpe < 2.13-2 | |
267 | Conflicts: ndisc6-rdnssd < 1.0.1-3 | |
268 | Conflicts: nscd < 6:2.14.1-5 | |
269 | Conflicts: nss_ldapd-nslcd < 0.8.4-2 | |
270 | Conflicts: openct < 0.6.20-3 | |
271 | Conflicts: openl2tp < 1.8-3 | |
272 | Conflicts: openldap-overlay-nssov < 2.4.28-4 | |
273 | Conflicts: openldap-servers < 2.4.28-4 | |
274 | Conflicts: openvpn < 2.2.2-2 | |
ae4d0acb JR |
275 | Conflicts: pam-pam_mount < 2.12-3 |
276 | Conflicts: pam-pam_ssh < 1.97-2 | |
277 | Conflicts: pcsc-lite < 1.8.1-2 | |
278 | Conflicts: php-dirs < 1.2-3 | |
279 | Conflicts: policyd < 2.0.10-3 | |
280 | Conflicts: pound < 2.6-2 | |
281 | Conflicts: pptp < 1.7.2-3 | |
282 | Conflicts: proftpd-common < 2:1.3.4a-2 | |
283 | Conflicts: pulseaudio-server < 1.1-2 | |
284 | Conflicts: quagga < 0.99.20-3 | |
285 | Conflicts: radvd < 1.8.5-2 | |
286 | Conflicts: rc-scripts < 0.4.5.2-3 | |
287 | Conflicts: red5 < 0.9.0-2 | |
288 | Conflicts: redis-server < 2.4.2-4 | |
289 | Conflicts: smokeping < 2.4.2-10 | |
290 | Conflicts: smtp-gated < 1.4.17-2 | |
291 | Conflicts: socat < 1.7.2.0-2 | |
292 | Conflicts: speech-dispatcher < 0.7.1-2 | |
293 | Conflicts: sphinx < 2.0.3-4 | |
294 | Conflicts: splashutils < 1.5.4.3-3 | |
295 | Conflicts: stunnel < 4.50-2 | |
ae4d0acb JR |
296 | Conflicts: tenshi < 0.12-2 |
297 | Conflicts: tor < 0.2.2.35-2 | |
298 | Conflicts: ucarp < 1.5.2-3 | |
299 | Conflicts: udisks < 1.0.4-3 | |
300 | Conflicts: util-vserver < 0.30.216-1.pre3002.3 | |
301 | Conflicts: vpnc < 0.5.3-2 | |
302 | Conflicts: web2ldap < 1.1.0rc1-2 | |
303 | Conflicts: wesnoth-server < 1:1.10-2 | |
304 | Conflicts: wpa_supplicant < 0.7.3-10 | |
305 | Conflicts: xl2tpd < 1.3.0-2 | |
306 | ||
307 | %description no-compat-tmpfiles | |
308 | Force update of packages that provide tmpfiles.d configuration | |
309 | ||
ede8d3e5 | 310 | %prep |
311 | %setup -q | |
4c5b5ab6 | 312 | %patch0 -p1 |
252e1bad | 313 | %patch1 -p1 |
a6203073 | 314 | %patch2 -p1 |
942c9075 | 315 | %patch3 -p1 |
d374e721 | 316 | %patch4 -p1 |
b77423ae | 317 | cp -p %{SOURCE2} src/systemd_booted.c |
ede8d3e5 | 318 | |
319 | %build | |
4c5b5ab6 | 320 | %{__aclocal} -I m4 |
ede8d3e5 | 321 | %{__autoconf} |
6e34428f | 322 | %{__autoheader} |
ede8d3e5 | 323 | %{__automake} |
9c0b975d | 324 | %configure \ |
6c89bbd4 ER |
325 | %{__enable_disable audit} \ |
326 | %{__enable_disable cryptsetup libcryptsetup} \ | |
327 | %{__enable_disable gtk} \ | |
328 | %{__enable_disable pam} \ | |
4389e6f9 | 329 | %{__enable_disable plymouth} \ |
6c89bbd4 ER |
330 | %{__enable_disable selinux} \ |
331 | %{__enable_disable tcpd tcpwrap} \ | |
332 | --disable-silent-rules \ | |
961baf80 | 333 | --disable-static \ |
5b9bde26 | 334 | --with-distro=pld \ |
391eea76 | 335 | --with-rootprefix= \ |
4389e6f9 JR |
336 | --with-rootlibdir=/%{_lib} \ |
337 | --enable-split-usr | |
e1d9cc15 | 338 | |
ede8d3e5 | 339 | %{__make} |
b77423ae | 340 | ./libtool --mode=link --tag=CC %{__cc} %{rpmcppflags} %{rpmcflags} -o systemd_booted %{rpmldflags} src/systemd_booted.c -L. -lsystemd-daemon |
ede8d3e5 | 341 | |
342 | %install | |
343 | rm -rf $RPM_BUILD_ROOT | |
23107006 | 344 | |
ede8d3e5 | 345 | %{__make} install \ |
346 | DESTDIR=$RPM_BUILD_ROOT | |
347 | ||
b77423ae AF |
348 | ./libtool --mode=install install -m755 systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted |
349 | ||
4389e6f9 JR |
350 | # Main binary has been moved, but we don't want to break existing installs |
351 | ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/bin/systemd | |
352 | ||
1dcb74bb | 353 | # Create SysV compatibility symlinks. systemctl/systemd are smart |
2a61be78 | 354 | # enough to detect the way they were called |
c28b0c1c | 355 | install -d $RPM_BUILD_ROOT/sbin |
4389e6f9 | 356 | ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/sbin/init |
1dcb74bb | 357 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/halt |
358 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/poweroff | |
23107006 TP |
359 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/reboot |
360 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/runlevel | |
1dcb74bb | 361 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/shutdown |
362 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/telinit | |
1dcb74bb | 363 | |
5d32f234 | 364 | ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf |
4cc1cb1d ER |
365 | # disable random and console SYSV service |
366 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/random.service | |
367 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/console.service | |
5d32f234 | 368 | |
f1586299 | 369 | # add static (non-NetworkManager) networking |
4cc1cb1d ER |
370 | install %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/ifup@.service |
371 | install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/network-post.service | |
372 | install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/network.service | |
f1586299 | 373 | |
5c8fe698 JR |
374 | # install compatibility tmpfiles configs |
375 | install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/compat-pld-media.conf | |
d374e721 | 376 | install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/compat-pld-var-run.conf |
5c8fe698 | 377 | |
2a61be78 TP |
378 | # All wants links are created at %post to make sure they are not owned |
379 | # and hence overriden by rpm if the user deletes them (missingok?) | |
23107006 | 380 | %{__rm} -r $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/*.target.wants |
c3037397 | 381 | |
e64703a8 | 382 | # it is in rc-scripts pkg |
4cc1cb1d | 383 | %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/rc-local.service |
e64703a8 | 384 | |
2a61be78 TP |
385 | # Make sure these directories are properly owned: |
386 | # - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd, | |
387 | # - syslog _might_ be used by some syslog implementation (none for now), | |
388 | # - isn't dbus populated by dbus-systemd only (so to be moved there)? | |
4cc1cb1d | 389 | install -d $RPM_BUILD_ROOT%{systemdunitdir}/{dbus,halt,kexec,poweroff,reboot,syslog}.target.wants |
961baf80 AF |
390 | |
391 | # Create new-style configuration files so that we can ghost-own them | |
70047b34 | 392 | touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,timezone,vconsole.conf} |
4bbef33c | 393 | |
9d8b5dfe | 394 | # Install SysV conversion tool for systemd |
4f25b6ac | 395 | install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir} |
9d8b5dfe BZ |
396 | |
397 | install -d $RPM_BUILD_ROOT/var/log | |
5a65c84e TP |
398 | :> $RPM_BUILD_ROOT/var/log/btmp |
399 | :> $RPM_BUILD_ROOT/var/log/wtmp | |
a761f93e | 400 | |
5d32f234 | 401 | %if %{without gtk} |
5d32f234 TP |
402 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/systemadm.1* |
403 | %endif | |
404 | ||
405 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} | |
a86320a6 | 406 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_systemd.la |
5d32f234 TP |
407 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
408 | ||
ede8d3e5 | 409 | %clean |
410 | rm -rf $RPM_BUILD_ROOT | |
411 | ||
9638c72f | 412 | %post |
4bbef33c | 413 | /bin/systemd-machine-id-setup > /dev/null 2>&1 || : |
9638c72f | 414 | /bin/systemctl daemon-reexec > /dev/null 2>&1 || : |
c3037397 | 415 | |
961baf80 | 416 | %postun |
85879912 | 417 | if [ $1 -ge 1 ]; then |
961baf80 | 418 | /bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || : |
9638c72f | 419 | fi |
420 | ||
3edd52a6 TP |
421 | %post libs -p /sbin/ldconfig |
422 | %postun libs -p /sbin/ldconfig | |
011bccb6 | 423 | |
961baf80 | 424 | %post units |
85879912 | 425 | if [ $1 -eq 1 ]; then |
961baf80 AF |
426 | # Try to read default runlevel from the old inittab if it exists |
427 | runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2> /dev/null) | |
428 | if [ -z "$runlevel" ] ; then | |
4cc1cb1d | 429 | target="%{systemdunitdir}/graphical.target" |
961baf80 | 430 | else |
4cc1cb1d | 431 | target="%{systemdunitdir}/runlevel$runlevel.target" |
961baf80 AF |
432 | fi |
433 | ||
434 | # And symlink what we found to the new-style default.target | |
f341cd9b | 435 | ln -s "$target" %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || : |
cf819365 JR |
436 | |
437 | # Setup hostname | |
438 | [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network | |
439 | if [ -n "$HOSTNAME" -a "$HOSTNAME" != "pldmachine" ]; then | |
440 | [ -f /etc/hostname ] && mv -f /etc/hostname /etc/hostname.rpmsave | |
441 | echo $HOSTNAME > /etc/hostname | |
442 | chmod 644 /etc/hostname | |
443 | fi | |
9638c72f | 444 | fi |
f1586299 JR |
445 | # Enable the services we install by default. |
446 | /bin/systemctl enable \ | |
447 | getty@.service \ | |
448 | network.service \ | |
449 | network-post.service \ | |
450 | remote-fs.target \ | |
451 | systemd-readahead-replay.service \ | |
452 | systemd-readahead-collect.service >/dev/null 2>&1 || : | |
453 | ||
454 | # Find and enable all installed interfaces | |
d37b4980 | 455 | mkdir -p %{_sysconfdir}/systemd/system/network.target.wants >/dev/null 2>&1 || : |
f1586299 JR |
456 | for f in /etc/sysconfig/interfaces/ifcfg-* ; do |
457 | ff=$(basename $f) | |
458 | ff=${ff##ifcfg-} | |
459 | case "$ff" in | |
460 | *.rpmorig|*.rpmnew|*.rpmsave|*~|*.orig) | |
461 | continue | |
462 | ;; | |
463 | *) | |
663b637e | 464 | DEVICE="" ; ONBOOT="" ; USERS="" |
72878cbd | 465 | . $f 2>/dev/null |
663b637e | 466 | [ ${USERS:-no} != no ] && continue |
90de2714 | 467 | if [ "$DEVICE" = "$ff" -a ${ONBOOT:-no} = "yes" ]; then |
4cc1cb1d | 468 | ln -s %{systemdunitdir}/ifup@.service \ |
90de2714 JR |
469 | %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@$ff.service >/dev/null 2>&1 || : |
470 | fi | |
f1586299 JR |
471 | ;; |
472 | esac | |
473 | done | |
c3037397 ER |
474 | |
475 | %preun units | |
961baf80 AF |
476 | if [ $1 -eq 0 ] ; then |
477 | /bin/systemctl disable \ | |
478 | getty@.service \ | |
f1586299 JR |
479 | network.service \ |
480 | network-post.service \ | |
961baf80 AF |
481 | remote-fs.target \ |
482 | systemd-readahead-replay.service \ | |
483 | systemd-readahead-collect.service >/dev/null 2>&1 || : | |
484 | ||
f341cd9b | 485 | %{__rm} -f %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || : |
f1586299 | 486 | %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service >/dev/null 2>&1 || : |
c3037397 | 487 | fi |
9638c72f | 488 | |
961baf80 | 489 | %postun units |
85879912 | 490 | if [ $1 -ge 1 ]; then |
9638c72f | 491 | /bin/systemctl daemon-reload > /dev/null 2>&1 || : |
492 | fi | |
493 | ||
ae4d0acb | 494 | %post no-compat-tmpfiles |
a6203073 | 495 | %{__sed} -i -e '/^#/!s/^/# /g' %{_sysconfdir}/tmpfiles.d/compat-pld-var-run.conf |
ae4d0acb | 496 | |
ede8d3e5 | 497 | %files |
498 | %defattr(644,root,root,755) | |
1c239f8b | 499 | %doc DISTRO_PORTING README TODO |
6e34428f | 500 | /etc/dbus-1/system.d/org.freedesktop.hostname1.conf |
961baf80 AF |
501 | /etc/dbus-1/system.d/org.freedesktop.locale1.conf |
502 | /etc/dbus-1/system.d/org.freedesktop.login1.conf | |
c3037397 | 503 | /etc/dbus-1/system.d/org.freedesktop.systemd1.conf |
961baf80 | 504 | /etc/dbus-1/system.d/org.freedesktop.timedate1.conf |
3edd52a6 | 505 | %ghost %config(noreplace) %{_sysconfdir}/machine-id |
b77423ae AF |
506 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname |
507 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf | |
508 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info | |
b77423ae AF |
509 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/timezone |
510 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf | |
5d32f234 | 511 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/*.conf |
2a61be78 | 512 | %dir %{_sysconfdir}/systemd/user |
abd479ee | 513 | /etc/xdg/systemd |
1dcb74bb | 514 | %attr(755,root,root) /bin/systemd |
515 | %attr(755,root,root) /bin/systemd-ask-password | |
c76a8951 | 516 | %attr(755,root,root) /bin/systemd-journalctl |
961baf80 | 517 | %attr(755,root,root) /bin/systemd-loginctl |
7a76bc86 | 518 | %attr(755,root,root) /bin/systemd-machine-id-setup |
1dcb74bb | 519 | %attr(755,root,root) /bin/systemd-notify |
520 | %attr(755,root,root) /bin/systemd-tty-ask-password-agent | |
57cd0d13 | 521 | %attr(755,root,root) %{_bindir}/systemd-analyze |
d374e721 JR |
522 | %attr(755,root,root) %{_bindir}/systemd-cat |
523 | %attr(755,root,root) %{_bindir}/systemd-cgtop | |
23107006 | 524 | %attr(755,root,root) %{_bindir}/systemd-cgls |
57cd0d13 ZU |
525 | %attr(755,root,root) %{_bindir}/systemd-nspawn |
526 | %attr(755,root,root) %{_bindir}/systemd-stdio-bridge | |
2a61be78 | 527 | %attr(755,root,root) %{_bindir}/systemd-sysv-convert |
abd479ee | 528 | %attr(755,root,root) /lib/systemd/systemd-* |
c3037397 | 529 | %dir /lib/systemd/system-generators |
4389e6f9 | 530 | %attr(755,root,root) /lib/systemd/systemd |
5d32f234 | 531 | %attr(755,root,root) /lib/systemd/system-generators/systemd-*-generator |
abd479ee | 532 | %dir /lib/systemd/system-shutdown |
1c239f8b | 533 | /lib/udev/rules.d/99-systemd.rules |
961baf80 AF |
534 | /lib/udev/rules.d/70-uaccess.rules |
535 | /lib/udev/rules.d/71-seat.rules | |
536 | /lib/udev/rules.d/73-seat-late.rules | |
3edd52a6 TP |
537 | %dir %{_libexecdir}/systemd |
538 | %{_libexecdir}/systemd/user | |
2a61be78 | 539 | %dir %{_libexecdir}/systemd/user-generators |
89d58574 | 540 | %config(noreplace,missingok) %{_libexecdir}/tmpfiles.d/*.conf |
961baf80 AF |
541 | %{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml |
542 | %{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml | |
c3037397 | 543 | %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml |
961baf80 | 544 | %{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml |
1c239f8b | 545 | %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service |
6e34428f | 546 | %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service |
961baf80 AF |
547 | %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service |
548 | %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service | |
1c239f8b | 549 | %{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service |
961baf80 | 550 | %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service |
6e34428f | 551 | %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy |
961baf80 AF |
552 | %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy |
553 | %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy | |
554 | %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy | |
555 | %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy | |
556 | %dir %{_datadir}/systemd | |
557 | %{_datadir}/systemd/kbd-model-map | |
7a76bc86 | 558 | %{_mandir}/man1/systemd.1* |
2a61be78 | 559 | %{_mandir}/man1/systemd-*.1* |
1c239f8b | 560 | %{_mandir}/man3/sd_booted.3* |
561 | %{_mandir}/man3/sd_is_fifo.3* | |
562 | %{_mandir}/man3/sd_is_socket.3 | |
563 | %{_mandir}/man3/sd_is_socket_inet.3 | |
564 | %{_mandir}/man3/sd_is_socket_unix.3 | |
565 | %{_mandir}/man3/sd_listen_fds.3* | |
566 | %{_mandir}/man3/sd_notify.3* | |
567 | %{_mandir}/man3/sd_notifyf.3 | |
568 | %{_mandir}/man3/sd_readahead.3* | |
6e34428f | 569 | %{_mandir}/man5/binfmt.d.5* |
1c239f8b | 570 | %{_mandir}/man5/hostname.5* |
571 | %{_mandir}/man5/locale.conf.5* | |
7a76bc86 | 572 | %{_mandir}/man5/machine-id.5* |
6e34428f | 573 | %{_mandir}/man5/machine-info.5* |
1c239f8b | 574 | %{_mandir}/man5/modules-load.d.5* |
575 | %{_mandir}/man5/os-release.5* | |
6e34428f | 576 | %{_mandir}/man5/sysctl.d.5* |
89d58574 | 577 | %{_mandir}/man5/systemd.*.5* |
961baf80 AF |
578 | %{_mandir}/man5/systemd-logind.conf.5* |
579 | %{_mandir}/man5/timezone.5* | |
23107006 | 580 | %{_mandir}/man5/vconsole.conf.5* |
1c239f8b | 581 | %{_mandir}/man7/daemon.7* |
582 | %{_mandir}/man7/sd-daemon.7* | |
c76a8951 | 583 | %{_mandir}/man7/sd-login.7* |
1c239f8b | 584 | %{_mandir}/man7/sd-readahead.7* |
585 | %{_mandir}/man7/systemd.special.7* | |
a761f93e TP |
586 | %attr(640,root,root) %ghost /var/log/btmp |
587 | %attr(664,root,utmp) %ghost /var/log/wtmp | |
c3037397 | 588 | |
6c89bbd4 | 589 | %if %{with pam} |
a86320a6 | 590 | %attr(755,root,root) /%{_lib}/security/pam_systemd.so |
6c89bbd4 ER |
591 | %{_mandir}/man8/pam_systemd.8* |
592 | %endif | |
593 | ||
c97dacdd | 594 | %files init |
5b9bde26 | 595 | %defattr(644,root,root,755) |
c97dacdd TP |
596 | %attr(755,root,root) /sbin/halt |
597 | %attr(755,root,root) /sbin/init | |
598 | %attr(755,root,root) /sbin/poweroff | |
599 | %attr(755,root,root) /sbin/reboot | |
600 | %attr(755,root,root) /sbin/runlevel | |
601 | %attr(755,root,root) /sbin/shutdown | |
602 | %attr(755,root,root) /sbin/telinit | |
603 | %{_mandir}/man1/init.1 | |
604 | %{_mandir}/man8/halt.8* | |
605 | %{_mandir}/man8/poweroff.8 | |
606 | %{_mandir}/man8/reboot.8 | |
607 | %{_mandir}/man8/runlevel.8* | |
608 | %{_mandir}/man8/shutdown.8* | |
609 | %{_mandir}/man8/telinit.8* | |
610 | ||
c3037397 ER |
611 | %files units |
612 | %defattr(644,root,root,755) | |
abd479ee MB |
613 | %dir %{_sysconfdir}/binfmt.d |
614 | %dir %{_sysconfdir}/modules-load.d | |
5d32f234 | 615 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf |
abd479ee | 616 | %dir %{_sysconfdir}/sysctl.d |
c3037397 ER |
617 | %dir %{_sysconfdir}/systemd |
618 | %dir %{_sysconfdir}/systemd/system | |
619 | %dir %{_sysconfdir}/tmpfiles.d | |
7cb5cfc8 | 620 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/tmpfiles.d/*.conf |
85879912 ER |
621 | %dir %{_libexecdir}/binfmt.d |
622 | %dir %{_libexecdir}/modules-load.d | |
623 | %dir %{_libexecdir}/sysctl.d | |
d374e721 | 624 | %{_libexecdir}/sysctl.d/coredump.conf |
c3037397 ER |
625 | %attr(755,root,root) /bin/systemctl |
626 | %attr(755,root,root) /bin/systemd-tmpfiles | |
b77423ae | 627 | %attr(755,root,root) /bin/systemd_booted |
c3037397 | 628 | %{_mandir}/man1/systemctl.1* |
89d58574 | 629 | %{_mandir}/man5/tmpfiles.d.5* |
c3037397 | 630 | %{_mandir}/man8/systemd-tmpfiles.8* |
961baf80 | 631 | %{_npkgconfigdir}/systemd.pc |
c3037397 | 632 | |
4cc1cb1d ER |
633 | %{systemdunitdir}/*.automount |
634 | %{systemdunitdir}/*.mount | |
635 | %{systemdunitdir}/*.path | |
636 | %{systemdunitdir}/*.service | |
637 | %{systemdunitdir}/*.socket | |
638 | %{systemdunitdir}/*.target | |
639 | %{systemdunitdir}/*.timer | |
e4c66821 JB |
640 | %if %{with plymouth} |
641 | %exclude %{systemdunitdir}/plymouth*.service | |
642 | %exclude %{systemdunitdir}/systemd-ask-password-plymouth.* | |
643 | %endif | |
644 | %dir %{systemdunitdir}/basic.target.wants | |
645 | %dir %{systemdunitdir}/dbus.target.wants | |
646 | %dir %{systemdunitdir}/final.target.wants | |
647 | %dir %{systemdunitdir}/graphical.target.wants | |
648 | %dir %{systemdunitdir}/halt.target.wants | |
649 | %dir %{systemdunitdir}/kexec.target.wants | |
650 | %dir %{systemdunitdir}/local-fs.target.wants | |
651 | %dir %{systemdunitdir}/multi-user.target.wants | |
652 | %dir %{systemdunitdir}/poweroff.target.wants | |
653 | %dir %{systemdunitdir}/reboot.target.wants | |
654 | %dir %{systemdunitdir}/runlevel[12345].target.wants | |
655 | %dir %{systemdunitdir}/shutdown.target.wants | |
656 | %dir %{systemdunitdir}/sockets.target.wants | |
657 | %dir %{systemdunitdir}/sysinit.target.wants | |
658 | %dir %{systemdunitdir}/syslog.target.wants | |
659 | %config(noreplace,missingok) %{systemdunitdir}/basic.target.wants/* | |
660 | %config(noreplace,missingok) %{systemdunitdir}/final.target.wants/* | |
661 | %config(noreplace,missingok) %{systemdunitdir}/graphical.target.wants/* | |
662 | %config(noreplace,missingok) %{systemdunitdir}/local-fs.target.wants/* | |
663 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/getty.target | |
664 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/rc-local.service | |
665 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/systemd-ask-password-wall.path | |
666 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/systemd-logind.service | |
667 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/systemd-user-sessions.service | |
668 | %config(noreplace,missingok) %{systemdunitdir}/runlevel[12345].target.wants/* | |
669 | %config(noreplace,missingok) %{systemdunitdir}/shutdown.target.wants/* | |
670 | %config(noreplace,missingok) %{systemdunitdir}/sockets.target.wants/* | |
671 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/cryptsetup.target | |
672 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount | |
673 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount | |
674 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount | |
675 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/sys-*.mount | |
676 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/systemd-* | |
677 | ||
678 | %if %{with plymouth} | |
679 | %files plymouth | |
680 | %defattr(644,root,root,755) | |
681 | %{systemdunitdir}/plymouth-halt.service | |
682 | %{systemdunitdir}/plymouth-kexec.service | |
683 | %{systemdunitdir}/plymouth-poweroff.service | |
684 | %{systemdunitdir}/plymouth-quit-wait.service | |
685 | %{systemdunitdir}/plymouth-quit.service | |
686 | %{systemdunitdir}/plymouth-read-write.service | |
687 | %{systemdunitdir}/plymouth-reboot.service | |
688 | %{systemdunitdir}/plymouth-start.service | |
689 | %{systemdunitdir}/systemd-ask-password-plymouth.path | |
690 | %{systemdunitdir}/systemd-ask-password-plymouth.service | |
691 | %config(noreplace,missingok) %{systemdunitdir}/halt.target.wants/plymouth-halt.service | |
692 | %config(noreplace,missingok) %{systemdunitdir}/kexec.target.wants/plymouth-kexec.service | |
693 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/plymouth-quit.service | |
694 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/plymouth-quit-wait.service | |
695 | %config(noreplace,missingok) %{systemdunitdir}/poweroff.target.wants/plymouth-poweroff.service | |
696 | %config(noreplace,missingok) %{systemdunitdir}/reboot.target.wants/plymouth-reboot.service | |
697 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/plymouth-read-write.service | |
698 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/plymouth-start.service | |
699 | %endif | |
10ffdcd2 | 700 | |
c3037397 ER |
701 | %if %{with gtk} |
702 | %files gtk | |
703 | %defattr(644,root,root,755) | |
704 | %attr(755,root,root) %{_bindir}/systemadm | |
705 | %attr(755,root,root) %{_bindir}/systemd-gnome-ask-password-agent | |
c3037397 ER |
706 | %{_mandir}/man1/systemadm.1* |
707 | %endif | |
6c89bbd4 | 708 | |
5b9bde26 | 709 | %files libs |
6c89bbd4 | 710 | %defattr(644,root,root,755) |
6ba1f779 MB |
711 | %attr(755,root,root) /%{_lib}/libsystemd-daemon.so.*.*.* |
712 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-daemon.so.0 | |
713 | %attr(755,root,root) /%{_lib}/libsystemd-id128.so.*.*.* | |
714 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-id128.so.0 | |
715 | %attr(755,root,root) /%{_lib}/libsystemd-journal.so.*.*.* | |
716 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-journal.so.0 | |
717 | %attr(755,root,root) /%{_lib}/libsystemd-login.so.*.*.* | |
718 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-login.so.0 | |
961baf80 AF |
719 | |
720 | %files devel | |
721 | %defattr(644,root,root,755) | |
89d58574 | 722 | %attr(755,root,root) %{_libdir}/libsystemd-daemon.so |
c76a8951 BZ |
723 | %attr(755,root,root) %{_libdir}/libsystemd-id128.so |
724 | %attr(755,root,root) %{_libdir}/libsystemd-journal.so | |
89d58574 | 725 | %attr(755,root,root) %{_libdir}/libsystemd-login.so |
5b9bde26 | 726 | %{_includedir}/%{name} |
961baf80 | 727 | %{_pkgconfigdir}/libsystemd-daemon.pc |
c76a8951 BZ |
728 | %{_pkgconfigdir}/libsystemd-id128.pc |
729 | %{_pkgconfigdir}/libsystemd-journal.pc | |
961baf80 | 730 | %{_pkgconfigdir}/libsystemd-login.pc |
c76a8951 BZ |
731 | %{_mandir}/man3/sd_get_seats.3* |
732 | %{_mandir}/man3/sd_get_sessions.3* | |
733 | %{_mandir}/man3/sd_get_uids.3* | |
734 | %{_mandir}/man3/sd_is_mq.3* | |
735 | %{_mandir}/man3/sd_login_monitor_flush.3* | |
736 | %{_mandir}/man3/sd_login_monitor_get_fd.3* | |
737 | %{_mandir}/man3/sd_login_monitor_new.3* | |
738 | %{_mandir}/man3/sd_login_monitor_unref.3* | |
739 | %{_mandir}/man3/sd_pid_get_owner_uid.3* | |
740 | %{_mandir}/man3/sd_pid_get_session.3* | |
741 | %{_mandir}/man3/sd_pid_get_unit.3* | |
742 | %{_mandir}/man3/sd_seat_can_multi_session.3* | |
743 | %{_mandir}/man3/sd_seat_get_active.3* | |
744 | %{_mandir}/man3/sd_seat_get_sessions.3* | |
745 | %{_mandir}/man3/sd_session_get_seat.3* | |
746 | %{_mandir}/man3/sd_session_get_uid.3* | |
747 | %{_mandir}/man3/sd_session_is_active.3* | |
748 | %{_mandir}/man3/sd_uid_get_seats.3* | |
749 | %{_mandir}/man3/sd_uid_get_sessions.3* | |
750 | %{_mandir}/man3/sd_uid_get_state.3* | |
751 | %{_mandir}/man3/sd_uid_is_on_seat.3* | |
5b9bde26 JB |
752 | |
753 | %files -n bash-completion-systemd | |
754 | %defattr(644,root,root,755) | |
391eea76 | 755 | /etc/bash_completion.d/systemd-bash-completion.sh |
ae4d0acb JR |
756 | |
757 | %files no-compat-tmpfiles | |
758 | %defattr(644,root,root,755) | |
759 | # empty package |