Packaging tpk file to rpm file 66/176466/1 accepted/tizen/4.0/unified/20180514.094011 submit/tizen_4.0/20180514.042550
authorHongkuk, Son <hongkuk.son@samsung.com>
Thu, 19 Apr 2018 10:33:05 +0000 (19:33 +0900)
committerHongkuk, Son <hongkuk.son@samsung.com>
Thu, 19 Apr 2018 10:34:23 +0000 (19:34 +0900)
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I4b18e908d33d16f15751177b44b5d2acadb2f7aa

org.tizen.st-things-service-1.0.0-arm.tpk [new file with mode: 0644]
packaging/smartthings-thing-service.spec [new file with mode: 0644]

diff --git a/org.tizen.st-things-service-1.0.0-arm.tpk b/org.tizen.st-things-service-1.0.0-arm.tpk
new file mode 100644 (file)
index 0000000..ff83681
Binary files /dev/null and b/org.tizen.st-things-service-1.0.0-arm.tpk differ
diff --git a/packaging/smartthings-thing-service.spec b/packaging/smartthings-thing-service.spec
new file mode 100644 (file)
index 0000000..4124231
--- /dev/null
@@ -0,0 +1,30 @@
+Name:       smartthings-thing-service
+Summary:    SmartThings Thing service app
+Version:    1.0.0
+Release:    1
+Group:      Applications
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+
+BuildRequires:  pkgconfig(libtzplatform-config)
+Requires(post):  /usr/bin/tpk-backend
+
+%define preload_tpk_path %{TZ_SYS_RO_APP}/.preload-tpk
+
+%description
+This is a container package which has a preload TPK file
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{preload_tpk_path}
+install org.tizen.st-things-service-1.0.0-arm.tpk %{buildroot}%{preload_tpk_path}/
+
+%files
+%defattr(-,root,root,-)
+%{preload_tpk_path}/*.tpk
+