From 7d95758bb749ff6b17dbca9d8fc07aa53ffb7246 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Mon, 14 Jul 2025 12:11:06 -0700 Subject: [PATCH] add: spleen-fonts (#5637) (#5851) (cherry picked from commit e372a4a65d99cd48d9f58df869ad63764f49a733) Co-authored-by: madomado --- anda/fonts/spleen/anda.hcl | 6 +++++ anda/fonts/spleen/spleen-fonts.spec | 42 +++++++++++++++++++++++++++++ anda/fonts/spleen/update.rhai | 1 + 3 files changed, 49 insertions(+) create mode 100644 anda/fonts/spleen/anda.hcl create mode 100644 anda/fonts/spleen/spleen-fonts.spec create mode 100644 anda/fonts/spleen/update.rhai diff --git a/anda/fonts/spleen/anda.hcl b/anda/fonts/spleen/anda.hcl new file mode 100644 index 0000000000..b4da366bc1 --- /dev/null +++ b/anda/fonts/spleen/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "spleen-fonts.spec" + } +} diff --git a/anda/fonts/spleen/spleen-fonts.spec b/anda/fonts/spleen/spleen-fonts.spec new file mode 100644 index 0000000000..e00030259e --- /dev/null +++ b/anda/fonts/spleen/spleen-fonts.spec @@ -0,0 +1,42 @@ +%global __make bmake +%global _make_output_sync %nil +%global fontcontact security@fyralabs.com +%global fontorg com.fyralabs.terra + +Version: 2.1.0 +Release: 1%?dist +URL: https://www.cambus.net/spleen-monospaced-bitmap-fonts/ + +%global fontlicense BSD-2-Clause +%global fontlicenses LICENSE +%global fontdocs FAQ ChangeLog AUTHORS README.md +%global fontfamily Spleen +%global fontsummary Monospaced bitmap fonts +%global fonts *.otf +%global fontdescription %fontsummary + +Source0: https://github.com/fcambus/spleen/archive/refs/tags/%version.zip + +BuildRequires: bmake fontforge +BuildRequires: bdf2sfd +BuildRequires: rpm_macro(fontpkg) + +%fontpkg + +%prep +%autosetup -n spleen-%version + +%build +%make_build sfd +%make_build otf +%fontbuild + +%install +install -Dm644 fonts.alias *.otf -t %buildroot%_fontbasedir/%name/ +%fontinstall -a + +%check +%fontcheck -a + +%fontfiles -a +%_fontbasedir/%name/fonts.alias diff --git a/anda/fonts/spleen/update.rhai b/anda/fonts/spleen/update.rhai new file mode 100644 index 0000000000..92c6f4a8cd --- /dev/null +++ b/anda/fonts/spleen/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("fcambus/spleen"));