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