add: neohtop-cli (#10908) (#13089)

This commit is contained in:
Raboneko
2026-06-15 00:58:12 -05:00
committed by GitHub
parent b7b30a9b17
commit 4ee602a28b
8 changed files with 50 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "neohtop-cli.spec"
}
}
@@ -0,0 +1,44 @@
%define debug_package %{nil}
%global goipath github.com/abdenasser/neohtop-cli
Version: 0.1.12
%gometa -f
Name: neohtop-cli
Release: 1%{?dist}
Summary: A cross-platform terminal process monitor with btop-style visualizations
License: MIT
URL: https://github.com/Abdenasser/neohtop-cli
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
Packager: Owen Zimmerman <owen@fyralabs.com>
BuildRequires: go-rpm-macros
%description
%summary.
%gopkg
%prep
%autosetup
%build
%define gomodulesmode GO111MODULE=on
pushd cli
%gobuild -o %{gobuilddir}/../neohtop-cli %{goipath}/
popd
%install
install -Dm 0755 cli/neohtop-cli %{buildroot}%{_bindir}/neohtop-cli
%files
%doc README.md CONTRIBUTING.md
%license LICENSE
%{_bindir}/neohtop-cli
%changelog
* Sun Jun 14 2026 Owen Zimmerman <owen@fyralabs.com>
- Use go packaging
* Sun Mar 29 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
@@ -0,0 +1 @@
rpm.version(gh("Abdenasser/neohtop-cli"));