From 3ed2f04cbe68df39ae329fa3bfc23118e7108fb8a8ebf5db177c8cc9d30a0546 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Wed, 11 Jul 2012 06:27:56 +0000 Subject: [PATCH] - amend spec file to reflect new font packaging scheme (see openFATE#313536); OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/gnu-unifont-bitmap-fonts?expand=0&rev=8 --- gnu-unifont-bitmap-fonts.changes | 6 ++++++ gnu-unifont-bitmap-fonts.spec | 18 +++++++----------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/gnu-unifont-bitmap-fonts.changes b/gnu-unifont-bitmap-fonts.changes index 1f9dbb8..6d355de 100644 --- a/gnu-unifont-bitmap-fonts.changes +++ b/gnu-unifont-bitmap-fonts.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 4 12:39:06 CEST 2012 - pgajdos@suse.cz + +- amend spec file to reflect new font packaging scheme + (see openFATE#313536); + ------------------------------------------------------------------- Thu May 17 09:10:05 UTC 2012 - pgajdos@suse.com diff --git a/gnu-unifont-bitmap-fonts.spec b/gnu-unifont-bitmap-fonts.spec index 97285f3..f2d8f8b 100644 --- a/gnu-unifont-bitmap-fonts.spec +++ b/gnu-unifont-bitmap-fonts.spec @@ -16,19 +16,19 @@ # +%define fontdir %{_fontsdir}/uni Name: gnu-unifont-bitmap-fonts Version: 20080123 -Release: 75 -%define fontdir /usr/share/fonts/uni +Release: 0 +Summary: The GNU Unicode Bitmap Font License: GPL-2.0+ -Summary: The GNU Unicode Bitmap font -Url: http://en.wikipedia.org/wiki/Gnu_unifont Group: System/X11/Fonts +Url: http://en.wikipedia.org/wiki/Gnu_unifont Source0: gnu-unifont-%{version}.tar.bz2 Source1: gpl-2.0.txt -BuildRequires: xorg-x11 -Requires(pre): %suseconfig_fonts_prereq +BuildRequires: fontpackages-devel +%reconfigure_fonts_prereq Provides: gnu-unifont = %{version} Obsoletes: gnu-unifont <= 20080123 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -55,11 +55,7 @@ install -m 444 *.pcf.gz %{buildroot}%{fontdir} %clean -%post -%run_suseconfig_fonts - -%postun -%run_suseconfig_fonts +%reconfigure_fonts_scriptlets %files %defattr(-, root,root)