Resolves:rh#586241 - No fontconfig config files provided

This commit is contained in:
pnemade 2010-07-27 10:09:25 +00:00
parent 4a3f0bb3d9
commit 6a8b98dd80
2 changed files with 35 additions and 9 deletions

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<!-- Generic names -->
<alias>
<family>Jomolhari</family>
<default>
<family>serif</family>
</default>
</alias>
<!-- Locale-specfic overrides -->
<match>
<test name="lang">
<string>bo-cn</string>
<string>bo-in</string>
<string>bo</string>
<string>dz-bt</string>
<string>dz</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Jomolhari</string>
</edit>
</match>
</fontconfig>

View File

@ -1,15 +1,16 @@
%define fontname jomolhari
%global fontname jomolhari
%global fontconf 65-0-%{fontname}.conf
Name: %{fontname}-fonts
Version: 0.003
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Jomolhari a Bhutanese style font for Tibetan and Dzongkha
Group: User Interface/X
License: OFL
URL: http://chris.fynn.googlepages.com/jomolhari
Source0: http://chris.fynn.googlepages.com/jomolhari-alpha003c.zip
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Source1: %{name}-fontconfig.conf
BuildArch: noarch
BuildRequires: fontpackages-devel
@ -28,8 +29,6 @@ The font supports the standard combinations used in most texts.
# Empty build section
%install
rm -rf %{buildroot}
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
@ -39,14 +38,13 @@ do
mv -f ${i}.tmp $i
done
%clean
rm -fr %{buildroot}
%_font_pkg *.ttf
%doc FONTLOG.txt OFL-FAQ.txt OFL.txt
%dir %{_fontdir}
%changelog
* Tue Jul 27 2010 Parag <pnemade AT redhat.com> - 0.003-9
- Resolves:rh#586241 - No fontconfig config files provided
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild