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