update version as 0.4.47 04/88604/3
authorIckhee Woo <ickhee.woo@samsung.com>
Tue, 20 Sep 2016 02:47:17 +0000 (11:47 +0900)
committerIckhee Woo <ickhee.woo@samsung.com>
Tue, 20 Sep 2016 03:00:03 +0000 (12:00 +0900)
- support delayed push
- support notification template

Change-Id: Ifada747c522c39909986d6a19fdd1f8c51765309
Signed-off-by: Ickhee Woo <ickhee.woo@samsung.com>
27 files changed:
aarch64/bin/push_tool
aarch64/bin/pushd
aarch64/lib64/libpush.so.0.2.12
arm/bin/push_tool
arm/bin/pushd
arm/lib/libpush.so.0.2.12
arm_tv/bin/push_tool
arm_tv/bin/pushd
arm_tv/lib/libpush.so.0.2.12
arm_wearable/bin/push_tool
arm_wearable/bin/pushd
arm_wearable/lib/libpush.so.0.2.12
packaging/push.spec
packaging/pushd.path [new file with mode: 0644]
packaging/pushd.service [changed mode: 0755->0644]
x86/bin/push_tool
x86/bin/pushd
x86/lib/libpush.so.0.2.12
x86_64/bin/push_tool
x86_64/bin/pushd
x86_64/lib64/libpush.so.0.2.12
x86_tv/bin/push_tool
x86_tv/bin/pushd
x86_tv/lib/libpush.so.0.2.12
x86_wearable/bin/push_tool
x86_wearable/bin/pushd
x86_wearable/lib/libpush.so.0.2.12

index fe1eed9..9b3c17c 100755 (executable)
Binary files a/aarch64/bin/push_tool and b/aarch64/bin/push_tool differ
index b9ef2fb..0afbbc2 100755 (executable)
Binary files a/aarch64/bin/pushd and b/aarch64/bin/pushd differ
index 351ef0e..91aa77c 100644 (file)
Binary files a/aarch64/lib64/libpush.so.0.2.12 and b/aarch64/lib64/libpush.so.0.2.12 differ
index 00f2222..73543aa 100755 (executable)
Binary files a/arm/bin/push_tool and b/arm/bin/push_tool differ
index a19f048..6e7e888 100755 (executable)
Binary files a/arm/bin/pushd and b/arm/bin/pushd differ
index 33947e0..855de15 100644 (file)
Binary files a/arm/lib/libpush.so.0.2.12 and b/arm/lib/libpush.so.0.2.12 differ
index 1d6c4c0..fd645b5 100755 (executable)
Binary files a/arm_tv/bin/push_tool and b/arm_tv/bin/push_tool differ
index 77d4782..1d32a21 100755 (executable)
Binary files a/arm_tv/bin/pushd and b/arm_tv/bin/pushd differ
index 7fea8d8..8f7c2de 100644 (file)
Binary files a/arm_tv/lib/libpush.so.0.2.12 and b/arm_tv/lib/libpush.so.0.2.12 differ
index 00f2222..73543aa 100755 (executable)
Binary files a/arm_wearable/bin/push_tool and b/arm_wearable/bin/push_tool differ
index 038d6bb..9e05c14 100755 (executable)
Binary files a/arm_wearable/bin/pushd and b/arm_wearable/bin/pushd differ
index 9f6228d..f5b00f2 100644 (file)
Binary files a/arm_wearable/lib/libpush.so.0.2.12 and b/arm_wearable/lib/libpush.so.0.2.12 differ
index f865965..a082625 100644 (file)
@@ -2,12 +2,13 @@
 
 Name:       push
 Summary:    Push services and client library
-Version:    0.4.43
+Version:    0.4.47
 Release:    1
 Group:      Application Framework/Service
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 Source1:    pushd.service
+Source2:    pushd.path
 Requires(post): /sbin/ldconfig
 Requires(post): /usr/bin/sqlite3
 Requires(postun): /sbin/ldconfig
