created subpackage -compat as meta-package for installing all font families

This commit is contained in:
cchance 2009-02-04 02:38:56 +00:00
parent 167a0a1494
commit 03178cae24

View File

@ -10,7 +10,7 @@ New.
Name: %{fontname}-fonts Name: %{fontname}-fonts
Summary: Fonts to replace commonly used Microsoft Windows fonts Summary: Fonts to replace commonly used Microsoft Windows fonts
Version: 1.04.93 Version: 1.04.93
Release: 6%{?dist} Release: 7%{?dist}
# The license of the Liberation Fonts is a EULA that contains GPLv2 and two # The license of the Liberation Fonts is a EULA that contains GPLv2 and two
# exceptions: # exceptions:
# The first exception is the standard FSF font exception. # 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 Meta-package of Liberation fonts which installs Sans, Serif, and Monospace
families. families.
%files
%{nil}
%package -n %{fontname}-fonts-common %package -n %{fontname}-fonts-common
Summary: Shared common files of Liberation font families. Summary: Shared common files of Liberation font families.
Group: User Interface/X Group: User Interface/X
@ -55,6 +52,21 @@ Shared common files of Liberation font families.
%verify(not md5 size mtime) %{_fontdir}/fonts.scale %verify(not md5 size mtime) %{_fontdir}/fonts.scale
%{catalogue}/%{name} %{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 %package -n %{fontname}-sans-fonts
Summary: Sans-serif fonts to replace commonly used Microsoft Arial Summary: Sans-serif fonts to replace commonly used Microsoft Arial
Group: User Interface/X Group: User Interface/X
@ -115,6 +127,9 @@ mkfontscale %{buildroot}%{_fontdir}
rm -rf %{buildroot} rm -rf %{buildroot}
%changelog %changelog
* Wed Feb 04 2009 Caius Chance <cchance@redhat.com> - 1.04.93-7.fc11
- Create -compat subpackage as meta-package for installing all font families.
* Tue Jan 20 2009 Matthias Clasen <mclasen@redhat.com> - 1.04.93-6.fc11 * Tue Jan 20 2009 Matthias Clasen <mclasen@redhat.com> - 1.04.93-6.fc11
- Fix busted inter-subpackage dependencies - Fix busted inter-subpackage dependencies