Add no-dbus parameter in case of local test
[scm/meta/abs.git] / spec.template
index af71b15..cceffa4 100644 (file)
@@ -12,14 +12,14 @@ __EXCLUSIVE_ARCH__
 __EXCLUDE_ARCH__
 
 BuildRequires:  pkgconfig(libtzplatform-config)
-Requires(post):  /usr/bin/tpk-backend
+Requires(post):  /usr/bin/__APP_TYPE__-backend
 
 %define internal_name __TIZEN_STUDIO_PACKAGE_NAME__
-%define preload_tpk_path %{TZ_SYS_RO_APP}/.preload-tpk
+%define preload___APP_TYPE___path %{TZ_SYS_RO_APP}/.preload-__APP_TYPE__
 
 %define build_mode __BUILD_MODE__
 
-%ifarch arm armv7l armv7hl
+%ifarch arm armv7l
 %define target arm
 %endif
 %ifarch aarch64
@@ -34,7 +34,7 @@ Requires(post):  /usr/bin/tpk-backend
 
 %description
 __VCS_DESCRIPTION__
-This is a container package which have preload TPK files
+This is a container package which have preload TPK/WGT files
 
 %prep
 %setup -q
@@ -43,12 +43,12 @@ This is a container package which have preload TPK files
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}/%{preload_tpk_path}
-install %{internal_name}-%{version}-%{target}%{build_mode}.tpk %{buildroot}/%{preload_tpk_path}/
+mkdir -p %{buildroot}/%{preload___APP_TYPE___path}
+install %{internal_name}-%{version}-%{target}%{build_mode}.__APP_TYPE__ %{buildroot}/%{preload___APP_TYPE___path}/
 
 %post
 
 %files
 %defattr(-,root,root,-)
-%{preload_tpk_path}/*
+%{preload___APP_TYPE___path}/*