%define fontname jomolhari Name: %{fontname}-fonts Version: 0.003 Release: 7%{?dist} Summary: Jomolhari a Bhutanese style font for Tibetan and Dzongkha Group: User Interface/X License: OFL URL: http://chris.fynn.googlepages.com/jomolhari Source0: http://download.savannah.nongnu.org/releases/free-tibetan/jomolhari/jomolhari-alpha003c.zip BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description Jomolhari is an TrueType OpenType Bhutanese style font for Dzongkha and Tibetan text. It is based on Bhutanese manuscript examples, supports the Unicode and the Chinese encoding for Tibetan. The font supports the standard combinations used in most texts. %prep %setup -q -c %build # Empty build section %install rm -rf $RPM_BUILD_ROOT install -d -m 0755 $RPM_BUILD_ROOT%{_fontdir} install -p -m 0644 *.ttf $RPM_BUILD_ROOT%{_fontdir} for i in FONTLOG.txt OFL-FAQ.txt OFL.txt do tr -d '\r' < $i > ${i}.tmp mv -f ${i}.tmp $i done %clean rm -rf $RPM_BUILD_ROOT %_font_pkg *.ttf %doc FONTLOG.txt OFL-FAQ.txt OFL.txt %dir %{_fontdir} %changelog * Fri Mar 13 2009 Rajeesh K Nambiar - 0.003-7 - Updated for new font package guidelines * Wed Feb 25 2009 Fedora Release Engineering - 0.003-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Apr 29 2008 Marcin Garski 0.003-5 - Update URL * Fri Aug 31 2007 Marcin Garski 0.003-4 - Fix license tag * Fri Apr 06 2007 Marcin Garski 0.003-3 - Update to 0.003c - Change license from GPL to OFL * Fri Mar 23 2007 Marcin Garski 0.003-2 - Extend description section * Mon Mar 12 2007 Marcin Garski 0.003-1 - Initial specfile