- 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,29 +1,29 @@
|
||||
%define fontname lklug
|
||||
%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
|
||||
# update versions on file changes. When in doubt use the timestamp of the most
|
||||
# recent file as version.
|
||||
Version: 0.6
|
||||
Release: 1.%{cvsdate}cvs%{?dist}
|
||||
Summary: Fonts for Sinhala language
|
||||
|
||||
Group: User Interface/X
|
||||
License: GPLv2+
|
||||
URL: http://sinhala.sourceforge.net/
|
||||
Version: 0.6
|
||||
Release: 2.%{cvsdate}cvs%{?dist}
|
||||
Summary: Fonts for Sinhala language
|
||||
Group: User Interface/X
|
||||
License: GPLv2+
|
||||
URL: http://sinhala.sourceforge.net/
|
||||
# cvs snapshot created with following steps
|
||||
#cvs -z3 -d:pserver:anonymous@sinhala.cvs.sourceforge.net:/cvsroot/sinhala co -P sinhala/fonts
|
||||
#cd sinhala/fonts/
|
||||
#tar -czf lklug-%{cvsdate}.tar.gz convert.ff COPYING CREDITS lklug.sfd Makefile README.fonts
|
||||
|
||||
|
||||
Source: lklug-%{cvsdate}.tar.gz
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel fontforge
|
||||
Requires: fontpackages-filesystem
|
||||
Source: lklug-%{cvsdate}.tar.gz
|
||||
Source1: %{fontconf}
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel fontforge
|
||||
Requires: fontpackages-filesystem
|
||||
|
||||
%description
|
||||
The lklug-fonts package contains fonts for the display of
|
||||
@ -43,15 +43,27 @@ rm -fr %{buildroot}
|
||||
install -m 0755 -d %{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
|
||||
rm -fr %{buildroot}
|
||||
|
||||
%_font_pkg *.ttf
|
||||
%_font_pkg -f %{fontconf} *.ttf
|
||||
%doc CREDITS COPYING README.fonts
|
||||
%dir %{_fontdir}
|
||||
|
||||
|
||||
%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
|
||||
- update to cvs snapshot 20090803.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user