add: source-han-{sans,serif}

close #8682
This commit is contained in:
madonuko
2026-06-20 17:12:26 +08:00
parent ae170009ff
commit f84308b02e
6 changed files with 86 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "source-han-sans.spec"
}
labels {
weekly = 6
}
}
@@ -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 <mado@fyralabs.com> - 2.005-1
- Initial package.
+1
View File
@@ -0,0 +1 @@
rpm.global("ver", gh("adobe-fonts/source-han-sans"));
+9
View File
@@ -0,0 +1,9 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "source-han-serif.spec"
}
labels {
weekly = 6
}
}
@@ -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 <mado@fyralabs.com> - 2.005R-1
- Initial package.
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("adobe-fonts/source-han-serif"));