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