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