Enable GENIVI service plugin API accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi protex_M14.4 sandbox/mythi/devel tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi accepted/tizen/common/20140930.092521 accepted/tizen/ivi/20141001.180631 submit/tizen/20140930.034120 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
authorMikko Ylinen <mikko.ylinen@intel.com>
Tue, 23 Sep 2014 18:53:12 +0000 (21:53 +0300)
committerMikko Ylinen <mikko.ylinen@intel.com>
Fri, 26 Sep 2014 12:57:56 +0000 (15:57 +0300)
A separate service API is needed by GENIVI compliance. This patch
enables it. However, install it to a separate plugins library.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
packaging/bluez.spec

index e251d9d..4f70d2a 100644 (file)
@@ -60,6 +60,14 @@ Group:          Network & Connectivity/Bluetooth
 %description -n libbluetooth
 Bluetooth protocol stack libraries.
 
+%package -n libbluetooth-plugins-service
+Summary:        Bluetooth Plugins
+License:        GPL-2.0+
+Group:          Network & Connectivity/Bluetooth
+
+%description -n libbluetooth-plugins-service
+Bluetooth protocol stack plugins.
+
 %package cups
 Summary:        CUPS Driver for Bluetooth Printers
 License:        GPL-2.0+
@@ -105,6 +113,7 @@ export CFLAGS="${CFLAGS} -D__TIZEN_PATCH__ -D__BROADCOM_PATCH__"
             --enable-library   \
             --enable-experimental      \
             --enable-readline  \
+            --enable-service \
             --with-systemdunitdir=%{_unitdir}  \
             %{?with_libcapng}
 make %{?_smp_mflags} all V=1
@@ -145,6 +154,10 @@ install -D -m 0755 tools/obexctl %{buildroot}%{_bindir}/obexctl
 
 %postun -n libbluetooth -p /sbin/ldconfig
 
+%post -n libbluetooth-plugins-service -p /sbin/ldconfig
+
+%postun -n libbluetooth-plugins-service -p /sbin/ldconfig
+
 %files
 %manifest %{name}.manifest
 %defattr(-, root, root)
@@ -181,6 +194,13 @@ install -D -m 0755 tools/obexctl %{buildroot}%{_bindir}/obexctl
 %manifest %{name}.manifest
 %defattr(-, root, root)
 %{_libdir}/libbluetooth.so.*
+%{_libdir}/bluetooth/plugins/*.so
+%license COPYING
+
+%files -n libbluetooth-plugins-service
+%manifest %{name}.manifest
+%defattr(-, root, root)
+%{_libdir}/bluetooth/plugins/*.so
 %license COPYING
 
 %files cups