@@ -68,7 +69,11 @@ Push service tool
 rm -rf %{buildroot}
 mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
 install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/pushd.service
+%if "%{profile}" == "mobile"
+install -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/pushd.path
+%else
 %install_service multi-user.target.wants pushd.service
+%endif
 
 mkdir -p %{buildroot}/usr/share/licenses/%{name}
 cp -f LICENSE %{buildroot}/usr/share/licenses/%{name}
@@ -220,6 +225,10 @@ chmod 644 %{TZ_SYS_GLOBALUSER_DB}/.push.db-journal
 chsmack -a "*" %{TZ_SYS_GLOBALUSER_DB}/.push.db
 chsmack -a "*" %{TZ_SYS_GLOBALUSER_DB}/.push.db-journal
 
+%if "%{profile}" == "mobile"
+ln -sf ../pushd.path  %{_unitdir}/multi-user.target.wants/
+%endif
+
 %post -n libpush
 /sbin/ldconfig
 
@@ -244,7 +253,11 @@ chsmack -a "*" %{TZ_SYS_GLOBALUSER_DB}/.push.db-journal
 %attr(755,root,root) %{_upgrade_script_path}%{_upgrade_script}
 
 %{_unitdir}/pushd.service
+%if "%{profile}" == "mobile"
+%{_unitdir}/pushd.path
+%else
 %{_unitdir}/multi-user.target.wants/pushd.service
+%endif
 
 %files tool
 %manifest push-tool.manifest
diff --git a/packaging/pushd.path b/packaging/pushd.path
new file mode 100644 (file)
index 0000000..498886c
--- /dev/null
@@ -0,0 +1,5 @@
+[Unit]
+Description=pushd path activation
+
+[Path]
+PathExists=/run/.unlock_mnt
old mode 100755 (executable)
new mode 100644 (file)
index 49dd363..ad1c085
@@ -1,6 +1,5 @@
 [Unit]
 Description=Push daemon
-After=dbus.service
 
 [Service]
 Type=simple
index 733577c..6145820 100755 (executable)
Binary files a/x86/bin/push_tool and b/x86/bin/push_tool differ
index e75225f..7fd8398 100755 (executable)
Binary files a/x86/bin/pushd and b/x86/bin/pushd differ
index 2bf5d0a..8ac0555 100644 (file)
Binary files a/x86/lib/libpush.so.0.2.12 and b/x86/lib/libpush.so.0.2.12 differ
index c9565fb..121a0d2 100755 (executable)
Binary files a/x86_64/bin/push_tool and b/x86_64/bin/push_tool differ
index 4552788..cf9216f 100755 (executable)
Binary files a/x86_64/bin/pushd and b/x86_64/bin/pushd differ
index d4b7596..c8ebf24 100644 (file)
Binary files a/x86_64/lib64/libpush.so.0.2.12 and b/x86_64/lib64/libpush.so.0.2.12 differ
index 733577c..6145820 100755 (executable)
Binary files a/x86_tv/bin/push_tool and b/x86_tv/bin/push_tool differ
index a6f9944..e201433 100755 (executable)
Binary files a/x86_tv/bin/pushd and b/x86_tv/bin/pushd differ
index 2bf5d0a..8ac0555 100644 (file)
Binary files a/x86_tv/lib/libpush.so.0.2.12 and b/x86_tv/lib/libpush.so.0.2.12 differ
index 733577c..6145820 100755 (executable)
Binary files a/x86_wearable/bin/push_tool and b/x86_wearable/bin/push_tool differ
index 576bcb6..9f4f711 100755 (executable)
Binary files a/x86_wearable/bin/pushd and b/x86_wearable/bin/pushd differ
index a4bf119..c0b9fac 100644 (file)
Binary files a/x86_wearable/lib/libpush.so.0.2.12 and b/x86_wearable/lib/libpush.so.0.2.12 differ