From cfa98832c4c9bf2365ece8a6c5b4087c8dfde969f4f7b200cb383ddb4d6cc86d Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 17 May 2012 09:22:00 +0000 Subject: [PATCH] - call spec-cleaner OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-opensans-fonts?expand=0&rev=5 --- google-opensans-fonts.changes | 5 +++++ google-opensans-fonts.spec | 40 ++++++++++++++++++++--------------- 2 files changed, 28 insertions(+), 17 deletions(-) diff --git a/google-opensans-fonts.changes b/google-opensans-fonts.changes index 8c0392c..a9a18b5 100644 --- a/google-opensans-fonts.changes +++ b/google-opensans-fonts.changes @@ -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 diff --git a/google-opensans-fonts.spec b/google-opensans-fonts.spec index b275ba6..ef004d7 100644 --- a/google-opensans-fonts.spec +++ b/google-opensans-fonts.spec @@ -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 -