- added .conf file, bug 567610
This commit is contained in:
parent
948ea6a65c
commit
79257ad6fd
22
65-lklug.conf
Normal file
22
65-lklug.conf
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<match>
|
||||||
|
<test name="lang" compare="contains">
|
||||||
|
<string>si-lk</string>
|
||||||
|
</test>
|
||||||
|
<test name="family">
|
||||||
|
<string>sans-serif</string>
|
||||||
|
</test>
|
||||||
|
<edit name="family" mode="prepend" binding="same">
|
||||||
|
<string>LKLUG</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<alias>
|
||||||
|
<family>LKLUG</family>
|
||||||
|
<default>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
||||||
|
|
@ -1,14 +1,14 @@
|
|||||||
%define fontname lklug
|
%define fontname lklug
|
||||||
%define cvsdate 20090803
|
%define cvsdate 20090803
|
||||||
|
%global fontconf 65-%{fontname}.conf
|
||||||
|
|
||||||
Name: %{fontname}-fonts
|
Name: %{fontname}-fonts
|
||||||
# Do not trust font metadata versionning unless you've checked upstream does
|
# Do not trust font metadata versionning unless you've checked upstream does
|
||||||
# update versions on file changes. When in doubt use the timestamp of the most
|
# update versions on file changes. When in doubt use the timestamp of the most
|
||||||
# recent file as version.
|
# recent file as version.
|
||||||
Version: 0.6
|
Version: 0.6
|
||||||
Release: 1.%{cvsdate}cvs%{?dist}
|
Release: 2.%{cvsdate}cvs%{?dist}
|
||||||
Summary: Fonts for Sinhala language
|
Summary: Fonts for Sinhala language
|
||||||
|
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://sinhala.sourceforge.net/
|
URL: http://sinhala.sourceforge.net/
|
||||||
@ -19,8 +19,8 @@ URL: http://sinhala.sourceforge.net/
|
|||||||
|
|
||||||
|
|
||||||
Source: lklug-%{cvsdate}.tar.gz
|
Source: lklug-%{cvsdate}.tar.gz
|
||||||
|
Source1: %{fontconf}
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: fontpackages-devel fontforge
|
BuildRequires: fontpackages-devel fontforge
|
||||||
Requires: fontpackages-filesystem
|
Requires: fontpackages-filesystem
|
||||||
@ -43,15 +43,27 @@ rm -fr %{buildroot}
|
|||||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||||
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||||
|
|
||||||
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||||
|
%{buildroot}%{_fontconfig_confdir}
|
||||||
|
|
||||||
|
install -m 0644 -p %{SOURCE1} \
|
||||||
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||||
|
|
||||||
|
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||||
|
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -fr %{buildroot}
|
rm -fr %{buildroot}
|
||||||
|
|
||||||
%_font_pkg *.ttf
|
%_font_pkg -f %{fontconf} *.ttf
|
||||||
%doc CREDITS COPYING README.fonts
|
%doc CREDITS COPYING README.fonts
|
||||||
%dir %{_fontdir}
|
%dir %{_fontdir}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 24 2010 Pravin Satpute <psatpute@redhat.com> - 0.6-2.20090803cvs
|
||||||
|
- added .conf file, bug 567610
|
||||||
|
|
||||||
* Mon Aug 03 2009 Parag <pnemade@redhat.com> - 0.6-1.20090803cvs
|
* Mon Aug 03 2009 Parag <pnemade@redhat.com> - 0.6-1.20090803cvs
|
||||||
- update to cvs snapshot 20090803.
|
- update to cvs snapshot 20090803.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user