]> git.pld-linux.org Git - packages/systemd.git/blame - systemd.spec
- conflicts binfmt-detector
[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 18Version: 39
6ea9843e 19Release: 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
c35aa49c 83Suggests: service(klogd)
1cdd35cf 84Suggests: service(syslog)
ae4d0acb 85Suggests: %{name}-no-compat-tmpfiles
fda563d5 86Provides: udev-acl
3baeefca
PG
87# systemd takes care of that and causes problems
88Conflicts: binfmt-detector
ff9cae1d 89Conflicts: upstart
ede8d3e5 90BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
91
85879912
ER
92%define _libexecdir %{_prefix}/lib
93
ede8d3e5 94%description
1c239f8b 95systemd is a system and service manager for Linux, compatible with
ede8d3e5 96SysV and LSB init scripts. systemd provides aggressive parallelization
97capabilities, uses socket and D-Bus activation for starting services,
98offers on-demand starting of daemons, keeps track of processes using
99Linux cgroups, supports snapshotting and restoring of the system
100state, maintains mount and automount points and implements an
101elaborate transactional dependency-based service control logic. It can
1c239f8b 102work as a drop-in replacement for sysvinit.
ede8d3e5 103
104%description -l pl.UTF-8
105systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze
106skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności
107paralelizacji, do uruchamiania usług używa socketów oraz D-Busa,
108oferuje uruchamianie usług na życzenie, monitoruje procesy używając
109linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie
110(restore) stanu systemu, zarządza (auto)mount pointami oraz
111implementuje starannie opracowaną transakcjonalną, bazującą na
d45dfc3a 112zależnościach logikę kontroli usług. Może pracować jako zastępca dla
ede8d3e5 113sysvinit.
114
c97dacdd
TP
115%package init
116Summary: systemd /sbin/init and LSB/SysV compatibility symlinks
5b9bde26 117Summary(pl.UTF-8): /sbin/init z systemd i dowiązania dla kompatybilności z LSB/SysV
c97dacdd 118Group: Base
d6829efa 119Requires: systemd
c97dacdd
TP
120Provides: readahead = 1:1.5.7-3
121Provides: virtual(init-daemon)
122Obsoletes: SysVinit
123Obsoletes: readahead < 1:1.5.7-3
124Obsoletes: virtual(init-daemon)
125
126%description init
127Install this package when you are ready to final switch to systemd.
128
5b9bde26
JB
129%description init -l pl.UTF-8
130Ten pakiet należy zainstalować po przygotowaniu się do ostatecznego
131przejścia na systemd.
132
c3037397
ER
133%package units
134Summary: Configuration files, directories and installation tool for systemd
5b9bde26 135Summary(pl.UTF-8): Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla systemd
c3037397 136Group: Base
c3037397
ER
137Requires(post): coreutils
138Requires(post): gawk
961baf80 139Requires: pkgconfig
c3037397
ER
140
141%description units
142Basic configuration files, directories and installation tool for the
143systemd system and service manager.
144
f341cd9b 145This is common config, use %{_sysconfdir}/systemd/system to override.
10ffdcd2 146
5b9bde26
JB
147%description units -l pl.UTF-8
148Podstawowe pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla
149zarządcy systemu i usług systemd.
150
151Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać
152poprzez katalog %{_sysconfdir}/systemd/system.
153
c3037397
ER
154%package gtk
155Summary: Graphical frontend for systemd
5b9bde26 156Summary(pl.UTF-8): Graficzny interfejs do systemd
c3037397
ER
157Group: Base
158Requires: %{name} = %{version}-%{release}
159Requires: polkit
160
161%description gtk
162Graphical front-end for systemd.
163
5b9bde26
JB
164%description gtk -l pl.UTF-8
165Graficzny interfejs do systemd.
6c89bbd4 166
011bccb6 167%package libs
5b9bde26
JB
168Summary: Shared systemd libraries
169Summary(pl.UTF-8): Biblioteki współdzielone systemd
011bccb6
BZ
170Group: Libraries
171
172%description libs
5b9bde26
JB
173Shared systemd libraries.
174
175%description libs -l pl.UTF-8
176Biblioteki współdzielone systemd.
011bccb6 177
961baf80
AF
178%package devel
179Summary: Header files for systemd libraries
180Summary(pl.UTF-8): Pliki nagłówkowe bibliotek systemd
181Group: Development/Libraries
011bccb6 182Requires: %{name}-libs = %{version}-%{release}
961baf80
AF
183
184%description devel
185Header files for systemd libraries.
186
187%description devel -l pl.UTF-8
188Pliki nagłówkowe bibliotek systemd.
189
5b9bde26
JB
190%package -n bash-completion-systemd
191Summary: bash-completion for systemd
192Summary(pl.UTF-8): Bashowe dopełnianie składni dla systemd
193Group: Applications/Shells
194Requires: %{name}
195Requires: bash-completion
196
197%description -n bash-completion-systemd
198bash-completion for systemd.
199
200%description -n bash-completion-systemd -l pl.UTF-8
201Bashowe dopełnianie składni dla systemd
202
ae4d0acb
JR
203%package no-compat-tmpfiles
204Summary: Force update of packages that provide tmpfiles.d configuration
205Group: Base
206Requires(post): sed > 4.0
207Conflicts: ConsoleKit-dirs < 0.4.5-7
208Conflicts: NetworkManager < 2:0.9.2.0-3
209Conflicts: Zope < 2.11.8-2
210Conflicts: amavisd-new < 1:2.7.0-1
211Conflicts: apache1-base < 1.3.42-5
212Conflicts: apache1-mod_fastcgi < 2.4.6-2
213Conflicts: apache-base < 2.2.21-4
214Conflicts: apache-mod_bw < 0.92-3
215Conflicts: apache-mod_fastcgi < 2.4.6-6
216Conflicts: asterisk < 10.0.1-2
217Conflicts: autossh-init < 1.4b-3
218Conflicts: balance < 3.54-2
219Conflicts: bind < 7:9.8.1.P1-4
220Conflicts: bopm < 3.1.3-4
221Conflicts: callweaver < 1.2.1-9
222Conflicts: cassandra-bin < 0.8.9-2
223Conflicts: clamav < 0.97.3-3
224Conflicts: cups < 1:1.5.0-10
225Conflicts: dbus < 1.4.16-4
226Conflicts: dovecot < 1:2.0.16-3
227Conflicts: dspam < 3.9.0-6
228Conflicts: fail2ban < 0.8.4-4
229Conflicts: filesystem < 4.0-3
230Conflicts: gammu-smsd < 1:1.31.0-3
231Conflicts: gdm < 2:3.2.1.1-9
232Conflicts: greylistd < 0.8.8-2
233Conflicts: inn < 2.4.6-7
234Conflicts: ipsec-tools < 0.8.0-3
235Conflicts: jabber-common < 0-9
236Conflicts: laptop-mode-tools < 1.58-2
237Conflicts: libgpod < 0.8.0-6
238Conflicts: libvirt-utils < 0.9.9-4
239Conflicts: lighttpd < 1.4.30-5
240Conflicts: lirc < 0.9.0-20
241Conflicts: mailman < 5:2.1.14-4
242Conflicts: memcached < 1.4.11-2
243Conflicts: mpd < 0.16.5-4
244Conflicts: mrtg < 2.17.0-3
245Conflicts: munin-common < 1.4.5-5
246Conflicts: nagios-nrpe < 2.13-2
247Conflicts: ndisc6-rdnssd < 1.0.1-3
248Conflicts: nscd < 6:2.14.1-5
249Conflicts: nss_ldapd-nslcd < 0.8.4-2
250Conflicts: openct < 0.6.20-3
251Conflicts: openl2tp < 1.8-3
252Conflicts: openldap-overlay-nssov < 2.4.28-4
253Conflicts: openldap-servers < 2.4.28-4
254Conflicts: openvpn < 2.2.2-2
255Conflicts: pam < 1:1.1.5-3
256Conflicts: pam-pam_mount < 2.12-3
257Conflicts: pam-pam_ssh < 1.97-2
258Conflicts: pcsc-lite < 1.8.1-2
259Conflicts: php-dirs < 1.2-3
260Conflicts: policyd < 2.0.10-3
261Conflicts: pound < 2.6-2
262Conflicts: pptp < 1.7.2-3
263Conflicts: proftpd-common < 2:1.3.4a-2
264Conflicts: pulseaudio-server < 1.1-2
265Conflicts: quagga < 0.99.20-3
266Conflicts: radvd < 1.8.5-2
267Conflicts: rc-scripts < 0.4.5.2-3
268Conflicts: red5 < 0.9.0-2
269Conflicts: redis-server < 2.4.2-4
270Conflicts: smokeping < 2.4.2-10
271Conflicts: smtp-gated < 1.4.17-2
272Conflicts: socat < 1.7.2.0-2
273Conflicts: speech-dispatcher < 0.7.1-2
274Conflicts: sphinx < 2.0.3-4
275Conflicts: splashutils < 1.5.4.3-3
276Conflicts: stunnel < 4.50-2
277Conflicts: sudo < 1:1.7.8p2-2
278Conflicts: tenshi < 0.12-2
279Conflicts: tor < 0.2.2.35-2
280Conflicts: ucarp < 1.5.2-3
281Conflicts: udisks < 1.0.4-3
282Conflicts: util-vserver < 0.30.216-1.pre3002.3
283Conflicts: vpnc < 0.5.3-2
284Conflicts: web2ldap < 1.1.0rc1-2
285Conflicts: wesnoth-server < 1:1.10-2
286Conflicts: wpa_supplicant < 0.7.3-10
287Conflicts: xl2tpd < 1.3.0-2
288
289%description no-compat-tmpfiles
290Force update of packages that provide tmpfiles.d configuration
291
ede8d3e5 292%prep
293%setup -q
4c5b5ab6 294%patch0 -p1
252e1bad 295%patch1 -p1
d374e721 296#%patch2 -p1
942c9075 297%patch3 -p1
d374e721 298%patch4 -p1
b77423ae 299cp -p %{SOURCE2} src/systemd_booted.c
ede8d3e5 300
301%build
4c5b5ab6 302%{__aclocal} -I m4
ede8d3e5 303%{__autoconf}
6e34428f 304%{__autoheader}
ede8d3e5 305%{__automake}
9c0b975d 306%configure \
6c89bbd4
ER
307 %{__enable_disable audit} \
308 %{__enable_disable cryptsetup libcryptsetup} \
309 %{__enable_disable gtk} \
310 %{__enable_disable pam} \
311 %{__enable_disable selinux} \
312 %{__enable_disable tcpd tcpwrap} \
313 --disable-silent-rules \
961baf80 314 --disable-static \
5b9bde26 315 --with-distro=pld \
391eea76 316 --with-rootprefix= \
6ba1f779 317 --with-rootlibdir=/%{_lib}
e1d9cc15 318
ede8d3e5 319%{__make}
b77423ae 320./libtool --mode=link --tag=CC %{__cc} %{rpmcppflags} %{rpmcflags} -o systemd_booted %{rpmldflags} src/systemd_booted.c -L. -lsystemd-daemon
ede8d3e5 321
322%install
323rm -rf $RPM_BUILD_ROOT
23107006 324
ede8d3e5 325%{__make} install \
326 DESTDIR=$RPM_BUILD_ROOT
327
b77423ae
AF
328./libtool --mode=install install -m755 systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted
329
1dcb74bb 330# Create SysV compatibility symlinks. systemctl/systemd are smart
2a61be78 331# enough to detect the way they were called
c28b0c1c 332install -d $RPM_BUILD_ROOT/sbin
1dcb74bb 333ln -s ../bin/systemd $RPM_BUILD_ROOT/sbin/init
1dcb74bb 334ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/halt
335ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/poweroff
23107006
TP
336ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/reboot
337ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/runlevel
1dcb74bb 338ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/shutdown
339ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/telinit
1dcb74bb 340
5d32f234 341ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf
9b6e420d 342# disable random and console SYSV service
5a65c84e 343ln -s /dev/null $RPM_BUILD_ROOT/lib/systemd/system/random.service
9b6e420d 344ln -s /dev/null $RPM_BUILD_ROOT/lib/systemd/system/console.service
5d32f234 345
f1586299
JR
346# add static (non-NetworkManager) networking
347install %{SOURCE3} $RPM_BUILD_ROOT/lib/systemd/system/ifup@.service
348install %{SOURCE4} $RPM_BUILD_ROOT/lib/systemd/system/network-post.service
349install %{SOURCE5} $RPM_BUILD_ROOT/lib/systemd/system/network.service
350
5c8fe698
JR
351# install compatibility tmpfiles configs
352install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/compat-pld-media.conf
d374e721 353install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/compat-pld-var-run.conf
5c8fe698 354
2a61be78
TP
355# All wants links are created at %post to make sure they are not owned
356# and hence overriden by rpm if the user deletes them (missingok?)
23107006 357%{__rm} -r $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/*.target.wants
c3037397 358
e64703a8
BZ
359# it is in rc-scripts pkg
360%{__rm} $RPM_BUILD_ROOT/lib/systemd/system/rc-local.service
361
2a61be78
TP
362# Make sure these directories are properly owned:
363# - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd,
364# - syslog _might_ be used by some syslog implementation (none for now),
365# - isn't dbus populated by dbus-systemd only (so to be moved there)?
d6829efa 366install -d $RPM_BUILD_ROOT/lib/systemd/system/{dbus,halt,kexec,poweroff,reboot,syslog}.target.wants
961baf80
AF
367
368# Create new-style configuration files so that we can ghost-own them
23107006 369touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,os-release,timezone,vconsole.conf}
4bbef33c 370
9d8b5dfe 371# Install SysV conversion tool for systemd
4f25b6ac 372install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
9d8b5dfe
BZ
373
374install -d $RPM_BUILD_ROOT/var/log
5a65c84e
TP
375:> $RPM_BUILD_ROOT/var/log/btmp
376:> $RPM_BUILD_ROOT/var/log/wtmp
a761f93e 377
5d32f234 378%if %{without gtk}
5d32f234
TP
379%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/systemadm.1*
380%endif
381
382%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
a86320a6 383%{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_systemd.la
5d32f234
TP
384%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
385
ede8d3e5 386%clean
387rm -rf $RPM_BUILD_ROOT
388
9638c72f 389%post
4bbef33c 390/bin/systemd-machine-id-setup > /dev/null 2>&1 || :
9638c72f 391/bin/systemctl daemon-reexec > /dev/null 2>&1 || :
c3037397 392
961baf80 393%postun
85879912 394if [ $1 -ge 1 ]; then
961baf80 395 /bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
9638c72f 396fi
397
3edd52a6
TP
398%post libs -p /sbin/ldconfig
399%postun libs -p /sbin/ldconfig
011bccb6 400
961baf80 401%post units
85879912 402if [ $1 -eq 1 ]; then
961baf80
AF
403 # Try to read default runlevel from the old inittab if it exists
404 runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2> /dev/null)
405 if [ -z "$runlevel" ] ; then
406 target="/lib/systemd/system/graphical.target"
407 else
408 target="/lib/systemd/system/runlevel$runlevel.target"
409 fi
410
411 # And symlink what we found to the new-style default.target
f341cd9b 412 ln -s "$target" %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || :
cf819365
JR
413
414 # Setup hostname
415 [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
416 if [ -n "$HOSTNAME" -a "$HOSTNAME" != "pldmachine" ]; then
417 [ -f /etc/hostname ] && mv -f /etc/hostname /etc/hostname.rpmsave
418 echo $HOSTNAME > /etc/hostname
419 chmod 644 /etc/hostname
420 fi
9638c72f 421fi
f1586299
JR
422# Enable the services we install by default.
423/bin/systemctl enable \
424 getty@.service \
425 network.service \
426 network-post.service \
427 remote-fs.target \
428 systemd-readahead-replay.service \
429 systemd-readahead-collect.service >/dev/null 2>&1 || :
430
431# Find and enable all installed interfaces
d37b4980 432mkdir -p %{_sysconfdir}/systemd/system/network.target.wants >/dev/null 2>&1 || :
f1586299
JR
433for f in /etc/sysconfig/interfaces/ifcfg-* ; do
434 ff=$(basename $f)
435 ff=${ff##ifcfg-}
436 case "$ff" in
437 *.rpmorig|*.rpmnew|*.rpmsave|*~|*.orig)
438 continue
439 ;;
440 *)
663b637e 441 DEVICE="" ; ONBOOT="" ; USERS=""
72878cbd 442 . $f 2>/dev/null
663b637e 443 [ ${USERS:-no} != no ] && continue
90de2714
JR
444 if [ "$DEVICE" = "$ff" -a ${ONBOOT:-no} = "yes" ]; then
445 ln -s /lib/systemd/system/ifup@.service \
446 %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@$ff.service >/dev/null 2>&1 || :
447 fi
f1586299
JR
448 ;;
449 esac
450done
c3037397
ER
451
452%preun units
961baf80
AF
453if [ $1 -eq 0 ] ; then
454 /bin/systemctl disable \
455 getty@.service \
f1586299
JR
456 network.service \
457 network-post.service \
961baf80
AF
458 remote-fs.target \
459 systemd-readahead-replay.service \
460 systemd-readahead-collect.service >/dev/null 2>&1 || :
461
f341cd9b 462 %{__rm} -f %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || :
f1586299 463 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service >/dev/null 2>&1 || :
c3037397 464fi
9638c72f 465
961baf80 466%postun units
85879912 467if [ $1 -ge 1 ]; then
9638c72f 468 /bin/systemctl daemon-reload > /dev/null 2>&1 || :
469fi
470
ae4d0acb 471%post no-compat-tmpfiles
c62be4e6 472%{__sed} -i -e 's/^/# /g' %{_sysconfdir}/tmpfiles.d/compat-pld-var-run.conf
ae4d0acb 473
ede8d3e5 474%files
475%defattr(644,root,root,755)
1c239f8b 476%doc DISTRO_PORTING README TODO
6e34428f 477/etc/dbus-1/system.d/org.freedesktop.hostname1.conf
961baf80
AF
478/etc/dbus-1/system.d/org.freedesktop.locale1.conf
479/etc/dbus-1/system.d/org.freedesktop.login1.conf
c3037397 480/etc/dbus-1/system.d/org.freedesktop.systemd1.conf
961baf80 481/etc/dbus-1/system.d/org.freedesktop.timedate1.conf
3edd52a6 482%ghost %config(noreplace) %{_sysconfdir}/machine-id
b77423ae
AF
483%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname
484%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf
485%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info
486%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/os-release
487%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/timezone
488%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf
5d32f234 489%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/*.conf
2a61be78 490%dir %{_sysconfdir}/systemd/user
abd479ee 491/etc/xdg/systemd
1dcb74bb 492%attr(755,root,root) /bin/systemd
493%attr(755,root,root) /bin/systemd-ask-password
c76a8951 494%attr(755,root,root) /bin/systemd-journalctl
961baf80 495%attr(755,root,root) /bin/systemd-loginctl
7a76bc86 496%attr(755,root,root) /bin/systemd-machine-id-setup
1dcb74bb 497%attr(755,root,root) /bin/systemd-notify
498%attr(755,root,root) /bin/systemd-tty-ask-password-agent
57cd0d13 499%attr(755,root,root) %{_bindir}/systemd-analyze
d374e721
JR
500%attr(755,root,root) %{_bindir}/systemd-cat
501%attr(755,root,root) %{_bindir}/systemd-cgtop
23107006 502%attr(755,root,root) %{_bindir}/systemd-cgls
57cd0d13
ZU
503%attr(755,root,root) %{_bindir}/systemd-nspawn
504%attr(755,root,root) %{_bindir}/systemd-stdio-bridge
2a61be78 505%attr(755,root,root) %{_bindir}/systemd-sysv-convert
abd479ee 506%attr(755,root,root) /lib/systemd/systemd-*
c3037397 507%dir /lib/systemd/system-generators
5d32f234 508%attr(755,root,root) /lib/systemd/system-generators/systemd-*-generator
abd479ee 509%dir /lib/systemd/system-shutdown
1c239f8b 510/lib/udev/rules.d/99-systemd.rules
961baf80
AF
511/lib/udev/rules.d/70-uaccess.rules
512/lib/udev/rules.d/71-seat.rules
513/lib/udev/rules.d/73-seat-late.rules
3edd52a6
TP
514%dir %{_libexecdir}/systemd
515%{_libexecdir}/systemd/user
2a61be78 516%dir %{_libexecdir}/systemd/user-generators
89d58574 517%config(noreplace,missingok) %{_libexecdir}/tmpfiles.d/*.conf
961baf80
AF
518%{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml
519%{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml
c3037397 520%{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml
961baf80 521%{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml
1c239f8b 522%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
6e34428f 523%{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
961baf80
AF
524%{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
525%{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
1c239f8b 526%{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
961baf80 527%{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
6e34428f 528%{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
961baf80
AF
529%{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
530%{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
531%{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
532%{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
533%dir %{_datadir}/systemd
534%{_datadir}/systemd/kbd-model-map
7a76bc86 535%{_mandir}/man1/systemd.1*
2a61be78 536%{_mandir}/man1/systemd-*.1*
1c239f8b 537%{_mandir}/man3/sd_booted.3*
538%{_mandir}/man3/sd_is_fifo.3*
539%{_mandir}/man3/sd_is_socket.3
540%{_mandir}/man3/sd_is_socket_inet.3
541%{_mandir}/man3/sd_is_socket_unix.3
542%{_mandir}/man3/sd_listen_fds.3*
543%{_mandir}/man3/sd_notify.3*
544%{_mandir}/man3/sd_notifyf.3
545%{_mandir}/man3/sd_readahead.3*
6e34428f 546%{_mandir}/man5/binfmt.d.5*
1c239f8b 547%{_mandir}/man5/hostname.5*
548%{_mandir}/man5/locale.conf.5*
7a76bc86 549%{_mandir}/man5/machine-id.5*
6e34428f 550%{_mandir}/man5/machine-info.5*
1c239f8b 551%{_mandir}/man5/modules-load.d.5*
552%{_mandir}/man5/os-release.5*
6e34428f 553%{_mandir}/man5/sysctl.d.5*
89d58574 554%{_mandir}/man5/systemd.*.5*
961baf80
AF
555%{_mandir}/man5/systemd-logind.conf.5*
556%{_mandir}/man5/timezone.5*
23107006 557%{_mandir}/man5/vconsole.conf.5*
1c239f8b 558%{_mandir}/man7/daemon.7*
559%{_mandir}/man7/sd-daemon.7*
c76a8951 560%{_mandir}/man7/sd-login.7*
1c239f8b 561%{_mandir}/man7/sd-readahead.7*
562%{_mandir}/man7/systemd.special.7*
a761f93e
TP
563%attr(640,root,root) %ghost /var/log/btmp
564%attr(664,root,utmp) %ghost /var/log/wtmp
c3037397 565
6c89bbd4 566%if %{with pam}
a86320a6 567%attr(755,root,root) /%{_lib}/security/pam_systemd.so
6c89bbd4
ER
568%{_mandir}/man8/pam_systemd.8*
569%endif
570
c97dacdd 571%files init
5b9bde26 572%defattr(644,root,root,755)
c97dacdd
TP
573%attr(755,root,root) /sbin/halt
574%attr(755,root,root) /sbin/init
575%attr(755,root,root) /sbin/poweroff
576%attr(755,root,root) /sbin/reboot
577%attr(755,root,root) /sbin/runlevel
578%attr(755,root,root) /sbin/shutdown
579%attr(755,root,root) /sbin/telinit
580%{_mandir}/man1/init.1
581%{_mandir}/man8/halt.8*
582%{_mandir}/man8/poweroff.8
583%{_mandir}/man8/reboot.8
584%{_mandir}/man8/runlevel.8*
585%{_mandir}/man8/shutdown.8*
586%{_mandir}/man8/telinit.8*
587
c3037397
ER
588%files units
589%defattr(644,root,root,755)
abd479ee
MB
590%dir %{_sysconfdir}/binfmt.d
591%dir %{_sysconfdir}/modules-load.d
5d32f234 592%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf
abd479ee 593%dir %{_sysconfdir}/sysctl.d
c3037397
ER
594%dir %{_sysconfdir}/systemd
595%dir %{_sysconfdir}/systemd/system
596%dir %{_sysconfdir}/tmpfiles.d
7cb5cfc8 597%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/tmpfiles.d/*.conf
85879912
ER
598%dir %{_libexecdir}/binfmt.d
599%dir %{_libexecdir}/modules-load.d
600%dir %{_libexecdir}/sysctl.d
d374e721 601%{_libexecdir}/sysctl.d/coredump.conf
c3037397
ER
602%attr(755,root,root) /bin/systemctl
603%attr(755,root,root) /bin/systemd-tmpfiles
b77423ae 604%attr(755,root,root) /bin/systemd_booted
c3037397 605%{_mandir}/man1/systemctl.1*
89d58574 606%{_mandir}/man5/tmpfiles.d.5*
c3037397 607%{_mandir}/man8/systemd-tmpfiles.8*
961baf80 608%{_npkgconfigdir}/systemd.pc
c3037397 609
10ffdcd2
BZ
610/lib/systemd/system/*.automount
611/lib/systemd/system/*.mount
612/lib/systemd/system/*.path
613/lib/systemd/system/*.service
614/lib/systemd/system/*.socket
615/lib/systemd/system/*.target
616/lib/systemd/system/*.timer
4861f120
AF
617%dir /lib/systemd/system/*.wants
618%config(noreplace,missingok) /lib/systemd/system/*.wants/*
10ffdcd2 619
c3037397
ER
620%if %{with gtk}
621%files gtk
622%defattr(644,root,root,755)
623%attr(755,root,root) %{_bindir}/systemadm
624%attr(755,root,root) %{_bindir}/systemd-gnome-ask-password-agent
c3037397
ER
625%{_mandir}/man1/systemadm.1*
626%endif
6c89bbd4 627
5b9bde26 628%files libs
6c89bbd4 629%defattr(644,root,root,755)
6ba1f779
MB
630%attr(755,root,root) /%{_lib}/libsystemd-daemon.so.*.*.*
631%attr(755,root,root) %ghost /%{_lib}/libsystemd-daemon.so.0
632%attr(755,root,root) /%{_lib}/libsystemd-id128.so.*.*.*
633%attr(755,root,root) %ghost /%{_lib}/libsystemd-id128.so.0
634%attr(755,root,root) /%{_lib}/libsystemd-journal.so.*.*.*
635%attr(755,root,root) %ghost /%{_lib}/libsystemd-journal.so.0
636%attr(755,root,root) /%{_lib}/libsystemd-login.so.*.*.*
637%attr(755,root,root) %ghost /%{_lib}/libsystemd-login.so.0
961baf80
AF
638
639%files devel
640%defattr(644,root,root,755)
89d58574 641%attr(755,root,root) %{_libdir}/libsystemd-daemon.so
c76a8951
BZ
642%attr(755,root,root) %{_libdir}/libsystemd-id128.so
643%attr(755,root,root) %{_libdir}/libsystemd-journal.so
89d58574 644%attr(755,root,root) %{_libdir}/libsystemd-login.so
5b9bde26 645%{_includedir}/%{name}
961baf80 646%{_pkgconfigdir}/libsystemd-daemon.pc
c76a8951
BZ
647%{_pkgconfigdir}/libsystemd-id128.pc
648%{_pkgconfigdir}/libsystemd-journal.pc
961baf80 649%{_pkgconfigdir}/libsystemd-login.pc
c76a8951
BZ
650%{_mandir}/man3/sd_get_seats.3*
651%{_mandir}/man3/sd_get_sessions.3*
652%{_mandir}/man3/sd_get_uids.3*
653%{_mandir}/man3/sd_is_mq.3*
654%{_mandir}/man3/sd_login_monitor_flush.3*
655%{_mandir}/man3/sd_login_monitor_get_fd.3*
656%{_mandir}/man3/sd_login_monitor_new.3*
657%{_mandir}/man3/sd_login_monitor_unref.3*
658%{_mandir}/man3/sd_pid_get_owner_uid.3*
659%{_mandir}/man3/sd_pid_get_session.3*
660%{_mandir}/man3/sd_pid_get_unit.3*
661%{_mandir}/man3/sd_seat_can_multi_session.3*
662%{_mandir}/man3/sd_seat_get_active.3*
663%{_mandir}/man3/sd_seat_get_sessions.3*
664%{_mandir}/man3/sd_session_get_seat.3*
665%{_mandir}/man3/sd_session_get_uid.3*
666%{_mandir}/man3/sd_session_is_active.3*
667%{_mandir}/man3/sd_uid_get_seats.3*
668%{_mandir}/man3/sd_uid_get_sessions.3*
669%{_mandir}/man3/sd_uid_get_state.3*
670%{_mandir}/man3/sd_uid_is_on_seat.3*
5b9bde26
JB
671
672%files -n bash-completion-systemd
673%defattr(644,root,root,755)
391eea76 674/etc/bash_completion.d/systemd-bash-completion.sh
ae4d0acb
JR
675
676%files no-compat-tmpfiles
677%defattr(644,root,root,755)
678# empty package
This page took 0.189478 seconds and 4 git commands to generate.