From: Jonghwa Lee Date: Fri, 25 Nov 2022 06:03:11 +0000 (+0900) Subject: Separate bluez-test package into tests and tools X-Git-Tag: accepted/tizen/7.0/unified/20221130.171517^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03ae3f2b7bba1bdc572701b432768cb9b121b310;p=platform%2Fupstream%2Fbluez.git Separate bluez-test package into tests and tools Currently, bluez-test package contains both test programs and bluez's configuration tools. Because of test scripts in the pacakge, it has a dependancy to 'dbus-python' which is not neeeded for other tools in the same package. By separating of tools from the package, it can become more deployable. Change-Id: Id2edb654e2c963a1ba5fc2248acace8d32a732e9 Signed-off-by: Jonghwa Lee --- diff --git a/packaging/bluez.spec b/packaging/bluez.spec index 933e669..d23bbb0 100755 --- a/packaging/bluez.spec +++ b/packaging/bluez.spec @@ -97,6 +97,19 @@ Requires: python-gobject Contains a few tools for testing various bluetooth functions. The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A. + +%package tools +Summary: Bluez configuration tools +License: GPL-2.0+ +Group: Development/Tools + +%description tools +# !!! WARNING !!! +# Using any tool in this package results direct access to bluez stack, +# so the result of the tool won't be applied to Tizen system properly. +# Recommend to use it cautiously and only in development phase. +Bluez tools to manipulate bluetooth devices and configuartion. + %package profile_common Summary: Modified bluez for mobile/common profile Provides: %{name}-compat = %{version}-%{release} @@ -516,6 +529,15 @@ popd #%{_bindir}/obex-root-setup #%{_bindir}/obex.sh +%files tools +%{_bindir}/bluetoothctl +%{_bindir}/btmgmt +%{_bindir}/gatttool +%{_bindir}/bluemoon +%{_bindir}/hex2hcd +%{_bindir}/meshctl +%{_bindir}/mesh-cfgclient +%{_bindir}/bluetooth-player %files test %manifest %{name}.manifest @@ -523,17 +545,9 @@ popd %{_libdir}/bluez/test/* %{_bindir}/l2test %{_bindir}/rctest -%{_bindir}/bluetoothctl -%{_bindir}/meshctl -%{_bindir}/mesh-cfgclient %{_bindir}/btiotest #%{_bindir}/mpris-player -%{_bindir}/bluetooth-player -%{_bindir}/btmgmt %{_bindir}/scotest -%{_bindir}/bluemoon -%{_bindir}/gatttool -%{_bindir}/hex2hcd %{_bindir}/avtest #%{_bindir}/btattach %exclude /usr/lib/debug/*