%global fontname saab %global fontconf 90-saab-fonts.conf Name: %{fontname}-fonts Version: 0.91 Release: 2%{?dist} Summary: Free Punjabi Unicode OpenType Font Group: User Interface/X License: GPLv2+ with exceptions URL: http://guca.sourceforge.net/typography/fonts/saab/ Source0: http://downloads.sf.net/guca/saab.0.91.zip Source1: 90-%{name}-fontconfig.conf BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description This package provides a free OpenType Punjabi (Gurmukhi) font. Developed by Bhupinder Singh %prep %setup -q -c %build echo "Nothing to do in Build." %install rm -rf %{buildroot} install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p Saab.otf %{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 -rf %{buildroot} %_font_pkg -f %{fontconf} *.otf %doc %changelog * Wed Jun 3 2009 A S Alam - 0.91-2 - Add fontconfig substitution conf file. * Tue Jun 2 2009 A S Alam - 0.91-1 - New Package Build for Punjabi Unicode Font