2023-02-08 10:17:51 +00:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
Epoch: 1
|
2023-08-22 04:32:47 +00:00
|
|
|
Version: 2.002
|
2024-01-24 20:47:36 +00:00
|
|
|
Release: 4%{?dist}
|
2023-02-08 10:17:51 +00:00
|
|
|
URL: https://github.com/googlefonts/noto-cjk
|
|
|
|
|
|
|
|
BuildRequires: python3
|
|
|
|
|
|
|
|
%global foundry Google
|
|
|
|
%global fontlicense OFL-1.1
|
|
|
|
%global fontlicenses LICENSE
|
|
|
|
|
|
|
|
%global fontfamily Noto Serif CJK VF
|
|
|
|
%global fontsummary Google Noto Serif CJK Variable Fonts
|
|
|
|
%global fonts *.ttc
|
|
|
|
%global fontconfs 65-0-%{fontpkgname}.conf %{SOURCE10}
|
|
|
|
%global fontdescription %{expand:
|
|
|
|
Noto CJK fonts, supporting Simplified Chinese, Traditional Chinese, \
|
|
|
|
Japanese, and Korean. The supported scripts are Han, Hiragana, Katakana, \
|
|
|
|
Hangul, and Bopomofo. Latin, Greek, Cyrllic, and various symbols are also \
|
|
|
|
supported for compatibility with CJK standards.
|
|
|
|
|
2023-02-08 10:41:29 +00:00
|
|
|
The google-noto-serif-cjk-vf-fonts package contains Google Noto Serif CJK Variable fonts.
|
2023-02-08 10:17:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Source0: https://github.com/googlefonts/noto-cjk/releases/download/Serif%{version}/02_NotoSerifCJK-OTF-VF.zip
|
|
|
|
Source1: genfontconf.py
|
|
|
|
Source10: 65-%{fontpkgname}.conf
|
|
|
|
|
|
|
|
%global obsoletes_epoch_version_release 0:20201206-8
|
|
|
|
|
|
|
|
%global obsoletes_pkg()\
|
|
|
|
%define subpkgname %1\
|
|
|
|
Obsoletes: %{subpkgname} < %{obsoletes_epoch_version_release}\
|
|
|
|
Provides: %{subpkgname} = %{epoch}:%{version}-%{release}\
|
|
|
|
|
|
|
|
%global obsoletes_serif()\
|
|
|
|
%define langname %1\
|
2023-05-04 03:57:36 +00:00
|
|
|
%obsoletes_pkg google-noto-serif-cjk-%{langname}-fonts\
|
|
|
|
%obsoletes_pkg google-noto-serif-%{langname}-fonts\
|
2023-02-08 10:17:51 +00:00
|
|
|
|
|
|
|
%global fontpkgheader %{expand:
|
|
|
|
|
|
|
|
%obsoletes_pkg google-noto-serif-cjk-ttc-fonts
|
|
|
|
|
|
|
|
%obsoletes_serif sc
|
|
|
|
%obsoletes_serif tc
|
|
|
|
%obsoletes_serif jp
|
|
|
|
%obsoletes_serif kr
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
%fontpkg
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -c
|
|
|
|
|
|
|
|
cp -p Variable/OTC/NotoSerifCJK-VF.otf.ttc NotoSerifCJK-VF.ttc
|
|
|
|
|
|
|
|
cp %{SOURCE1} .
|
|
|
|
|
|
|
|
python3 genfontconf.py "ja" "serif" "Noto Serif CJK JP" \
|
|
|
|
"ko" "serif" "Noto Serif CJK KR" \
|
|
|
|
"zh-cn:zh-sg" "serif" "Noto Serif CJK SC" \
|
|
|
|
"zh-tw:cmn:hak:lzh:nan" "serif" "Noto Serif CJK TC" \
|
|
|
|
"zh-hk:zh-mo:yue" "serif" "Noto Serif CJK HK" \
|
|
|
|
| xmllint --format - |tee 65-0-google-noto-serif-cjk-vf-fonts.conf
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%fontbuild
|
|
|
|
|
|
|
|
%install
|
|
|
|
%fontinstall
|
|
|
|
|
|
|
|
%check
|
|
|
|
%fontcheck
|
|
|
|
|
|
|
|
%fontfiles
|
|
|
|
|
|
|
|
%changelog
|
2024-01-24 20:47:36 +00:00
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.002-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-20 21:17:06 +00:00
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.002-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-10-10 08:14:22 +00:00
|
|
|
* Tue Oct 10 2023 Peng Wu <pwu@redhat.com> - 1:2.002-2
|
|
|
|
- Drop some Conflicts from the Noto Serif CJK fonts
|
|
|
|
|
2023-08-22 04:32:47 +00:00
|
|
|
* Tue Aug 22 2023 Peng Wu <pwu@redhat.com> - 1:2.002-1
|
|
|
|
- Update to 2.002
|
|
|
|
|
2023-07-20 05:18:38 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.001-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-05-04 03:57:36 +00:00
|
|
|
* Thu May 4 2023 Peng Wu <pwu@redhat.com> - 1:2.001-2
|
|
|
|
- Fix obsoletes_serif macro (rhbz #2190290)
|
|
|
|
|
2023-02-08 10:17:51 +00:00
|
|
|
* Fri Feb 3 2023 Peng Wu <pwu@redhat.com> - 1:2.001-1
|
|
|
|
- Initial Packaging
|
|
|
|
- Migrate to SPDX license
|