diff --git a/liberation-fonts.spec b/liberation-fonts.spec index 671986a..67641ae 100644 --- a/liberation-fonts.spec +++ b/liberation-fonts.spec @@ -10,7 +10,7 @@ New. Name: %{fontname}-fonts Summary: Fonts to replace commonly used Microsoft Windows fonts Version: 1.04.93 -Release: 6%{?dist} +Release: 7%{?dist} # The license of the Liberation Fonts is a EULA that contains GPLv2 and two # exceptions: # The first exception is the standard FSF font exception. @@ -34,9 +34,6 @@ Buildrequires: fontpackages-devel >= 1.13, xorg-x11-font-utils Meta-package of Liberation fonts which installs Sans, Serif, and Monospace families. -%files -%{nil} - %package -n %{fontname}-fonts-common Summary: Shared common files of Liberation font families. Group: User Interface/X @@ -55,6 +52,21 @@ Shared common files of Liberation font families. %verify(not md5 size mtime) %{_fontdir}/fonts.scale %{catalogue}/%{name} +%package -n %{fontname}-fonts-compat +Summary: Compatibility files of Liberation font families. +Group: User Interface/X +Requires: %{fontname}-fonts-common = %{version}-%{release} +Obsoletes: liberation-fonts = 1.04.93-6 +Conflicts: liberation-fonts < 1.04.93-7 + +%description -n %{fontname}-fonts-compat +%common_desc + +Meta-package for installing all three font families: Sans, Serif, Mono. + +%files -n %{fontname}-fonts-compat +%{nil} + %package -n %{fontname}-sans-fonts Summary: Sans-serif fonts to replace commonly used Microsoft Arial Group: User Interface/X @@ -115,6 +127,9 @@ mkfontscale %{buildroot}%{_fontdir} rm -rf %{buildroot} %changelog +* Wed Feb 04 2009 Caius Chance - 1.04.93-7.fc11 +- Create -compat subpackage as meta-package for installing all font families. + * Tue Jan 20 2009 Matthias Clasen - 1.04.93-6.fc11 - Fix busted inter-subpackage dependencies