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