Name: __OBS_PACKAGE_NAME__ __VCS__ #RS_Ver: __ROOTSTRAP_VERSION__ Summary: __SUMMARY__ Version: __VERSION__ Release: 1 Group: __GROUP__ License: __LICENSE__ Source0: %{name}-%{version}.tar.gz __EXCLUSIVE_ARCH__ __EXCLUDE_ARCH__ BuildRequires: pkgconfig(libtzplatform-config) Requires(post): /usr/bin/__APP_TYPE__-backend %define internal_name __TIZEN_STUDIO_PACKAGE_NAME__ %define preload___APP_TYPE___path %{TZ_SYS_RO_APP}/.preload-__APP_TYPE__ %define build_mode __BUILD_MODE__ %ifarch arm armv7l %define target arm %endif %ifarch aarch64 %define target aarch64 %endif %ifarch x86_64 %define target x86_64 %endif %ifarch i386 i486 i586 i686 %define target x86 %endif %description __VCS_DESCRIPTION__ This is a container package which have preload TPK/WGT files %prep %setup -q %build %install rm -rf %{buildroot} 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___APP_TYPE___path}/*