File gh-dash.spec of Package gh-dash
Name: gh-dash
Version: 4.20.0
Release: 0
Summary: A rich terminal UI for GitHub that doesn't break your flow.
License: BSD-3-Clause
Group: Productivity/Networking/Other
URL: https://www.gh-dash.dev/
Source: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
BuildRequires: go
BuildRequires: golang-packaging
BuildRequires: zstd
%description
If you like quickly navigating with your keyboard, seeing the PRs and
issues you need and you love the terminal - DASH is for you!
User-defined, per-repo, PRs & issues sections
Overridable vim-style keyboard hotkeys
Custom actions to perform your specific workflow needs
Everything you can do on GitHub - diff, comment, checkout, push, update etc.
Control every setting with a YAML config file
%prep
%autosetup -p1 -a1
%build
go build \
-mod=vendor \
-buildmode=pie \
-ldflags "-s -w"
%install
install -D -m0755 %{name} %{buildroot}%{_bindir}/%{name}
%files
%license LICENSE.txt
%doc README.md
%{_bindir}/gh-dash
%changelog