# Generated by go2rpm 1.19.0 %bcond check 0 # https://github.com/jesseduffield/lazygit %global goipath github.com/jesseduffield/lazygit Version: 0.60.0 %gometa -L -f Name: lazygit Release: 1%{?dist} Summary: Simple terminal UI for git commands # Generated by go-vendor-tools License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND Unlicense URL: %{gourl} Source0: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml BuildRequires: go-vendor-tools %description Simple terminal UI for git commands. %prep %goprep -p1 tar -xf %{S:1} %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build %global gomodulesmode GO111MODULE=on for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %gobuild -o %{gobuilddir}/bin/lazygit %{goipath} for cmd in pkg/cheatsheet pkg/integration/clients/injector pkg/integration/components pkg/jsonschema; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %go_vendor_license_install -c %{S:2} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/lazygit %{buildroot}%{_bindir}/ %check %go_vendor_license_check -c %{S:2} %if %{with check} %gotest ./... %endif %files -f %{go_vendor_license_filelist} %doc docs CODE-OF-CONDUCT.md CONTRIBUTING.md README.md VISION.md demo/README.md %doc docs-master/Config.md docs-master/Custom_Command_Keybindings.md %doc docs-master/Custom_Pagers.md docs-master/Fixup_Commits.md %doc docs-master/README.md docs-master/Range_Select.md docs-master/Searching.md %doc docs-master/Stacked_Branches.md docs-master/Undoing.md %doc docs-master/dev/Busy.md docs-master/dev/Codebase_Guide.md %doc docs-master/dev/Demo_Recordings.md %doc docs-master/dev/Find_Base_Commit_For_Fixup_Design.md %doc docs-master/dev/Integration_Tests.md docs-master/dev/Profiling.md %doc docs-master/dev/README.md docs-master/keybindings/Custom_Keybindings.md %doc docs-master/keybindings/Keybindings_en.md %doc docs-master/keybindings/Keybindings_ja.md %doc docs-master/keybindings/Keybindings_ko.md %doc docs-master/keybindings/Keybindings_nl.md %doc docs-master/keybindings/Keybindings_pl.md %doc docs-master/keybindings/Keybindings_pt.md %doc docs-master/keybindings/Keybindings_ru.md %doc docs-master/keybindings/Keybindings_zh-CN.md %doc docs-master/keybindings/Keybindings_zh-TW.md pkg/gui/filetree/README.md %doc pkg/gui/presentation/authors/authors.go %doc pkg/gui/presentation/authors/authors_test.go %doc pkg/i18n/translations/README.md pkg/integration/README.md %{_bindir}/lazygit %changelog * Sun Mar 15 2026 Juraj Marcin - 0.60.0-1 - Update to 0.60.0