2010-07-30 13:59:59 +02:00
|
|
|
#
|
2011-01-14 03:32:33 +01:00
|
|
|
# spec file for package systemd
|
2010-07-30 13:59:59 +02:00
|
|
|
#
|
2011-01-14 03:32:33 +01:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-07-30 13:59:59 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2011-06-14 14:55:02 +02:00
|
|
|
%define build_plymouth 0
|
2010-07-30 13:59:59 +02:00
|
|
|
|
|
|
|
Name: systemd
|
|
|
|
Url: http://www.freedesktop.org/wiki/Software/systemd
|
2011-08-03 17:57:56 +02:00
|
|
|
Version: 33
|
2011-08-25 10:07:35 +02:00
|
|
|
Release: 15
|
2010-07-30 13:59:59 +02:00
|
|
|
License: GPLv2+
|
|
|
|
Group: System/Base
|
|
|
|
Summary: A System and Session Manager
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-05-18 20:16:32 +02:00
|
|
|
BuildRequires: libudev-devel udev
|
|
|
|
BuildRequires: dbus-1-devel
|
2010-08-13 02:39:56 +02:00
|
|
|
BuildRequires: audit-devel
|
2011-08-03 17:57:56 +02:00
|
|
|
BuildRequires: gperf
|
2010-07-30 13:59:59 +02:00
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: tcpd-devel
|
|
|
|
BuildRequires: pam-devel
|
2010-11-15 20:40:23 +01:00
|
|
|
BuildRequires: libcryptsetup-devel
|
2010-07-30 13:59:59 +02:00
|
|
|
BuildRequires: pkg-config
|
2011-08-24 17:35:41 +02:00
|
|
|
BuildRequires: gtk2-devel libnotify-devel libxslt-devel
|
2010-07-30 13:59:59 +02:00
|
|
|
BuildRequires: libselinux-devel libsepol-devel
|
2011-07-18 18:25:41 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
Requires: udev >= 172
|
2010-09-10 16:07:56 +02:00
|
|
|
Requires: dbus-1 >= 1.4.0
|
2010-09-27 00:49:25 +02:00
|
|
|
Requires: kbd
|
2011-04-22 19:35:38 +02:00
|
|
|
Requires: util-linux >= 2.19
|
2011-08-19 10:39:33 +02:00
|
|
|
Requires: pam-config
|
2011-04-22 19:35:38 +02:00
|
|
|
Conflicts: filesystem < 11.5
|
|
|
|
Conflicts: mkinitrd < 2.7.0
|
2011-06-17 12:45:39 +02:00
|
|
|
Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.bz2
|
2010-07-30 13:59:59 +02:00
|
|
|
Source1: systemd-rpmlintrc
|
2011-08-03 18:32:51 +02:00
|
|
|
Source2: localfs.service
|
2011-08-23 18:14:51 +02:00
|
|
|
Source3: systemd-sysv-convert
|
|
|
|
Source4: macros.systemd
|
2011-08-24 17:35:41 +02:00
|
|
|
Source5: systemd-inittab
|
2011-02-08 19:12:45 +01:00
|
|
|
Patch1: 0001-Add-bootsplash-handling-for-password-dialogs.patch
|
2011-08-23 18:14:51 +02:00
|
|
|
# handle SUSE specific kbd settings
|
|
|
|
Patch6: 0001-handle-disable_caplock-and-compose_table-and-kbd_rat.patch
|
2011-08-24 17:35:41 +02:00
|
|
|
# don't start getty on tty1 until all password request are done
|
|
|
|
Patch8: tty1.patch
|
2010-07-30 13:59:59 +02:00
|
|
|
|
2011-04-22 19:35:38 +02:00
|
|
|
# Upstream First - Policy:
|
|
|
|
# Never add any patches to this package without the upstream commit id
|
|
|
|
# in the patch. Any patches added here without a very good reason to make
|
|
|
|
# an exception will be silently removed with the next version update.
|
2011-08-03 17:57:56 +02:00
|
|
|
# PATCH-FIX-UPSTREAM aj@suse.de gperf: Include missing.h
|
|
|
|
Patch2: gperf-missing.patch
|
2011-08-04 18:01:04 +02:00
|
|
|
# PATCH-FIX-UPSTREAM fcrozat@suse.com -- accept none option in crypttab
|
|
|
|
Patch3: systemd-cryptsetup.patch
|
|
|
|
# PATCH-FIX-UPSTREAM fcrozat@suse.com -- don't set getty before passphrase is typed
|
|
|
|
Patch4: systemd-cryptsetup-query.patch
|
2011-08-18 10:09:50 +02:00
|
|
|
# PATCH-FIX-UPSTREAM aj@suse.com -- fix crash on systemctl enable
|
|
|
|
Patch5: fix-crash.patch
|
2011-08-23 18:14:51 +02:00
|
|
|
# PATCH-FIX-UPSTREAM fcrozat@suse.com bnc671673 -- fix kexec support
|
|
|
|
Patch7: 0001-initctl-check-for-kexec_loaded-when-reboot-is-reques.patch
|
2011-08-24 17:35:41 +02:00
|
|
|
# PATCH-FIX-UPSTREAM fcrozat@suse.com -- don't look for system manager configuration when running user manager
|
|
|
|
Patch9: 0001-path-lookup-monitor-etc-systemd-user-for-user-manage.patch
|
2011-08-03 17:57:56 +02:00
|
|
|
|
2010-07-30 13:59:59 +02:00
|
|
|
%description
|
2010-11-16 12:37:22 +01:00
|
|
|
Systemd is a system and service manager, compatible with SysV and LSB
|
2010-07-30 13:59:59 +02:00
|
|
|
init scripts for Linux. systemd provides aggressive parallelization
|
|
|
|
capabilities, uses socket and D-Bus activation for starting services,
|
|
|
|
offers on-demand starting of daemons, keeps track of processes using
|
|
|
|
Linux cgroups, supports snapshotting and restoring of the system state,
|
|
|
|
maintains mount and automount points and implements an elaborate
|
|
|
|
transactional dependency-based service control logic. It can work as a
|
|
|
|
drop-in replacement for sysvinit.
|
|
|
|
|
2011-08-01 16:36:43 +02:00
|
|
|
%package devel
|
|
|
|
License: GPLv2+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Summary: Development headers for systemd
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development headers and auxiliary files for developing applications for systemd.
|
|
|
|
|
2010-07-30 13:59:59 +02:00
|
|
|
%package gtk
|
|
|
|
License: GPLv2+
|
|
|
|
Group: System/Base
|
|
|
|
Summary: Graphical front-end for systemd
|
2011-06-15 12:09:00 +02:00
|
|
|
Requires: %{name} = %{version}
|
2010-07-30 13:59:59 +02:00
|
|
|
|
|
|
|
%description gtk
|
2010-11-16 12:37:22 +01:00
|
|
|
Graphical front-end for systemd system and service manager.
|
2010-07-30 13:59:59 +02:00
|
|
|
|
|
|
|
%package sysvinit
|
|
|
|
License: GPLv2+
|
|
|
|
Group: System/Base
|
|
|
|
Summary: System V init tools
|
2011-06-15 12:09:00 +02:00
|
|
|
Requires: %{name} = %{version}
|
2010-07-30 13:59:59 +02:00
|
|
|
Provides: sbin_init
|
2011-02-18 10:34:28 +01:00
|
|
|
Conflicts: sysvinit
|
2010-07-30 13:59:59 +02:00
|
|
|
Conflicts: upstart
|
|
|
|
|
|
|
|
%description sysvinit
|
|
|
|
Drop-in replacement of System V init tools.
|
|
|
|
|
2011-06-14 14:55:02 +02:00
|
|
|
%if %{build_plymouth}
|
2011-06-15 11:53:47 +02:00
|
|
|
|
2011-06-14 14:55:02 +02:00
|
|
|
%package plymouth
|
2011-08-17 10:42:22 +02:00
|
|
|
|
2011-08-18 11:48:48 +02:00
|
|
|
|
2011-06-14 14:55:02 +02:00
|
|
|
License: GPLv2+
|
|
|
|
Group: System/Base
|
|
|
|
Summary: Plymouth support for systemd
|
2011-06-15 12:09:00 +02:00
|
|
|
Requires: %{name} = %{version}
|
2011-06-14 14:55:02 +02:00
|
|
|
Requires: plymouth
|
|
|
|
|
|
|
|
%description plymouth
|
|
|
|
Plymouth integration for systemd
|
|
|
|
%endif
|
2011-02-07 18:03:14 +01:00
|
|
|
|
2010-07-30 13:59:59 +02:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2011-02-07 18:03:14 +01:00
|
|
|
%patch1 -p1
|
2011-08-02 10:31:42 +02:00
|
|
|
%patch2 -p1
|
2011-08-03 18:32:51 +02:00
|
|
|
%patch3 -p1
|
2011-08-04 18:01:04 +02:00
|
|
|
%patch4 -p1
|
2011-08-18 10:09:50 +02:00
|
|
|
%patch5 -p1
|
2011-08-23 18:14:51 +02:00
|
|
|
%patch6 -p1
|
|
|
|
%patch7 -p1
|
2011-08-24 17:35:41 +02:00
|
|
|
%patch8 -p1
|
|
|
|
%patch9 -p1
|
2010-07-30 13:59:59 +02:00
|
|
|
|
|
|
|
%build
|
2011-02-07 18:03:14 +01:00
|
|
|
autoreconf -fiv
|
2010-07-30 13:59:59 +02:00
|
|
|
# prevent pre-generated and distributed files from re-building
|
|
|
|
find . -name "*.[1-8]" -exec touch '{}' \;
|
|
|
|
touch src/systemadm.c
|
|
|
|
export V=1
|
|
|
|
%configure \
|
|
|
|
--with-distro=suse \
|
|
|
|
--docdir=%{_docdir}/systemd \
|
|
|
|
--with-rootdir= \
|
2011-06-15 12:09:00 +02:00
|
|
|
CFLAGS="%{optflags}"
|
2010-07-30 13:59:59 +02:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2011-08-23 18:14:51 +02:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
|
|
|
install -m644 %{S:4} %{buildroot}%{_sysconfdir}/rpm
|
2011-06-15 12:09:00 +02:00
|
|
|
find %{buildroot} -type f -name '*.la' -exec rm -f {} ';'
|
2011-08-23 18:14:51 +02:00
|
|
|
mkdir -p %{buildroot}/{sbin,var/lib/systemd/sysv-convert,var/lib/systemd/migrated}
|
|
|
|
install -m755 %{S:3} -D %{buildroot}%{_sbindir}/systemd-sysv-convert
|
2011-08-24 17:35:41 +02:00
|
|
|
install -m755 %{S:5} %{buildroot}/lib/systemd/system-generators
|
2011-06-15 12:09:00 +02:00
|
|
|
ln -s ../bin/systemd %{buildroot}/sbin/init
|
|
|
|
ln -s ../bin/systemctl %{buildroot}/sbin/reboot
|
|
|
|
ln -s ../bin/systemctl %{buildroot}/sbin/halt
|
|
|
|
ln -s ../bin/systemctl %{buildroot}/sbin/shutdown
|
|
|
|
ln -s ../bin/systemctl %{buildroot}/sbin/poweroff
|
|
|
|
ln -s ../bin/systemctl %{buildroot}/sbin/telinit
|
|
|
|
ln -s ../bin/systemctl %{buildroot}/sbin/runlevel
|
|
|
|
rm -rf %{buildroot}/etc/systemd/system/*.target.wants
|
|
|
|
rm -f %{buildroot}/etc/systemd/system/default.target
|
2011-08-24 17:35:41 +02:00
|
|
|
rm -f %{buildroot}/lib/systemd/system/default.target
|
2011-06-14 14:55:02 +02:00
|
|
|
%if !%{build_plymouth}
|
2011-06-15 12:09:00 +02:00
|
|
|
rm -f %{buildroot}/lib/systemd/system/plymouth-*.service
|
|
|
|
rm -f %{buildroot}/lib/systemd/system/*.wants/plymouth-*.service
|
|
|
|
rm -f %{buildroot}/lib/systemd/system/systemd-ask-password-plymouth.*
|
2011-06-14 14:55:02 +02:00
|
|
|
%endif
|
2011-05-27 02:01:07 +02:00
|
|
|
# aliases for /etc/init.d/*
|
2011-06-15 12:09:00 +02:00
|
|
|
ln -s /dev/null %{buildroot}/lib/systemd/system/cgroup.service
|
|
|
|
ln -s systemd-tmpfiles-setup.service %{buildroot}/lib/systemd/system/cleanup.service
|
|
|
|
ln -s /dev/null %{buildroot}/lib/systemd/system/clock.service
|
|
|
|
ln -s /dev/null %{buildroot}/lib/systemd/system/crypto.service
|
|
|
|
ln -s /dev/null %{buildroot}/lib/systemd/system/crypto-early.service
|
|
|
|
ln -s /dev/null %{buildroot}/lib/systemd/system/earlysyslog.service
|
2011-06-29 15:07:07 +02:00
|
|
|
ln -s /dev/null %{buildroot}/lib/systemd/system/kbd.service
|
2011-06-15 12:09:00 +02:00
|
|
|
ln -s /dev/null %{buildroot}/lib/systemd/system/ldconfig.service
|
|
|
|
ln -s /dev/null %{buildroot}/lib/systemd/system/loadmodules.service
|
2011-08-03 18:32:51 +02:00
|
|
|
install -m644 %{S:2} %{buildroot}/lib/systemd/system/localfs.service
|
2011-06-15 12:09:00 +02:00
|
|
|
ln -s /dev/null %{buildroot}/lib/systemd/system/localnet.service
|
|
|
|
ln -s /dev/null %{buildroot}/lib/systemd/system/proc.service
|
|
|
|
ln -s fsck-root.service %{buildroot}/lib/systemd/system/rootfsck.service
|
|
|
|
ln -s /dev/null %{buildroot}/lib/systemd/system/swap.service
|
2011-08-23 18:14:51 +02:00
|
|
|
ln -s /dev/null %{buildroot}/lib/systemd/system/startpreload.service
|
|
|
|
ln -s /dev/null %{buildroot}/lib/systemd/system/stoppreload.service
|
|
|
|
ln -s /dev/null %{buildroot}/lib/systemd/system/earlyxdm.service
|
2011-06-15 12:09:00 +02:00
|
|
|
ln -s systemd-sysctl.service %{buildroot}/lib/systemd/system/sysctl.service
|
|
|
|
ln -s systemd-random-seed-load.service %{buildroot}/lib/systemd/system/random.service
|
2011-06-14 14:55:02 +02:00
|
|
|
%if %{build_plymouth}
|
2011-06-15 12:09:00 +02:00
|
|
|
(cd %{buildroot} && find . -name '*plymouth*') > files.plymouth
|
2011-06-14 14:55:02 +02:00
|
|
|
%endif
|
2011-02-07 18:03:14 +01:00
|
|
|
|
2010-09-10 16:07:55 +02:00
|
|
|
%post
|
2011-08-24 17:35:41 +02:00
|
|
|
/usr/sbin/pam-config -a --systemd >/dev/null 2>&1 || :
|
|
|
|
/sbin/ldconfig
|
2011-03-14 19:12:52 +01:00
|
|
|
/bin/systemd-machine-id-setup >/dev/null 2>&1 || :
|
2010-09-10 16:07:56 +02:00
|
|
|
/bin/systemctl daemon-reexec >/dev/null 2>&1 || :
|
|
|
|
|
2010-07-30 13:59:59 +02:00
|
|
|
# Create default config in /etc at first install.
|
|
|
|
# Later package updates should not overwrite these settings.
|
|
|
|
if [ "$1" -eq 1 ]; then
|
2010-09-10 16:07:56 +02:00
|
|
|
# Enable these services by default.
|
|
|
|
/bin/systemctl enable \
|
|
|
|
getty@.service \
|
2010-11-15 20:40:23 +01:00
|
|
|
systemd-readahead-collect.service \
|
|
|
|
systemd-readahead-replay.service \
|
2010-09-27 00:49:25 +02:00
|
|
|
remote-fs.target >/dev/null 2>&1 || :
|
2010-07-30 13:59:59 +02:00
|
|
|
fi
|
|
|
|
|
2011-08-01 16:36:43 +02:00
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
2011-08-19 10:39:33 +02:00
|
|
|
if [ $1 -ge 1 ]; then
|
2011-08-01 16:36:43 +02:00
|
|
|
/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
|
|
|
|
fi
|
2011-08-19 10:39:33 +02:00
|
|
|
if [ $1 -eq 0 ]; then
|
2011-08-24 17:35:41 +02:00
|
|
|
/usr/sbin/pam-config -d --systemd >/dev/null 2>&1 || :
|
2011-08-19 10:39:33 +02:00
|
|
|
fi
|
2011-07-28 12:59:10 +02:00
|
|
|
|
2010-07-30 13:59:59 +02:00
|
|
|
%preun
|
|
|
|
if [ $1 -eq 0 ]; then
|
2010-09-10 16:07:56 +02:00
|
|
|
/bin/systemctl disable \
|
|
|
|
getty@.service \
|
2010-11-15 20:40:23 +01:00
|
|
|
systemd-readahead-collect.service \
|
|
|
|
systemd-readahead-replay.service \
|
2010-09-27 00:49:25 +02:00
|
|
|
remote-fs.target >/dev/null 2>&1 || :
|
2010-07-30 13:59:59 +02:00
|
|
|
rm -f /etc/systemd/system/default.target 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%clean
|
2011-06-15 12:09:00 +02:00
|
|
|
rm -rf %{buildroot}
|
2010-07-30 13:59:59 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/bin/systemd
|
|
|
|
/bin/systemctl
|
|
|
|
/bin/systemd-notify
|
2010-09-27 00:49:25 +02:00
|
|
|
/bin/systemd-ask-password
|
2011-07-18 18:25:41 +02:00
|
|
|
/bin/systemd-loginctl
|
2010-10-26 14:34:55 +02:00
|
|
|
/bin/systemd-tty-ask-password-agent
|
2011-02-17 05:23:17 +01:00
|
|
|
/bin/systemd-tmpfiles
|
2011-03-14 19:12:52 +01:00
|
|
|
/bin/systemd-machine-id-setup
|
|
|
|
/usr/bin/systemd-nspawn
|
2011-03-13 03:25:46 +01:00
|
|
|
/usr/bin/systemd-stdio-bridge
|
2011-04-22 19:35:38 +02:00
|
|
|
/usr/bin/systemd-analyze
|
2011-08-23 18:14:51 +02:00
|
|
|
%{_sbindir}/systemd-sysv-convert
|
2011-07-28 12:59:10 +02:00
|
|
|
%{_libdir}/libsystemd-daemon.so.*
|
|
|
|
%{_libdir}/libsystemd-login.so.*
|
2010-07-30 13:59:59 +02:00
|
|
|
%{_bindir}/systemd-cgls
|
|
|
|
/lib/systemd/systemd-*
|
2011-05-02 19:09:04 +02:00
|
|
|
%dir /lib/systemd/system-shutdown
|
2010-07-30 13:59:59 +02:00
|
|
|
/%{_lib}/security/pam_systemd.so
|
|
|
|
%dir %{_sysconfdir}/systemd/system
|
2010-11-16 12:37:22 +01:00
|
|
|
%dir %{_sysconfdir}/systemd/user
|
2010-11-05 15:53:11 +01:00
|
|
|
%dir %{_sysconfdir}/xdg/systemd
|
2010-11-16 12:37:22 +01:00
|
|
|
%dir %{_sysconfdir}/xdg/systemd/user
|
2011-04-26 20:17:18 +02:00
|
|
|
|
|
|
|
%dir /usr/lib/modules-load.d
|
2010-10-03 18:01:13 +02:00
|
|
|
%dir %{_sysconfdir}/modules-load.d
|
2011-04-26 20:17:18 +02:00
|
|
|
%dir /usr/lib/tmpfiles.d
|
2010-10-03 15:25:05 +02:00
|
|
|
%dir %{_sysconfdir}/tmpfiles.d
|
2011-04-26 20:17:18 +02:00
|
|
|
%dir /usr/lib/binfmt.d
|
|
|
|
%dir %{_sysconfdir}/binfmt.d
|
|
|
|
%dir /usr/lib/sysctl.d
|
|
|
|
%dir %{_sysconfdir}/sysctl.d
|
|
|
|
/usr/lib/tmpfiles.d/*.conf
|
2010-07-30 13:59:59 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/systemd/system.conf
|
2011-07-18 18:25:41 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/systemd/systemd-logind.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/systemd/user.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/systemd/system.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.locale1.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.login1.conf
|
2010-07-30 13:59:59 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.systemd1.conf
|
2011-04-22 19:35:38 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.hostname1.conf
|
2011-07-18 18:25:41 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.timedate1.conf
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml
|
2010-07-30 13:59:59 +02:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml
|
2011-07-18 18:25:41 +02:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml
|
2010-07-30 13:59:59 +02:00
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
|
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
|
2011-07-18 18:25:41 +02:00
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
|
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
|
2011-04-22 19:35:38 +02:00
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
|
2011-07-18 18:25:41 +02:00
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
|
2010-11-11 08:23:02 +01:00
|
|
|
%{_datadir}/polkit-1
|
|
|
|
%{_datadir}/polkit-1/actions
|
2010-09-27 00:49:25 +02:00
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
|
2011-06-14 14:55:02 +02:00
|
|
|
%if %{build_plymouth}
|
2011-02-07 18:03:14 +01:00
|
|
|
# Packaged in plymouth subpackage
|
2011-06-14 14:55:02 +02:00
|
|
|
%exclude /lib/systemd/system/plymouth-*.service
|
|
|
|
%exclude /lib/systemd/system/*.wants/plymouth-*.service
|
|
|
|
%exclude /lib/systemd/system/systemd-ask-password-plymouth.*
|
|
|
|
%endif
|
2010-09-27 00:49:25 +02:00
|
|
|
# Packaged in gtk subpackage
|
|
|
|
%exclude %{_mandir}/man1/systemadm.1*
|
|
|
|
# Packaged in sysvinit subpackage
|
|
|
|
%exclude %{_mandir}/man1/init.1*
|
|
|
|
%exclude %{_mandir}/man8/halt.8*
|
|
|
|
%exclude %{_mandir}/man8/reboot.8*
|
|
|
|
%exclude %{_mandir}/man8/shutdown.8*
|
|
|
|
%exclude %{_mandir}/man8/poweroff.8*
|
|
|
|
%exclude %{_mandir}/man8/telinit.8*
|
|
|
|
%exclude %{_mandir}/man8/runlevel.8*
|
2010-07-30 13:59:59 +02:00
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%{_mandir}/man5/*.5*
|
|
|
|
%{_mandir}/man7/*.7*
|
|
|
|
%{_mandir}/man8/*.8*
|
|
|
|
%{_docdir}/systemd
|
|
|
|
/lib/udev/rules.d/*.rules
|
|
|
|
%dir /lib/systemd
|
|
|
|
/lib/systemd/system
|
2010-11-15 20:40:23 +01:00
|
|
|
/lib/systemd/system-generators
|
2011-04-22 19:35:38 +02:00
|
|
|
%dir /usr/lib/systemd
|
|
|
|
/usr/lib/systemd/user
|
2010-07-30 13:59:59 +02:00
|
|
|
%dir %{_sysconfdir}/systemd
|
2010-11-11 08:23:02 +01:00
|
|
|
%dir %{_sysconfdir}/bash_completion.d
|
|
|
|
/etc/bash_completion.d/systemctl-bash-completion.sh
|
2011-08-23 18:14:51 +02:00
|
|
|
/etc/rpm/macros.systemd
|
|
|
|
%dir /var/lib/systemd
|
|
|
|
%dir /var/lib/systemd/sysv-convert
|
|
|
|
%dir /var/lib/systemd/migrated
|
2010-07-30 13:59:59 +02:00
|
|
|
|
|
|
|
%files gtk
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/systemadm
|
2010-10-23 18:24:52 +02:00
|
|
|
%{_bindir}/systemd-gnome-ask-password-agent
|
2010-07-30 13:59:59 +02:00
|
|
|
%{_mandir}/man1/systemadm.1*
|
|
|
|
|
2011-08-01 16:36:43 +02:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libsystemd-daemon.so
|
|
|
|
%{_libdir}/libsystemd-login.so
|
|
|
|
%dir %{_includedir}/systemd
|
|
|
|
%{_includedir}/systemd/sd-login.h
|
|
|
|
%{_includedir}/systemd/sd-daemon.h
|
|
|
|
%{_datadir}/pkgconfig/systemd.pc
|
|
|
|
%{_libdir}/pkgconfig/libsystemd-daemon.pc
|
|
|
|
%{_libdir}/pkgconfig/libsystemd-login.pc
|
|
|
|
|
2011-06-14 14:55:02 +02:00
|
|
|
%if %{build_plymouth}
|
2011-06-15 11:53:47 +02:00
|
|
|
|
2011-06-14 14:55:02 +02:00
|
|
|
%files plymouth
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
/lib/systemd/system/plymouth-*.service
|
|
|
|
/lib/systemd/system/*.wants/plymouth-*.service
|
|
|
|
/lib/systemd/system/systemd-ask-password-plymouth.*
|
|
|
|
%endif
|
2011-02-07 18:03:14 +01:00
|
|
|
|
2010-07-30 13:59:59 +02:00
|
|
|
%files sysvinit
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
/sbin/init
|
|
|
|
/sbin/reboot
|
|
|
|
/sbin/halt
|
|
|
|
/sbin/shutdown
|
|
|
|
/sbin/poweroff
|
|
|
|
/sbin/telinit
|
|
|
|
/sbin/runlevel
|
|
|
|
%{_mandir}/man1/init.1*
|
|
|
|
%{_mandir}/man8/halt.8*
|
|
|
|
%{_mandir}/man8/reboot.8*
|
|
|
|
%{_mandir}/man8/shutdown.8*
|
|
|
|
%{_mandir}/man8/poweroff.8*
|
|
|
|
%{_mandir}/man8/telinit.8*
|
|
|
|
%{_mandir}/man8/runlevel.8*
|
|
|
|
|
|
|
|
%changelog
|