From ec0f4f0fc08eb4bc9fc85d8e185624d6a1523847e401237119d4681db5721932 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 17 May 2012 09:21:35 +0000 Subject: [PATCH] - call spec-cleaner OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-exo-fonts?expand=0&rev=6 --- google-exo-fonts.changes | 5 +++++ google-exo-fonts.spec | 34 ++++++++++++++++++++-------------- 2 files changed, 25 insertions(+), 14 deletions(-) diff --git a/google-exo-fonts.changes b/google-exo-fonts.changes index 7e3aca9..98d19ae 100644 --- a/google-exo-fonts.changes +++ b/google-exo-fonts.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 17 09:10:10 UTC 2012 - pgajdos@suse.com + +- call spec-cleaner + ------------------------------------------------------------------- Thu Apr 19 12:12:28 UTC 2012 - pgajdos@suse.com diff --git a/google-exo-fonts.spec b/google-exo-fonts.spec index bca44fb..c374e97 100644 --- a/google-exo-fonts.spec +++ b/google-exo-fonts.spec @@ -2,28 +2,36 @@ # spec file for package google-exo-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 exo Name: google-exo-fonts -BuildRequires: bzip2 -License: OFL-1.1 -Group: System/X11/Fonts -PreReq: %suseconfig_fonts_prereq Version: 0.9pre Release: 0 -URL: http://code.google.com/webfonts/family?family=Exo +License: OFL-1.1 +Summary: Contemporary Geometric Sans Serif Typeface +Url: http://code.google.com/webfonts/family?family=Exo +Group: System/X11/Fonts Source0: %{fontname}.tar.bz2 Source1: OFL.txt -BuildArch: noarch +BuildRequires: bzip2 +Requires(pre): %suseconfig_fonts_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build -Summary: Contemporary Geometric Sans Serif Typeface +BuildArch: noarch %description Exo is a contemporary geometric sans serif typeface that @@ -36,13 +44,12 @@ face but it also works good for small to intermediate size texts. %prep %setup -q -n %{fontname} -c %{fontname} - %build -cp %{S:1} . +cp %{SOURCE1} . %install -mkdir -p $RPM_BUILD_ROOT%{fontdir}/ -install -m 0644 exo/*.ttf $RPM_BUILD_ROOT%{fontdir} +mkdir -p %{buildroot}%{fontdir}/ +install -m 0644 exo/*.ttf %{buildroot}%{fontdir} %post %run_suseconfig_fonts @@ -57,4 +64,3 @@ install -m 0644 exo/*.ttf $RPM_BUILD_ROOT%{fontdir} %doc OFL.txt %changelog -