summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonghwa Lee <jonghwa3.lee@samsung.com>2022-11-25 15:03:11 +0900
committerJonghwa Lee <jonghwa3.lee@samsung.com>2022-11-28 15:15:06 +0900
commit03ae3f2b7bba1bdc572701b432768cb9b121b310 (patch)
treedc8f8b06f688044741d67d14a435d0f1a040df1a
parentf67b3dd3a47992e33b8a02f6323f8123a340031b (diff)
downloadbluez-03ae3f2b7bba1bdc572701b432768cb9b121b310.tar.gz
bluez-03ae3f2b7bba1bdc572701b432768cb9b121b310.tar.bz2
bluez-03ae3f2b7bba1bdc572701b432768cb9b121b310.zip
Separate bluez-test package into tests and toolsaccepted/tizen/7.0/unified/20221130.171517
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 <jonghwa3.lee@samsung.com>
-rwxr-xr-xpackaging/bluez.spec30
1 files changed, 22 insertions, 8 deletions
diff --git a/packaging/bluez.spec b/packaging/bluez.spec
index 933e6694..d23bbb0d 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/*