mirror of
https://github.com/terrapkg/packages.git
synced 2026-07-01 15:58:28 +00:00
* add: ttop
* funny
---------
(cherry picked from commit 4741944931)
Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "ttop.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
Name: ttop
|
||||
Version: 1.5.7
|
||||
Release: 1%?dist
|
||||
Summary: System monitoring tool with historical data service, triggers and top-like TUI
|
||||
License: MIT
|
||||
URL: https://github.com/inv2004/ttop
|
||||
Source0: %url/archive/refs/tags/v%version.tar.gz
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: nim
|
||||
|
||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%autosetup -n ttop-%version
|
||||
%nim_prep
|
||||
|
||||
%build
|
||||
%nim_c src/ttop
|
||||
|
||||
%install
|
||||
install -Dm755 src/ttop.out %{buildroot}%{_bindir}/ttop
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/ttop
|
||||
|
||||
%changelog
|
||||
* Sun Jan 04 2026 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Initial commit
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("inv2004/ttop"));
|
||||
Reference in New Issue
Block a user