Merge branch 'master' into systemd
[framework/appfw/app-core.git] / packaging / app-core.spec
index c4ec025..93a8eb9 100644 (file)
@@ -6,6 +6,7 @@ Release:    34
 Group:      TO_BE/FILLED_IN
 License:    Apache License, Version 2.0
 Source0:    app-core-%{version}.tar.gz
+Source101:  packaging/core-efl.target
 BuildRequires:  pkgconfig(sensor)
 BuildRequires:  pkgconfig(vconf)
 BuildRequires:  pkgconfig(aul)
@@ -86,6 +87,8 @@ make %{?jobs:-j%jobs}
 %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
@@ -115,6 +118,8 @@ rm -rf %{buildroot}
 %manifest app-core.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libappcore-common.so.*
+%{_libdir}/systemd/user/core-efl.target
+%{_libdir}/systemd/user/core-efl.target.wants/
 
 %files common-devel
 %defattr(-,root,root,-)