]>
Commit | Line | Data |
---|---|---|
5d32f234 | 1 | # |
c3037397 | 2 | # Conditional build: |
6c89bbd4 ER |
3 | %bcond_without audit # without audit support |
4 | %bcond_without cryptsetup # without cryptsetup support | |
23107006 TP |
5 | %bcond_without gtk # build gtk tools |
6 | %bcond_without pam # PAM authentication support | |
7 | %bcond_without selinux # without SELinux support | |
8 | %bcond_without tcpd # libwrap (tcp_wrappers) support | |
9c0b975d | 9 | |
c3037397 | 10 | Summary: A System and Service Manager |
ede8d3e5 | 11 | Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa |
12 | Name: systemd | |
440d1d13 | 13 | Version: 38 |
ca1d7a00 | 14 | Release: 4 |
ede8d3e5 | 15 | License: GPL v2+ |
16 | Group: Base | |
440d1d13 BZ |
17 | Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz |
18 | # Source0-md5: 68c66dce5a28c0efd7c210af5d11efed | |
4f25b6ac | 19 | Source1: %{name}-sysv-convert |
b77423ae | 20 | Source2: systemd_booted.c |
f1586299 JR |
21 | Source3: ifup@.service |
22 | Source4: network-post.service | |
23 | Source5: network.service | |
7619c097 | 24 | Patch0: target-pld.patch |
252e1bad | 25 | Patch1: config-pld.patch |
8e088cd5 | 26 | Patch2: shut-sysv-up.patch |
ede8d3e5 | 27 | URL: http://www.freedesktop.org/wiki/Software/systemd |
5b9bde26 | 28 | BuildRequires: acl-devel |
6c89bbd4 | 29 | %{?with_audit:BuildRequires: audit-libs-devel} |
6e34428f MB |
30 | BuildRequires: autoconf >= 2.63 |
31 | BuildRequires: automake >= 1:1.11 | |
32 | %{?with_cryptsetup:BuildRequires: cryptsetup-luks-devel} | |
23107006 | 33 | BuildRequires: dbus-devel >= 1.3.2 |
c3037397 | 34 | BuildRequires: docbook-style-xsl |
23107006 TP |
35 | %if %{with gtk} |
36 | BuildRequires: glib2-devel >= 1:2.26.1 | |
37 | BuildRequires: gtk+2-devel >= 2:2.24.0 | |
a86320a6 | 38 | BuildRequires: libgee-devel |
23107006 TP |
39 | BuildRequires: libnotify-devel >= 0.7.0 |
40 | %endif | |
3fc7a1cc | 41 | BuildRequires: gperf |
5b9bde26 | 42 | BuildRequires: intltool >= 0.40.0 |
b82d0bf2 | 43 | BuildRequires: libcap-devel |
6c89bbd4 ER |
44 | %{?with_selinux:BuildRequires: libselinux-devel} |
45 | BuildRequires: libtool >= 2:2.2 | |
46 | %{?with_tcpd:BuildRequires: libwrap-devel} | |
6e34428f | 47 | BuildRequires: libxslt-progs |
961baf80 | 48 | BuildRequires: m4 |
6c89bbd4 | 49 | %{?with_pam:BuildRequires: pam-devel} |
23107006 | 50 | BuildRequires: pkgconfig >= 0.9.0 |
6c89bbd4 | 51 | BuildRequires: rpmbuild(macros) >= 1.527 |
de86bd7f | 52 | BuildRequires: udev-devel >= 172 |
5b9bde26 JB |
53 | # not required for building from release (which contains *.c for *.vala) |
54 | #BuildRequires: vala >= 0.10.0 | |
011bccb6 | 55 | Requires: %{name}-libs = %{version}-%{release} |
c3037397 | 56 | Requires: %{name}-units = %{version}-%{release} |
2ff27c26 | 57 | Requires: SysVinit-tools |
37b8df82 | 58 | Requires: agetty |
c3037397 | 59 | Requires: dbus >= 1.3.2 |
2ff27c26 | 60 | Requires: dbus-systemd |
ea96631d | 61 | Requires: filesystem >= 4.0 |
851fb4d8 | 62 | Requires: rc-scripts >= 0.4.5.1-7 |
56701781 | 63 | Requires: setup >= 2.8.0-2 |
fe6ae5ab AF |
64 | Requires: udev-core >= 1:172 |
65 | Requires: udev-systemd >= 1:172 | |
66 | Requires: udev-libs >= 1:172 | |
c28b0c1c | 67 | Suggests: ConsoleKit-systemd |
2a61be78 TP |
68 | Suggests: fsck >= 2.20 |
69 | # python modules required by systemd-analyze | |
70 | Suggests: python-dbus | |
71 | Suggests: python-modules | |
c28b0c1c | 72 | Suggests: rsyslog-systemd |
fda563d5 | 73 | Provides: udev-acl |
ede8d3e5 | 74 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
75 | ||
85879912 ER |
76 | %define _libexecdir %{_prefix}/lib |
77 | ||
ede8d3e5 | 78 | %description |
1c239f8b | 79 | systemd is a system and service manager for Linux, compatible with |
ede8d3e5 | 80 | SysV and LSB init scripts. systemd provides aggressive parallelization |
81 | capabilities, uses socket and D-Bus activation for starting services, | |
82 | offers on-demand starting of daemons, keeps track of processes using | |
83 | Linux cgroups, supports snapshotting and restoring of the system | |
84 | state, maintains mount and automount points and implements an | |
85 | elaborate transactional dependency-based service control logic. It can | |
1c239f8b | 86 | work as a drop-in replacement for sysvinit. |
ede8d3e5 | 87 | |
88 | %description -l pl.UTF-8 | |
89 | systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze | |
90 | skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności | |
91 | paralelizacji, do uruchamiania usług używa socketów oraz D-Busa, | |
92 | oferuje uruchamianie usług na życzenie, monitoruje procesy używając | |
93 | linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie | |
94 | (restore) stanu systemu, zarządza (auto)mount pointami oraz | |
95 | implementuje starannie opracowaną transakcjonalną, bazującą na | |
d45dfc3a | 96 | zależnościach logikę kontroli usług. Może pracować jako zastępca dla |
ede8d3e5 | 97 | sysvinit. |
98 | ||
c97dacdd TP |
99 | %package init |
100 | Summary: systemd /sbin/init and LSB/SysV compatibility symlinks | |
5b9bde26 | 101 | Summary(pl.UTF-8): /sbin/init z systemd i dowiązania dla kompatybilności z LSB/SysV |
c97dacdd | 102 | Group: Base |
d6829efa | 103 | Requires: systemd |
c97dacdd TP |
104 | Provides: readahead = 1:1.5.7-3 |
105 | Provides: virtual(init-daemon) | |
106 | Obsoletes: SysVinit | |
107 | Obsoletes: readahead < 1:1.5.7-3 | |
108 | Obsoletes: virtual(init-daemon) | |
109 | ||
110 | %description init | |
111 | Install this package when you are ready to final switch to systemd. | |
112 | ||
5b9bde26 JB |
113 | %description init -l pl.UTF-8 |
114 | Ten pakiet należy zainstalować po przygotowaniu się do ostatecznego | |
115 | przejścia na systemd. | |
116 | ||
c3037397 ER |
117 | %package units |
118 | Summary: Configuration files, directories and installation tool for systemd | |
5b9bde26 | 119 | Summary(pl.UTF-8): Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla systemd |
c3037397 | 120 | Group: Base |
c3037397 ER |
121 | Requires(post): coreutils |
122 | Requires(post): gawk | |
961baf80 | 123 | Requires: pkgconfig |
c3037397 ER |
124 | |
125 | %description units | |
126 | Basic configuration files, directories and installation tool for the | |
127 | systemd system and service manager. | |
128 | ||
f341cd9b | 129 | This is common config, use %{_sysconfdir}/systemd/system to override. |
10ffdcd2 | 130 | |
5b9bde26 JB |
131 | %description units -l pl.UTF-8 |
132 | Podstawowe pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla | |
133 | zarządcy systemu i usług systemd. | |
134 | ||
135 | Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać | |
136 | poprzez katalog %{_sysconfdir}/systemd/system. | |
137 | ||
c3037397 ER |
138 | %package gtk |
139 | Summary: Graphical frontend for systemd | |
5b9bde26 | 140 | Summary(pl.UTF-8): Graficzny interfejs do systemd |
c3037397 ER |
141 | Group: Base |
142 | Requires: %{name} = %{version}-%{release} | |
143 | Requires: polkit | |
144 | ||
145 | %description gtk | |
146 | Graphical front-end for systemd. | |
147 | ||
5b9bde26 JB |
148 | %description gtk -l pl.UTF-8 |
149 | Graficzny interfejs do systemd. | |
6c89bbd4 | 150 | |
011bccb6 | 151 | %package libs |
5b9bde26 JB |
152 | Summary: Shared systemd libraries |
153 | Summary(pl.UTF-8): Biblioteki współdzielone systemd | |
011bccb6 BZ |
154 | Group: Libraries |
155 | ||
156 | %description libs | |
5b9bde26 JB |
157 | Shared systemd libraries. |
158 | ||
159 | %description libs -l pl.UTF-8 | |
160 | Biblioteki współdzielone systemd. | |
011bccb6 | 161 | |
961baf80 AF |
162 | %package devel |
163 | Summary: Header files for systemd libraries | |
164 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek systemd | |
165 | Group: Development/Libraries | |
011bccb6 | 166 | Requires: %{name}-libs = %{version}-%{release} |
961baf80 AF |
167 | |
168 | %description devel | |
169 | Header files for systemd libraries. | |
170 | ||
171 | %description devel -l pl.UTF-8 | |
172 | Pliki nagłówkowe bibliotek systemd. | |
173 | ||
5b9bde26 JB |
174 | %package -n bash-completion-systemd |
175 | Summary: bash-completion for systemd | |
176 | Summary(pl.UTF-8): Bashowe dopełnianie składni dla systemd | |
177 | Group: Applications/Shells | |
178 | Requires: %{name} | |
179 | Requires: bash-completion | |
180 | ||
181 | %description -n bash-completion-systemd | |
182 | bash-completion for systemd. | |
183 | ||
184 | %description -n bash-completion-systemd -l pl.UTF-8 | |
185 | Bashowe dopełnianie składni dla systemd | |
186 | ||
ede8d3e5 | 187 | %prep |
188 | %setup -q | |
4c5b5ab6 | 189 | %patch0 -p1 |
252e1bad | 190 | %patch1 -p1 |
8e088cd5 | 191 | %patch2 -p1 |
b77423ae | 192 | cp -p %{SOURCE2} src/systemd_booted.c |
ede8d3e5 | 193 | |
194 | %build | |
4c5b5ab6 | 195 | %{__aclocal} -I m4 |
ede8d3e5 | 196 | %{__autoconf} |
6e34428f | 197 | %{__autoheader} |
ede8d3e5 | 198 | %{__automake} |
9c0b975d | 199 | %configure \ |
6c89bbd4 ER |
200 | %{__enable_disable audit} \ |
201 | %{__enable_disable cryptsetup libcryptsetup} \ | |
202 | %{__enable_disable gtk} \ | |
203 | %{__enable_disable pam} \ | |
204 | %{__enable_disable selinux} \ | |
205 | %{__enable_disable tcpd tcpwrap} \ | |
206 | --disable-silent-rules \ | |
961baf80 | 207 | --disable-static \ |
5b9bde26 | 208 | --with-distro=pld \ |
391eea76 | 209 | --with-rootprefix= \ |
6ba1f779 | 210 | --with-rootlibdir=/%{_lib} |
e1d9cc15 | 211 | |
ede8d3e5 | 212 | %{__make} |
b77423ae | 213 | ./libtool --mode=link --tag=CC %{__cc} %{rpmcppflags} %{rpmcflags} -o systemd_booted %{rpmldflags} src/systemd_booted.c -L. -lsystemd-daemon |
ede8d3e5 | 214 | |
215 | %install | |
216 | rm -rf $RPM_BUILD_ROOT | |
23107006 | 217 | |
ede8d3e5 | 218 | %{__make} install \ |
219 | DESTDIR=$RPM_BUILD_ROOT | |
220 | ||
b77423ae AF |
221 | ./libtool --mode=install install -m755 systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted |
222 | ||
1dcb74bb | 223 | # Create SysV compatibility symlinks. systemctl/systemd are smart |
2a61be78 | 224 | # enough to detect the way they were called |
c28b0c1c | 225 | install -d $RPM_BUILD_ROOT/sbin |
1dcb74bb | 226 | ln -s ../bin/systemd $RPM_BUILD_ROOT/sbin/init |
1dcb74bb | 227 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/halt |
228 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/poweroff | |
23107006 TP |
229 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/reboot |
230 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/runlevel | |
1dcb74bb | 231 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/shutdown |
232 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/telinit | |
1dcb74bb | 233 | |
5d32f234 | 234 | ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf |
9b6e420d | 235 | # disable random and console SYSV service |
5a65c84e | 236 | ln -s /dev/null $RPM_BUILD_ROOT/lib/systemd/system/random.service |
9b6e420d | 237 | ln -s /dev/null $RPM_BUILD_ROOT/lib/systemd/system/console.service |
5d32f234 | 238 | |
f1586299 JR |
239 | # add static (non-NetworkManager) networking |
240 | install %{SOURCE3} $RPM_BUILD_ROOT/lib/systemd/system/ifup@.service | |
241 | install %{SOURCE4} $RPM_BUILD_ROOT/lib/systemd/system/network-post.service | |
242 | install %{SOURCE5} $RPM_BUILD_ROOT/lib/systemd/system/network.service | |
243 | ||
2a61be78 TP |
244 | # All wants links are created at %post to make sure they are not owned |
245 | # and hence overriden by rpm if the user deletes them (missingok?) | |
23107006 | 246 | %{__rm} -r $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/*.target.wants |
c3037397 | 247 | |
89d58574 TP |
248 | # do not cover /media (system-specific removable mountpoints) for now |
249 | # needs %post code to convert existing /media structure to tmpfiles | |
5a65c84e | 250 | %{__rm} $RPM_BUILD_ROOT/lib/systemd/system/local-fs.target.wants/media.mount |
89d58574 | 251 | # do not cover /var/run until packages need rpm-provided-only subdirectories |
5a65c84e | 252 | %{__rm} $RPM_BUILD_ROOT/lib/systemd/system/local-fs.target.wants/var-run.mount |
3edd52a6 | 253 | |
e64703a8 BZ |
254 | # it is in rc-scripts pkg |
255 | %{__rm} $RPM_BUILD_ROOT/lib/systemd/system/rc-local.service | |
256 | ||
2a61be78 TP |
257 | # Make sure these directories are properly owned: |
258 | # - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd, | |
259 | # - syslog _might_ be used by some syslog implementation (none for now), | |
260 | # - isn't dbus populated by dbus-systemd only (so to be moved there)? | |
d6829efa | 261 | install -d $RPM_BUILD_ROOT/lib/systemd/system/{dbus,halt,kexec,poweroff,reboot,syslog}.target.wants |
961baf80 AF |
262 | |
263 | # Create new-style configuration files so that we can ghost-own them | |
23107006 | 264 | touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,os-release,timezone,vconsole.conf} |
4bbef33c | 265 | |
9d8b5dfe | 266 | # Install SysV conversion tool for systemd |
4f25b6ac | 267 | install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir} |
9d8b5dfe BZ |
268 | |
269 | install -d $RPM_BUILD_ROOT/var/log | |
5a65c84e TP |
270 | :> $RPM_BUILD_ROOT/var/log/btmp |
271 | :> $RPM_BUILD_ROOT/var/log/wtmp | |
a761f93e | 272 | |
5d32f234 | 273 | %if %{without gtk} |
5d32f234 TP |
274 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/systemadm.1* |
275 | %endif | |
276 | ||
277 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} | |
a86320a6 | 278 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_systemd.la |
5d32f234 TP |
279 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
280 | ||
ede8d3e5 | 281 | %clean |
282 | rm -rf $RPM_BUILD_ROOT | |
283 | ||
9638c72f | 284 | %post |
4bbef33c | 285 | /bin/systemd-machine-id-setup > /dev/null 2>&1 || : |
9638c72f | 286 | /bin/systemctl daemon-reexec > /dev/null 2>&1 || : |
c3037397 | 287 | |
961baf80 | 288 | %postun |
85879912 | 289 | if [ $1 -ge 1 ]; then |
961baf80 | 290 | /bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || : |
9638c72f | 291 | fi |
292 | ||
3edd52a6 TP |
293 | %post libs -p /sbin/ldconfig |
294 | %postun libs -p /sbin/ldconfig | |
011bccb6 | 295 | |
961baf80 | 296 | %post units |
85879912 | 297 | if [ $1 -eq 1 ]; then |
961baf80 AF |
298 | # Try to read default runlevel from the old inittab if it exists |
299 | runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2> /dev/null) | |
300 | if [ -z "$runlevel" ] ; then | |
301 | target="/lib/systemd/system/graphical.target" | |
302 | else | |
303 | target="/lib/systemd/system/runlevel$runlevel.target" | |
304 | fi | |
305 | ||
306 | # And symlink what we found to the new-style default.target | |
f341cd9b | 307 | ln -s "$target" %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || : |
9638c72f | 308 | fi |
f1586299 JR |
309 | # Enable the services we install by default. |
310 | /bin/systemctl enable \ | |
311 | getty@.service \ | |
312 | network.service \ | |
313 | network-post.service \ | |
314 | remote-fs.target \ | |
315 | systemd-readahead-replay.service \ | |
316 | systemd-readahead-collect.service >/dev/null 2>&1 || : | |
317 | ||
318 | # Find and enable all installed interfaces | |
d37b4980 | 319 | mkdir -p %{_sysconfdir}/systemd/system/network.target.wants >/dev/null 2>&1 || : |
f1586299 JR |
320 | for f in /etc/sysconfig/interfaces/ifcfg-* ; do |
321 | ff=$(basename $f) | |
322 | ff=${ff##ifcfg-} | |
323 | case "$ff" in | |
324 | *.rpmorig|*.rpmnew|*.rpmsave|*~|*.orig) | |
325 | continue | |
326 | ;; | |
327 | *) | |
328 | ln -s /lib/systemd/system/ifup@.service \ | |
329 | %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@$ff.service >/dev/null 2>&1 || : | |
330 | ;; | |
331 | esac | |
332 | done | |
c3037397 ER |
333 | |
334 | %preun units | |
961baf80 AF |
335 | if [ $1 -eq 0 ] ; then |
336 | /bin/systemctl disable \ | |
337 | getty@.service \ | |
f1586299 JR |
338 | network.service \ |
339 | network-post.service \ | |
961baf80 AF |
340 | remote-fs.target \ |
341 | systemd-readahead-replay.service \ | |
342 | systemd-readahead-collect.service >/dev/null 2>&1 || : | |
343 | ||
f341cd9b | 344 | %{__rm} -f %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || : |
f1586299 | 345 | %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service >/dev/null 2>&1 || : |
c3037397 | 346 | fi |
9638c72f | 347 | |
961baf80 | 348 | %postun units |
85879912 | 349 | if [ $1 -ge 1 ]; then |
9638c72f | 350 | /bin/systemctl daemon-reload > /dev/null 2>&1 || : |
351 | fi | |
352 | ||
ede8d3e5 | 353 | %files |
354 | %defattr(644,root,root,755) | |
1c239f8b | 355 | %doc DISTRO_PORTING README TODO |
6e34428f | 356 | /etc/dbus-1/system.d/org.freedesktop.hostname1.conf |
961baf80 AF |
357 | /etc/dbus-1/system.d/org.freedesktop.locale1.conf |
358 | /etc/dbus-1/system.d/org.freedesktop.login1.conf | |
c3037397 | 359 | /etc/dbus-1/system.d/org.freedesktop.systemd1.conf |
961baf80 | 360 | /etc/dbus-1/system.d/org.freedesktop.timedate1.conf |
3edd52a6 | 361 | %ghost %config(noreplace) %{_sysconfdir}/machine-id |
b77423ae AF |
362 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname |
363 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf | |
364 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info | |
365 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/os-release | |
366 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/timezone | |
367 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf | |
5d32f234 | 368 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/*.conf |
2a61be78 | 369 | %dir %{_sysconfdir}/systemd/user |
abd479ee | 370 | /etc/xdg/systemd |
1dcb74bb | 371 | %attr(755,root,root) /bin/systemd |
372 | %attr(755,root,root) /bin/systemd-ask-password | |
c76a8951 | 373 | %attr(755,root,root) /bin/systemd-journalctl |
961baf80 | 374 | %attr(755,root,root) /bin/systemd-loginctl |
7a76bc86 | 375 | %attr(755,root,root) /bin/systemd-machine-id-setup |
1dcb74bb | 376 | %attr(755,root,root) /bin/systemd-notify |
377 | %attr(755,root,root) /bin/systemd-tty-ask-password-agent | |
57cd0d13 | 378 | %attr(755,root,root) %{_bindir}/systemd-analyze |
23107006 | 379 | %attr(755,root,root) %{_bindir}/systemd-cgls |
57cd0d13 ZU |
380 | %attr(755,root,root) %{_bindir}/systemd-nspawn |
381 | %attr(755,root,root) %{_bindir}/systemd-stdio-bridge | |
2a61be78 | 382 | %attr(755,root,root) %{_bindir}/systemd-sysv-convert |
abd479ee | 383 | %attr(755,root,root) /lib/systemd/systemd-* |
c3037397 | 384 | %dir /lib/systemd/system-generators |
5d32f234 | 385 | %attr(755,root,root) /lib/systemd/system-generators/systemd-*-generator |
abd479ee | 386 | %dir /lib/systemd/system-shutdown |
1c239f8b | 387 | /lib/udev/rules.d/99-systemd.rules |
961baf80 AF |
388 | /lib/udev/rules.d/70-uaccess.rules |
389 | /lib/udev/rules.d/71-seat.rules | |
390 | /lib/udev/rules.d/73-seat-late.rules | |
3edd52a6 TP |
391 | %dir %{_libexecdir}/systemd |
392 | %{_libexecdir}/systemd/user | |
2a61be78 | 393 | %dir %{_libexecdir}/systemd/user-generators |
89d58574 | 394 | %config(noreplace,missingok) %{_libexecdir}/tmpfiles.d/*.conf |
961baf80 AF |
395 | %{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml |
396 | %{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml | |
c3037397 | 397 | %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml |
961baf80 | 398 | %{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml |
1c239f8b | 399 | %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service |
6e34428f | 400 | %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service |
961baf80 AF |
401 | %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service |
402 | %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service | |
1c239f8b | 403 | %{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service |
961baf80 | 404 | %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service |
6e34428f | 405 | %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy |
961baf80 AF |
406 | %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy |
407 | %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy | |
408 | %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy | |
409 | %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy | |
410 | %dir %{_datadir}/systemd | |
411 | %{_datadir}/systemd/kbd-model-map | |
7a76bc86 | 412 | %{_mandir}/man1/systemd.1* |
2a61be78 | 413 | %{_mandir}/man1/systemd-*.1* |
1c239f8b | 414 | %{_mandir}/man3/sd_booted.3* |
415 | %{_mandir}/man3/sd_is_fifo.3* | |
416 | %{_mandir}/man3/sd_is_socket.3 | |
417 | %{_mandir}/man3/sd_is_socket_inet.3 | |
418 | %{_mandir}/man3/sd_is_socket_unix.3 | |
419 | %{_mandir}/man3/sd_listen_fds.3* | |
420 | %{_mandir}/man3/sd_notify.3* | |
421 | %{_mandir}/man3/sd_notifyf.3 | |
422 | %{_mandir}/man3/sd_readahead.3* | |
6e34428f | 423 | %{_mandir}/man5/binfmt.d.5* |
1c239f8b | 424 | %{_mandir}/man5/hostname.5* |
425 | %{_mandir}/man5/locale.conf.5* | |
7a76bc86 | 426 | %{_mandir}/man5/machine-id.5* |
6e34428f | 427 | %{_mandir}/man5/machine-info.5* |
1c239f8b | 428 | %{_mandir}/man5/modules-load.d.5* |
429 | %{_mandir}/man5/os-release.5* | |
6e34428f | 430 | %{_mandir}/man5/sysctl.d.5* |
89d58574 | 431 | %{_mandir}/man5/systemd.*.5* |
961baf80 AF |
432 | %{_mandir}/man5/systemd-logind.conf.5* |
433 | %{_mandir}/man5/timezone.5* | |
23107006 | 434 | %{_mandir}/man5/vconsole.conf.5* |
1c239f8b | 435 | %{_mandir}/man7/daemon.7* |
436 | %{_mandir}/man7/sd-daemon.7* | |
c76a8951 | 437 | %{_mandir}/man7/sd-login.7* |
1c239f8b | 438 | %{_mandir}/man7/sd-readahead.7* |
439 | %{_mandir}/man7/systemd.special.7* | |
a761f93e TP |
440 | %attr(640,root,root) %ghost /var/log/btmp |
441 | %attr(664,root,utmp) %ghost /var/log/wtmp | |
c3037397 | 442 | |
6c89bbd4 | 443 | %if %{with pam} |
a86320a6 | 444 | %attr(755,root,root) /%{_lib}/security/pam_systemd.so |
6c89bbd4 ER |
445 | %{_mandir}/man8/pam_systemd.8* |
446 | %endif | |
447 | ||
c97dacdd | 448 | %files init |
5b9bde26 | 449 | %defattr(644,root,root,755) |
c97dacdd TP |
450 | %attr(755,root,root) /sbin/halt |
451 | %attr(755,root,root) /sbin/init | |
452 | %attr(755,root,root) /sbin/poweroff | |
453 | %attr(755,root,root) /sbin/reboot | |
454 | %attr(755,root,root) /sbin/runlevel | |
455 | %attr(755,root,root) /sbin/shutdown | |
456 | %attr(755,root,root) /sbin/telinit | |
457 | %{_mandir}/man1/init.1 | |
458 | %{_mandir}/man8/halt.8* | |
459 | %{_mandir}/man8/poweroff.8 | |
460 | %{_mandir}/man8/reboot.8 | |
461 | %{_mandir}/man8/runlevel.8* | |
462 | %{_mandir}/man8/shutdown.8* | |
463 | %{_mandir}/man8/telinit.8* | |
464 | ||
c3037397 ER |
465 | %files units |
466 | %defattr(644,root,root,755) | |
abd479ee MB |
467 | %dir %{_sysconfdir}/binfmt.d |
468 | %dir %{_sysconfdir}/modules-load.d | |
5d32f234 | 469 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf |
abd479ee | 470 | %dir %{_sysconfdir}/sysctl.d |
c3037397 ER |
471 | %dir %{_sysconfdir}/systemd |
472 | %dir %{_sysconfdir}/systemd/system | |
473 | %dir %{_sysconfdir}/tmpfiles.d | |
85879912 ER |
474 | %dir %{_libexecdir}/binfmt.d |
475 | %dir %{_libexecdir}/modules-load.d | |
476 | %dir %{_libexecdir}/sysctl.d | |
c3037397 ER |
477 | %attr(755,root,root) /bin/systemctl |
478 | %attr(755,root,root) /bin/systemd-tmpfiles | |
b77423ae | 479 | %attr(755,root,root) /bin/systemd_booted |
c3037397 | 480 | %{_mandir}/man1/systemctl.1* |
89d58574 | 481 | %{_mandir}/man5/tmpfiles.d.5* |
c3037397 | 482 | %{_mandir}/man8/systemd-tmpfiles.8* |
961baf80 | 483 | %{_npkgconfigdir}/systemd.pc |
c3037397 | 484 | |
10ffdcd2 BZ |
485 | /lib/systemd/system/*.automount |
486 | /lib/systemd/system/*.mount | |
487 | /lib/systemd/system/*.path | |
488 | /lib/systemd/system/*.service | |
489 | /lib/systemd/system/*.socket | |
490 | /lib/systemd/system/*.target | |
491 | /lib/systemd/system/*.timer | |
4861f120 AF |
492 | %dir /lib/systemd/system/*.wants |
493 | %config(noreplace,missingok) /lib/systemd/system/*.wants/* | |
10ffdcd2 | 494 | |
c3037397 ER |
495 | %if %{with gtk} |
496 | %files gtk | |
497 | %defattr(644,root,root,755) | |
498 | %attr(755,root,root) %{_bindir}/systemadm | |
499 | %attr(755,root,root) %{_bindir}/systemd-gnome-ask-password-agent | |
c3037397 ER |
500 | %{_mandir}/man1/systemadm.1* |
501 | %endif | |
6c89bbd4 | 502 | |
5b9bde26 | 503 | %files libs |
6c89bbd4 | 504 | %defattr(644,root,root,755) |
6ba1f779 MB |
505 | %attr(755,root,root) /%{_lib}/libsystemd-daemon.so.*.*.* |
506 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-daemon.so.0 | |
507 | %attr(755,root,root) /%{_lib}/libsystemd-id128.so.*.*.* | |
508 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-id128.so.0 | |
509 | %attr(755,root,root) /%{_lib}/libsystemd-journal.so.*.*.* | |
510 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-journal.so.0 | |
511 | %attr(755,root,root) /%{_lib}/libsystemd-login.so.*.*.* | |
512 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-login.so.0 | |
961baf80 AF |
513 | |
514 | %files devel | |
515 | %defattr(644,root,root,755) | |
89d58574 | 516 | %attr(755,root,root) %{_libdir}/libsystemd-daemon.so |
c76a8951 BZ |
517 | %attr(755,root,root) %{_libdir}/libsystemd-id128.so |
518 | %attr(755,root,root) %{_libdir}/libsystemd-journal.so | |
89d58574 | 519 | %attr(755,root,root) %{_libdir}/libsystemd-login.so |
5b9bde26 | 520 | %{_includedir}/%{name} |
961baf80 | 521 | %{_pkgconfigdir}/libsystemd-daemon.pc |
c76a8951 BZ |
522 | %{_pkgconfigdir}/libsystemd-id128.pc |
523 | %{_pkgconfigdir}/libsystemd-journal.pc | |
961baf80 | 524 | %{_pkgconfigdir}/libsystemd-login.pc |
c76a8951 BZ |
525 | %{_mandir}/man3/sd_get_seats.3* |
526 | %{_mandir}/man3/sd_get_sessions.3* | |
527 | %{_mandir}/man3/sd_get_uids.3* | |
528 | %{_mandir}/man3/sd_is_mq.3* | |
529 | %{_mandir}/man3/sd_login_monitor_flush.3* | |
530 | %{_mandir}/man3/sd_login_monitor_get_fd.3* | |
531 | %{_mandir}/man3/sd_login_monitor_new.3* | |
532 | %{_mandir}/man3/sd_login_monitor_unref.3* | |
533 | %{_mandir}/man3/sd_pid_get_owner_uid.3* | |
534 | %{_mandir}/man3/sd_pid_get_session.3* | |
535 | %{_mandir}/man3/sd_pid_get_unit.3* | |
536 | %{_mandir}/man3/sd_seat_can_multi_session.3* | |
537 | %{_mandir}/man3/sd_seat_get_active.3* | |
538 | %{_mandir}/man3/sd_seat_get_sessions.3* | |
539 | %{_mandir}/man3/sd_session_get_seat.3* | |
540 | %{_mandir}/man3/sd_session_get_uid.3* | |
541 | %{_mandir}/man3/sd_session_is_active.3* | |
542 | %{_mandir}/man3/sd_uid_get_seats.3* | |
543 | %{_mandir}/man3/sd_uid_get_sessions.3* | |
544 | %{_mandir}/man3/sd_uid_get_state.3* | |
545 | %{_mandir}/man3/sd_uid_is_on_seat.3* | |
5b9bde26 JB |
546 | |
547 | %files -n bash-completion-systemd | |
548 | %defattr(644,root,root,755) | |
391eea76 | 549 | /etc/bash_completion.d/systemd-bash-completion.sh |