--- /dev/null
+Name: org.tizen.gallery
+#VCS_FROM: profile/mobile/apps/native/gallery#4554bfd58b1a1c4cc7cb41ae9d4dd7a7140cf635
+#RS_Ver: 20170909_1
+Summary: org.tizen.gallery UX
+Version: 1.0.0
+Release: 1
+Group: Applications
+License: N/A
+Source0: %{name}-%{version}.tar.gz
+
+ExclusiveArch: x86_64 i586 x86 aarch64 i486 i686 i386 armv7l arm
+
+
+BuildRequires: pkgconfig(libtzplatform-config)
+Requires(post): /usr/bin/tpk-backend
+
+%define internal_name org.tizen.gallery
+%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 x86
+%endif
+
+%description
+profile/mobile/apps/native/gallery#4554bfd58b1a1c4cc7cb41ae9d4dd7a7140cf635
+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}/*
+