From: Mikko Ylinen Date: Tue, 23 Sep 2014 18:53:12 +0000 (+0300) Subject: Enable GENIVI service plugin API X-Git-Tag: accepted/tizen/common/20140930.092521^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_3.0.2014.q3_common;p=platform%2Fupstream%2Fbluez.git Enable GENIVI service plugin API 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 --- diff --git a/packaging/bluez.spec b/packaging/bluez.spec index e251d9d..4f70d2a 100644 --- a/packaging/bluez.spec +++ b/packaging/bluez.spec @@ -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