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