Support web app
[scm/meta/abs.git] / spec.template
index ccb612e..cceffa4 100644 (file)
@@ -12,10 +12,10 @@ __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__
 
@@ -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}/*