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