add: neohtop-cli (#10908)

* add: neohtop-cli

Signed-off-by: Owen-sz <owen@fyralabs.com>

* install manually

Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>

* this

Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>

* chore: use go packaging

Signed-off-by: Owen-sz <owen@fyralabs.com>

---------

Signed-off-by: Owen-sz <owen@fyralabs.com>
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Owen Zimmerman
2026-06-15 00:30:43 -05:00
committed by GitHub
parent 595730eea5
commit cae524eb5e
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"));