%global tag v%{version} %global debug_package %{nil} Name: bluetuith Version: 0.2.6 Release: %autorelease Summary: TUI-based Bluetooth connection manager License: MIT URL: https://github.com/bluetuith-org/bluetuith Source0: %{url}/archive/refs/tags/%{tag}.tar.gz BuildRequires: golang >= 1.22 BuildRequires: pkgconfig(dbus-1) Requires: bluez %description bluetuith is a TUI-based Bluetooth connection manager, which can interact with Bluetooth adapters and devices. It aims to be a replacement for bluetoothctl. %prep %autosetup %build go build -v -o bluetuith -ldflags "-X main.Version=%{version}" . %install install -Dpm 0755 bluetuith %{buildroot}%{_bindir}/bluetuith %files %license LICENSE %{_bindir}/bluetuith %changelog %autochangelog