|
Peng Wu |
74cb08e |
%global fontname adobe-source-han-serif-cn
|
|
Akira TAGOH |
5ae2d90 |
%global fontconf 65-2-%{fontname}.conf
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
%global archivename SourceHanSerifCN
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
Name: adobe-source-han-serif-cn-fonts
|
|
Peng Wu |
74cb08e |
Version: 1.001
|
|
|
eff09c4 |
Release: 10%{?dist}
|
|
Peng Wu |
74cb08e |
Summary: Adobe OpenType Pan-CJK font family for Simplified Chinese
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
License: OFL
|
|
Peng Wu |
74cb08e |
URL: https://github.com/adobe-fonts/source-han-serif/
|
|
Peng Wu |
74cb08e |
Source0: https://github.com/adobe-fonts/source-han-serif/raw/release/SubsetOTF/%{archivename}.zip
|
|
Peng Wu |
74cb08e |
Source1: %{name}-fontconfig.conf
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
BuildArch: noarch
|
|
Peng Wu |
74cb08e |
BuildRequires: fontpackages-devel
|
|
Peng Wu |
74cb08e |
Requires: fontpackages-filesystem
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
%description
|
|
Peng Wu |
74cb08e |
Source Han Serif is a set of OpenType/CFF Pan-CJK fonts.
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
%prep
|
|
Peng Wu |
d561ab1 |
%autosetup -n %{archivename}
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
%build
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
%install
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
Peng Wu |
74cb08e |
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
Peng Wu |
74cb08e |
%{buildroot}%{_fontconfig_confdir}
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
install -m 0644 -p %{SOURCE1} \
|
|
Peng Wu |
74cb08e |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
Peng Wu |
74cb08e |
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
Peng Wu |
74cb08e |
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
%_font_pkg -f %{fontconf} *.otf
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
%license LICENSE.txt
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
|
|
Peng Wu |
74cb08e |
%changelog
|
|
|
eff09c4 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.001-10
|
|
|
eff09c4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
eff09c4 |
|
|
|
500c436 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.001-9
|
|
|
500c436 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
500c436 |
|
|
|
850d425 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.001-8
|
|
|
850d425 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
850d425 |
|
|
|
4e5b9ea |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.001-7
|
|
|
4e5b9ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
4e5b9ea |
|
|
Akira TAGOH |
5ae2d90 |
* Fri Jul 20 2018 Akira TAGOH <tagoh@redhat.com> - 1.001-6
|
|
Akira TAGOH |
5ae2d90 |
- Update the fontconfig priority to ensure this as default for upgrading.
|
|
Akira TAGOH |
5ae2d90 |
|
|
|
fd69d0c |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.001-5
|
|
|
fd69d0c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
fd69d0c |
|
|
Peng Wu |
8b03f7b |
* Thu Feb 1 2018 Peng Wu <pwu@redhat.com> - 1.001-4
|
|
Peng Wu |
8b03f7b |
- Update the priority to change the default font to Noto
|
|
Peng Wu |
8b03f7b |
|
|
|
40b3b09 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.001-3
|
|
|
40b3b09 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
40b3b09 |
|
|
Peng Wu |
30cc2ab |
* Tue Jun 20 2017 Peng Wu <pwu@redhat.com> - 1.001-2
|
|
Peng Wu |
30cc2ab |
- Use Source Han Sans for Mono and Sans
|
|
Peng Wu |
30cc2ab |
- Use Source Han Serif for Serif
|
|
Peng Wu |
30cc2ab |
|
|
Peng Wu |
74cb08e |
* Mon Jun 12 2017 Peng Wu <pwu@redhat.com> - 1.001-1
|
|
Peng Wu |
74cb08e |
- Initial Version
|