%define fontname lklug %define fontdir %{_datadir}/fonts/%{fontname} Name: %{fontname}-fonts Version: 0.2.2 Release: 5%{?dist} License: GPLv2+ Source: lklug-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Group: User Interface/X Summary: Fonts for Sinhala language URL: http://sinhala.sourceforge.net/ %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 -n %{fontname}-%{version} %build echo "Nothing to do in Build." %install rm -rf %{buildroot} install -m 0755 -d %{buildroot}%{fontdir} install -m 0644 -p *.ttf %{buildroot}%{fontdir} %clean rm -rf %{buildroot} %post if [ -x %{_bindir}/fc-cache ]; then %{_bindir}/fc-cache %{fontdir} fi %postun if [ "$1" = "0" ]; then if [ -x %{_bindir}/fc-cache ]; then %{_bindir}/fc-cache %{fontdir}/fonts fi fi %files %defattr(-,root,root,-) %doc license.txt COPYING %dir %{fontdir} %{fontdir}/*.ttf %changelog * 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