add MESH package, off bccmd

This commit is contained in:
Sergey Zhemoitel 2021-03-13 15:18:34 +03:00
parent acf71f16ca
commit 4812fc6291

View file

@ -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