From 3cf0d4fde64c29cc72ef44bb42a7200223b424bf Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Thu, 26 Feb 2026 12:02:46 -0800 Subject: [PATCH] add: termflix (#10099) (#10117) * add: termflix * builder has this --------- (cherry picked from commit 3cd9212185fe03b4dd75a405c85fb05027c9d3f6) Signed-off-by: Owen-sz Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/tools/termflix/anda.hcl | 5 +++++ anda/tools/termflix/termflix.spec | 35 +++++++++++++++++++++++++++++++ anda/tools/termflix/update.rhai | 1 + 3 files changed, 41 insertions(+) create mode 100644 anda/tools/termflix/anda.hcl create mode 100644 anda/tools/termflix/termflix.spec create mode 100644 anda/tools/termflix/update.rhai diff --git a/anda/tools/termflix/anda.hcl b/anda/tools/termflix/anda.hcl new file mode 100644 index 0000000000..54414b31bf --- /dev/null +++ b/anda/tools/termflix/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "termflix.spec" + } +} diff --git a/anda/tools/termflix/termflix.spec b/anda/tools/termflix/termflix.spec new file mode 100644 index 0000000000..e0efce11c1 --- /dev/null +++ b/anda/tools/termflix/termflix.spec @@ -0,0 +1,35 @@ +Name: termflix +Version: 0.4.1 +Release: 1%?dist +Summary: Terminal animation player with 43 procedurally generated animations, multiple render modes, and true color support + +License: MIT AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND MPL-2.0 +URL: https://github.com/paulrobello/termflix +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz + +BuildRequires: cargo-rpm-macros >= 24 + +Packager: Owen Zimmerman + +%description +%{summary}. + +%prep +%autosetup -n %{name}-%{version} +%cargo_prep_online + +%build +%cargo_build +%{cargo_license_online} > LICENSE.dependencies + +%install +install -Dm 755 target/rpm/%{name} -t %{buildroot}%{_bindir} + +%files +%doc README.md +%license LICENSE LICENSE.dependencies +%{_bindir}/%{name} + +%changelog +* Thu Feb 26 2026 Owen Zimmerman +- Initial commit diff --git a/anda/tools/termflix/update.rhai b/anda/tools/termflix/update.rhai new file mode 100644 index 0000000000..f4d53a76bc --- /dev/null +++ b/anda/tools/termflix/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("termflix"));