Updated source from upstream. Latest upstream sources has changed to SFD
from TTF format. Removed unwanted -compat package.
This commit is contained in:
parent
ddee18eafe
commit
b4d60610df
@ -1 +1 @@
|
|||||||
liberation-fonts-1.04.93.devel.tar.gz
|
liberation-fonts-1.05.1.20090630.tar.gz
|
||||||
|
@ -9,8 +9,8 @@ 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.05.1.20090630
|
||||||
Release: 11%{?dist}
|
Release: 1%{?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.
|
||||||
@ -19,11 +19,12 @@ Release: 11%{?dist}
|
|||||||
License: Liberation
|
License: Liberation
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
URL: https://fedorahosted.org/liberation-fonts/
|
URL: https://fedorahosted.org/liberation-fonts/
|
||||||
Source0: liberation-fonts-1.04.93.devel.tar.gz
|
Source0: https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-1.05.1.20090630.tar.gz
|
||||||
|
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: fontpackages-devel >= 1.13, xorg-x11-font-utils
|
BuildRequires: fontpackages-devel >= 1.13, xorg-x11-font-utils
|
||||||
|
BuildRequires: fontforge >= 20090224
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%common_desc
|
%common_desc
|
||||||
@ -35,6 +36,8 @@ families.
|
|||||||
Summary: Shared common files of Liberation font families.
|
Summary: Shared common files of Liberation font families.
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
Requires: fontpackages-filesystem >= 1.13
|
Requires: fontpackages-filesystem >= 1.13
|
||||||
|
Obsoletes: liberation-fonts < 1.04.93-7
|
||||||
|
Obsoletes: liberation-fonts-compat <= 1.05.1.20090630
|
||||||
|
|
||||||
%description -n %{fontname}-fonts-common
|
%description -n %{fontname}-fonts-common
|
||||||
%common_desc
|
%common_desc
|
||||||
@ -49,22 +52,6 @@ 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}-sans-fonts = %{version}-%{release}
|
|
||||||
Requires: %{fontname}-serif-fonts = %{version}-%{release}
|
|
||||||
Requires: %{fontname}-mono-fonts = %{version}-%{release}
|
|
||||||
Obsoletes: 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
|
||||||
@ -104,16 +91,16 @@ New.
|
|||||||
%_font_pkg -n mono LiberationMono-*.ttf
|
%_font_pkg -n mono LiberationMono-*.ttf
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}.devel
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{nil}
|
%__make build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
# fonts .ttf
|
# fonts .ttf
|
||||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||||
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
install -m 0644 -p ttf/*.ttf %{buildroot}%{_fontdir}
|
||||||
# catalogue
|
# catalogue
|
||||||
install -m 0755 -d %{buildroot}%{catalogue}
|
install -m 0755 -d %{buildroot}%{catalogue}
|
||||||
ln -sf %{_fontdir} %{buildroot}%{catalogue}/%{name}
|
ln -sf %{_fontdir} %{buildroot}%{catalogue}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user