__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__
%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
%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}/*