rhbz#477410 (added meta package and refined rependencies)

This commit is contained in:
cchance 2009-01-09 03:31:34 +00:00
parent 39f9b2ff93
commit 280101e02e

View File

@ -22,6 +22,10 @@ License: Liberation
Group: User Interface/X Group: User Interface/X
URL: https://www.redhat.com/promo/fonts/ URL: https://www.redhat.com/promo/fonts/
Source0: liberation-fonts-1.04.93.devel.tar.gz Source0: liberation-fonts-1.04.93.devel.tar.gz
Requires: liberation-fonts-sans >= %{version}
Requires: liberation-fonts-serif >= %{version}
Requires: liberation-fonts-mono >= %{version}
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch BuildArch: noarch
Buildrequires: fontpackages-devel xorg-x11-font-utils Buildrequires: fontpackages-devel xorg-x11-font-utils
@ -29,6 +33,9 @@ Buildrequires: fontpackages-devel xorg-x11-font-utils
%description %description
%common_desc %common_desc
Meta-package of Liberation fonts which installs Sans, Serif, and Monospace
families.
%package common %package common
Summary: Shared common files of Liberation font families. Summary: Shared common files of Liberation font families.
License: Liberation License: Liberation
@ -45,7 +52,7 @@ Shared common files of Liberation font families.
Summary: %3 fonts to replace commonly used Microsoft %4\ Summary: %3 fonts to replace commonly used Microsoft %4\
License: Liberation\ License: Liberation\
Group: User Interface/X\ Group: User Interface/X\
Requires: fontpackages-filesystem, %{name}-common\ Requires: fontpackages-filesystem, %{name}-common >= %{version}\
\ \
%description %1\ %description %1\
%common_desc\ %common_desc\
@ -97,6 +104,9 @@ if [ "$1" = "0" ]; then
fi fi
fi fi
%files
%{nil}
%files common %files common
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)
%doc AUTHORS ChangeLog COPYING License.txt README %doc AUTHORS ChangeLog COPYING License.txt README