BuildRequires: pkgconfig(libtzplatform-config)
# There are not ready for .so files of tv/wearable aarch64 and x86_64
-%if "%{?profile}" == "wearable" || "%{?profile}" == "tv"
+%if "%{?profile}" == "wearable"
ExcludeArch: aarch64 x86_64
%endif
+%if "%{?profile}" == "tv"
+ExcludeArch: aarch64
+%endif
+
%if %{_support_weblog}
BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(json-glib-1.0)
%ifarch x86_64
pushd x86_64/lib64/
+# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
+# if mobile || ivi || common || "undefined"
+%if "%{?profile}" != "wearable" && "%{?profile}" != "tv"
for FILE in libpush.so*; do cp -a "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
popd
pushd x86_64/bin/
%endif
%endif
+
+%endif //%ifarch %{x86_64}
+
+
+
+
+
%post bin
mkdir -p %{TZ_SYS_GLOBALUSER_DB}
sqlite3 %{TZ_SYS_GLOBALUSER_DB}/.push.db "PRAGMA journal_mode = PERSIST; create table a(a); drop table a;" > /dev/null
--- /dev/null
+Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.\r
+\r
+Any software product designated as "Samsung Proprietary Software," including\r
+computer software and may include associated media, printed materials, and\r
+"online" or electronic documentation ("SOFTWARE PRODUCT") is a copyrighted and\r
+proprietary property of SAMSUNG ELECTRONICS CO., LTD (“Samsung”).\r
+\r
+The SOFTWARE PRODUCT must\r
+(i) be used for Samsung’s approved business purposes only,\r
+(ii) not be contaminated by open source codes,\r
+(iii) must not be used in any ways that will require it to be disclosed or\r
+ licensed freely to third parties or public,\r
+(vi) must not be subject to reverse engineering, decompling or diassembling.\r
+\r
+Samsung does not grant the recipient any intellectual property rights,\r
+indemnities or warranties and takes on no obligations regarding the SOFTWARE\r
+PRODUCT except as otherwise agreed to under a separate written agreement with\r
+the recipient.
\ No newline at end of file
--- /dev/null
+libpush.so.0
\ No newline at end of file
--- /dev/null
+libpush.so.0.2.12
\ No newline at end of file
--- /dev/null
+-----BEGI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