rpms/lklug-fonts/devel 65-lklug.conf, NONE, 1.1 lklug-fonts.spec, 1.8, 1.9
Pravin Satpute
pravins at fedoraproject.org
Wed Feb 24 06:43:14 UTC 2010
Author: pravins
Update of /cvs/pkgs/rpms/lklug-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13192
Modified Files:
lklug-fonts.spec
Added Files:
65-lklug.conf
Log Message:
* Wed Feb 24 2010 Pravin Satpute <psatpute at redhat.com> - 0.6-2.20090803cvs
- added .conf file, bug 567610
--- NEW FILE 65-lklug.conf ---
<?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>
Index: lklug-fonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lklug-fonts/devel/lklug-fonts.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- lklug-fonts.spec 3 Aug 2009 05:32:43 -0000 1.8
+++ lklug-fonts.spec 24 Feb 2010 06:43:14 -0000 1.9
@@ -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 at 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 at redhat.com> - 0.6-2.20090803cvs
+- added .conf file, bug 567610
+
* Mon Aug 03 2009 Parag <pnemade at redhat.com> - 0.6-1.20090803cvs
- update to cvs snapshot 20090803.
More information about the scm-commits
mailing list