[ABS] Sync code from profile/mobile/apps/web/webapp-addon-setting
authorHyokeun Jeon <hyokeun.jeon@samsung.com>
Fri, 27 Sep 2019 09:18:15 +0000 (18:18 +0900)
committerHyokeun Jeon <hyokeun.jeon@samsung.com>
Fri, 27 Sep 2019 09:18:15 +0000 (18:18 +0900)
Reference: submit/tizen/20190927.123456
Commit id: 14be73eee5b733fb5438fab014cdc6d98659756d
Requested by: hyokeun.jeon@samsung.com
SDK rootstrap version: 20190927_1

--arm.wgt [new file with mode: 0644]
--x86.wgt [new file with mode: 0644]
packaging/org.tizen.webapp-test.spec [new file with mode: 0644]

diff --git a/--arm.wgt b/--arm.wgt
new file mode 100644 (file)
index 0000000..e21b135
Binary files /dev/null and b/--arm.wgt differ
diff --git a/--x86.wgt b/--x86.wgt
new file mode 100644 (file)
index 0000000..47388a8
Binary files /dev/null and b/--x86.wgt differ
diff --git a/packaging/org.tizen.webapp-test.spec b/packaging/org.tizen.webapp-test.spec
new file mode 100644 (file)
index 0000000..082d6ef
--- /dev/null
@@ -0,0 +1,54 @@
+Name:       org.tizen.webapp-test
+#VCS_FROM:   scm/test-trigger#14be73eee5b733fb5438fab014cdc6d98659756d
+#RS_Ver:    20190927_1
+Summary:    org.tizen.webapp-test
+Version:    
+Release:    1
+Group:      N/A
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+
+ExclusiveArch:  i586 x86 i486 i686 i386 armv7l arm
+
+
+BuildRequires:  pkgconfig(libtzplatform-config)
+Requires(post):  /usr/bin/wgt-backend
+
+%define internal_name 
+%define preload_wgt_path %{TZ_SYS_RO_APP}/.preload-wgt
+
+%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-trigger#14be73eee5b733fb5438fab014cdc6d98659756d
+This is a container package which have preload TPK/WGT files
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/%{preload_wgt_path}
+install %{internal_name}-%{version}-%{target}%{build_mode}.wgt %{buildroot}/%{preload_wgt_path}/
+
+%post
+
+%files
+%defattr(-,root,root,-)
+%{preload_wgt_path}/*
+