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