From 4812fc62917d1e79170069bf89ee6806c097c6ed Mon Sep 17 00:00:00 2001 From: Sergey Zhemoitel Date: Sat, 13 Mar 2021 15:18:34 +0300 Subject: [PATCH] add MESH package, off bccmd --- bluez.spec | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/bluez.spec b/bluez.spec index 6b405d9..a808e0e 100644 --- a/bluez.spec +++ b/bluez.spec @@ -9,7 +9,7 @@ Release: 1 Epoch: 1 License: GPLv2+ Group: Communications -Url: http://www.bluez.org/ +URL: http://www.bluez.org Source0: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz Source1: pand.conf Source2: dund.conf @@ -43,6 +43,7 @@ BuildRequires: pkgconfig(libusb) BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) >= 186 +BuildRequires: pkgconfig(json-c) >= 0.13 Obsoletes: bluez-alsa < 5.0 Obsoletes: bluez-gstreamer < 5.0 @@ -51,7 +52,7 @@ These are the official Bluetooth communication libraries for Linux. %files %{_bindir}/ciptool -%{_bindir}/bccmd +#{_bindir}/bccmd %{_bindir}/bluemoon %{_bindir}/bluetoothctl %{_bindir}/btattach @@ -70,7 +71,7 @@ These are the official Bluetooth communication libraries for Linux. %{_unitdir}/bluetooth.service %{_unitdir}/dbus-org.bluez.service %{_userunitdir}/obex.service -%{_mandir}/man1/bccmd.1* +#{_mandir}/man1/bccmd.1* %{_mandir}/man1/btattach.1* %{_mandir}/man1/ciptool.1* %{_mandir}/man1/hciattach.1* @@ -180,6 +181,22 @@ and mouse. #---------------------------------------------------------------------------- +%package mesh +Summary: Bluetooth MESH +Group: Communications + +%description mesh +Bluetooth MESH + +%files mesh +%{_unitdir}/bluetooth-mesh.service +%{_bindir}/mesh-cfgclient +%{_bindir}/meshctl +%{_libdir}/bluetooth/bluetooth-meshd +%{_datadir}/dbus-1/system-services/org.bluez.mesh.service + +#---------------------------------------------------------------------------- + %package test Summary: Tools for testing of various Bluetooth-functions Group: System/Servers @@ -229,7 +246,17 @@ autoreconf -fi --enable-sixaxis \ --enable-experimental \ --enable-deprecated \ - --enable-testing + --enable-testing \ + --enable-nfc \ + --enable-sap \ + --enable-a2dp \ + --enable-health \ + --enable-mesh \ + --enable-midi \ + --enable-avrcp \ + --enable-network \ + --enable-hid \ + --enable-hog %make