From 79257ad6fd9989d0ef128533d1ae7dae767a4beb Mon Sep 17 00:00:00 2001 From: Pravin Satpute Date: Wed, 24 Feb 2010 06:43:14 +0000 Subject: [PATCH] - added .conf file, bug 567610 --- 65-lklug.conf | 22 ++++++++++++++++++++++ lklug-fonts.spec | 42 +++++++++++++++++++++++++++--------------- 2 files changed, 49 insertions(+), 15 deletions(-) create mode 100644 65-lklug.conf diff --git a/65-lklug.conf b/65-lklug.conf new file mode 100644 index 0000000..1bab462 --- /dev/null +++ b/65-lklug.conf @@ -0,0 +1,22 @@ + + + + + + si-lk + + + sans-serif + + + LKLUG + + + + LKLUG + + sans-serif + + + + diff --git a/lklug-fonts.spec b/lklug-fonts.spec index 504d122..eabc9fe 100644 --- a/lklug-fonts.spec +++ b/lklug-fonts.spec @@ -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 - 0.6-2.20090803cvs +- added .conf file, bug 567610 + * Mon Aug 03 2009 Parag - 0.6-1.20090803cvs - update to cvs snapshot 20090803.