summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorKyuho Jo <kyuho.jo@samsung.com>2017-03-10 16:45:58 +0900
committerChulSeung Kim <charles0.kim@samsung.com>2017-06-08 18:34:45 +0900
commit77c7385b13d4d37cf126e1ac618f2ecc4c8aa025 (patch)
tree200b2afe8a5285523275021f665b00dbe899a3af /packaging
parentcb5418de4668713a45ca77b59e96775b0f985711 (diff)
downloadhome-77c7385b13d4d37cf126e1ac618f2ecc4c8aa025.tar.gz
home-77c7385b13d4d37cf126e1ac618f2ecc4c8aa025.tar.bz2
home-77c7385b13d4d37cf126e1ac618f2ecc4c8aa025.zip
New files for RPM packaging
Change-Id: Ia103c52b7324abd6d5d56686dd0a0b3272703ff1 Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/org.tizen.xahome.spec46
1 files changed, 46 insertions, 0 deletions
diff --git a/packaging/org.tizen.xahome.spec b/packaging/org.tizen.xahome.spec
new file mode 100644
index 0000000..f8e9e6f
--- /dev/null
+++ b/packaging/org.tizen.xahome.spec
@@ -0,0 +1,46 @@
+Name: org.tizen.xahome
+Summary: TV home application
+Version: 1.0.0
+Release: 1
+Group: Applications
+License: Flora-1.1
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(libtzplatform-config)
+Requires(post): /usr/bin/tpk-backend
+
+%define internal_name org.tizen.xahome
+%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
+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 TVHome/TVHome.TizenTV/bin/Debug/TVHome.TizenTV.tpk %{buildroot}/%{preload_tpk_path}/
+
+%post
+
+%files
+%defattr(-,root,root,-)
+%{preload_tpk_path}/*.tpk