Summary: Application basic
Version: 1.2
Release: 19
-Group: TO_BE/FILLED_IN
+Group: System/Base
License: Apache License, Version 2.0
Source0: app-core-%{version}.tar.gz
+Source101: packaging/core-efl.target
Source1001: packaging/app-core.manifest
BuildRequires: pkgconfig(sensor)
BuildRequires: pkgconfig(vconf)
%install
rm -rf %{buildroot}
%make_install
+install -d %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants
+install -m0644 %{SOURCE101} %{buildroot}%{_libdir}/systemd/user/
%post efl -p /sbin/ldconfig
%files common
%manifest app-core.manifest
%{_libdir}/libappcore-common.so.*
+%{_libdir}/systemd/user/core-efl.target
+%{_libdir}/systemd/user/core-efl.target.wants/
%files common-devel
%manifest app-core.manifest
--- /dev/null
+#
+# This virtual unit maps the default core components and their dependencies.
+#
+# The real desktop services should go into the final desktop target
+# folder, which should require this virtual target. While starting
+# up, systemd will assure that the core EFL and daemons start before
+# anything else. After the core target finishes, dependencies should
+# not matter too much anymore and less fine-grained dependencies can
+# be used.
+#
+
+[Unit]
+Description=Core EFL UI target
+After=xorg.target
+Requires=xorg.target