Removed 59 conf files and added 30-0 alias conf files
This commit is contained in:
parent
416b3e7a17
commit
243406ea9e
@ -1,46 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
||||||
<fontconfig>
|
|
||||||
<alias>
|
|
||||||
<family>sans-serif</family>
|
|
||||||
<prefer>
|
|
||||||
<family>Liberation Sans Narrow</family>
|
|
||||||
</prefer>
|
|
||||||
</alias>
|
|
||||||
<alias>
|
|
||||||
<family>Liberation Sans Narrow</family>
|
|
||||||
<default>
|
|
||||||
<family>sans-serif</family>
|
|
||||||
</default>
|
|
||||||
</alias>
|
|
||||||
|
|
||||||
<match target="font">
|
|
||||||
<test name="family" ignore-blanks="true">
|
|
||||||
<string>Liberation Mono</string>
|
|
||||||
</test>
|
|
||||||
<edit name="autohint" mode="assign">
|
|
||||||
<bool>false</bool>
|
|
||||||
</edit>
|
|
||||||
<edit name="hinting" mode="assign">
|
|
||||||
<bool>true</bool>
|
|
||||||
</edit>
|
|
||||||
|
|
||||||
</match>
|
|
||||||
<match target="font">
|
|
||||||
<test name="family" ignore-blanks="true">
|
|
||||||
<string>Liberation Mono</string>
|
|
||||||
</test>
|
|
||||||
<test name="pixelsize" compare="less_eq">
|
|
||||||
<double>17</double>
|
|
||||||
</test>
|
|
||||||
<test name="pixelsize" compare="more">
|
|
||||||
<double>8</double>
|
|
||||||
</test>
|
|
||||||
<edit name="autohint" mode="assign">
|
|
||||||
<bool>true</bool>
|
|
||||||
</edit>
|
|
||||||
<edit name="hinting" mode="assign">
|
|
||||||
<bool>false</bool>
|
|
||||||
</edit>
|
|
||||||
</match>
|
|
||||||
</fontconfig>
|
|
@ -1,16 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
||||||
<fontconfig>
|
|
||||||
<alias>
|
|
||||||
<family>sans-serif</family>
|
|
||||||
<prefer>
|
|
||||||
<family>Liberation Sans</family>
|
|
||||||
</prefer>
|
|
||||||
</alias>
|
|
||||||
<alias>
|
|
||||||
<family>Liberation Sans</family>
|
|
||||||
<default>
|
|
||||||
<family>sans-serif</family>
|
|
||||||
</default>
|
|
||||||
</alias>
|
|
||||||
</fontconfig>
|
|
@ -1,16 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
||||||
<fontconfig>
|
|
||||||
<alias>
|
|
||||||
<family>sans-serif</family>
|
|
||||||
<prefer>
|
|
||||||
<family>Liberation Sans Narrow</family>
|
|
||||||
</prefer>
|
|
||||||
</alias>
|
|
||||||
<alias>
|
|
||||||
<family>Liberation Sans Narrow</family>
|
|
||||||
<default>
|
|
||||||
<family>sans-serif</family>
|
|
||||||
</default>
|
|
||||||
</alias>
|
|
||||||
</fontconfig>
|
|
@ -1,5 +1,5 @@
|
|||||||
%global fontname liberation
|
%global fontname liberation
|
||||||
%global fontconf59 59-%{fontname}
|
%global fontconf30 30-0-%{fontname}
|
||||||
%global archivename %{name}-%{version}
|
%global archivename %{name}-%{version}
|
||||||
%define common_desc \
|
%define common_desc \
|
||||||
The Liberation Fonts are intended to be replacements for the three most \
|
The Liberation Fonts are intended to be replacements for the three most \
|
||||||
@ -11,15 +11,15 @@ 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: 2.00.0
|
Version: 2.00.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: OFL
|
License: OFL
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
URL: http://fedorahosted.org/liberation-fonts/
|
URL: http://fedorahosted.org/liberation-fonts/
|
||||||
Source0: https://fedorahosted.org/releases/l/i/liberation-fonts/%{archivename}.tar.gz
|
Source0: https://fedorahosted.org/releases/l/i/liberation-fonts/%{archivename}.tar.gz
|
||||||
Source1: generate.pe
|
Source1: generate.pe
|
||||||
Source2: 59-liberation-mono.conf
|
Source2: 30-0-liberation-mono.conf
|
||||||
Source3: 59-liberation-sans.conf
|
Source3: 30-0-liberation-sans.conf
|
||||||
Source4: 59-liberation-serif.conf
|
Source4: 30-0-liberation-serif.conf
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: fontpackages-devel >= 1.13, xorg-x11-font-utils
|
BuildRequires: fontpackages-devel >= 1.13, xorg-x11-font-utils
|
||||||
BuildRequires: fontforge
|
BuildRequires: fontforge
|
||||||
@ -116,15 +116,15 @@ install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|||||||
|
|
||||||
# Repeat for every font family
|
# Repeat for every font family
|
||||||
install -m 0644 -p %{SOURCE2} \
|
install -m 0644 -p %{SOURCE2} \
|
||||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf59}-mono.conf
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf30}-mono.conf
|
||||||
install -m 0644 -p %{SOURCE3} \
|
install -m 0644 -p %{SOURCE3} \
|
||||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf59}-sans.conf
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf30}-sans.conf
|
||||||
install -m 0644 -p %{SOURCE4} \
|
install -m 0644 -p %{SOURCE4} \
|
||||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf59}-serif.conf
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf30}-serif.conf
|
||||||
|
|
||||||
for fconf in %{fontconf59}-mono.conf \
|
for fconf in %{fontconf30}-mono.conf \
|
||||||
%{fontconf59}-sans.conf \
|
%{fontconf30}-sans.conf \
|
||||||
%{fontconf59}-serif.conf; do
|
%{fontconf30}-serif.conf; do
|
||||||
ln -s %{_fontconfig_templatedir}/$fconf \
|
ln -s %{_fontconfig_templatedir}/$fconf \
|
||||||
%{buildroot}%{_fontconfig_confdir}/$fconf
|
%{buildroot}%{_fontconfig_confdir}/$fconf
|
||||||
done
|
done
|
||||||
@ -134,6 +134,9 @@ mkfontdir %{buildroot}%{_fontdir}
|
|||||||
mkfontscale %{buildroot}%{_fontdir}
|
mkfontscale %{buildroot}%{_fontdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 12 2012 Pravin Satpute <psatpute@redhat.com> - 2.00.0-2
|
||||||
|
- Removed fontconf files of 59 priority, now only has 30-0 alias file
|
||||||
|
|
||||||
* Thu Jul 26 2012 Pravin Satpute <psatpute@redhat.com> - 2.00.0-1
|
* Thu Jul 26 2012 Pravin Satpute <psatpute@redhat.com> - 2.00.0-1
|
||||||
- First upstream release with OFL license
|
- First upstream release with OFL license
|
||||||
- Added conf files with 59 priority
|
- Added conf files with 59 priority
|
||||||
|
Loading…
Reference in New Issue
Block a user