diff --git a/anda/fonts/source-han-sans/anda.hcl b/anda/fonts/source-han-sans/anda.hcl new file mode 100644 index 0000000000..e1bd8ab72d --- /dev/null +++ b/anda/fonts/source-han-sans/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "source-han-sans.spec" + } + labels { + weekly = 6 + } +} diff --git a/anda/fonts/source-han-sans/source-han-sans.spec b/anda/fonts/source-han-sans/source-han-sans.spec new file mode 100644 index 0000000000..eebff3cc91 --- /dev/null +++ b/anda/fonts/source-han-sans/source-han-sans.spec @@ -0,0 +1,33 @@ +%define debug_package %nil +%global ver 2.005R + +Name: source-han-sans +Version: %(echo %ver | sed -E 's/R$//') +Release: 1%?dist +Summary: Source Han Sans | 思源黑体 | 思源黑體 | 思源黑體 香港 | 源ノ角ゴシック | 본고딕 +License: OFL-1.1 +URL: https://github.com/adobe-fonts/source-han-sans +Source0: %url/releases/download/%version/03_SourceHanSansOTC.zip +BuildArch: noarch +BuildRequires: unzip + +%description +Source Han Sans is a set of OpenType Pan-CJK fonts. + +This package ships the Static OTC versions. + +%prep +unzip %{S:0} + +%build + +%install +install -Dpm644 SourceHanSans-*.ttc -t %buildroot%_datadir/fonts/%name + +%files +%license LICENSE.txt +%_datadir/fonts/%name/ + +%changelog +* Sat Jun 20 2026 madonuko - 2.005-1 +- Initial package. diff --git a/anda/fonts/source-han-sans/update.rhai b/anda/fonts/source-han-sans/update.rhai new file mode 100644 index 0000000000..fe37fab1a5 --- /dev/null +++ b/anda/fonts/source-han-sans/update.rhai @@ -0,0 +1 @@ +rpm.global("ver", gh("adobe-fonts/source-han-sans")); diff --git a/anda/fonts/source-han-serif/anda.hcl b/anda/fonts/source-han-serif/anda.hcl new file mode 100644 index 0000000000..c0b5ebada6 --- /dev/null +++ b/anda/fonts/source-han-serif/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "source-han-serif.spec" + } + labels { + weekly = 6 + } +} diff --git a/anda/fonts/source-han-serif/source-han-serif.spec b/anda/fonts/source-han-serif/source-han-serif.spec new file mode 100644 index 0000000000..8490df1f61 --- /dev/null +++ b/anda/fonts/source-han-serif/source-han-serif.spec @@ -0,0 +1,33 @@ +%define debug_package %nil +%global ver 2.003R + +Name: source-han-serif +Version: %(echo %ver | sed -E 's/R$//') +Release: 1%?dist +Summary: Source Han Serif | 思源宋体 | 思源宋體 | 思源宋體 香港 | 源ノ明朝 | 본명조 +License: OFL-1.1 +URL: https://github.com/adobe-fonts/source-han-serif +Source0: %url/releases/download/%version/03_SourceHanSerifOTC.zip +BuildArch: noarch +BuildRequires: unzip + +%description +Source Han Serif is a set of OpenType Pan-CJK fonts. + +This package ships the Static OTC versions. + +%prep +unzip %{S:0} + +%build + +%install +install -Dpm644 SourceHanSerif-*.ttc -t %buildroot%_datadir/fonts/%name + +%files +%license LICENSE.txt +%_datadir/fonts/%name/ + +%changelog +* Sat Jun 20 2026 madonuko - 2.005R-1 +- Initial package. diff --git a/anda/fonts/source-han-serif/update.rhai b/anda/fonts/source-han-serif/update.rhai new file mode 100644 index 0000000000..c313573e4d --- /dev/null +++ b/anda/fonts/source-han-serif/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("adobe-fonts/source-han-serif"));