[packages/lazygit] new
atler
atler at pld-linux.org
Fri Dec 26 20:02:23 CET 2025
commit 77357dff225b66df5718a090f20b1304f540dd28
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Dec 26 17:52:22 2025 +0100
new
lazygit.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
---
diff --git a/lazygit.spec b/lazygit.spec
new file mode 100644
index 0000000..0fec1fa
--- /dev/null
+++ b/lazygit.spec
@@ -0,0 +1,44 @@
+Summary: Simple terminal UI for git commands
+Name: lazygit
+Version: 0.57.0
+Release: 1
+License: MIT
+Group: Development/Tools
+#Source0Download: https://github.com/lazygit/lazygit/releases
+Source0: https://github.com/jesseduffield/lazygit/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 3d80f8a6991f0426f8a7730ee65c4569
+URL: https://github.com/jesseduffield/lazygit
+BuildRequires: golang >= 1.25.0
+BuildRequires: rpmbuild(macros) >= 2.009
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+ExclusiveArch: %go_arches
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%undefine _debugsource_packages
+
+%description
+Simple terminal UI for git commands.
+
+%prep
+%setup -q
+
+%{__mkdir_p} .go-cache
+
+%build
+%__go build -v -mod=vendor -o bin/lazygit
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+cp -p bin/lazygit $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%attr(755,root,root) %{_bindir}/lazygit
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lazygit.git/commitdiff/77357dff225b66df5718a090f20b1304f540dd28
More information about the pld-cvs-commit
mailing list