systemd/systemd.spec

863 lines
32 KiB
RPMSpec
Raw Normal View History

2012-01-25 00:36:57 +00:00
#global gitcommit 9fa2f41
2010-06-22 04:16:32 +00:00
Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 183
Release: 1%{?gitcommit:.git%{gitcommit}}%{?dist}
2010-06-22 04:16:32 +00:00
License: GPLv2+
Group: System Environment/Base
2010-11-17 00:09:34 +00:00
Summary: A System and Service Manager
2010-06-22 04:16:32 +00:00
BuildRequires: libcap-devel
BuildRequires: tcp_wrappers-devel
BuildRequires: pam-devel
2010-07-24 01:05:02 +00:00
BuildRequires: libselinux-devel
2010-09-14 15:51:38 +00:00
BuildRequires: audit-libs-devel
2010-11-17 00:09:34 +00:00
BuildRequires: cryptsetup-luks-devel
BuildRequires: dbus-devel
2010-06-22 04:16:32 +00:00
BuildRequires: libxslt
BuildRequires: docbook-style-xsl
BuildRequires: pkgconfig
2011-07-13 21:28:44 +00:00
BuildRequires: libacl-devel
BuildRequires: pciutils-devel
BuildRequires: glib2-devel
BuildRequires: hwdata
BuildRequires: gobject-introspection-devel >= 0.6.2
BuildRequires: usbutils >= 0.82
BuildRequires: libblkid-devel >= 2.20
2011-07-13 21:38:49 +00:00
BuildRequires: intltool >= 0.40.0
2011-08-03 03:01:28 +00:00
BuildRequires: gperf
2012-01-11 03:44:49 +00:00
BuildRequires: xz-devel
2012-02-09 02:33:43 +00:00
BuildRequires: kmod-devel >= 5
BuildRequires: gtk-doc
%if %{defined gitcommit}
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: libtool
%endif
2011-03-01 01:13:59 +00:00
Requires(post): authconfig
2012-01-22 19:46:45 +00:00
Requires(post): coreutils
Requires(post): gawk
Requires(pre): coreutils
Requires(pre): /usr/bin/getent /usr/sbin/groupadd
Requires: dbus
Requires: hwdata
Requires: filesystem >= 3
2011-05-28 17:44:53 +00:00
Requires: nss-myhostname
%if %{defined gitcommit}
# Snapshot tarball can be created using: ./make-git-shapshot.sh [gitcommit]
Source0: %{name}-git%{gitcommit}.tar.xz
%else
2012-01-11 03:28:28 +00:00
Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
%endif
2011-02-09 20:12:15 +00:00
# Adds support for the %%{_unitdir} macro
2011-03-01 01:13:59 +00:00
Source1: macros.systemd
2011-04-04 23:17:39 +00:00
Source2: systemd-sysv-convert
2011-07-27 21:25:36 +00:00
# Stop-gap, just to ensure things work out-of-the-box for this driver.
Source3: udlfb.conf
2012-01-11 03:28:28 +00:00
# Stop-gap, just to ensure things work fine with rsyslog without having to change the package right-away
Source4: listen.conf
2011-03-28 23:18:21 +00:00
2010-09-23 15:29:20 +00:00
Obsoletes: SysVinit < 2.86-24, sysvinit < 2.86-24
Provides: SysVinit = 2.86-24, sysvinit = 2.86-24
Provides: sysvinit-userspace
2011-03-01 01:13:59 +00:00
Provides: systemd-sysvinit
2010-09-23 15:29:20 +00:00
Obsoletes: systemd-sysvinit
2011-05-25 18:45:52 +00:00
Obsoletes: upstart < 1.2-3
Obsoletes: upstart-sysvinit < 1.2-3
2010-09-23 15:29:20 +00:00
Conflicts: upstart-sysvinit
Obsoletes: readahead < 1:1.5.7-3
Provides: readahead = 1:1.5.7-3
Provides: /bin/systemctl
2012-01-26 13:37:41 +00:00
Provides: /sbin/shutdown
2012-01-22 19:46:45 +00:00
Obsoletes: systemd-units < 38-5
Provides: systemd-units = %{version}-%{release}
Provides: udev = 183
Obsoletes: udev < 183
2010-06-22 04:16:32 +00:00
%description
2010-11-17 00:09:34 +00:00
systemd is a system and service manager for Linux, compatible with
2010-06-22 04:16:32 +00:00
SysV and LSB init scripts. 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-07-27 21:25:36 +00:00
%package devel
Group: System Environment/Base
Summary: Development headers for systemd
Requires: %{name} = %{version}-%{release}
Provides: libudev-devel = 183
Obsoletes: libudev-devel < 183
2011-07-27 21:25:36 +00:00
%description devel
Development headers and auxiliary files for developing applications for systemd.
2011-04-04 23:17:39 +00:00
%package sysv
Group: System Environment/Base
Summary: SysV tools for systemd
Requires: %{name} = %{version}-%{release}
%description sysv
SysV compatibility tools for systemd
%package analyze
Group: System Environment/Base
Summary: Tool for processing systemd profiling information
Requires: %{name} = %{version}-%{release}
Requires: dbus-python
Requires: pycairo
# for the systemd-analyze split:
Obsoletes: systemd < 38-5
%description analyze
'systemd-analyze blame' lists which systemd unit needed how much time to finish
initialization at boot.
'systemd-analyze plot' renders an SVG visualizing the parallel start of units
at boot.
%package -n libgudev1
Summary: Libraries for adding libudev support to applications that use glib
Group: Development/Libraries
Conflicts: filesystem < 3
License: LGPLv2+
%description -n libgudev1
This package contains the libraries that make it easier to use libudev
functionality from applications that use glib.
%package -n libgudev1-devel
Summary: Header files for adding libudev support to applications that use glib
Group: Development/Libraries
Requires: libgudev1 = %{version}-%{release}
License: LGPLv2+
%description -n libgudev1-devel
This package contains the header and pkg-config files for developing
glib-based applications using libudev functionality.
2010-06-22 04:16:32 +00:00
%prep
%setup -q %{?gitcommit:-n %{name}-git%{gitcommit}}
2010-06-11 06:18:33 +00:00
2010-06-22 04:16:32 +00:00
%build
%{?gitcommit: ./autogen.sh }
%configure \
--with-distro=fedora \
--libexecdir=%{_prefix}/lib \
--enable-gtk-doc \
--disable-static
2010-06-11 06:18:33 +00:00
make %{?_smp_mflags}
2010-06-22 04:16:32 +00:00
%install
make DESTDIR=%{buildroot} install
find %{buildroot} \( -name '*.a' -o -name '*.la' \) -exec rm {} \;
mkdir -p %{buildroot}/%{_sbindir}
ln -sf ../bin/udevadm %{buildroot}%{_sbindir}/udevadm
mkdir -p %{buildroot}%{_prefix}/lib/firmware/updates
2010-07-24 00:51:34 +00:00
# Create SysV compatibility symlinks. systemctl/systemd are smart
# enough to detect in which way they are called.
2012-02-09 02:33:43 +00:00
ln -s ../lib/systemd/systemd %{buildroot}%{_sbindir}/init
2012-02-15 03:51:07 +00:00
ln -s ../lib/systemd/systemd %{buildroot}%{_bindir}/systemd
ln -s ../bin/systemctl %{buildroot}%{_sbindir}/reboot
ln -s ../bin/systemctl %{buildroot}%{_sbindir}/halt
ln -s ../bin/systemctl %{buildroot}%{_sbindir}/poweroff
ln -s ../bin/systemctl %{buildroot}%{_sbindir}/shutdown
ln -s ../bin/systemctl %{buildroot}%{_sbindir}/telinit
ln -s ../bin/systemctl %{buildroot}%{_sbindir}/runlevel
2010-06-22 04:16:32 +00:00
ln -s loginctl %{buildroot}%{_bindir}/systemd-loginctl
2010-07-24 00:51:34 +00:00
# We create all wants links manually at installation time to make sure
# they are not owned and hence overriden by rpm after the used deleted
# them.
rm -r %{buildroot}%{_sysconfdir}/systemd/system/*.target.wants
2010-07-24 00:51:34 +00:00
2011-03-01 01:13:59 +00:00
# Make sure the ghost-ing below works
2010-08-26 16:16:18 +00:00
touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel2.target
touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel3.target
touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel4.target
touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel5.target
2010-09-14 00:38:13 +00:00
# Make sure these directories are properly owned
mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/basic.target.wants
mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/default.target.wants
mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/dbus.target.wants
mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/syslog.target.wants
2010-09-14 00:38:13 +00:00
2012-02-11 01:46:33 +00:00
# Make sure the user generators dir exists too
mkdir -p %{buildroot}%{_prefix}/lib/systemd/user-generators
2011-04-21 01:39:20 +00:00
# Create new-style configuration files so that we can ghost-own them
touch %{buildroot}%{_sysconfdir}/hostname
touch %{buildroot}%{_sysconfdir}/vconsole.conf
touch %{buildroot}%{_sysconfdir}/locale.conf
touch %{buildroot}%{_sysconfdir}/machine-id
touch %{buildroot}%{_sysconfdir}/machine-info
2011-09-23 16:51:07 +00:00
touch %{buildroot}%{_sysconfdir}/timezone
2011-10-11 19:04:54 +00:00
mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d
touch %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/00-keyboard.conf
2011-04-21 01:39:20 +00:00
2011-02-09 20:12:15 +00:00
# Install RPM macros file for systemd
mkdir -p %{buildroot}%{_sysconfdir}/rpm/
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/
2011-04-04 23:17:39 +00:00
# Install SysV conversion tool for systemd
install -m 0755 %{SOURCE2} %{buildroot}%{_bindir}/
2011-07-27 21:25:36 +00:00
# Install modprobe fragment
mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d/
install -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/modprobe.d/
2011-07-27 21:25:36 +00:00
2012-01-11 03:28:28 +00:00
# Install rsyslog fragment
mkdir -p %{buildroot}%{_sysconfdir}/rsyslog.d/
install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/rsyslog.d/
2012-01-22 19:46:56 +00:00
# To avoid making life hard for Rawhide-using developers, don't package the
# kernel.core_pattern setting until systemd-coredump is a part of an actual
# systemd release and it's made clear how to get the core dumps out of the
# journal.
rm -f %{buildroot}%{_prefix}/lib/sysctl.d/coredump.conf
2012-01-22 19:46:56 +00:00
2012-02-07 03:29:39 +00:00
# Let rsyslog read from /proc/kmsg for now
sed -i -e 's/\#ImportKernel=yes/ImportKernel=no/' %{buildroot}%{_sysconfdir}/systemd/journald.conf
%pre
getent group cdrom >/dev/null || /usr/sbin/groupadd -g 11 cdrom || :
getent group tape >/dev/null || /usr/sbin/groupadd -g 33 tape || :
getent group dialout >/dev/null || /usr/sbin/groupadd -g 18 dialout || :
getent group floppy >/dev/null || /usr/sbin/groupadd -g 19 floppy || :
systemctl stop systemd-udev.service systemd-udev-control.socket systemd-udev-kernel.socket >/dev/null 2>&1 || :
2012-02-07 03:29:39 +00:00
# Rename configuration files that changed their names
/usr/bin/mv -n %{_sysconfdir}/systemd/systemd-logind.conf %{_sysconfdir}/systemd/logind.conf >/dev/null 2>&1 || :
/usr/bin/mv -n %{_sysconfdir}/systemd/systemd-journald.conf %{_sysconfdir}/systemd/journald.conf >/dev/null 2>&1 || :
%post
/sbin/ldconfig
2012-02-11 01:46:33 +00:00
/usr/bin/systemd-machine-id-setup > /dev/null 2>&1 || :
/usr/lib/systemd/systemd-random-seed save > /dev/null 2>&1 || :
2010-09-14 15:51:38 +00:00
/bin/systemctl daemon-reexec > /dev/null 2>&1 || :
/bin/systemctl start systemd-udev.service >/dev/null 2>&1 || :
2011-03-01 01:13:59 +00:00
2012-01-11 03:28:28 +00:00
# Stop-gap until rsyslog.rpm does this on its own. (This is supposed
# to fail when the link already exists)
2012-02-11 01:46:33 +00:00
/bin/ln -s /usr/lib/systemd/system/rsyslog.service /etc/systemd/system/syslog.service >/dev/null 2>&1 || :
2012-01-11 03:28:28 +00:00
2010-07-24 00:51:34 +00:00
if [ $1 -eq 1 ] ; then
# Try to read default runlevel from the old inittab if it exists
runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2> /dev/null)
if [ -z "$runlevel" ] ; then
target="/usr/lib/systemd/system/graphical.target"
2010-07-24 00:51:34 +00:00
else
target="/usr/lib/systemd/system/runlevel$runlevel.target"
2010-07-24 00:51:34 +00:00
fi
# And symlink what we found to the new-style default.target
2011-08-31 01:10:41 +00:00
/bin/ln -sf "$target" /etc/systemd/system/default.target >/dev/null 2>&1 || :
2010-07-24 00:51:34 +00:00
# Enable the services we install by default.
/bin/systemctl enable \
getty@.service \
2010-11-17 00:09:34 +00:00
remote-fs.target \
systemd-readahead-replay.service \
2011-08-31 01:10:41 +00:00
systemd-readahead-collect.service >/dev/null 2>&1 || :
else
# This systemd service does not exist anymore, we now do it
# internally in PID 1
/bin/rm -f /etc/systemd/system/sysinit.target.wants/hwclock-load.service >/dev/null 2>&1 || :
2010-07-24 00:51:34 +00:00
fi
2012-01-22 19:46:45 +00:00
%postun
/sbin/ldconfig
2012-01-22 19:46:45 +00:00
if [ $1 -ge 1 ] ; then
/bin/systemctl daemon-reload > /dev/null 2>&1 || :
/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
fi
%preun
2010-07-24 00:51:34 +00:00
if [ $1 -eq 0 ] ; then
/bin/systemctl disable \
getty@.service \
2010-11-17 00:09:34 +00:00
remote-fs.target \
systemd-readahead-replay.service \
2011-08-31 01:10:41 +00:00
systemd-readahead-collect.service >/dev/null 2>&1 || :
2010-07-24 00:51:34 +00:00
2011-08-31 01:10:41 +00:00
/bin/rm -f /etc/systemd/system/default.target >/dev/null 2>&1 || :
2010-07-24 00:51:34 +00:00
fi
%triggerun -- systemd-units < 38-5
mv /etc/systemd/system/default.target /etc/systemd/system/default.target.save >/dev/null 2>&1 || :
%triggerpostun -- systemd-units < 38-5
mv /etc/systemd/system/default.target.save /etc/systemd/system/default.target >/dev/null 2>&1
/bin/systemctl enable \
getty@.service \
remote-fs.target \
systemd-readahead-replay.service \
systemd-readahead-collect.service
%post -n libgudev1 -p /sbin/ldconfig
%postun -n libgudev1 -p /sbin/ldconfig
2010-06-22 04:16:32 +00:00
%files
%doc NEWS README src/udev/keymap/README.keymap.txt
2012-01-22 19:46:45 +00:00
%doc %{_docdir}/systemd
%dir %{_sysconfdir}/systemd
%dir %{_sysconfdir}/systemd/system
%dir %{_sysconfdir}/systemd/user
%dir %{_sysconfdir}/tmpfiles.d
%dir %{_sysconfdir}/sysctl.d
%dir %{_sysconfdir}/modules-load.d
%dir %{_sysconfdir}/binfmt.d
%dir %{_sysconfdir}/bash_completion.d
%dir %{_prefix}/lib/systemd
%dir %{_prefix}/lib/systemd/system-generators
2012-02-11 01:46:33 +00:00
%dir %{_prefix}/lib/systemd/user-generators
%dir %{_prefix}/lib/systemd/system-shutdown
%dir %{_prefix}/lib/tmpfiles.d
%dir %{_prefix}/lib/sysctl.d
%dir %{_prefix}/lib/modules-load.d
%dir %{_prefix}/lib/binfmt.d
2012-02-11 01:46:33 +00:00
%dir %{_datadir}/systemd
2010-06-22 16:33:20 +00:00
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.systemd1.conf
2011-04-21 01:39:20 +00:00
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.hostname1.conf
2011-07-13 21:28:44 +00:00
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.login1.conf
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.locale1.conf
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.timedate1.conf
2010-10-07 14:03:56 +00:00
%config(noreplace) %{_sysconfdir}/systemd/system.conf
2011-07-13 21:28:44 +00:00
%config(noreplace) %{_sysconfdir}/systemd/user.conf
%config(noreplace) %{_sysconfdir}/systemd/logind.conf
%config(noreplace) %{_sysconfdir}/systemd/journald.conf
%config(noreplace) %{_sysconfdir}/udev/udev.conf
%dir %{_sysconfdir}/udev/
%dir %{_sysconfdir}/udev/rules.d/
2012-01-22 19:46:45 +00:00
%{_sysconfdir}/bash_completion.d/systemd-bash-completion.sh
%{_sysconfdir}/rpm/macros.systemd
2010-07-24 00:51:34 +00:00
%{_sysconfdir}/xdg/systemd
%{_prefix}/lib/tmpfiles.d/systemd.conf
%{_prefix}/lib/tmpfiles.d/x11.conf
%{_prefix}/lib/tmpfiles.d/legacy.conf
%{_prefix}/lib/tmpfiles.d/tmp.conf
2011-04-21 01:39:20 +00:00
%ghost %config(noreplace) %{_sysconfdir}/hostname
%ghost %config(noreplace) %{_sysconfdir}/vconsole.conf
%ghost %config(noreplace) %{_sysconfdir}/locale.conf
2011-03-08 19:11:37 +00:00
%ghost %config(noreplace) %{_sysconfdir}/machine-id
2011-04-21 01:39:20 +00:00
%ghost %config(noreplace) %{_sysconfdir}/machine-info
2011-09-23 16:31:12 +00:00
%ghost %config(noreplace) %{_sysconfdir}/timezone
2011-10-11 19:04:54 +00:00
%ghost %config(noreplace) %{_sysconfdir}/X11/xorg.conf.d/00-keyboard.conf
2012-01-11 03:28:28 +00:00
%config(noreplace) %{_sysconfdir}/rsyslog.d/listen.conf
2012-02-09 02:33:43 +00:00
%{_prefix}/lib/systemd/systemd
2012-02-15 03:51:07 +00:00
%{_bindir}/systemd
2012-02-11 01:46:33 +00:00
%{_bindir}/systemctl
%{_bindir}/systemd-notify
%{_bindir}/systemd-ask-password
%{_bindir}/systemd-tty-ask-password-agent
%{_bindir}/systemd-machine-id-setup
%{_bindir}/loginctl
%{_bindir}/systemd-loginctl
%{_bindir}/journalctl
%{_bindir}/systemd-tmpfiles
2012-02-11 01:46:33 +00:00
%{_bindir}/systemd-nspawn
%{_bindir}/systemd-stdio-bridge
%{_bindir}/systemd-cat
%{_bindir}/systemd-cgls
%{_bindir}/systemd-cgtop
%{_bindir}/systemd-delta
%{_bindir}/systemd-detect-virt
%{_bindir}/systemd-inhibit
%{_bindir}/udevadm
%{_prefix}/lib/systemd/system
2012-02-11 01:46:33 +00:00
%{_prefix}/lib/systemd/user
%{_prefix}/lib/systemd/systemd-*
%{_prefix}/lib/udev
%{_prefix}/lib/systemd/system-generators/systemd-cryptsetup-generator
%{_prefix}/lib/systemd/system-generators/systemd-getty-generator
%{_prefix}/lib/systemd/system-generators/systemd-rc-local-generator
%{_prefix}/lib/systemd/system-generators/systemd-fstab-generator
%{_prefix}/lib/systemd/system-generators/systemd-system-update-generator
%{_libdir}/security/pam_systemd.so
%{_libdir}/libsystemd-daemon.so.*
%{_libdir}/libsystemd-login.so.*
%{_libdir}/libsystemd-journal.so.*
%{_libdir}/libsystemd-id128.so.*
%{_libdir}/libudev.so.*
%{_sbindir}/init
%{_sbindir}/reboot
%{_sbindir}/halt
%{_sbindir}/poweroff
%{_sbindir}/shutdown
%{_sbindir}/telinit
%{_sbindir}/runlevel
%{_sbindir}/udevadm
2010-09-23 15:29:20 +00:00
%{_mandir}/man1/*
2010-06-29 01:55:15 +00:00
%{_mandir}/man5/*
%{_mandir}/man7/*
2010-09-23 15:29:20 +00:00
%{_mandir}/man8/*
2012-02-11 01:46:33 +00:00
%{_datadir}/systemd/kbd-model-map
2010-06-11 06:18:33 +00:00
%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
%{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
2011-04-21 01:39:20 +00:00
%{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
2011-07-13 21:28:44 +00:00
%{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
%{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
%{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
2010-06-22 04:16:32 +00:00
%{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml
2011-07-13 21:28:44 +00:00
%{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml
2011-04-21 01:39:20 +00:00
%{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
%{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
2011-07-13 21:28:44 +00:00
%{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
%{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
%{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
2010-07-09 03:15:49 +00:00
%{_datadir}/pkgconfig/systemd.pc
%{_datadir}/pkgconfig/udev.pc
2012-01-22 19:46:45 +00:00
%config(noreplace) %{_sysconfdir}/modprobe.d/udlfb.conf
%dir %{_prefix}/lib/firmware
%dir %{_prefix}/lib/firmware/updates
2010-06-29 01:55:15 +00:00
2010-08-26 16:16:18 +00:00
# Make sure we don't remove runlevel targets from F14 alpha installs,
# but make sure we don't create then anew.
%ghost %config(noreplace) %{_sysconfdir}/systemd/system/runlevel2.target
%ghost %config(noreplace) %{_sysconfdir}/systemd/system/runlevel3.target
%ghost %config(noreplace) %{_sysconfdir}/systemd/system/runlevel4.target
%ghost %config(noreplace) %{_sysconfdir}/systemd/system/runlevel5.target
2011-07-27 21:25:36 +00:00
%files devel
%{_libdir}/libsystemd-daemon.so
%{_libdir}/libsystemd-login.so
2012-01-11 03:28:28 +00:00
%{_libdir}/libsystemd-journal.so
%{_libdir}/libsystemd-id128.so
%{_libdir}/libudev.so
2011-07-27 21:25:36 +00:00
%{_includedir}/systemd/sd-daemon.h
2012-01-11 03:28:28 +00:00
%{_includedir}/systemd/sd-login.h
%{_includedir}/systemd/sd-journal.h
%{_includedir}/systemd/sd-id128.h
%{_includedir}/systemd/sd-messages.h
%{_includedir}/systemd/sd-readahead.h
%{_includedir}/systemd/sd-shutdown.h
%{_includedir}/libudev.h
2011-07-27 21:25:36 +00:00
%{_libdir}/pkgconfig/libsystemd-daemon.pc
%{_libdir}/pkgconfig/libsystemd-login.pc
2012-01-11 03:28:28 +00:00
%{_libdir}/pkgconfig/libsystemd-journal.pc
%{_libdir}/pkgconfig/libsystemd-id128.pc
%{_libdir}/pkgconfig/libudev.pc
2012-01-22 19:46:47 +00:00
%{_mandir}/man3/*
%dir %{_datadir}/gtk-doc/html/libudev
%attr(0644,root,root) %{_datadir}/gtk-doc/html/libudev/*
2011-07-27 21:25:36 +00:00
2011-04-04 23:17:39 +00:00
%files sysv
%{_bindir}/systemd-sysv-convert
%files analyze
%{_bindir}/systemd-analyze
%files -n libgudev1
%attr(0755,root,root) %{_libdir}/libgudev-1.0.so.*
%attr(0644,root,root) %{_libdir}/girepository-1.0/GUdev-1.0.typelib
%files -n libgudev1-devel
%attr(0755,root,root) %{_libdir}/libgudev-1.0.so
%dir %attr(0755,root,root) %{_includedir}/gudev-1.0
%dir %attr(0755,root,root) %{_includedir}/gudev-1.0/gudev
%attr(0644,root,root) %{_includedir}/gudev-1.0/gudev/*.h
%attr(0644,root,root) %{_datadir}/gir-1.0/GUdev-1.0.gir
%dir %{_datadir}/gtk-doc/html/gudev
%attr(0644,root,root) %{_datadir}/gtk-doc/html/gudev/*
%attr(0644,root,root) %{_libdir}/pkgconfig/gudev-1.0*
2010-06-11 06:18:33 +00:00
%changelog
* Thu May 24 2012 Kay Sievers <kay@redhat.com> - 183-1
- New upstream release including udev merge.
* Wed Mar 28 2012 Michal Schmidt <mschmidt@redhat.com> - 44-4
- Add triggers from Bill Nottingham to correct the damage done by
the obsoleted systemd-units's preun scriptlet (#807457).
* Mon Mar 26 2012 Dennis Gilmore <dennis@ausil.us> - 44-3
- apply patch from upstream so we can build systemd on arm and ppc
- and likely the rest of the secondary arches
* Tue Mar 20 2012 Michal Schmidt <mschmidt@redhat.com> - 44-2
- Don't build the gtk parts anymore. They're moving into systemd-ui.
- Remove a dead patch file.
2012-03-16 01:16:38 +00:00
* Fri Mar 16 2012 Lennart Poettering <lpoetter@redhat.com> - 44-1
- New upstream release
- Closes #798760, #784921, #783134, #768523, #781735
* Mon Feb 27 2012 Dennis Gilmore <dennis@ausil.us> - 43-2
- don't conflict with fedora-release systemd never actually provided
- /etc/os-release so there is no actual conflict
2012-02-15 03:51:07 +00:00
* Wed Feb 15 2012 Lennart Poettering <lpoetter@redhat.com> - 43-1
- New upstream release
- Closes #789758, #790260, #790522
2012-02-11 01:46:33 +00:00
* Sat Feb 11 2012 Lennart Poettering <lpoetter@redhat.com> - 42-1
- New upstream release
- Save a bit of entropy during system installation (#789407)
- Don't own /etc/os-release anymore, leave that to fedora-release
2012-02-09 03:20:29 +00:00
* Thu Feb 9 2012 Adam Williamson <awilliam@redhat.com> - 41-2
- rebuild for fixed binutils
2012-02-09 02:33:43 +00:00
* Thu Feb 9 2012 Lennart Poettering <lpoetter@redhat.com> - 41-1
- New upstream release
2012-02-07 03:29:39 +00:00
* Tue Feb 7 2012 Lennart Poettering <lpoetter@redhat.com> - 40-1
- New upstream release
2012-01-26 13:37:41 +00:00
* Thu Jan 26 2012 Kay Sievers <kay@redhat.com> - 39-3
- provide /sbin/shutdown
2012-01-25 19:38:01 +00:00
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 39-2
- increment release
* Wed Jan 25 2012 Kay Sievers <kay@redhat.com> - 39-1.1
- install everything in /usr
https://fedoraproject.org/wiki/Features/UsrMove
2012-01-25 00:36:57 +00:00
* Wed Jan 25 2012 Lennart Poettering <lpoetter@redhat.com> - 39-1
- New upstream release
2012-01-22 19:46:56 +00:00
* Sun Jan 22 2012 Michal Schmidt <mschmidt@redhat.com> - 38-6.git9fa2f41
- Update to a current git snapshot.
- Resolves: #781657
* Sun Jan 22 2012 Michal Schmidt <mschmidt@redhat.com> - 38-5
- Build against libgee06. Reenable gtk tools.
- Delete unused patches.
- Add easy building of git snapshots.
- Remove legacy spec file elements.
- Don't mention implicit BuildRequires.
- Configure with --disable-static.
- Merge -units into the main package.
- Move section 3 manpages to -devel.
- Fix unowned directory.
- Run ldconfig in scriptlets.
- Split systemd-analyze to a subpackage.
2012-01-21 11:35:58 +00:00
* Sat Jan 21 2012 Dan Horák <dan[at]danny.cz> - 38-4
- fix build on big-endians
2012-01-11 03:55:52 +00:00
* Wed Jan 11 2012 Lennart Poettering <lpoetter@redhat.com> - 38-3
- Disable building of gtk tools for now
2012-01-11 03:44:49 +00:00
* Wed Jan 11 2012 Lennart Poettering <lpoetter@redhat.com> - 38-2
- Fix a few (build) dependencies
2012-01-11 03:28:28 +00:00
* Wed Jan 11 2012 Lennart Poettering <lpoetter@redhat.com> - 38-1
- New upstream release
* Tue Nov 15 2011 Michal Schmidt <mschmidt@redhat.com> - 37-4
- Run authconfig if /etc/pam.d/system-auth is not a symlink.
- Resolves: #753160
* Wed Nov 02 2011 Michal Schmidt <mschmidt@redhat.com> - 37-3
- Fix remote-fs-pre.target and its ordering.
- Resolves: #749940
* Wed Oct 19 2011 Michal Schmidt <mschmidt@redhat.com> - 37-2
- A couple of fixes from upstream:
- Fix a regression in bash-completion reported in Bodhi.
- Fix a crash in isolating.
- Resolves: #717325
2011-10-11 19:04:54 +00:00
* Tue Oct 11 2011 Lennart Poettering <lpoetter@redhat.com> - 37-1
- New upstream release
- Resolves: #744726, #718464, #713567, #713707, #736756
* Thu Sep 29 2011 Michal Schmidt <mschmidt@redhat.com> - 36-5
- Undo the workaround. Kay says it does not belong in systemd.
- Unresolves: #741655
* Thu Sep 29 2011 Michal Schmidt <mschmidt@redhat.com> - 36-4
- Workaround for the crypto-on-lvm-on-crypto disk layout
- Resolves: #741655
* Sun Sep 25 2011 Michal Schmidt <mschmidt@redhat.com> - 36-3
- Revert an upstream patch that caused ordering cycles
- Resolves: #741078
2011-09-23 16:51:07 +00:00
* Fri Sep 23 2011 Lennart Poettering <lpoetter@redhat.com> - 36-2
- Add /etc/timezone to ghosted files
2011-09-23 16:37:23 +00:00
* Fri Sep 23 2011 Lennart Poettering <lpoetter@redhat.com> - 36-1
- New upstream release
- Resolves: #735013, #736360, #737047, #737509, #710487, #713384
2011-09-01 00:22:13 +00:00
* Thu Sep 1 2011 Lennart Poettering <lpoetter@redhat.com> - 35-1
- New upstream release
2011-08-31 01:10:41 +00:00
- Update post scripts
2011-09-01 00:22:13 +00:00
- Resolves: #726683, #713384, #698198, #722803, #727315, #729997, #733706, #734611
2011-08-31 01:10:41 +00:00
2011-08-25 15:14:45 +00:00
* Thu Aug 25 2011 Lennart Poettering <lpoetter@redhat.com> - 34-1
- New upstream release
* Fri Aug 19 2011 Harald Hoyer <harald@redhat.com> 33-2
- fix ABRT on service file reloading
2011-08-31 01:10:41 +00:00
- Resolves: rhbz#732020
2011-08-03 02:48:52 +00:00
* Wed Aug 3 2011 Lennart Poettering <lpoetter@redhat.com> - 33-1
- New upstream release
2011-07-29 01:38:35 +00:00
* Fri Jul 29 2011 Lennart Poettering <lpoetter@redhat.com> - 32-1
- New upstream release
* Wed Jul 27 2011 Lennart Poettering <lpoetter@redhat.com> - 31-2
- Fix access mode of modprobe file, restart logind after upgrade
2011-07-27 21:25:36 +00:00
* Wed Jul 27 2011 Lennart Poettering <lpoetter@redhat.com> - 31-1
- New upstream release
2011-07-13 21:28:44 +00:00
* Wed Jul 13 2011 Lennart Poettering <lpoetter@redhat.com> - 30-1
- New upstream release
2011-06-16 11:32:52 +00:00
* Thu Jun 16 2011 Lennart Poettering <lpoetter@redhat.com> - 29-1
- New upstream release
* Mon Jun 13 2011 Michal Schmidt <mschmidt@redhat.com> - 28-4
- Apply patches from current upstream.
- Fixes memory size detection on 32-bit with >4GB RAM (BZ712341)
* Wed Jun 08 2011 Michal Schmidt <mschmidt@redhat.com> - 28-3
2011-06-08 22:16:25 +00:00
- Apply patches from current upstream
- https://bugzilla.redhat.com/show_bug.cgi?id=709909
- https://bugzilla.redhat.com/show_bug.cgi?id=710839
- https://bugzilla.redhat.com/show_bug.cgi?id=711015
2011-05-28 17:44:53 +00:00
* Sat May 28 2011 Lennart Poettering <lpoetter@redhat.com> - 28-2
- Pull in nss-myhostname
2011-05-26 17:52:00 +00:00
* Thu May 26 2011 Lennart Poettering <lpoetter@redhat.com> - 28-1
- New upstream release
2011-05-25 18:45:52 +00:00
* Wed May 25 2011 Lennart Poettering <lpoetter@redhat.com> - 26-2
- Bugfix release
- https://bugzilla.redhat.com/show_bug.cgi?id=707507
- https://bugzilla.redhat.com/show_bug.cgi?id=707483
- https://bugzilla.redhat.com/show_bug.cgi?id=705427
- https://bugzilla.redhat.com/show_bug.cgi?id=707577
2011-04-30 02:44:13 +00:00
* Sat Apr 30 2011 Lennart Poettering <lpoetter@redhat.com> - 26-1
- New upstream release
- https://bugzilla.redhat.com/show_bug.cgi?id=699394
- https://bugzilla.redhat.com/show_bug.cgi?id=698198
- https://bugzilla.redhat.com/show_bug.cgi?id=698674
- https://bugzilla.redhat.com/show_bug.cgi?id=699114
- https://bugzilla.redhat.com/show_bug.cgi?id=699128
2011-04-21 01:39:20 +00:00
* Thu Apr 21 2011 Lennart Poettering <lpoetter@redhat.com> - 25-1
- New upstream release
- https://bugzilla.redhat.com/show_bug.cgi?id=694788
- https://bugzilla.redhat.com/show_bug.cgi?id=694321
- https://bugzilla.redhat.com/show_bug.cgi?id=690253
- https://bugzilla.redhat.com/show_bug.cgi?id=688661
- https://bugzilla.redhat.com/show_bug.cgi?id=682662
- https://bugzilla.redhat.com/show_bug.cgi?id=678555
- https://bugzilla.redhat.com/show_bug.cgi?id=628004
2011-04-06 20:04:49 +00:00
* Wed Apr 6 2011 Lennart Poettering <lpoetter@redhat.com> - 24-1
- New upstream release
- https://bugzilla.redhat.com/show_bug.cgi?id=694079
- https://bugzilla.redhat.com/show_bug.cgi?id=693289
- https://bugzilla.redhat.com/show_bug.cgi?id=693274
- https://bugzilla.redhat.com/show_bug.cgi?id=693161
2011-04-04 23:17:39 +00:00
* Tue Apr 5 2011 Lennart Poettering <lpoetter@redhat.com> - 23-1
- New upstream release
- Include systemd-sysv-convert
2011-04-01 00:10:27 +00:00
* Fri Apr 1 2011 Lennart Poettering <lpoetter@redhat.com> - 22-1
- New upstream release
* Wed Mar 30 2011 Lennart Poettering <lpoetter@redhat.com> - 21-2
- The quota services are now pulled in by mount points, hence no need to enable them explicitly
2011-03-30 01:22:40 +00:00
* Tue Mar 29 2011 Lennart Poettering <lpoetter@redhat.com> - 21-1
- New upstream release
2011-03-28 23:18:21 +00:00
* Mon Mar 28 2011 Matthias Clasen <mclasen@redhat.com> - 20-2
- Apply upstream patch to not send untranslated messages to plymouth
2011-03-08 19:11:37 +00:00
* Tue Mar 8 2011 Lennart Poettering <lpoetter@redhat.com> - 20-1
- New upstream release
2011-03-01 01:13:59 +00:00
* Tue Mar 1 2011 Lennart Poettering <lpoetter@redhat.com> - 19-1
- New upstream release
2011-02-16 21:30:14 +00:00
* Wed Feb 16 2011 Lennart Poettering <lpoetter@redhat.com> - 18-1
- New upstream release
2011-02-14 19:22:36 +00:00
* Mon Feb 14 2011 Bill Nottingham <notting@redhat.com> - 17-6
- bump upstart obsoletes (#676815)
2011-02-09 20:12:15 +00:00
* Wed Feb 9 2011 Tom Callaway <spot@fedoraproject.org> - 17-5
- add macros.systemd file for %%{_unitdir}
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 17-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-02-09 00:20:32 +00:00
* Wed Feb 9 2011 Lennart Poettering <lpoetter@redhat.com> - 17-3
- Fix popen() of systemctl, #674916
* Mon Feb 7 2011 Bill Nottingham <notting@redhat.com> - 17-2
- add epoch to readahead obsolete
2011-01-22 01:30:30 +00:00
* Sat Jan 22 2011 Lennart Poettering <lpoetter@redhat.com> - 17-1
- New upstream release
* Tue Jan 18 2011 Lennart Poettering <lpoetter@redhat.com> - 16-2
- Drop console.conf again, since it is not shipped in pamtmp.conf
2011-01-08 01:46:14 +00:00
* Sat Jan 8 2011 Lennart Poettering <lpoetter@redhat.com> - 16-1
- New upstream release
2010-11-25 00:49:37 +00:00
* Thu Nov 25 2010 Lennart Poettering <lpoetter@redhat.com> - 15-1
- New upstream release
2010-11-25 00:16:40 +00:00
* Thu Nov 25 2010 Lennart Poettering <lpoetter@redhat.com> - 14-1
- Upstream update
- Enable hwclock-load by default
- Obsolete readahead
- Enable /var/run and /var/lock on tmpfs
2010-11-18 23:04:45 +00:00
* Fri Nov 19 2010 Lennart Poettering <lpoetter@redhat.com> - 13-1
- new upstream release
2010-11-17 03:04:03 +00:00
* Wed Nov 17 2010 Bill Nottingham <notting@redhat.com> 12-3
- Fix clash
* Wed Nov 17 2010 Lennart Poettering <lpoetter@redhat.com> - 12-2
- Don't clash with initscripts for now, so that we don't break the builders
2010-11-17 00:09:34 +00:00
* Wed Nov 17 2010 Lennart Poettering <lpoetter@redhat.com> - 12-1
- New upstream release
2010-11-13 01:53:49 +00:00
* Fri Nov 12 2010 Matthias Clasen <mclasen@redhat.com> - 11-2
- Rebuild with newer vala, libnotify
2010-10-07 14:03:56 +00:00
* Thu Oct 7 2010 Lennart Poettering <lpoetter@redhat.com> - 11-1
- New upstream release
* Wed Sep 29 2010 Jesse Keating <jkeating@redhat.com> - 10-6
2010-09-29 22:20:39 +00:00
- Rebuilt for gcc bug 634757
2010-09-23 15:29:20 +00:00
* Thu Sep 23 2010 Bill Nottingham <notting@redhat.com> - 10-5
- merge -sysvinit into main package
2010-09-20 16:07:17 +00:00
* Mon Sep 20 2010 Bill Nottingham <notting@redhat.com> - 10-4
- obsolete upstart-sysvinit too
2010-09-17 20:57:38 +00:00
* Fri Sep 17 2010 Bill Nottingham <notting@redhat.com> - 10-3
- Drop upstart requires
2010-09-14 15:51:38 +00:00
* Tue Sep 14 2010 Lennart Poettering <lpoetter@redhat.com> - 10-2
- Enable audit
- https://bugzilla.redhat.com/show_bug.cgi?id=633771
2010-09-14 00:38:13 +00:00
* Tue Sep 14 2010 Lennart Poettering <lpoetter@redhat.com> - 10-1
- New upstream release
- https://bugzilla.redhat.com/show_bug.cgi?id=630401
- https://bugzilla.redhat.com/show_bug.cgi?id=630225
- https://bugzilla.redhat.com/show_bug.cgi?id=626966
- https://bugzilla.redhat.com/show_bug.cgi?id=623456
* Fri Sep 3 2010 Bill Nottingham <notting@redhat.com> - 9-3
- move fedora-specific units to initscripts; require newer version thereof
2010-09-03 03:27:52 +00:00
* Fri Sep 3 2010 Lennart Poettering <lpoetter@redhat.com> - 9-2
- Add missing tarball
2010-09-03 03:20:40 +00:00
* Fri Sep 3 2010 Lennart Poettering <lpoetter@redhat.com> - 9-1
- New upstream version
- Closes 501720, 614619, 621290, 626443, 626477, 627014, 627785, 628913
* Fri Aug 27 2010 Lennart Poettering <lpoetter@redhat.com> - 8-3
- Reexecute after installation, take ownership of /var/run/user
- https://bugzilla.redhat.com/show_bug.cgi?id=627457
- https://bugzilla.redhat.com/show_bug.cgi?id=627634
2010-08-26 16:16:18 +00:00
* Thu Aug 26 2010 Lennart Poettering <lpoetter@redhat.com> - 8-2
- Properly create default.target link
2010-08-25 20:15:34 +00:00
* Wed Aug 25 2010 Lennart Poettering <lpoetter@redhat.com> - 8-1
- New upstream release
* Thu Aug 12 2010 Lennart Poettering <lpoetter@redhat.com> - 7-3
- Fix https://bugzilla.redhat.com/show_bug.cgi?id=623561
* Thu Aug 12 2010 Lennart Poettering <lpoetter@redhat.com> - 7-2
- Fix https://bugzilla.redhat.com/show_bug.cgi?id=623430
2010-08-10 01:57:12 +00:00
* Tue Aug 10 2010 Lennart Poettering <lpoetter@redhat.com> - 7-1
- New upstream release
* Fri Aug 6 2010 Lennart Poettering <lpoetter@redhat.com> - 6-2
- properly hide output on package installation
- pull in coreutils during package installtion
2010-08-06 10:33:10 +00:00
* Fri Aug 6 2010 Lennart Poettering <lpoetter@redhat.com> - 6-1
- New upstream release
- Fixes #621200
2010-08-04 00:03:21 +00:00
* Wed Aug 4 2010 Lennart Poettering <lpoetter@redhat.com> - 5-2
- Add tarball
2010-08-03 23:44:01 +00:00
* Wed Aug 4 2010 Lennart Poettering <lpoetter@redhat.com> - 5-1
- Prepare release 5
2010-07-27 17:16:51 +00:00
* Tue Jul 27 2010 Bill Nottingham <notting@redhat.com> - 4-4
- Add 'sysvinit-userspace' provide to -sysvinit package to fix upgrade/install (#618537)
2010-07-24 01:05:02 +00:00
* Sat Jul 24 2010 Lennart Poettering <lpoetter@redhat.com> - 4-3
- Add libselinux to build dependencies
2010-07-24 00:57:17 +00:00
* Sat Jul 24 2010 Lennart Poettering <lpoetter@redhat.com> - 4-2
- Use the right tarball
2010-07-24 00:51:34 +00:00
* Sat Jul 24 2010 Lennart Poettering <lpoetter@redhat.com> - 4-1
- New upstream release, and make default
* Tue Jul 13 2010 Lennart Poettering <lpoetter@redhat.com> - 3-3
2010-07-13 21:29:25 +00:00
- Used wrong tarball
* Tue Jul 13 2010 Lennart Poettering <lpoetter@redhat.com> - 3-2
- Own /cgroup jointly with libcgroup, since we don't dpend on it anymore
2010-07-13 21:04:37 +00:00
* Tue Jul 13 2010 Lennart Poettering <lpoetter@redhat.com> - 3-1
- New upstream release
2010-07-09 03:15:49 +00:00
* Fri Jul 9 2010 Lennart Poettering <lpoetter@redhat.com> - 2-0
- New upstream release
2010-07-07 02:57:45 +00:00
* Wed Jul 7 2010 Lennart Poettering <lpoetter@redhat.com> - 1-0
- First upstream release
2010-06-29 02:24:07 +00:00
* Tue Jun 29 2010 Lennart Poettering <lpoetter@redhat.com> - 0-0.7.20100629git4176e5
2010-06-29 01:55:15 +00:00
- New snapshot
- Split off -units package where other packages can depend on without pulling in the whole of systemd
2010-06-22 16:39:21 +00:00
* Tue Jun 22 2010 Lennart Poettering <lpoetter@redhat.com> - 0-0.6.20100622gita3723b
- Add missing libtool dependency.
2010-06-22 16:33:20 +00:00
* Tue Jun 22 2010 Lennart Poettering <lpoetter@redhat.com> - 0-0.5.20100622gita3723b
2010-06-29 01:55:15 +00:00
- Update snapshot
2010-06-22 16:33:20 +00:00
* Mon Jun 14 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0-0.4.20100614git393024
- Pull the latest snapshot that fixes a segfault. Resolves rhbz#603231
2010-06-11 06:18:33 +00:00
* Thu Jun 11 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0-0.3.20100610git2f198e
- More minor fixes as per review
* Thu Jun 10 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0-0.2.20100610git2f198e
- Spec improvements from David Hollis
* Wed Jun 09 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0-0.1.20090609git2f198e
- Address review comments
2010-06-11 06:18:33 +00:00
* Tue Jun 01 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0-0.0.git2010-06-02
- Initial spec (adopted from Kay Sievers)