New files for RPM packaging
authorKyuho Jo <kyuho.jo@samsung.com>
Fri, 10 Mar 2017 07:45:58 +0000 (16:45 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:45 +0000 (18:34 +0900)
Change-Id: Ia103c52b7324abd6d5d56686dd0a0b3272703ff1
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
.gitignore
TVHome/TVHome.TizenTV/bin/Debug/TVHome.TizenTV.tpk [new file with mode: 0644]
packaging/org.tizen.xahome.spec [new file with mode: 0644]

index 7c2b9baa9295e18231f82d0a6c7fc6b8549839ef..3cda4e5355e5978db0c36578b58edab820d161b6 100644 (file)
@@ -28,8 +28,9 @@
 *.out
 *.app
 
+*.pdb
+
 packages/
-bin/
 obj/
 .vs/
 
diff --git a/TVHome/TVHome.TizenTV/bin/Debug/TVHome.TizenTV.tpk b/TVHome/TVHome.TizenTV/bin/Debug/TVHome.TizenTV.tpk
new file mode 100644 (file)
index 0000000..8fb783d
Binary files /dev/null and b/TVHome/TVHome.TizenTV/bin/Debug/TVHome.TizenTV.tpk differ
diff --git a/packaging/org.tizen.xahome.spec b/packaging/org.tizen.xahome.spec
new file mode 100644 (file)
index 0000000..f8e9e6f
--- /dev/null
@@ -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