diff --git a/google-opensans-fonts.changes b/google-opensans-fonts.changes index 6bc54e6..11e8411 100644 --- a/google-opensans-fonts.changes +++ b/google-opensans-fonts.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 14 07:45:20 UTC 2018 - Yunhe Guo + +- Version 20180607 from GitHub master +- Use hinted TrueType fonts + ------------------------------------------------------------------- Wed Jul 4 12:39:06 CEST 2012 - pgajdos@suse.cz diff --git a/google-opensans-fonts.spec b/google-opensans-fonts.spec index b20414d..47230eb 100644 --- a/google-opensans-fonts.spec +++ b/google-opensans-fonts.spec @@ -1,7 +1,7 @@ # # spec file for package google-opensans-fonts # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,22 +12,21 @@ # 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 fontname opensans Name: google-opensans-fonts -Version: 1.0 +Version: 20180610 Release: 0 Summary: Humanist Sans Serif Typeface License: Apache-2.0 Group: System/X11/Fonts -Url: http://code.google.com/webfonts/family?family=Open+Sans -Source0: %{fontname}.tar.bz2 -BuildRequires: bzip2 -BuildRequires: dos2unix +Url: https://github.com/googlefonts/opensans +Source0: %{fontname}-%{version}.tar.gz +Obsoletes: %{name} <= 1.0 BuildRequires: fontpackages-devel %reconfigure_fonts_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -47,15 +46,13 @@ excellent legibility characteristics in its letterforms. Designer: Steve Matteson %prep -%setup -q -n %{fontname} -c %{fontname} +%setup -q -n %{fontname}-%{version} %build -chmod 644 %{fontname}/LICENSE.txt -dos2unix %{fontname}/LICENSE.txt %install mkdir -p %{buildroot}%{_ttfontsdir}/ -install -m 0644 %{fontname}/*.ttf %{buildroot}%{_ttfontsdir} +install -m 0644 hinted_ttfs/*.ttf %{buildroot}%{_ttfontsdir} %reconfigure_fonts_scriptlets @@ -63,6 +60,6 @@ install -m 0644 %{fontname}/*.ttf %{buildroot}%{_ttfontsdir} %defattr(-, root,root) %dir %{_ttfontsdir}/ %{_ttfontsdir}/* -%doc %{fontname}/LICENSE.txt +%license LICENSE.txt %changelog diff --git a/opensans-20180610.tar.gz b/opensans-20180610.tar.gz new file mode 100644 index 0000000..5f1a434 --- /dev/null +++ b/opensans-20180610.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:60099f3a7f1c52f221f016d34ecca81de0342df71db064a3251d1d5c387bd6ae +size 5952995 diff --git a/opensans.tar.bz2 b/opensans.tar.bz2 deleted file mode 100644 index 8d71b28..0000000 --- a/opensans.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4dc539baa7676410addc924a2e9a607322cb773d25866cdafedb856d1ccfa975 -size 1037146