Apply 4.0 bulid config option for building 19/116919/1 accepted/tizen/common/20170303.090636 accepted/tizen/ivi/20170302.121724 accepted/tizen/mobile/20170302.121407 accepted/tizen/unified/20170309.032834 accepted/tizen/wearable/20170302.121625 submit/tizen/20170302.014914 submit/tizen_unified/20170308.100406
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 2 Mar 2017 04:28:47 +0000 (13:28 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 2 Mar 2017 04:28:47 +0000 (13:28 +0900)
Change-Id: I444f43ba47ad3a804f9aa066f61fcdf98efca52a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
packaging/bluetooth-agent.spec

index 72c48fe..549157a 100644 (file)
@@ -186,9 +186,15 @@ install -D -m 0644 packaging/bluetooth-map-agent.service %{buildroot}%{_libdir}/
 # This usage of profile macro does NOT conflict 4.0 configurability.
 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv"
 # Original: wearable, ivi. Added: common, "undefined"
-mv %{buildroot}/usr/wearable/share/dbus-1/system-services/org.bluez.hf_agent.service %{buildroot}%{_datadir}/dbus-1/system-services/
-mv %{buildroot}/usr/wearable/bin/bluetooth-hf-agent %{buildroot}%{_bindir}/
-mv %{buildroot}/usr/ivi/bin/bluetooth-hf-agent %{buildroot}%{_bindir}/bluetooth-hf-agent.ivi
+mkdir -p %{buildroot}%{_datadir}/dbus-1/system-services
+mkdir -p %{buildroot}%{_bindir}/
+install -D -m 0644 %{buildroot}/usr/wearable/share/dbus-1/system-services/org.bluez.hf_agent.service %{buildroot}%{_datadir}/dbus-1/system-services/
+install -D -m 0644 %{buildroot}/usr/wearable/share/dbus-1/system-services/org.projectx.bt_ipsp.service %{buildroot}%{_datadir}/dbus-1/system-services/
+install -D -m 0644 %{buildroot}/usr/wearable/bin/bluetooth-hf-agent %{buildroot}%{_bindir}/
+install -D -m 0644 %{buildroot}/usr/wearable/bin/bt-ipsp %{buildroot}%{_bindir}/
+install -D -m 0644 %{buildroot}/usr/ivi/share/dbus-1/system-services/org.projectx.bt_ipsp.service %{buildroot}%{_datadir}/dbus-1/system-services/
+install -D -m 0644 %{buildroot}/usr/ivi/bin/bluetooth-hf-agent %{buildroot}%{_bindir}/bluetooth-hf-agent.ivi
+install -D -m 0644 %{buildroot}/usr/ivi/bin/bt-ipsp %{buildroot}%{_bindir}/
 rm -Rf %{buildroot}/usr/ivi
 rm -Rf %{buildroot}/usr/wearable
 %endif