diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-22 08:24:10 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-22 08:24:10 +0000 |
| commit | b8b01e5b500901af1dd94dc7a857ea1f770cb2f7 (patch) | |
| tree | d50f44934609eae1e06d748d443fa4d7d97074b2 | |
| parent | 542548ce8ffee4c75a14e93d82fc4efaf4e52af4 (diff) | |
automatic import of bluetooth
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | bluetooth.spec | 91 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 93 insertions, 0 deletions
@@ -0,0 +1 @@ +/bluetooth-5.87.tar.gz diff --git a/bluetooth.spec b/bluetooth.spec new file mode 100644 index 0000000..a668b43 --- /dev/null +++ b/bluetooth.spec @@ -0,0 +1,91 @@ +# 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 <builder@openeuler.org> + +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 <builder@openeuler.org> +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 <builder@openeuler.org> - 5.87-1 +- Initial package @@ -0,0 +1 @@ +09a7dae65e0d6b7ad78e32eaa3dbf388 bluetooth-5.87.tar.gz |
