added 64bit tv emul 74/111974/1
authorYounho Park <younho.park@samsung.com>
Wed, 25 Jan 2017 07:25:14 +0000 (16:25 +0900)
committerYounho Park <younho.park@samsung.com>
Wed, 25 Jan 2017 07:27:10 +0000 (16:27 +0900)
Change-Id: Id5a362b55b4d0b2fa237354ee3c4b10bb80e7186
Signed-off-by: Younho Park <younho.park@samsung.com>
packaging/push.spec
x86_64_tv/LICENSE [new file with mode: 0644]
x86_64_tv/bin/push_tool [new file with mode: 0755]
x86_64_tv/bin/pushd [new file with mode: 0755]
x86_64_tv/lib64/libpush.so [new symlink]
x86_64_tv/lib64/libpush.so.0 [new symlink]
x86_64_tv/lib64/libpush.so.0.2.12 [new file with mode: 0755]
x86_64_tv/share/push/PushServerTrust.cer [new file with mode: 0644]

index 19b77b2..efed06e 100644 (file)
@@ -21,10 +21,14 @@ Requires(postun): /sbin/ldconfig
 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)
@@ -368,6 +372,9 @@ popd
 
 %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/
@@ -381,6 +388,13 @@ popd
 %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
diff --git a/x86_64_tv/LICENSE b/x86_64_tv/LICENSE
new file mode 100644 (file)
index 0000000..3457772
--- /dev/null
@@ -0,0 +1,18 @@
+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
diff --git a/x86_64_tv/bin/push_tool b/x86_64_tv/bin/push_tool
new file mode 100755 (executable)
index 0000000..123fe1a
Binary files /dev/null and b/x86_64_tv/bin/push_tool differ
diff --git a/x86_64_tv/bin/pushd b/x86_64_tv/bin/pushd
new file mode 100755 (executable)
index 0000000..3d03de0
Binary files /dev/null and b/x86_64_tv/bin/pushd differ
diff --git a/x86_64_tv/lib64/libpush.so b/x86_64_tv/lib64/libpush.so
new file mode 120000 (symlink)
index 0000000..42d3ebb
--- /dev/null
@@ -0,0 +1 @@
+libpush.so.0
\ No newline at end of file
diff --git a/x86_64_tv/lib64/libpush.so.0 b/x86_64_tv/lib64/libpush.so.0
new file mode 120000 (symlink)
index 0000000..e8cbc23
--- /dev/null
@@ -0,0 +1 @@
+libpush.so.0.2.12
\ No newline at end of file
diff --git a/x86_64_tv/lib64/libpush.so.0.2.12 b/x86_64_tv/lib64/libpush.so.0.2.12
new file mode 100755 (executable)
index 0000000..b382c77
Binary files /dev/null and b/x86_64_tv/lib64/libpush.so.0.2.12 differ
diff --git a/x86_64_tv/share/push/PushServerTrust.cer b/x86_64_tv/share/push/PushServerTrust.cer
new file mode 100644 (file)
index 0000000..7fb8bb2
--- /dev/null
@@ -0,0 +1,19 @@
+-----BEGIN CERTIFICATE-----
+MIIDGDCCAoGgAwIBAgIJAPMld7YDENSnMA0GCSqGSIb3DQEBBQUAMIGkMQswCQYD
+VQQGEwJLUjEUMBIGA1UECAwLR3llb25nZ2kgZG8xDjAMBgNVBAcMBVN1d29uMSUw
+IwYDVQQKDBxTQU1TVU5HIEVMRUNUUk9OSUNTIENPLiwgTFREMR4wHAYDVQQDDBUq
+LnB1c2guc2Ftc3VuZ29zcC5jb20xKDAmBgkqhkiG9w0BCQEWGWFkbWluQHB1c2gu
+c2Ftc3VuZ29zcC5jb20wHhcNOTkxMjMxMTUwMjEwWhcNNDkxMjE4MTUwMjEwWjCB
+pDELMAkGA1UEBhMCS1IxFDASBgNVBAgMC0d5ZW9uZ2dpIGRvMQ4wDAYDVQQHDAVT
+dXdvbjElMCMGA1UECgwcU0FNU1VORyBFTEVDVFJPTklDUyBDTy4sIExURDEeMBwG
+A1UEAwwVKi5wdXNoLnNhbXN1bmdvc3AuY29tMSgwJgYJKoZIhvcNAQkBFhlhZG1p
+bkBwdXNoLnNhbXN1bmdvc3AuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
+gQDS/wx087bX6AA7bz/rPd/AOtm8g1ebRfENevGCnMrnU43PlryjjQjgKxwMO1R5
+Mdvv9IsSdoGIKj5h5VZlWbuiCx5pPqf62Owu3DjVLLuHWmlFkb7y6mKfshAcGCVq
+azjayWF9NpmOPnJDlFOZHTu+5X0+KEyx/W7kS6gcB5WIRwIDAQABo1AwTjAdBgNV
+HQ4EFgQUWMjZPBPgzaBussvwASa64F2DMFEwHwYDVR0jBBgwFoAUWMjZPBPgzaBu
+ssvwASa64F2DMFEwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBpsXfr
+Fyd3rdKRzyBh/aJgY+XLZf5/TZYhtv2OLv5kMK0EkS0CEduPK5LeZwOhWgLIGpsl
+m8F2WNFttqP6fsAHExLTUlyqt4HT0CdzUtypjgsUPK5GBqEvz6+iQP+hZ4NKuxNB
+kci9Q85y89ANKtHvKxN1vu7gqArGFyIOJDVC8w==
+-----END CERTIFICATE-----