From 1b07411d95a7b4178c1af1b5555d0e2faabfdbf2 Mon Sep 17 00:00:00 2001 From: Denis Dolzhenko Date: Wed, 27 Sep 2017 22:32:53 +0900 Subject: [ABS] TizenRefApp-9110 Fix sonar issues Reference: submit/tizen_4.0/20170927.133203 Commit id: ebce6db2c01a4dac19d4f46e5b106021a1d83289 Requested by: d.dolzhenko@samsung.com SDK rootstrap version: 20170927_2 --- org.tizen.w-stopwatch-1.0.0-arm-debug.tpk | Bin 0 -> 587567 bytes org.tizen.w-stopwatch-1.0.0-arm.tpk | Bin 0 -> 403561 bytes org.tizen.w-stopwatch-1.0.0-x86-debug.tpk | Bin 0 -> 583218 bytes org.tizen.w-stopwatch-1.0.0-x86.tpk | Bin 0 -> 401577 bytes packaging/org.tizen.w-stopwatch.spec | 54 ++++++++++++++++++++++++++++++ 5 files changed, 54 insertions(+) create mode 100644 org.tizen.w-stopwatch-1.0.0-arm-debug.tpk create mode 100644 org.tizen.w-stopwatch-1.0.0-arm.tpk create mode 100644 org.tizen.w-stopwatch-1.0.0-x86-debug.tpk create mode 100644 org.tizen.w-stopwatch-1.0.0-x86.tpk create mode 100644 packaging/org.tizen.w-stopwatch.spec diff --git a/org.tizen.w-stopwatch-1.0.0-arm-debug.tpk b/org.tizen.w-stopwatch-1.0.0-arm-debug.tpk new file mode 100644 index 0000000..da98d7a Binary files /dev/null and b/org.tizen.w-stopwatch-1.0.0-arm-debug.tpk differ diff --git a/org.tizen.w-stopwatch-1.0.0-arm.tpk b/org.tizen.w-stopwatch-1.0.0-arm.tpk new file mode 100644 index 0000000..9922e13 Binary files /dev/null and b/org.tizen.w-stopwatch-1.0.0-arm.tpk differ diff --git a/org.tizen.w-stopwatch-1.0.0-x86-debug.tpk b/org.tizen.w-stopwatch-1.0.0-x86-debug.tpk new file mode 100644 index 0000000..a27ae66 Binary files /dev/null and b/org.tizen.w-stopwatch-1.0.0-x86-debug.tpk differ diff --git a/org.tizen.w-stopwatch-1.0.0-x86.tpk b/org.tizen.w-stopwatch-1.0.0-x86.tpk new file mode 100644 index 0000000..7d7829f Binary files /dev/null and b/org.tizen.w-stopwatch-1.0.0-x86.tpk differ diff --git a/packaging/org.tizen.w-stopwatch.spec b/packaging/org.tizen.w-stopwatch.spec new file mode 100644 index 0000000..e95928a --- /dev/null +++ b/packaging/org.tizen.w-stopwatch.spec @@ -0,0 +1,54 @@ +Name: org.tizen.w-stopwatch +#VCS_FROM: profile/wearable/apps/native/stopwatch#ebce6db2c01a4dac19d4f46e5b106021a1d83289 +#RS_Ver: 20170927_2 +Summary: w-stopwatch +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.w-stopwatch +%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 +profile/wearable/apps/native/stopwatch#ebce6db2c01a4dac19d4f46e5b106021a1d83289 +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 %{internal_name}-%{version}-%{target}%{build_mode}.tpk %{buildroot}/%{preload_tpk_path}/ + +%post + +%files +%defattr(-,root,root,-) +%{preload_tpk_path}/* + -- cgit v1.2.3