diff options
author | Kyuho Jo <kyuho.jo@samsung.com> | 2017-03-10 16:45:58 +0900 |
---|---|---|
committer | ChulSeung Kim <charles0.kim@samsung.com> | 2017-06-08 18:34:45 +0900 |
commit | 77c7385b13d4d37cf126e1ac618f2ecc4c8aa025 (patch) | |
tree | 200b2afe8a5285523275021f665b00dbe899a3af /packaging | |
parent | cb5418de4668713a45ca77b59e96775b0f985711 (diff) | |
download | home-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.spec | 46 |
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 |