summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Ylinen <mikko.ylinen@intel.com>2014-09-23 21:53:12 +0300
committerMikko Ylinen <mikko.ylinen@intel.com>2014-09-26 15:57:56 +0300
commitabb9a439baaaa9cd6f91ba5af8c6e426cdc8ff8e (patch)
tree0d99b46dec087a84c70c46110b5fee565be44e3b
parentfd98f8eec102c01ea1fffccf7f520a5eaf2153e0 (diff)
downloadbluez-tizen_3.0.m14.3_ivi_release.tar.gz
bluez-tizen_3.0.m14.3_ivi_release.tar.bz2
bluez-tizen_3.0.m14.3_ivi_release.zip
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>
-rw-r--r--packaging/bluez.spec20
1 files changed, 20 insertions, 0 deletions
diff --git a/packaging/bluez.spec b/packaging/bluez.spec
index e251d9de..4f70d2ad 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