[ABS] sync analog-watch
authorhyokeun.jeon <hyokeun.jeon@samsung.com>
Wed, 10 Oct 2018 02:14:59 +0000 (02:14 +0000)
committerhyokeun.jeon <hyokeun.jeon@samsung.com>
Wed, 10 Oct 2018 02:14:59 +0000 (02:14 +0000)
Reference: None
Commit id: b6a5165a1ed3f17b5b08492c47ef20dd60476360
Requested by: hyokeun.jeon@samsung.com
SDK rootstrap version: 20181001_2

org.tizen.analog-watch-1.0.0-arm.tpk [new file with mode: 0644]
org.tizen.analog-watch-1.0.0-x86.tpk [new file with mode: 0644]
packaging/org.tizen.analog-watch.spec [new file with mode: 0644]

diff --git a/org.tizen.analog-watch-1.0.0-arm.tpk b/org.tizen.analog-watch-1.0.0-arm.tpk
new file mode 100644 (file)
index 0000000..a3777f2
Binary files /dev/null and b/org.tizen.analog-watch-1.0.0-arm.tpk differ
diff --git a/org.tizen.analog-watch-1.0.0-x86.tpk b/org.tizen.analog-watch-1.0.0-x86.tpk
new file mode 100644 (file)
index 0000000..7649e03
Binary files /dev/null and b/org.tizen.analog-watch-1.0.0-x86.tpk differ
diff --git a/packaging/org.tizen.analog-watch.spec b/packaging/org.tizen.analog-watch.spec
new file mode 100644 (file)
index 0000000..025ca18
--- /dev/null
@@ -0,0 +1,54 @@
+Name:       org.tizen.analog-watch
+#VCS_FROM:   scm/test#b6a5165a1ed3f17b5b08492c47ef20dd60476360
+#RS_Ver:    20181001_2 
+Summary:    org.tizen.analog-watch
+Version:    1.0.0
+Release:    1
+Group:      N/A
+License:    Flora-1.1
+Source0:    %{name}-%{version}.tar.gz
+
+ExclusiveArch:  i586 x86 i486 i686 i386 armv7l arm
+
+
+BuildRequires:  pkgconfig(libtzplatform-config)
+Requires(post):  /usr/bin/tpk-backend
+
+%define internal_name org.tizen.analog-watch
+%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
+scm/test#b6a5165a1ed3f17b5b08492c47ef20dd60476360
+This is a container package which have preload TPK/WGT 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}/*
+