2012-02-04 14:14:38 +01:00
|
|
|
#
|
|
|
|
# spec file for package google-opensans-fonts
|
|
|
|
#
|
2018-09-17 08:12:15 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-02-04 14:14:38 +01:00
|
|
|
#
|
2012-05-17 11:22:00 +02:00
|
|
|
# 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.
|
|
|
|
|
2018-09-17 08:12:15 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-02-04 14:14:38 +01:00
|
|
|
#
|
|
|
|
|
2012-05-17 11:22:00 +02:00
|
|
|
|
2012-02-04 14:14:38 +01:00
|
|
|
%define fontname opensans
|
|
|
|
|
|
|
|
Name: google-opensans-fonts
|
2018-09-17 08:12:15 +02:00
|
|
|
Version: 20180610
|
2012-02-04 14:14:38 +01:00
|
|
|
Release: 0
|
2012-05-17 11:22:00 +02:00
|
|
|
Summary: Humanist Sans Serif Typeface
|
2012-06-29 22:33:05 +02:00
|
|
|
License: Apache-2.0
|
2012-05-17 11:22:00 +02:00
|
|
|
Group: System/X11/Fonts
|
2018-09-17 08:12:15 +02:00
|
|
|
Url: https://github.com/googlefonts/opensans
|
|
|
|
Source0: %{fontname}-%{version}.tar.gz
|
|
|
|
Obsoletes: %{name} <= 1.0
|
2012-07-10 17:12:31 +02:00
|
|
|
BuildRequires: fontpackages-devel
|
|
|
|
%reconfigure_fonts_prereq
|
2012-02-04 14:14:38 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-05-17 11:22:00 +02:00
|
|
|
BuildArch: noarch
|
2012-02-04 14:14:38 +01:00
|
|
|
|
|
|
|
%description
|
2012-05-17 11:22:00 +02:00
|
|
|
Open Sans is a humanist sans serif typeface designed by
|
|
|
|
Steve Matteson, Type Director of Ascender Corp.
|
2012-02-04 14:14:38 +01:00
|
|
|
|
|
|
|
This version contains the complete 897 character set, which
|
|
|
|
includes the standard ISO Latin 1, Latin CE, Greek and Cyrillic
|
|
|
|
character sets. Open Sans was designed with an upright stress,
|
|
|
|
open forms and a neutral, yet friendly appearance. It was
|
2012-05-17 11:22:00 +02:00
|
|
|
optimized for print, web, and mobile interfaces, and has
|
2012-02-04 14:14:38 +01:00
|
|
|
excellent legibility characteristics in its letterforms.
|
|
|
|
|
2012-06-29 22:33:05 +02:00
|
|
|
Designer: Steve Matteson
|
|
|
|
|
2012-02-04 14:14:38 +01:00
|
|
|
%prep
|
2018-09-17 08:12:15 +02:00
|
|
|
%setup -q -n %{fontname}-%{version}
|
2012-02-04 14:14:38 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2012-07-10 17:12:31 +02:00
|
|
|
mkdir -p %{buildroot}%{_ttfontsdir}/
|
2018-09-17 08:12:15 +02:00
|
|
|
install -m 0644 hinted_ttfs/*.ttf %{buildroot}%{_ttfontsdir}
|
2012-02-04 14:14:38 +01:00
|
|
|
|
2012-07-10 17:12:31 +02:00
|
|
|
%reconfigure_fonts_scriptlets
|
2012-02-04 14:14:38 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root,root)
|
2012-07-10 17:12:31 +02:00
|
|
|
%dir %{_ttfontsdir}/
|
|
|
|
%{_ttfontsdir}/*
|
2018-09-17 08:12:15 +02:00
|
|
|
%license LICENSE.txt
|
2012-02-04 14:14:38 +01:00
|
|
|
|
|
|
|
%changelog
|