Files
packages/anda/langs/go/prs/golang-github-dhth-prs.spec
T
madonuko cf1bea9c36 chore(sync): frawhide -> el10
anda/desktops/waylands anda/devs/ anda/langs/ anda/lib/astal anda/tools
2025-08-29 03:10:59 +08:00

52 lines
1.1 KiB
RPMSpec

# Generated by go2rpm 1.15.0
# https://github.com/dhth/prs
%global goipath github.com/dhth/prs
Version: 1.0.0
%gometa -f
%global common_description %{expand:
Stay updated on PRs from your terminal.}
%global golicenses LICENSE
%global godocs README.md ui/assets/help.md
Name: golang-github-dhth-prs
Release: 2%?dist
Summary: Stay updated on PRs from your terminal
License: MIT
URL: %{gourl}
Source: %{gosource}
BuildRequires: anda-srpm-macros
BuildRequires: git-core
Packager: sadlerm <lerm@chromebooks.lol>
%description %{common_description}
%gopkg
%prep
%git_clone https://%{goipath} v%{version}
%goprep -A
%build
%define gomodulesmode GO111MODULE=on
%gobuild -o %{_builddir}/bin/prs .
%install
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{_builddir}/bin/* %{buildroot}%{_bindir}/
%files
%license LICENSE
%doc README.md ui/assets/help.md
%{_bindir}/prs
%changelog
* Sun Feb 9 2025 sadlerm <lerm@chromebooks.lol>
- Initial package