- call spec-cleaner

OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/dejavu-fonts?expand=0&rev=10
This commit is contained in:
Petr Gajdos 2012-05-17 09:19:14 +00:00 committed by Git OBS Bridge
parent e03ecbba6e
commit 0bf2a6f164
2 changed files with 17 additions and 12 deletions

View File

@ -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

View File

@ -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