]>
Commit | Line | Data |
---|---|---|
85879912 ER |
1 | # UNPACKAGED files: |
2 | # /etc/hostname | |
3 | # /etc/locale.conf | |
4 | # /etc/machine-info | |
5 | # /etc/os-release | |
6 | # /etc/timezone | |
7 | # /etc/vconsole.conf | |
9c4bd736 | 8 | # |
c3037397 | 9 | # Conditional build: |
6e34428f | 10 | %bcond_without gtk # build gtk tools (needs devel libnotify>=0.7 and gtk+2) |
6c89bbd4 ER |
11 | %bcond_without selinux # without SELinux support |
12 | %bcond_without tcpd # libwrap (tcp_wrappers) support | |
6e34428f | 13 | %bcond_without pam # PAM authentication support |
6c89bbd4 ER |
14 | %bcond_without audit # without audit support |
15 | %bcond_without cryptsetup # without cryptsetup 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 | |
961baf80 | 20 | Version: 37 |
4d29e184 | 21 | Release: 0.4 |
ede8d3e5 | 22 | License: GPL v2+ |
23 | Group: Base | |
24 | Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.bz2 | |
961baf80 | 25 | # Source0-md5: 1435f23be79c8c38d1121c6b150510f3 |
7619c097 | 26 | Patch0: target-pld.patch |
ede8d3e5 | 27 | URL: http://www.freedesktop.org/wiki/Software/systemd |
6c89bbd4 | 28 | %{?with_audit:BuildRequires: audit-libs-devel} |
6e34428f MB |
29 | BuildRequires: autoconf >= 2.63 |
30 | BuildRequires: automake >= 1:1.11 | |
31 | %{?with_cryptsetup:BuildRequires: cryptsetup-luks-devel} | |
9c0b975d | 32 | BuildRequires: dbus-devel |
c3037397 | 33 | BuildRequires: docbook-style-xsl |
6e34428f | 34 | %{?with_gtk:BuildRequires: glib2-devel >= 1:2.26.1} |
3fc7a1cc | 35 | BuildRequires: gperf |
6e34428f | 36 | %{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.24.0} |
b82d0bf2 | 37 | BuildRequires: libcap-devel |
6e34428f | 38 | %{?with_gtk:BuildRequires: libnotify-devel >= 0.7.0} |
6c89bbd4 ER |
39 | %{?with_selinux:BuildRequires: libselinux-devel} |
40 | BuildRequires: libtool >= 2:2.2 | |
41 | %{?with_tcpd:BuildRequires: libwrap-devel} | |
6e34428f | 42 | BuildRequires: libxslt-progs |
961baf80 | 43 | BuildRequires: m4 |
6c89bbd4 | 44 | %{?with_pam:BuildRequires: pam-devel} |
c3037397 | 45 | BuildRequires: pkgconfig |
6c89bbd4 | 46 | BuildRequires: rpmbuild(macros) >= 1.527 |
ede8d3e5 | 47 | BuildRequires: udev-devel >= 160 |
6e34428f | 48 | BuildRequires: vala >= 0.10.0 |
c3037397 ER |
49 | Requires: %{name}-units = %{version}-%{release} |
50 | Requires: dbus >= 1.3.2 | |
9c9b3944 ZU |
51 | # python modules required by systemd-analyze |
52 | Requires: python-dbus | |
53 | Requires: python-modules | |
c3037397 ER |
54 | Requires: rc-scripts |
55 | Requires: udev-core >= 160 | |
9e606de5 | 56 | Provides: SysVinit = 2.86-26 |
c3037397 | 57 | Provides: readahead = 1:1.5.7-3 |
1dcb74bb | 58 | Provides: virtual(init-daemon) |
9e606de5 | 59 | Obsoletes: SysVinit < 2.86-26 |
c3037397 | 60 | Obsoletes: readahead < 1:1.5.7-3 |
1dcb74bb | 61 | Obsoletes: virtual(init-daemon) |
ede8d3e5 | 62 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
63 | ||
85879912 ER |
64 | %define _libexecdir %{_prefix}/lib |
65 | ||
ede8d3e5 | 66 | %description |
1c239f8b | 67 | systemd is a system and service manager for Linux, compatible with |
ede8d3e5 | 68 | SysV and LSB init scripts. systemd provides aggressive parallelization |
69 | capabilities, uses socket and D-Bus activation for starting services, | |
70 | offers on-demand starting of daemons, keeps track of processes using | |
71 | Linux cgroups, supports snapshotting and restoring of the system | |
72 | state, maintains mount and automount points and implements an | |
73 | elaborate transactional dependency-based service control logic. It can | |
1c239f8b | 74 | work as a drop-in replacement for sysvinit. |
ede8d3e5 | 75 | |
76 | %description -l pl.UTF-8 | |
77 | systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze | |
78 | skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności | |
79 | paralelizacji, do uruchamiania usług używa socketów oraz D-Busa, | |
80 | oferuje uruchamianie usług na życzenie, monitoruje procesy używając | |
81 | linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie | |
82 | (restore) stanu systemu, zarządza (auto)mount pointami oraz | |
83 | implementuje starannie opracowaną transakcjonalną, bazującą na | |
d45dfc3a | 84 | zależnościach logikę kontroli usług. Może pracować jako zastępca dla |
ede8d3e5 | 85 | sysvinit. |
86 | ||
c3037397 ER |
87 | %package units |
88 | Summary: Configuration files, directories and installation tool for systemd | |
89 | Group: Base | |
c3037397 ER |
90 | Requires(post): coreutils |
91 | Requires(post): gawk | |
961baf80 | 92 | Requires: pkgconfig |
c3037397 ER |
93 | |
94 | %description units | |
95 | Basic configuration files, directories and installation tool for the | |
96 | systemd system and service manager. | |
97 | ||
98 | %package gtk | |
99 | Summary: Graphical frontend for systemd | |
100 | Group: Base | |
101 | Requires: %{name} = %{version}-%{release} | |
102 | Requires: polkit | |
103 | ||
104 | %description gtk | |
105 | Graphical front-end for systemd. | |
106 | ||
6c89bbd4 ER |
107 | %package -n bash-completion-systemd |
108 | Summary: bash-completion for systemd | |
109 | Group: Applications/Shells | |
110 | Requires: %{name} | |
111 | Requires: bash-completion | |
112 | ||
113 | %description -n bash-completion-systemd | |
114 | bash-completion for systemd. | |
115 | ||
961baf80 AF |
116 | %package devel |
117 | Summary: Header files for systemd libraries | |
118 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek systemd | |
119 | Group: Development/Libraries | |
120 | Requires: %{name} = %{version}-%{release} | |
121 | ||
122 | %description devel | |
123 | Header files for systemd libraries. | |
124 | ||
125 | %description devel -l pl.UTF-8 | |
126 | Pliki nagłówkowe bibliotek systemd. | |
127 | ||
ede8d3e5 | 128 | %prep |
129 | %setup -q | |
4c5b5ab6 | 130 | %patch0 -p1 |
ede8d3e5 | 131 | |
132 | %build | |
4c5b5ab6 | 133 | %{__aclocal} -I m4 |
ede8d3e5 | 134 | %{__autoconf} |
6e34428f | 135 | %{__autoheader} |
ede8d3e5 | 136 | %{__automake} |
9c0b975d | 137 | %configure \ |
6c89bbd4 ER |
138 | %{__enable_disable audit} \ |
139 | %{__enable_disable cryptsetup libcryptsetup} \ | |
140 | %{__enable_disable gtk} \ | |
141 | %{__enable_disable pam} \ | |
142 | %{__enable_disable selinux} \ | |
143 | %{__enable_disable tcpd tcpwrap} \ | |
144 | --disable-silent-rules \ | |
961baf80 | 145 | --disable-static \ |
1dcb74bb | 146 | --with-rootdir= |
e1d9cc15 | 147 | |
ede8d3e5 | 148 | %{__make} |
149 | ||
150 | %install | |
151 | rm -rf $RPM_BUILD_ROOT | |
ede8d3e5 | 152 | %{__make} install \ |
153 | DESTDIR=$RPM_BUILD_ROOT | |
154 | ||
c3037397 | 155 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} |
85879912 ER |
156 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_systemd.la |
157 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
c3037397 | 158 | |
c3037397 ER |
159 | %if %{without gtk} |
160 | # to shut up check-files | |
c3037397 ER |
161 | rm -f $RPM_BUILD_ROOT%{_bindir}/systemadm |
162 | rm -f $RPM_BUILD_ROOT%{_bindir}/systemd-gnome-ask-password-agent | |
c3037397 ER |
163 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/systemadm.1* |
164 | %endif | |
165 | ||
1dcb74bb | 166 | # Create SysV compatibility symlinks. systemctl/systemd are smart |
167 | # enough to detect in which way they are called. | |
168 | install -d $RPM_BUILD_ROOT/sbin | |
169 | ln -s ../bin/systemd $RPM_BUILD_ROOT/sbin/init | |
170 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/reboot | |
171 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/halt | |
172 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/poweroff | |
173 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/shutdown | |
174 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/telinit | |
175 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/runlevel | |
176 | ||
c3037397 ER |
177 | # We create all wants links manually at installation time to make sure |
178 | # they are not owned and hence overriden by rpm after the used deleted | |
179 | # them. | |
180 | rm -r $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/*.target.wants | |
181 | ||
961baf80 AF |
182 | # Make sure these directories are properly owned |
183 | install -d $RPM_BUILD_ROOT/lib/systemd/system/basic.target.wants | |
961baf80 | 184 | install -d $RPM_BUILD_ROOT/lib/systemd/system/dbus.target.wants |
9e606de5 AF |
185 | install -d $RPM_BUILD_ROOT/lib/systemd/system/default.target.wants |
186 | install -d $RPM_BUILD_ROOT/lib/systemd/system/halt.target.wants | |
187 | install -d $RPM_BUILD_ROOT/lib/systemd/system/kexec.target.wants | |
188 | install -d $RPM_BUILD_ROOT/lib/systemd/system/poweroff.target.wants | |
189 | install -d $RPM_BUILD_ROOT/lib/systemd/system/reboot.target.wants | |
961baf80 AF |
190 | install -d $RPM_BUILD_ROOT/lib/systemd/system/syslog.target.wants |
191 | ||
192 | # Create new-style configuration files so that we can ghost-own them | |
193 | touch $RPM_BUILD_ROOT%{_sysconfdir}/hostname | |
194 | touch $RPM_BUILD_ROOT%{_sysconfdir}/locale.conf | |
4bbef33c | 195 | touch $RPM_BUILD_ROOT%{_sysconfdir}/machine-id |
961baf80 AF |
196 | touch $RPM_BUILD_ROOT%{_sysconfdir}/machine-info |
197 | touch $RPM_BUILD_ROOT%{_sysconfdir}/os-release | |
198 | touch $RPM_BUILD_ROOT%{_sysconfdir}/timezone | |
199 | touch $RPM_BUILD_ROOT%{_sysconfdir}/vconsole.conf | |
4bbef33c | 200 | |
ede8d3e5 | 201 | %clean |
202 | rm -rf $RPM_BUILD_ROOT | |
203 | ||
9638c72f | 204 | %post |
961baf80 | 205 | /sbin/ldconfig |
4bbef33c | 206 | /bin/systemd-machine-id-setup > /dev/null 2>&1 || : |
9638c72f | 207 | /bin/systemctl daemon-reexec > /dev/null 2>&1 || : |
c3037397 | 208 | |
961baf80 AF |
209 | %postun |
210 | /sbin/ldconfig | |
85879912 | 211 | if [ $1 -ge 1 ]; then |
961baf80 | 212 | /bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || : |
9638c72f | 213 | fi |
214 | ||
961baf80 | 215 | %post units |
85879912 | 216 | if [ $1 -eq 1 ]; then |
961baf80 AF |
217 | # Try to read default runlevel from the old inittab if it exists |
218 | runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2> /dev/null) | |
219 | if [ -z "$runlevel" ] ; then | |
220 | target="/lib/systemd/system/graphical.target" | |
221 | else | |
222 | target="/lib/systemd/system/runlevel$runlevel.target" | |
223 | fi | |
224 | ||
225 | # And symlink what we found to the new-style default.target | |
85879912 ER |
226 | ln -sf "$target" /etc/systemd/system/default.target >/dev/null 2>&1 || : |
227 | ||
961baf80 AF |
228 | # Enable the services we install by default. |
229 | /bin/systemctl enable \ | |
230 | getty@.service \ | |
231 | remote-fs.target \ | |
232 | systemd-readahead-replay.service \ | |
233 | systemd-readahead-collect.service >/dev/null 2>&1 || : | |
9638c72f | 234 | fi |
c3037397 ER |
235 | |
236 | %preun units | |
961baf80 AF |
237 | if [ $1 -eq 0 ] ; then |
238 | /bin/systemctl disable \ | |
239 | getty@.service \ | |
240 | remote-fs.target \ | |
241 | systemd-readahead-replay.service \ | |
242 | systemd-readahead-collect.service >/dev/null 2>&1 || : | |
243 | ||
85879912 | 244 | %{__rm} -f /etc/systemd/system/default.target >/dev/null 2>&1 || : |
c3037397 | 245 | fi |
9638c72f | 246 | |
961baf80 | 247 | %postun units |
85879912 | 248 | if [ $1 -ge 1 ]; then |
9638c72f | 249 | /bin/systemctl daemon-reload > /dev/null 2>&1 || : |
250 | fi | |
251 | ||
ede8d3e5 | 252 | %files |
253 | %defattr(644,root,root,755) | |
1c239f8b | 254 | %doc DISTRO_PORTING README TODO |
6e34428f | 255 | /etc/dbus-1/system.d/org.freedesktop.hostname1.conf |
961baf80 AF |
256 | /etc/dbus-1/system.d/org.freedesktop.locale1.conf |
257 | /etc/dbus-1/system.d/org.freedesktop.login1.conf | |
c3037397 | 258 | /etc/dbus-1/system.d/org.freedesktop.systemd1.conf |
961baf80 | 259 | /etc/dbus-1/system.d/org.freedesktop.timedate1.conf |
c3037397 | 260 | %dir %{_sysconfdir}/systemd |
c3037397 | 261 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system.conf |
961baf80 AF |
262 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/systemd-logind.conf |
263 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/user.conf | |
4bbef33c | 264 | %ghost %config(noreplace) %{_sysconfdir}/machine-id |
abd479ee | 265 | /etc/xdg/systemd |
1dcb74bb | 266 | %attr(755,root,root) /bin/systemd |
267 | %attr(755,root,root) /bin/systemd-ask-password | |
961baf80 | 268 | %attr(755,root,root) /bin/systemd-loginctl |
7a76bc86 | 269 | %attr(755,root,root) /bin/systemd-machine-id-setup |
1dcb74bb | 270 | %attr(755,root,root) /bin/systemd-notify |
271 | %attr(755,root,root) /bin/systemd-tty-ask-password-agent | |
c3037397 | 272 | %attr(755,root,root) %{_bindir}/systemd-cgls |
57cd0d13 ZU |
273 | %attr(755,root,root) %{_bindir}/systemd-analyze |
274 | %attr(755,root,root) %{_bindir}/systemd-nspawn | |
275 | %attr(755,root,root) %{_bindir}/systemd-stdio-bridge | |
c3037397 ER |
276 | %attr(755,root,root) /sbin/halt |
277 | %attr(755,root,root) /sbin/init | |
278 | %attr(755,root,root) /sbin/poweroff | |
279 | %attr(755,root,root) /sbin/reboot | |
280 | %attr(755,root,root) /sbin/runlevel | |
281 | %attr(755,root,root) /sbin/shutdown | |
282 | %attr(755,root,root) /sbin/telinit | |
abd479ee | 283 | %attr(755,root,root) /lib/systemd/systemd-* |
85879912 ER |
284 | %attr(755,root,root) %{_libdir}/libsystemd-daemon.so.*.*.* |
285 | %ghost %{_libdir}/libsystemd-daemon.so.0 | |
286 | %attr(755,root,root) %{_libdir}/libsystemd-login.so.*.*.* | |
287 | %ghost %{_libdir}/libsystemd-login.so.0 | |
288 | ||
289 | %dir %{_libexecdir}/systemd | |
290 | %{_libexecdir}/systemd/user | |
c3037397 | 291 | %dir /lib/systemd/system-generators |
abd479ee MB |
292 | %if %{with cryptsetup} |
293 | %attr(755,root,root) /lib/systemd/system-generators/systemd-cryptsetup-generator | |
294 | %endif | |
295 | %attr(755,root,root) /lib/systemd/system-generators/systemd-getty-generator | |
296 | %dir /lib/systemd/system-shutdown | |
1c239f8b | 297 | /lib/udev/rules.d/99-systemd.rules |
961baf80 AF |
298 | /lib/udev/rules.d/70-uaccess.rules |
299 | /lib/udev/rules.d/71-seat.rules | |
300 | /lib/udev/rules.d/73-seat-late.rules | |
85879912 ER |
301 | %{_libexecdir}/tmpfiles.d/legacy.conf |
302 | %{_libexecdir}/tmpfiles.d/systemd.conf | |
303 | %{_libexecdir}/tmpfiles.d/x11.conf | |
304 | %{_libexecdir}/tmpfiles.d/tmp.conf | |
961baf80 AF |
305 | %{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml |
306 | %{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml | |
c3037397 | 307 | %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml |
961baf80 | 308 | %{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml |
1c239f8b | 309 | %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service |
6e34428f | 310 | %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service |
961baf80 AF |
311 | %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service |
312 | %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service | |
1c239f8b | 313 | %{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service |
961baf80 | 314 | %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service |
6e34428f | 315 | %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy |
961baf80 AF |
316 | %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy |
317 | %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy | |
318 | %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy | |
319 | %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy | |
320 | %dir %{_datadir}/systemd | |
321 | %{_datadir}/systemd/kbd-model-map | |
1c239f8b | 322 | %{_mandir}/man1/init.1 |
7a76bc86 | 323 | %{_mandir}/man1/systemd.1* |
6e34428f | 324 | %{_mandir}/man1/systemd-ask-password.1* |
1c239f8b | 325 | %{_mandir}/man1/systemd-cgls.1* |
326 | %{_mandir}/man1/systemd-notify.1* | |
6e34428f | 327 | %{_mandir}/man1/systemd-nspawn.1* |
961baf80 | 328 | %{_mandir}/man1/systemd-loginctl.1* |
1c239f8b | 329 | %{_mandir}/man3/sd_booted.3* |
330 | %{_mandir}/man3/sd_is_fifo.3* | |
331 | %{_mandir}/man3/sd_is_socket.3 | |
332 | %{_mandir}/man3/sd_is_socket_inet.3 | |
333 | %{_mandir}/man3/sd_is_socket_unix.3 | |
334 | %{_mandir}/man3/sd_listen_fds.3* | |
335 | %{_mandir}/man3/sd_notify.3* | |
336 | %{_mandir}/man3/sd_notifyf.3 | |
337 | %{_mandir}/man3/sd_readahead.3* | |
6e34428f | 338 | %{_mandir}/man5/binfmt.d.5* |
1c239f8b | 339 | %{_mandir}/man5/hostname.5* |
340 | %{_mandir}/man5/locale.conf.5* | |
7a76bc86 | 341 | %{_mandir}/man5/machine-id.5* |
6e34428f | 342 | %{_mandir}/man5/machine-info.5* |
1c239f8b | 343 | %{_mandir}/man5/modules-load.d.5* |
344 | %{_mandir}/man5/os-release.5* | |
6e34428f | 345 | %{_mandir}/man5/sysctl.d.5* |
1c239f8b | 346 | %{_mandir}/man5/systemd.automount.5* |
347 | %{_mandir}/man5/systemd.conf.5* | |
348 | %{_mandir}/man5/systemd.device.5* | |
349 | %{_mandir}/man5/systemd.exec.5* | |
350 | %{_mandir}/man5/systemd.mount.5* | |
351 | %{_mandir}/man5/systemd.path.5* | |
352 | %{_mandir}/man5/systemd.service.5* | |
353 | %{_mandir}/man5/systemd.snapshot.5* | |
354 | %{_mandir}/man5/systemd.socket.5* | |
355 | %{_mandir}/man5/systemd.swap.5* | |
356 | %{_mandir}/man5/systemd.target.5* | |
357 | %{_mandir}/man5/systemd.timer.5* | |
358 | %{_mandir}/man5/systemd.unit.5* | |
1c239f8b | 359 | %{_mandir}/man5/vconsole.conf.5* |
961baf80 AF |
360 | %{_mandir}/man5/systemd-logind.conf.5* |
361 | %{_mandir}/man5/timezone.5* | |
1c239f8b | 362 | %{_mandir}/man7/daemon.7* |
363 | %{_mandir}/man7/sd-daemon.7* | |
364 | %{_mandir}/man7/sd-readahead.7* | |
365 | %{_mandir}/man7/systemd.special.7* | |
366 | %{_mandir}/man8/halt.8* | |
1c239f8b | 367 | %{_mandir}/man8/poweroff.8 |
368 | %{_mandir}/man8/reboot.8 | |
369 | %{_mandir}/man8/runlevel.8* | |
370 | %{_mandir}/man8/shutdown.8* | |
371 | %{_mandir}/man8/telinit.8* | |
c3037397 | 372 | |
6c89bbd4 ER |
373 | %if %{with pam} |
374 | %attr(755,root,root) /%{_lib}/security/pam_systemd.so | |
375 | %{_mandir}/man8/pam_systemd.8* | |
376 | %endif | |
377 | ||
c3037397 ER |
378 | %files units |
379 | %defattr(644,root,root,755) | |
abd479ee MB |
380 | %dir %{_sysconfdir}/binfmt.d |
381 | %dir %{_sysconfdir}/modules-load.d | |
382 | %dir %{_sysconfdir}/sysctl.d | |
c3037397 ER |
383 | %dir %{_sysconfdir}/systemd |
384 | %dir %{_sysconfdir}/systemd/system | |
385 | %dir %{_sysconfdir}/tmpfiles.d | |
386 | %dir /lib/systemd | |
387 | /lib/systemd/system | |
85879912 ER |
388 | %dir %{_libexecdir}/binfmt.d |
389 | %dir %{_libexecdir}/modules-load.d | |
390 | %dir %{_libexecdir}/sysctl.d | |
391 | %dir %{_libexecdir}/tmpfiles.d | |
c3037397 ER |
392 | %attr(755,root,root) /bin/systemctl |
393 | %attr(755,root,root) /bin/systemd-tmpfiles | |
394 | %{_mandir}/man5/tmpfiles.d.5* | |
395 | %{_mandir}/man1/systemctl.1* | |
396 | %{_mandir}/man8/systemd-tmpfiles.8* | |
961baf80 | 397 | %{_npkgconfigdir}/systemd.pc |
c3037397 ER |
398 | |
399 | %if %{with gtk} | |
400 | %files gtk | |
401 | %defattr(644,root,root,755) | |
402 | %attr(755,root,root) %{_bindir}/systemadm | |
403 | %attr(755,root,root) %{_bindir}/systemd-gnome-ask-password-agent | |
c3037397 ER |
404 | %{_mandir}/man1/systemadm.1* |
405 | %endif | |
6c89bbd4 ER |
406 | |
407 | %files -n bash-completion-systemd | |
408 | %defattr(644,root,root,755) | |
409 | /etc/bash_completion.d/systemctl-bash-completion.sh | |
961baf80 AF |
410 | |
411 | %files devel | |
412 | %defattr(644,root,root,755) | |
413 | %{_includedir}/systemd | |
414 | %{_libdir}/libsystemd-daemon.so | |
415 | %{_libdir}/libsystemd-login.so | |
416 | %{_pkgconfigdir}/libsystemd-daemon.pc | |
417 | %{_pkgconfigdir}/libsystemd-login.pc |