Name: org.tizen.alarm #VCS_FROM: profile/wearable/apps/native/alarm#d327ca9215c05d5694ed8dd571dd235115f097f5 #RS_Ver: 20161118_1 Summary: alarm Version: 2.3.2 Release: 1 Group: N/A License: N/A Source0: %{name}-%{version}.tar.gz BuildRequires: pkgconfig(libtzplatform-config) Requires(post): /usr/bin/tpk-backend %define internal_name org.tizen.alarm %define preload_tpk_path %{TZ_SYS_RO_APP}/.preload-tpk %define build_mode %{nil} %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 i386 %endif %description profile/wearable/apps/native/alarm#d327ca9215c05d5694ed8dd571dd235115f097f5 This is a container package which have preload TPK files %prep %setup -q %build %install rm -rf %{buildroot} mkdir -p %{buildroot}/%{preload_tpk_path} install %{internal_name}-%{version}-%{target}%{build_mode}.tpk %{buildroot}/%{preload_tpk_path}/ %post %files %defattr(-,root,root,-) %{preload_tpk_path}/*