diff --git a/liberation-fonts.spec b/liberation-fonts.spec index d388046..a6fb3c0 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.05.2.20091019 -Release: 2%{?dist} +Release: 3%{?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. @@ -33,11 +33,12 @@ Meta-package of Liberation fonts which installs Sans, Serif, and Monospace families. %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 Requires: fontpackages-filesystem >= 1.13 Obsoletes: liberation-fonts < 1.04.93-7 Obsoletes: liberation-fonts-compat <= 1.05.1.20090630 +Provides: liberation-fonts, liberation-fonts-compat %description -n %{fontname}-fonts-common %common_desc @@ -97,21 +98,28 @@ New. %__make build %install -rm -rf %{buildroot} +%__rm -rf %{buildroot} # fonts .ttf install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p ttf/*.ttf %{buildroot}%{_fontdir} # catalogue install -m 0755 -d %{buildroot}%{catalogue} -ln -sf %{_fontdir} %{buildroot}%{catalogue}/%{name} +%__ln -sf %{_fontdir} %{buildroot}%{catalogue}/%{name} # fonts.{dir,scale} mkfontdir %{buildroot}%{_fontdir} mkfontscale %{buildroot}%{_fontdir} %clean -rm -rf %{buildroot} +%__rm -rf %{buildroot} %changelog +* Tue Jan 12 2010 Caius 'kaio' Chance - 1.05.2.20091019-3.fc13 +- Removed full stop in Summary. +- Set default file permission in files. +- Provides liberation-fonts and liberation-fonts-compat by + liberation-fonts-common. +- Macro as much as possible in .spec. + * Mon Oct 19 2009 Caius 'kaio' Chance - 1.05.2.20091019-2.fc13 - Rebuilt.