Hello community,
here is the log from the commit of package adobe-sourcehansans-fonts for
openSUSE:Factory checked in at 2019-05-07 23:18:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/adobe-sourcehansans-fonts (Old)
and /work/SRC/openSUSE:Factory/.adobe-sourcehansans-fonts.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "adobe-sourcehansans-fonts"
Tue May 7 23:18:27 2019 rev:3 rq:701104 version:2.001
Changes:
--------
---
/work/SRC/openSUSE:Factory/adobe-sourcehansans-fonts/adobe-sourcehansans-fonts.changes
2017-04-20 20:52:03.130613516 +0200
+++
/work/SRC/openSUSE:Factory/.adobe-sourcehansans-fonts.new.5148/adobe-sourcehansans-fonts.changes
2019-05-07 23:18:32.196865068 +0200
@@ -1,0 +2,8 @@
+Mon Apr 29 17:30:43 UTC 2019 - Yunhe Guo <[email protected]>
+
+- Update to version 2.001
+- Add all region specific fonts
+- Remove fontconfig file because Noto Sans CJK doesn't have such a
+ configuration either
+
+-------------------------------------------------------------------
Old:
----
57-adobe-sourcehansans.conf
New:
----
SourceHanSansCN.zip
SourceHanSansHK.zip
SourceHanSansJP.zip
SourceHanSansKR.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ adobe-sourcehansans-fonts.spec ++++++
--- /var/tmp/diff_new_pack.6hCsKl/_old 2019-05-07 23:18:33.964868781 +0200
+++ /var/tmp/diff_new_pack.6hCsKl/_new 2019-05-07 23:18:33.964868781 +0200
@@ -1,7 +1,7 @@
#
# spec file for package adobe-sourcehansans-fonts
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,53 +12,126 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# 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: 1.002
+Version: 2.001
Release: 0
-Summary: An OpenType/CFF Pan-CJK font family
+Summary: Source Han Sans
License: OFL-1.1
Group: System/X11/Fonts
-Url: https://github.com/adobe-fonts/source-han-sans
-
-Source:
https://github.com/adobe-fonts/source-han-sans/raw/release/SubsetOTF/SourceHanSansTW.zip
-Source1: 57-adobe-sourcehansans.conf
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildArch: noarch
-BuildRequires: fontconfig
+URL: https://github.com/adobe-fonts/source-han-sans
+Source0:
https://raw.githubusercontent.com/adobe-fonts/source-han-sans/%{version}R/SubsetOTF/SourceHanSansCN.zip
+Source1:
https://raw.githubusercontent.com/adobe-fonts/source-han-sans/%{version}R/SubsetOTF/SourceHanSansHK.zip
+Source2:
https://raw.githubusercontent.com/adobe-fonts/source-han-sans/%{version}R/SubsetOTF/SourceHanSansJP.zip
+Source3:
https://raw.githubusercontent.com/adobe-fonts/source-han-sans/%{version}R/SubsetOTF/SourceHanSansKR.zip
+Source4:
https://raw.githubusercontent.com/adobe-fonts/source-han-sans/%{version}R/SubsetOTF/SourceHanSansTW.zip
BuildRequires: fontpackages-devel
BuildRequires: unzip
-Provides: source-han-sans = %version
-Obsoletes: source-han-sans < %version
-Provides: sourcehansans = %version
-Obsoletes: sourcehansans < %version
-Provides: scalable-font-zh_TW
-Provides: locale(zh_TW)
-%reconfigure_fonts_prereq
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
%description
-A set of Pan-CJK fonts designed to complement Source Sans Pro.
+%{shared_description}
%prep
-%setup -q -n SourceHanSansTW
+unzip -o %{S:0}
+unzip -o %{S:1}
+unzip -o %{S:2}
+unzip -o %{S:3}
+unzip -o %{S:4}
%build
%install
-install -d %buildroot%_ttfontsdir
-install -m 644 *.otf %buildroot%_ttfontsdir
-%install_fontsconf %SOURCE1
-
-%reconfigure_fonts_scriptlets
-
-%files
-%defattr(-,root,root)
-%doc LICENSE.txt
-%_ttfontsdir/
-%files_fontsconf_availdir
-%files_fontsconf_file -l 57-adobe-sourcehansans.conf
+mkdir -p %{buildroot}%{_ttfontsdir}
+mv */*.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 SourceHanSansCN/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 SourceHanSansHK/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 SourceHanSansJP/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 SourceHanSansKR/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 SourceHanSansTW/LICENSE.txt
+%dir %{_ttfontsdir}
+%{_ttfontsdir}/SourceHanSansTW-*.otf
%changelog
++++++ SourceHanSansTW.zip ++++++
Binary files /var/tmp/diff_new_pack.6hCsKl/_old and
/var/tmp/diff_new_pack.6hCsKl/_new differ