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