From 088bb304e27d1b317f9b67f630396a43292fca02 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Mon, 29 Sep 2025 04:14:34 -0700 Subject: [PATCH] add: fyra-labs-natrium-fonts (#6574) (#6578) (cherry picked from commit 7c8c611fd7b71a040519388d59e10def55b1dd43) Co-authored-by: Pornpipat Popum --- anda/fonts/natrium/anda.hcl | 6 ++++ anda/fonts/natrium/natrium-fonts.spec | 47 +++++++++++++++++++++++++++ anda/fonts/natrium/update.rhai | 1 + 3 files changed, 54 insertions(+) create mode 100644 anda/fonts/natrium/anda.hcl create mode 100644 anda/fonts/natrium/natrium-fonts.spec create mode 100644 anda/fonts/natrium/update.rhai diff --git a/anda/fonts/natrium/anda.hcl b/anda/fonts/natrium/anda.hcl new file mode 100644 index 0000000000..c0675aa540 --- /dev/null +++ b/anda/fonts/natrium/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "natrium-fonts.spec" + } +} diff --git a/anda/fonts/natrium/natrium-fonts.spec b/anda/fonts/natrium/natrium-fonts.spec new file mode 100644 index 0000000000..de93b57398 --- /dev/null +++ b/anda/fonts/natrium/natrium-fonts.spec @@ -0,0 +1,47 @@ +%global orgprefix fyralabs +%global fontcontact security@fyralabs.com +%global fontorg co.tauos +%global foundry Fyra Labs +%global fontlicense OFL-1.1 +%global fontlicenses LICENSE.md +%global fontdocs README.md + +Version: 1.0.0 +Release: 1%{?dist} +%global fontfamily Natrium +%global fontsummary Natrium - The tauOS UI font +%global fonts Natrium/otf/*.otf +%global fontdescription %fontsummary + +URL: https://github.com/tau-OS/natrium +Provides: natrium-fonts = %{version}-%{release} +Source0: %url/releases/download/v%{version}/natrium-fonts.zip + +BuildRequires: fontforge +BuildRequires: rpm_macro(fontpkg) + + +%global fonts2 NatriumMono/otf/*.otf +%global fontfamily2 Natrium Mono +%global fontsummary2 Natrium Mono - The tauOS monospace font +%global fontdescription2 %fontsummary2 + +%fontpkg -a +%fontmetapkg + + +%prep +%autosetup -c + +%build +%fontbuild + +%install +%fontinstall -a + + + +%check +%fontcheck -a + +%fontfiles -a diff --git a/anda/fonts/natrium/update.rhai b/anda/fonts/natrium/update.rhai new file mode 100644 index 0000000000..1bd109136c --- /dev/null +++ b/anda/fonts/natrium/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("tau-OS/natrium"));