# topdir: bluetooth-5.87 (from --transform tar) Name: bluetooth Version: 5.87 Release: 1%{?dist} Summary: BlueZ Bluetooth protocol stack library for Linux License: GPL-2.0 URL: https://github.com/bluez/bluez Source0: https://mirrors.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz Group: Development/Libraries Packager: openEuler Builder BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: gcc BuildRequires: make BuildRequires: pkgconfig BuildRequires: glib2-devel BuildRequires: dbus-devel %description BlueZ is the official Linux Bluetooth protocol stack. This package provides the Bluetooth library (libbluetooth) used by applications that interface with Bluetooth devices. %package devel Summary: Development files for %{name} Group: Development/Libraries Packager: openEuler Builder Requires: %{name} = %{version}-%{release} Provides: bluez-libs-devel = %{version}-%{release} %description devel Header files and development libraries for the BlueZ Bluetooth library. %prep %autosetup -n %{name}-%{version} # Generate configure script from autotools (git clone has no pre-generated configure) ./bootstrap %build %configure \ --enable-library \ --disable-udev \ --disable-obex \ --disable-tools \ --disable-monitor \ --disable-client \ --disable-cups \ --disable-a2dp \ --disable-avrcp \ --disable-network \ --disable-hid \ --disable-hog \ --disable-bap \ --disable-bass \ --disable-mcp \ --disable-ccp \ --disable-vcp \ --disable-micp \ --disable-csip \ --disable-tmap \ --disable-gmap \ --disable-asha \ --disable-hfp # Build only the bluetooth library target, avoiding the daemon and tools # which would pull in additional dependencies not needed for the library %make_build lib/libbluetooth.la %install # Install only the library, headers, and pkgconfig file %make_install install-libLTLIBRARIES install-pkgincludeHEADERS install-pkgconfigDATA # Remove libtool archive files find %{buildroot} -name '*.la' -delete %files %license COPYING COPYING.LIB %{_libdir}/libbluetooth.so.* %files devel %{_includedir}/bluetooth/ %{_libdir}/libbluetooth.so %{_libdir}/pkgconfig/bluez.pc %changelog * Thu Oct 22 2026 openEuler Builder - 5.87-1 - Initial package