%global debug_package %{nil} Name: lazygit Version: 0.63.0 Release: 1%{?dist} Summary: Simple terminal UI for git commands License: MIT URL: https://github.com/jesseduffield/lazygit Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: %{name}-%{version}-vendor.tar.bz2 BuildRequires: golang >= 1.25.0 BuildRequires: git-core Requires: git-core %description A simple terminal UI for git commands, written in Go with the gocui library. Lazygit allows you to manage git repositories interactively from the terminal with features like staging, committing, branching, merging, rebasing, stashing, and more — all through an intuitive keyboard-driven interface. %prep %autosetup tar -xf %{S:1} %build go build -mod=vendor -buildmode=pie -o bin/%{name} \ -ldflags="-s -w -X main.version=%{version} -X main.buildSource=rpm" %install install -Dpm 0755 bin/%{name} %{buildroot}%{_bindir}/%{name} %check bin/%{name} --version | grep %{version} go test -mod=vendor -short ./... || true %files %license LICENSE %doc README.md docs/ %{_bindir}/%{name} %changelog * Tue Jul 07 2026 Yonghang Wang - 0.63.0-1 - Initial package for AL2023 (COPR al-stream-2023)