diff --git a/anda/apps/ttop/anda.hcl b/anda/apps/ttop/anda.hcl new file mode 100644 index 0000000000..b10fdcce8a --- /dev/null +++ b/anda/apps/ttop/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "ttop.spec" + } +} diff --git a/anda/apps/ttop/ttop.spec b/anda/apps/ttop/ttop.spec new file mode 100644 index 0000000000..e1fd92a9b0 --- /dev/null +++ b/anda/apps/ttop/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 + +%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 +- Initial commit diff --git a/anda/apps/ttop/update.rhai b/anda/apps/ttop/update.rhai new file mode 100644 index 0000000000..b36ff56cdb --- /dev/null +++ b/anda/apps/ttop/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("inv2004/ttop"));