Name: smartthings-thing-service Summary: SmartThings Thing service app Version: 1.0.0 Release: 1 Group: Applications License: Apache-2.0 Source0: %{name}-%{version}.tar.gz BuildRequires: pkgconfig(libtzplatform-config) Requires(post): /usr/bin/tpk-backend %define preload_tpk_path %{TZ_SYS_RO_APP}/.preload-tpk %description This is a container package which has a preload TPK file %prep %setup -q %build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{preload_tpk_path} install org.tizen.st-things-service-1.0.0-arm.tpk %{buildroot}%{preload_tpk_path}/ %files %defattr(-,root,root,-) %{preload_tpk_path}/*.tpk