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