From d2cd238fdfe53a3ec7f40bcd3032b942f71fe334 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 1 May 2026 13:16:00 -0500 Subject: [PATCH] add: kittyCAD-cli (#11792) (#11795) --- anda/tools/kittyCAD-cli/anda.hcl | 5 +++ anda/tools/kittyCAD-cli/kittyCAD-cli.spec | 37 +++++++++++++++++++++++ anda/tools/kittyCAD-cli/update.rhai | 1 + 3 files changed, 43 insertions(+) create mode 100644 anda/tools/kittyCAD-cli/anda.hcl create mode 100644 anda/tools/kittyCAD-cli/kittyCAD-cli.spec create mode 100644 anda/tools/kittyCAD-cli/update.rhai diff --git a/anda/tools/kittyCAD-cli/anda.hcl b/anda/tools/kittyCAD-cli/anda.hcl new file mode 100644 index 0000000000..ffb9e0800d --- /dev/null +++ b/anda/tools/kittyCAD-cli/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "kittyCAD-cli.spec" + } +} diff --git a/anda/tools/kittyCAD-cli/kittyCAD-cli.spec b/anda/tools/kittyCAD-cli/kittyCAD-cli.spec new file mode 100644 index 0000000000..fbd0fcb4ed --- /dev/null +++ b/anda/tools/kittyCAD-cli/kittyCAD-cli.spec @@ -0,0 +1,37 @@ +%undefine __brp_mangle_shebangs + +Name: kittyCAD-cli +Version: 0.2.162 +Release: 1%{?dist} +Summary: The Zoo command line tool for KittyCAD +URL: https://github.com/KittyCAD/cli +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +License: MIT AND ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND NCSA) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND 0BSD AND Apache-2.0 AND ISC AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception AND MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Apache-2.0) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause) AND (BSD-3-Clause AND MIT) AND (BSD-3-Clause OR Apache-2.0) AND (BSD-3-Clause OR MIT) AND BSD-3-Clause AND (CC0-1.0 OR Apache-2.0) AND CDLA-Permissive-2.0 AND EPL-2.0 AND ISC AND LGPL-3.0-or-later AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (MPL-2.0 OR MIT OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib +BuildRequires: cargo-rpm-macros + +Provides: kittycad-cli +Packager: Its-J + +%description +%{summary}. + +%prep +%autosetup -n cli-%{version} +%cargo_prep_online + +%build +%cargo_build + +%install +install -Dm 755 target/release/zoo %{buildroot}%{_bindir}/zoo +%{cargo_license_online} > LICENSE.dependencies + +%files +%{_bindir}/zoo +%license LICENSE +%license LICENSE.dependencies +%doc README.md + +%changelog +* Thu Apr 30 2026 Its-J +- Package KittyCAD CLI diff --git a/anda/tools/kittyCAD-cli/update.rhai b/anda/tools/kittyCAD-cli/update.rhai new file mode 100644 index 0000000000..720ff7f810 --- /dev/null +++ b/anda/tools/kittyCAD-cli/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("KittyCAD/cli"));