%global package_version 0.4.0 %global goipath github.com/rshelekhov/lazymake %define _build_id_links none %define debug_package %{nil} Name: lazymake Version: %{package_version} Release: 1%{?dist} Summary: A terminal UI for browsing and running Makefile targets License: MIT URL: https://github.com/rshelekhov/lazymake Source0: %{URL}/archive/refs/tags/v%{package_version}.tar.gz#/%{name}-%{package_version}.tar.gz BuildRequires: golang >= 1.19 BuildRequires: make BuildRequires: git-core BuildRequires: go-rpm-macros %description Modern TUI for Makefiles with interactive target selection, dependency visualization, and command safety analysis. %prep %autosetup -n %{name}-%{package_version} %build %make_build build %install install -Dpm 0755 %{name} %{buildroot}%{_bindir}/%{name} %files %license LICENSE %doc README.md %{_bindir}/%{name} %changelog %autochangelog