commit adobe-sourcehansans-fonts for openSUSE:Factory

2019-05-07 Thread root
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 
+
+- 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 adob

commit adobe-sourcehansans-fonts for openSUSE:Factory

2017-04-20 Thread root
Hello community,

here is the log from the commit of package adobe-sourcehansans-fonts for 
openSUSE:Factory checked in at 2017-04-20 20:51:58

Comparing /work/SRC/openSUSE:Factory/adobe-sourcehansans-fonts (Old)
 and  /work/SRC/openSUSE:Factory/.adobe-sourcehansans-fonts.new (New)


Package is "adobe-sourcehansans-fonts"

Thu Apr 20 20:51:58 2017 rev:2 rq:487458 version:1.002

Changes:

--- 
/work/SRC/openSUSE:Factory/adobe-sourcehansans-fonts/adobe-sourcehansans-fonts.changes
  2015-05-11 19:48:47.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.adobe-sourcehansans-fonts.new/adobe-sourcehansans-fonts.changes
 2017-04-20 20:52:03.130613516 +0200
@@ -1,0 +2,6 @@
+Fri Apr  7 08:32:02 UTC 2017 - jeng...@inai.de
+
+- (Really?) update to 1.002 which has the license change to
+  SIL OFL and actually ships the license in the zipfile.
+
+---



Other differences:
--
++ adobe-sourcehansans-fonts.spec ++
--- /var/tmp/diff_new_pack.IUmLgP/_old  2017-04-20 20:52:04.894364115 +0200
+++ /var/tmp/diff_new_pack.IUmLgP/_new  2017-04-20 20:52:04.906362418 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package adobe-sourcehansans-fonts
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -20,13 +20,13 @@
 Version:1.002
 Release:0
 Summary:An OpenType/CFF Pan-CJK font family
-License:Apache-2.0
+License:OFL-1.1
 Group:  System/X11/Fonts
-URL:https://github.com/adobe-fonts/source-han-sans
+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
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 BuildRequires:  fontconfig
 BuildRequires:  fontpackages-devel
@@ -56,6 +56,7 @@
 
 %files
 %defattr(-,root,root)
+%doc LICENSE.txt
 %_ttfontsdir/
 %files_fontsconf_availdir
 %files_fontsconf_file -l 57-adobe-sourcehansans.conf

++ SourceHanSansTW.zip ++
Binary files /var/tmp/diff_new_pack.IUmLgP/_old and 
/var/tmp/diff_new_pack.IUmLgP/_new differ