commit 1ddb99c2047b6a431f6d35a3d5355d3b57866f2065cc4a86825e05e52768799b Author: Adrian Schröter Date: Fri May 3 10:52:26 2024 +0200 Sync from SUSE:SLFO:Main adobe-sourcehansans-fonts revision 2cef274772fe3c99a9659217ef1a5211 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/SourceHanSans-VF.zip b/SourceHanSans-VF.zip new file mode 100644 index 0000000..b39cdab --- /dev/null +++ b/SourceHanSans-VF.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49c35b06645c8df7be3795be1b55363fa863b2fbd6f296340fdc61a37492ddc5 +size 867518487 diff --git a/SourceHanSansCN.zip b/SourceHanSansCN.zip new file mode 100644 index 0000000..d26622d --- /dev/null +++ b/SourceHanSansCN.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6841fc13f1c0d255cfeb33d2a2c68d24bbebd94ae2c070347a2b2b200a1db4d6 +size 50079275 diff --git a/SourceHanSansHK.zip b/SourceHanSansHK.zip new file mode 100644 index 0000000..c4cd4c1 --- /dev/null +++ b/SourceHanSansHK.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a579ac9079a61c08cc1d625c1aa3e46fd893b51233b17f1161fdd8b444fe7bbd +size 34196478 diff --git a/SourceHanSansJP.zip b/SourceHanSansJP.zip new file mode 100644 index 0000000..0677210 --- /dev/null +++ b/SourceHanSansJP.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ae9f62ad620d686c4a049ce25cf54e3afd8fefc954a678c644cf9802750c17e +size 27141614 diff --git a/SourceHanSansKR.zip b/SourceHanSansKR.zip new file mode 100644 index 0000000..06c060a --- /dev/null +++ b/SourceHanSansKR.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02fe28a48c6381c49d61c27a1b173c77f0e6f2b9f2b68e79f076f10a6a8f4bfe +size 26037379 diff --git a/SourceHanSansTW.zip b/SourceHanSansTW.zip new file mode 100644 index 0000000..7ecee5a --- /dev/null +++ b/SourceHanSansTW.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11d78c8fbc1a4bb04a453cdd65c99db8d41ec5cd6ba6d68c8638e6ba170de806 +size 34140813 diff --git a/adobe-sourcehansans-fonts.changes b/adobe-sourcehansans-fonts.changes new file mode 100644 index 0000000..f244659 --- /dev/null +++ b/adobe-sourcehansans-fonts.changes @@ -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 + +- Update to version 2.004 +- Add variable fonts + +------------------------------------------------------------------- +Mon Apr 29 17:30:43 UTC 2019 - Yunhe Guo + +- 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 + diff --git a/adobe-sourcehansans-fonts.spec b/adobe-sourcehansans-fonts.spec new file mode 100644 index 0000000..e974788 --- /dev/null +++ b/adobe-sourcehansans-fonts.spec @@ -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