From 0bf2a6f164c51a4256c88e72f96ed1ffb64d69ee0658441ce1e76f5cbf7228fb Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 17 May 2012 09:19:14 +0000 Subject: [PATCH] - call spec-cleaner OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/dejavu-fonts?expand=0&rev=10 --- dejavu-fonts.changes | 5 +++++ dejavu-fonts.spec | 24 ++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/dejavu-fonts.changes b/dejavu-fonts.changes index 048fb9e..a8fc1e8 100644 --- a/dejavu-fonts.changes +++ b/dejavu-fonts.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 17 09:09:55 UTC 2012 - pgajdos@suse.com + +- call spec-cleaner + ------------------------------------------------------------------- Tue Jan 3 11:39:19 UTC 2012 - cfarrell@suse.com diff --git a/dejavu-fonts.spec b/dejavu-fonts.spec index 5590c1a..88179d3 100644 --- a/dejavu-fonts.spec +++ b/dejavu-fonts.spec @@ -1,7 +1,7 @@ # # spec file for package dejavu-fonts # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,23 +18,23 @@ Name: dejavu-fonts -License: SUSE-Permissive -Group: System/X11/Fonts -PreReq: %suseconfig_fonts_prereq -Provides: desktop-data-SuSE:/usr/X11R6/lib/X11/fonts/truetype/SUSESans-Roman.ttf -Provides: locale(bg;el;mk;ru;vi) Version: 2.33 Release: 1 +License: SUSE-Permissive Summary: DejaVu Truetype Fonts +Url: http://dejavu.sourceforge.net/ +Group: System/X11/Fonts # download http://mesh.dl.sourceforge.net/sourceforge/dejavu/dejavu-fonts-ttf-%{version}.tar.bz2 Source: dejavu-fonts-ttf-%{version}.tar.bz2 -Url: http://dejavu.sourceforge.net/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch +Requires(pre): %suseconfig_fonts_prereq +Provides: desktop-data-SuSE:/usr/X11R6/lib/X11/fonts/truetype/SUSESans-Roman.ttf +Provides: locale(bg;el;mk;ru;vi) %define ttf_fontdir /usr/share/fonts/truetype # FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version Obsoletes: dejavu <= 2.33 Provides: dejavu = %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description The DejaVu fonts are a font family based on the Bitstream Vera Fonts. @@ -43,13 +43,13 @@ the original look and feel through the process of collaborative development. %prep -%setup -n %name-ttf-%version +%setup -n %{name}-ttf-%{version} %build %install -mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}/ -install -m 0644 ttf/*.ttf $RPM_BUILD_ROOT%{ttf_fontdir}/ +mkdir -p %{buildroot}%{ttf_fontdir}/ +install -m 0644 ttf/*.ttf %{buildroot}%{ttf_fontdir}/ %post %run_suseconfig_fonts