Accepting request 122154 from M17N:fonts

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/122154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/google-opensans-fonts?expand=0&rev=2
This commit is contained in:
Stephan Kulow 2012-05-26 07:25:40 +00:00 committed by Git OBS Bridge
commit 1c4efce8fb
2 changed files with 28 additions and 17 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 17 09:10:13 UTC 2012 - pgajdos@suse.com
- call spec-cleaner
-------------------------------------------------------------------
Thu Apr 19 12:32:50 UTC 2012 - pgajdos@suse.com

View File

@ -2,49 +2,56 @@
# spec file for package google-opensans-fonts
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define fontdir %{_datadir}/fonts/truetype
%define fontname opensans
Name: google-opensans-fonts
BuildRequires: bzip2
License: Apache-2.0
Group: System/X11/Fonts
PreReq: %suseconfig_fonts_prereq
Version: 1.0
Release: 0
URL: http://code.google.com/webfonts/family?family=Open+Sans
Source0: %{fontname}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
License: Apache-2.0
Summary: Humanist Sans Serif Typeface
Url: http://code.google.com/webfonts/family?family=Open+Sans
Group: System/X11/Fonts
Source0: %{fontname}.tar.bz2
BuildRequires: bzip2
Requires(pre): %suseconfig_fonts_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Open Sans is a humanist sans serif typeface designed by
Steve Matteson, Type Director of Ascender Corp.
Open Sans is a humanist sans serif typeface designed by
Steve Matteson, Type Director of Ascender Corp.
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
optimized for print, web, and mobile interfaces, and has
optimized for print, web, and mobile interfaces, and has
excellent legibility characteristics in its letterforms.
%prep
%setup -q -n %{fontname} -c %{fontname}
%build
# -- nothing to do --
%install
mkdir -p $RPM_BUILD_ROOT%{fontdir}/
install -m 0644 %{fontname}/*.ttf $RPM_BUILD_ROOT%{fontdir}
mkdir -p %{buildroot}%{fontdir}/
install -m 0644 %{fontname}/*.ttf %{buildroot}%{fontdir}
%post
%run_suseconfig_fonts
@ -59,4 +66,3 @@ install -m 0644 %{fontname}/*.ttf $RPM_BUILD_ROOT%{fontdir}
%doc %{fontname}/LICENSE.txt
%changelog