5.79
Some checks failed
Run CI/CD... / main (push) Failing after 5m7s

This commit is contained in:
Your Name 2025-02-28 13:14:29 +00:00
parent ba28578ef9
commit 0f643f74b4

View file

@ -1,7 +1,8 @@
%define major 3
%define libname %mklibname %{name} %{major}
%define devname %mklibname %{name} -d
%define mesh 0
%define with_mesh 1
%global _compress xz -0f
Summary: Official Linux Bluetooth protocol stack
Name: bluez
@ -73,22 +74,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/bluetoothctl*
%{_mandir}/man1/btattach.1*
%{_mandir}/man1/ciptool.1*
%{_mandir}/man1/hciattach.1*
%{_mandir}/man1/hciconfig.1*
%{_mandir}/man1/hcitool.1*
%{_mandir}/man1/hcidump.1*
%{_mandir}/man1/l2ping.1*
%{_mandir}/man1/rctest.1*
%{_mandir}/man1/rfcomm.1*
%{_mandir}/man1/sdptool.1*
%{_mandir}/man1/btmon.1*
%{_mandir}/man1/btmgmt.1*
%{_mandir}/man5/*
%{_mandir}/man8/*
%config(noreplace) %{_sysconfdir}/sysconfig/*
#config(noreplace) %{_sysconfdir}/dbus-1/system.d/*.conf
%config(noreplace) %{_sysconfdir}/bluetooth
@ -102,6 +88,7 @@ These are the official Bluetooth communication libraries for Linux.
#{_libdir}/bluetooth/plugins/sixaxis.so
%{_udevrulesdir}/97-bluetooth.rules
%{_userunitdir}/dbus-org.bluez.obex.service
%{_userunitdir}/mpris-proxy.service
%post
%systemd_post bluetooth.service
@ -181,14 +168,13 @@ and mouse.
%files hid2hci
/lib/udev/hid2hci
%{_mandir}/man1/hid2hci.1*
%{_udevrulesdir}/97-hid2hci.rules
%post hid2hci
%{_bindir}/udevadm trigger --subsystem-match=usb
#----------------------------------------------------------------------------
%if %{mesh}
%if %{with_mesh}
%package mesh
Summary: Bluetooth MESH
@ -203,6 +189,7 @@ Bluetooth MESH
%{_bindir}/meshctl
%{_libdir}/bluetooth/bluetooth-meshd
%{_datadir}/dbus-1/system-services/org.bluez.mesh.service
%endif
#----------------------------------------------------------------------------
@ -223,6 +210,38 @@ BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
%{_bindir}/rctest
%{_bindir}/test-*
%{_bindir}/isotest
#----------------------------------------------------------------------------
%package docs
Summary: Docs Bluetooth
Group: System/Servers
%description docs
Docs Bluethooth
%files docs
#{_mandir}/man1/bccmd.1*
%{_mandir}/man1/bluetoothctl*
%{_mandir}/man1/btattach.1*
%{_mandir}/man1/ciptool.1*
%{_mandir}/man1/hciattach.1*
%{_mandir}/man1/hciconfig.1*
%{_mandir}/man1/hcitool.1*
%{_mandir}/man1/hcidump.1*
%{_mandir}/man1/l2ping.1*
%{_mandir}/man1/rctest.1*
%{_mandir}/man1/rfcomm.1*
%{_mandir}/man1/sdptool.1*
%{_mandir}/man1/btmon.1*
%{_mandir}/man1/btmgmt.1*
%{_mandir}/man5/*
%{_mandir}/man7/hci.7*
%{_mandir}/man7/l2cap.7*
%{_mandir}/man7/rfcomm.7*
%{_mandir}/man8/*
%{_mandir}/man1/hid2hci.1*
%{_mandir}/man1/isotest.1*
#----------------------------------------------------------------------------
@ -266,9 +285,13 @@ autoreconf -fi
--enable-hid \
--enable-hog \
--enable-experimental \
--enable-deprecated \
--disable-deprecated \
--enable-testing \
%if %{with_mesh}
--enable-mesh \
%else
--disable-mesh \
%endif
--enable-manpages
%make