diff --git a/bluez-5.69.tar.xz b/bluez-5.69.tar.xz deleted file mode 100644 index 469e51fd6d1a3c46d6bdf5e8ec2a4337a9e8a508..0000000000000000000000000000000000000000 Binary files a/bluez-5.69.tar.xz and /dev/null differ diff --git a/bluez-5.71.tar.xz b/bluez-5.71.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..5554c90a1f03b6bbcc780784dc84e50d31a84c75 Binary files /dev/null and b/bluez-5.71.tar.xz differ diff --git a/bluez.spec b/bluez.spec index 9980be00484b6c732da7c34e22d5500f36559105..55c3900d42ecf7fed15f7c29221c3a9255171713 100644 --- a/bluez.spec +++ b/bluez.spec @@ -2,7 +2,7 @@ %bcond_with deprecated Name: bluez -Version: 5.69 +Version: 5.71 Release: %{anolis_release}%{?dist} Summary: Bluetooth utilities License: GPLv2+ @@ -81,6 +81,7 @@ Libraries for use in Bluetooth applications. %package libs-devel Summary: Development libraries for Bluetooth applications Requires: bluez-libs = %{EVR} +Conflicts: bluez < 5.71-1 %description libs-devel bluez-libs-devel provides development libraries and headers for @@ -139,6 +140,7 @@ Doc files for Bluetooth applications %build %configure --enable-tools \ --enable-library \ + --enable-external-ell \ --disable-optimization \ --enable-sixaxis \ --enable-cups \ @@ -146,6 +148,11 @@ Doc files for Bluetooth applications --enable-mesh \ --enable-hid2hci \ --enable-testing \ + --enable-experimental \ + --enable-bap \ + --enable-bass \ + --enable-mcp \ + --enable-micp \ %if %{with deprecated} --enable-deprecated \ %endif @@ -179,6 +186,9 @@ mkdir -p %{buildroot}/%{_libdir}/bluetooth/ mkdir -p %{buildroot}%{_sysconfdir}/bluetooth install -p -m0644 src/main.conf %{buildroot}%{_sysconfdir}/bluetooth/main.conf install -p -m0644 mesh/mesh-main.conf %{buildroot}%{_sysconfdir}/bluetooth/mesh-main.conf +install -D -p -m0644 profiles/input/input.conf %{buildroot}/etc/bluetooth/input.conf +install -D -p -m0644 profiles/network/network.conf %{buildroot}/etc/bluetooth/network.conf + sed -i 's/#\[Policy\]$/\[Policy\]/; s/#AutoEnable=false/AutoEnable=true/' %{buildroot}/%{_sysconfdir}/bluetooth/main.conf install emulator/btvirt %{buildroot}/%{_libexecdir}/bluetooth/ @@ -211,8 +221,10 @@ install emulator/btvirt %{buildroot}/%{_libexecdir}/bluetooth/ %systemd_user_preun obex.service %files -%dir %{_sysconfdir}/bluetooth +%attr(0555, root, root) %dir %{_sysconfdir}/bluetooth %config(noreplace) %{_sysconfdir}/bluetooth/main.conf +%config(noreplace) %{_sysconfdir}/bluetooth/input.conf +%config(noreplace) %{_sysconfdir}/bluetooth/network.conf %{_bindir}/avinfo %{_bindir}/bluemoon %{_bindir}/bluetoothctl @@ -221,26 +233,22 @@ install emulator/btvirt %{buildroot}/%{_libexecdir}/bluetooth/ %{_bindir}/btmon %{_bindir}/hex2hcd %{_bindir}/l2ping -%{_bindir}/l2test %{_bindir}/mpris-proxy -%{_bindir}/rctest %dir %{_libexecdir}/bluetooth %{_libexecdir}/bluetooth/bluetoothd %{_libdir}/bluetooth/ -%{_localstatedir}/lib/bluetooth +%attr(0700, root, root) %dir %{_localstatedir}/lib/bluetooth +%dir %{_localstatedir}/lib/bluetooth/mesh %{_datadir}/dbus-1/system.d/bluetooth.conf %{_datadir}/dbus-1/system-services/org.bluez.service %{_datadir}/zsh/site-functions/_bluetoothctl %{_unitdir}/bluetooth.service - -%{_mandir}/man1/bluetoothctl-mgmt.1.* -%{_mandir}/man1/bluetoothctl-monitor.1.* +%{_mandir}/man1/bluetoothctl-*.1.* %{_mandir}/man1/btmgmt.1.* %{_mandir}/man1/btattach.1.* %{_mandir}/man1/btmon.1.* %{_mandir}/man1/l2ping.1.* -%{_mandir}/man1/rctest.1.* %{_mandir}/man8/bluetoothd.8.* %license COPYING @@ -271,7 +279,11 @@ install emulator/btvirt %{buildroot}/%{_libexecdir}/bluetooth/ %files libs-devel %{_bindir}/isotest +%{_bindir}/l2test +%{_bindir}/rctest %{_mandir}/man1/isotest.1.* +%{_mandir}/man1/rctest.1.* +%{_mandir}/man5/org.bluez.*.5.* %{_libdir}/libbluetooth.so %{_includedir}/bluetooth %{_libdir}/pkgconfig/bluez.pc @@ -307,6 +319,10 @@ install emulator/btvirt %{buildroot}/%{_libexecdir}/bluetooth/ %doc ChangeLog AUTHORS %changelog +* Mon Dec 18 2023 Funda Wang - 5.71-1 +- New version 5.71 +- Install default input.conf/network.conf + * Sat Aug 26 2023 Funda Wang - 5.69-1 - New version 5.69