%define fontname lklug %define cvsdate 20090803 %global fontconf 65-%{fontname}.conf 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: 4.%{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 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 Sinhala. The original font for TeX/LaTeX is developed by Yannis Haralambous and are in GPL. OTF tables are added by Anuradha Ratnaweera and Harshani Devadithya. %prep %setup -q -c %build make %install 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 -f %{fontconf} *.ttf %doc CREDITS COPYING README.fonts %dir %{_fontdir} %changelog * Fri Apr 30 2010 Pravin Satpute - 0.6-4.20090803cvs - Resolves: bug 586851 * Thu Feb 25 2010 Pravin Satpute - 0.6-3.20090803cvs - Resolves: bug 568263 * Wed Feb 24 2010 Pravin Satpute - 0.6-2.20090803cvs - Added .conf file - Resolves: bug 567611 * Mon Nov 30 2009 Dennis Gregorovic - 0.6-1.20090803cvs.1 - Rebuilt for RHEL 6 * Mon Aug 03 2009 Parag - 0.6-1.20090803cvs - update to cvs snapshot 20090803. * Sat Jul 25 2009 Fedora Release Engineering - 0.2.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Mar 10 2009 Rahul Bhalerao - 0.2.2-9 - Dropping previous release. * Mon Mar 09 2009 Rahul Bhalerao - 0.2.2-8 - Following new font packaging guidelines * Wed Feb 25 2009 Fedora Release Engineering - 0.2.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Jun 27 2008 Rahul Bhalerao - 0.2.2-6 - Updated spec to obsolete fonts-sinhala * Wed Oct 17 2007 Rahul Bhalerao - 0.2.2-5 - Added sfd file into srpm * Thu Oct 11 2007 Rahul Bhalerao - 0.2.2-4 - Updated according to the review * Thu Oct 04 2007 Rahul Bhalerao - 0.2.2-3 - Using common template of font spec file * Thu Oct 04 2007 Rahul Bhalerao - 0.2.2-2 - Spec cleanup * Thu Oct 04 2007 Rahul Bhalerao - 0.2.2-1 - Split package from fonts-sinhala to reflect upstream project name