From 37ff3d5a12d3a19b91792e8169fda91fa35c43e0 Mon Sep 17 00:00:00 2001 From: Jonghwa Lee Date: Fri, 25 Nov 2022 15:03:11 +0900 Subject: [PATCH] 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 --- packaging/bluez.spec | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/packaging/bluez.spec b/packaging/bluez.spec index 193160b..523170d 100755 --- a/packaging/bluez.spec +++ b/packaging/bluez.spec @@ -97,6 +97,18 @@ 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} @@ -531,23 +543,25 @@ 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 %defattr(-,root,root) %{_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}/isotest %{_bindir}/avtest #%{_bindir}/btattach -- 2.7.4