From da11f8efe3af16d8ee86f4c223dacde4beebbfb3 Mon Sep 17 00:00:00 2001 From: madomado Date: Mon, 22 May 2023 22:24:43 +0800 Subject: [PATCH] add: open-hunnin-fonts fakepearl-fonts (#450) --- anda/fonts/fakepearl/anda.hcl | 6 ++++ anda/fonts/fakepearl/fakepearl-fonts.spec | 33 +++++++++++++++++++ anda/fonts/fakepearl/update.rhai | 1 + anda/fonts/open-huninn/anda.hcl | 6 ++++ anda/fonts/open-huninn/open-huninn-fonts.spec | 33 +++++++++++++++++++ anda/fonts/open-huninn/update.rhai | 1 + 6 files changed, 80 insertions(+) create mode 100644 anda/fonts/fakepearl/anda.hcl create mode 100644 anda/fonts/fakepearl/fakepearl-fonts.spec create mode 100644 anda/fonts/fakepearl/update.rhai create mode 100644 anda/fonts/open-huninn/anda.hcl create mode 100644 anda/fonts/open-huninn/open-huninn-fonts.spec create mode 100644 anda/fonts/open-huninn/update.rhai diff --git a/anda/fonts/fakepearl/anda.hcl b/anda/fonts/fakepearl/anda.hcl new file mode 100644 index 0000000000..54b71789d4 --- /dev/null +++ b/anda/fonts/fakepearl/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "fakepearl-fonts.spec" + } +} diff --git a/anda/fonts/fakepearl/fakepearl-fonts.spec b/anda/fonts/fakepearl/fakepearl-fonts.spec new file mode 100644 index 0000000000..f4a97d86ea --- /dev/null +++ b/anda/fonts/fakepearl/fakepearl-fonts.spec @@ -0,0 +1,33 @@ +Name: fakepearl-fonts +Version: 1.1 +Release: 1%?dist +URL: https://github.com/max32002/FakePearl +Source0: %url/archive/refs/tags/%version.tar.gz +License: OFL-1.1 +Summary: A free font family derived from open-huninn-font +BuildArch: noarch + +%description +FakePeal (假粉圓體) is an open source Chinese font family +derived from justfont/open-hunnin-font. + +%prep +%autosetup -n FakePearl-%version + +%build + +%install +mkdir -p %buildroot/%_datadir/fonts/fakepearl +install -Dm644 tw/*.ttf %buildroot/%_datadir/fonts/fakepearl/ + + +%files +%doc README.md +%license SIL_Open_Font_License_1.1.txt +%defattr(-,root,root,0755) +/%{_datadir}/fonts/fakepearl/ + + +%changelog +* Mon May 22 2023 windowsboy111 - 1.1 +- Initial package diff --git a/anda/fonts/fakepearl/update.rhai b/anda/fonts/fakepearl/update.rhai new file mode 100644 index 0000000000..91e9b23127 --- /dev/null +++ b/anda/fonts/fakepearl/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("max32002/FakePearl")); diff --git a/anda/fonts/open-huninn/anda.hcl b/anda/fonts/open-huninn/anda.hcl new file mode 100644 index 0000000000..0c959acec1 --- /dev/null +++ b/anda/fonts/open-huninn/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "open-huninn-fonts.spec" + } +} diff --git a/anda/fonts/open-huninn/open-huninn-fonts.spec b/anda/fonts/open-huninn/open-huninn-fonts.spec new file mode 100644 index 0000000000..7577038b01 --- /dev/null +++ b/anda/fonts/open-huninn/open-huninn-fonts.spec @@ -0,0 +1,33 @@ +Name: open-huninn-fonts +Version: 2.0 +Release: 1%?dist +URL: https://github.com/justfont/open-huninn-font +Source0: %url/archive/refs/tags/v%version.tar.gz +License: OFL-1.1 +Summary: Chinese (Taiwan) font based on Kosugi Maru +BuildArch: noarch + +%description +Open-huninn (jf open 粉圓) is an open source Chinese font family +derived from Kosugi Maru for daily use in Taiwan. + +%prep +%autosetup -n open-huninn-font-%version + +%build + +%install +mkdir -p %buildroot/%_datadir/fonts/open-huninn +install -Dm644 font/jf-openhuninn-%version.ttf %buildroot/%_datadir/fonts/open-huninn/ + + +%files +%doc README.md +%license license.txt +%defattr(-,root,root,0755) +/%{_datadir}/fonts/open-huninn/ + + +%changelog +* Mon May 22 2023 windowsboy111 - 1.1 +- Initial package diff --git a/anda/fonts/open-huninn/update.rhai b/anda/fonts/open-huninn/update.rhai new file mode 100644 index 0000000000..955ca2178e --- /dev/null +++ b/anda/fonts/open-huninn/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("justfont/open-huninn-font"));