Accepting request 635815 from home:guoyunhebrave:branches:M17N:fonts

- Version 20180607 from GitHub master
- Use hinted TrueType fonts

OBS-URL: https://build.opensuse.org/request/show/635815
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-opensans-fonts?expand=0&rev=10
This commit is contained in:
Thomas Schraitle 2018-09-17 06:12:15 +00:00 committed by Git OBS Bridge
parent 8c60313ef2
commit 22ae55b422
4 changed files with 18 additions and 15 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 14 07:45:20 UTC 2018 - Yunhe Guo <yunhe.guo@protonmail.com>
- Version 20180607 from GitHub master
- Use hinted TrueType fonts
-------------------------------------------------------------------
Wed Jul 4 12:39:06 CEST 2012 - pgajdos@suse.cz

View File

@ -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

3
opensans-20180610.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60099f3a7f1c52f221f016d34ecca81de0342df71db064a3251d1d5c387bd6ae
size 5952995

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4dc539baa7676410addc924a2e9a607322cb773d25866cdafedb856d1ccfa975
size 1037146