###############################################################################
name = systemd
-version = 36
-release = 2
+version = 37
+release = 4
maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
groups = System/Base
SysV and LSB init scripts.
end
-conflicts += upstart
-
-source_dl = http://cgit.freedesktop.org/systemd/snapshot/
+source_dl = http://cgit.freedesktop.org/systemd/systemd/snapshot/
build
requires
autoconf
cryptsetup-luks-devel
dbus-devel
+ docbook-utils
+ docbook-xsl
gperf
+ gettext-devel
intltool
libacl-devel
libcap-devel
libtool
libudev-devel>=172
pam-devel
+ vala
end
configure_options += \
--sysconfdir=/etc \
- --libexecdir=/usr/lib \
+ --libexecdir=%{libdir} \
--with-rootdir= \
- --with-distro=other \
- --with-sysvinit-path= \
- --with-sysvrcd-path= \
+ --with-distro=ipfire \
--with-udevrulesdir=/lib/udev/rules.d/ \
- --with-pamlibdir=/lib/security
+ --with-pamlibdir=/%{lib}/security
prepare_cmds
./autogen.sh ac
dbus
python-cairo
python-dbus
+ %{name}-units=%{thisver}
udev>=172
util-linux>=2.19
end
prerequires += authconfig
+ conflicts += upstart
script postin
# Generate Machine ID.
/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
end
end
-
+
# Package information for systemd-units
package %{name}-units
summary = Configuration files, directories and installation tool for systemd.
This package contains all needed configuration files, directories
and installation / configuration tool for systemd.
end
-
+
+ prerequires
+ /bin/sh
+ coreutils
+ end
+
files
/etc/systemd/system
/etc/tmpfiles.d
script postin
# Enable default services.
- systemctl enable \
+ /bin/systemctl enable \
getty@.service \
remote-fs.target > /dev/null 2>&1 || :
end
script preun
# Disable default services.
- systemctl disable \
+ /bin/systemctl disable \
getty@.service \
remote-fs.target > /dev/null 2>&1 || :
end
script postup
# Reload service files
- systemctl daemon-reload > /dev/null 2>&1 || :
+ /bin/systemctl daemon-reload > /dev/null 2>&1 || :
end
end
-
+
package %{name}-devel
template DEVEL
end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
end