Sync from SUSE:SLFO:Main adobe-sourcehansans-fonts revision 2cef274772fe3c99a9659217ef1a5211
This commit is contained in:
commit
1ddb99c204
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
SourceHanSans-VF.zip
(Stored with Git LFS)
Normal file
BIN
SourceHanSans-VF.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
SourceHanSansCN.zip
(Stored with Git LFS)
Normal file
BIN
SourceHanSansCN.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
SourceHanSansHK.zip
(Stored with Git LFS)
Normal file
BIN
SourceHanSansHK.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
SourceHanSansJP.zip
(Stored with Git LFS)
Normal file
BIN
SourceHanSansJP.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
SourceHanSansKR.zip
(Stored with Git LFS)
Normal file
BIN
SourceHanSansKR.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
SourceHanSansTW.zip
(Stored with Git LFS)
Normal file
BIN
SourceHanSansTW.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
44
adobe-sourcehansans-fonts.changes
Normal file
44
adobe-sourcehansans-fonts.changes
Normal file
@ -0,0 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 25 19:08:28 CEST 2021 - tiwai@suse.de
|
||||
|
||||
- Fix source URLs to be properly downloadable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 17 10:58:53 UTC 2021 - Dingzhong Chen <wsxy162@gmail.com>
|
||||
|
||||
- Update to version 2.004
|
||||
- Add variable fonts
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 29 17:30:43 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
|
||||
|
||||
- Update to version 2.001
|
||||
- Add all region specific fonts
|
||||
- Remove fontconfig file because Noto Sans CJK doesn't have such a
|
||||
configuration either
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 7 08:32:02 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- (Really?) update to 1.002 which has the license change to
|
||||
SIL OFL and actually ships the license in the zipfile.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 3 11:16:48 UTC 2015 - jengelh@inai.de
|
||||
|
||||
- Feed through format_spec_file and spec-beautifier. Trim filelist,
|
||||
it is not necessary to specify all files one by one.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 3 10:40:43 UTC 2015 - mailaender@opensuse.org
|
||||
|
||||
- update to 1.002
|
||||
- run spec-cleaner
|
||||
- fix description shorter than summary
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 16 12:04:15 UTC 2014 - i@marguerite.su
|
||||
|
||||
- initial version
|
||||
* initial public release
|
||||
|
140
adobe-sourcehansans-fonts.spec
Normal file
140
adobe-sourcehansans-fonts.spec
Normal file
@ -0,0 +1,140 @@
|
||||
#
|
||||
# spec file for package adobe-sourcehansans-fonts
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define shared_description Source Han Sans is an open source Pan-CJK typeface whose OpenType/CFF fonts and CID-based sources are covered under the terms of the SIL Open Font License.
|
||||
|
||||
Name: adobe-sourcehansans-fonts
|
||||
Version: 2.004
|
||||
Release: 0
|
||||
Summary: Source Han Sans
|
||||
License: OFL-1.1
|
||||
Group: System/X11/Fonts
|
||||
URL: https://github.com/adobe-fonts/source-han-sans
|
||||
Source0: https://github.com/adobe-fonts/source-han-sans/releases/download/%{version}R/SourceHanSansCN.zip
|
||||
Source1: https://github.com/adobe-fonts/source-han-sans/releases/download/%{version}R/SourceHanSansHK.zip
|
||||
Source2: https://github.com/adobe-fonts/source-han-sans/releases/download/%{version}R/SourceHanSansJP.zip
|
||||
Source3: https://github.com/adobe-fonts/source-han-sans/releases/download/%{version}R/SourceHanSansKR.zip
|
||||
Source4: https://github.com/adobe-fonts/source-han-sans/releases/download/%{version}R/SourceHanSansTW.zip
|
||||
Source5: https://github.com/adobe-fonts/source-han-sans/releases/download/%{version}R/SourceHanSans-VF.zip
|
||||
BuildRequires: fontpackages-devel
|
||||
BuildRequires: unzip
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
%{shared_description}
|
||||
|
||||
%prep
|
||||
unzip -o %{S:0}
|
||||
unzip -o %{S:1}
|
||||
unzip -o %{S:2}
|
||||
unzip -o %{S:3}
|
||||
unzip -o %{S:4}
|
||||
unzip -o %{S:5}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_ttfontsdir}
|
||||
mv Variable/OTF/Subset/*.otf %{buildroot}%{_ttfontsdir}
|
||||
mv SubsetOTF/*/*.otf %{buildroot}%{_ttfontsdir}
|
||||
|
||||
# Chinese China package
|
||||
%package -n adobe-sourcehansans-cn-fonts
|
||||
Summary: Source Han Sans CN
|
||||
Group: System/X11/Fonts
|
||||
Provides: scalable-font-zh_CN
|
||||
Provides: locale(zh_CN)
|
||||
|
||||
%description -n adobe-sourcehansans-cn-fonts
|
||||
%{shared_description}
|
||||
%reconfigure_fonts_scriptlets -n adobe-sourcehansans-cn-fonts
|
||||
%files -n adobe-sourcehansans-cn-fonts
|
||||
%defattr(0644,root,root,755)
|
||||
%license LICENSE.txt
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/SourceHanSansCN-*.otf
|
||||
|
||||
# Chinese Hongkong package
|
||||
%package -n adobe-sourcehansans-hk-fonts
|
||||
Summary: Source Han Sans HK
|
||||
Group: System/X11/Fonts
|
||||
Provides: scalable-font-zh_HK
|
||||
Provides: locale(zh_HK)
|
||||
|
||||
%description -n adobe-sourcehansans-hk-fonts
|
||||
%{shared_description}
|
||||
%reconfigure_fonts_scriptlets -n adobe-sourcehansans-hk-fonts
|
||||
%files -n adobe-sourcehansans-hk-fonts
|
||||
%defattr(0644,root,root,755)
|
||||
%license LICENSE.txt
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/SourceHanSansHK-*.otf
|
||||
|
||||
# Japanese package
|
||||
%package -n adobe-sourcehansans-jp-fonts
|
||||
Summary: Source Han Sans JP
|
||||
Group: System/X11/Fonts
|
||||
Provides: scalable-font-jp
|
||||
Provides: locale(jp)
|
||||
|
||||
%description -n adobe-sourcehansans-jp-fonts
|
||||
%{shared_description}
|
||||
%reconfigure_fonts_scriptlets -n adobe-sourcehansans-jp-fonts
|
||||
%files -n adobe-sourcehansans-jp-fonts
|
||||
%defattr(0644,root,root,755)
|
||||
%license LICENSE.txt
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/SourceHanSansJP-*.otf
|
||||
|
||||
# Korean package
|
||||
%package -n adobe-sourcehansans-kr-fonts
|
||||
Summary: Source Han Sans KR
|
||||
Group: System/X11/Fonts
|
||||
Provides: scalable-font-kr
|
||||
Provides: locale(kr)
|
||||
|
||||
%description -n adobe-sourcehansans-kr-fonts
|
||||
%{shared_description}
|
||||
%reconfigure_fonts_scriptlets -n adobe-sourcehansans-kr-fonts
|
||||
%files -n adobe-sourcehansans-kr-fonts
|
||||
%defattr(0644,root,root,755)
|
||||
%license LICENSE.txt
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/SourceHanSansKR-*.otf
|
||||
|
||||
# Chinese Taiwan package
|
||||
%package -n adobe-sourcehansans-tw-fonts
|
||||
Summary: Source Han Sans TW
|
||||
# Replace the old single package that only provides Taiwan fonts
|
||||
Group: System/X11/Fonts
|
||||
Provides: adobe-sourcehansans-fonts = %version-%release
|
||||
Provides: scalable-font-zh_TW
|
||||
Provides: locale(zh_TW)
|
||||
Obsoletes: adobe-sourcehansans-fonts < %version-%release
|
||||
|
||||
%description -n adobe-sourcehansans-tw-fonts
|
||||
%{shared_description}
|
||||
%reconfigure_fonts_scriptlets -n adobe-sourcehansans-tw-fonts
|
||||
%files -n adobe-sourcehansans-tw-fonts
|
||||
%defattr(0644,root,root,755)
|
||||
%license LICENSE.txt
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/SourceHanSansTW-*.otf
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user