diff --git a/un-fonts.changes b/un-fonts.changes index f1b42a8..aeed288 100644 --- a/un-fonts.changes +++ b/un-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:33 UTC 2012 - pgajdos@suse.com diff --git a/un-fonts.spec b/un-fonts.spec index c2993d6..98adfa1 100644 --- a/un-fonts.spec +++ b/un-fonts.spec @@ -16,21 +16,20 @@ # - Name: un-fonts %define date 080608 %define ver 1.0.2 Version: 1.0.20%{date} Release: 0 -License: GPL-2.0+ Summary: Korean TrueType fonts -Url: http://kldp.net/projects/unfonts/download +License: GPL-2.0+ Group: System/X11/Fonts +Url: http://kldp.net/projects/unfonts/download Source0: %{name}-core-%{ver}-%{date}.tar.bz2 Source1: %{name}-extra-%{ver}-%{date}.tar.bz2 Source10: update-archive -Requires(pre): %suseconfig_fonts_prereq -%define ttf_fontdir /usr/share/fonts/truetype +BuildRequires: fontpackages-devel +%reconfigure_fonts_prereq Provides: scalable-font-ko Provides: locale(ko) # FIXME: This causes a rpmlint warning; change <= to < once here's a new upstream version @@ -48,21 +47,14 @@ Collection of Korean TrueType fonts. %build %install -mkdir -p %{buildroot}%{ttf_fontdir}/ -install -c -m 644 *.ttf %{buildroot}%{ttf_fontdir}/ +mkdir -p %{buildroot}%{_ttfontsdir}/ +install -c -m 644 *.ttf %{buildroot}%{_ttfontsdir}/ -%clean -rm -rf %{buildroot} - -%post -%run_suseconfig_fonts -c - -%postun -%run_suseconfig_fonts -c +%reconfigure_fonts_scriptlets -c %files %defattr(-, root,root) %doc README COPYING -%{ttf_fontdir} +%{_ttfontsdir} %changelog