summaryrefslogtreecommitdiff
path: root/packaging/ui-gadget-1.spec
diff options
context:
space:
mode:
authorSabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>2014-02-10 14:26:55 +0100
committerSabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>2014-02-17 14:11:16 +0100
commitf0e0a08562a88cac22640384e1f8cadbec9f4ce1 (patch)
tree73fa28ff19b417191ab5050b438a03992537d8c6 /packaging/ui-gadget-1.spec
parentdb3a1d59af5970efaf7f2578d641484965e831b7 (diff)
downloadui-gadget-1-accepted/tizen/generic.tar.gz
ui-gadget-1-accepted/tizen/generic.tar.bz2
ui-gadget-1-accepted/tizen/generic.zip
bug-tizen: PTREL-662 Change-Id: I66ab7ff37a89703576ea90885300364cc63f8bf6 Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Diffstat (limited to 'packaging/ui-gadget-1.spec')
-rw-r--r--packaging/ui-gadget-1.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/ui-gadget-1.spec b/packaging/ui-gadget-1.spec
index c63d955..baa0a30 100644
--- a/packaging/ui-gadget-1.spec
+++ b/packaging/ui-gadget-1.spec
@@ -25,6 +25,7 @@ BuildRequires: pkgconfig(capi-system-runtime-info)
BuildRequires: pkgconfig(capi-appfw-app-manager)
BuildRequires: cmake
BuildRequires: edje-bin
+BuildRequires: pkgconfig(libtzplatform-config)
%description
UI gadget library (development headers)
@@ -46,6 +47,7 @@ cp %{SOURCE1001} .
%build
%cmake . \
+-DTZ_SYS_ETC=%TZ_SYS_ETC \
%if %{with wayland} && !%{with x}
-Dwith_wayland=TRUE
%else
@@ -60,7 +62,7 @@ rm -rf %{buildroot}
%post
/sbin/ldconfig
-ln -sf /usr/bin/ug-client /usr/bin/ug-launcher
+ln -sf %{TZ_SYS_BIN}/ug-client %{TZ_SYS_BIN}/ug-launcher
%postun -p /sbin/ldconfig
@@ -72,7 +74,7 @@ ln -sf /usr/bin/ug-client /usr/bin/ug-launcher
/usr/share/edje/ug_effect.edj
%{_bindir}/ug-client
/usr/share/edje/ug-client/*.edj
-/opt/etc/smack/accesses.d/ui-gadget-1.rule
+%{TZ_SYS_ETC}/smack/accesses.d/ui-gadget-1.rule
%files devel
%manifest %{name}.manifest