%global fontname apa-new-athena-unicode %global fontconf 64-%{fontname}.conf Name: %{fontname}-fonts Version: 3.4 Release: 3%{?dist} Summary: New Athena Unicode is a libre/open multilingual font Group: User Interface/X License: OFL URL: http://apagreekkeys.org/NAUdownload.html Source0: http://apagreekkeys.org/fonts/NAU3_4ttf.zip Source1: %{name}-fontconfig.conf BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description New Athena Unicode is an libre/open multilingual font distributed by the American Philological Association. It follows the latest version of the Unicode standard and includes characters for English and Western European languages, polytonic Greek, Coptic, Old Italic, and Demotic Egyptian transliteration, as well as metrical symbols and other characters used by classical scholars. %prep %setup -q -n NAU3_4ttf %build %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 *.pdf *.rtf %changelog * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Jul 15 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 3.4-2 - Made changes according to bug #511336 - changed fontconf priority to 64 - changed description * Tue Jul 14 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 3.4-1 - initial rpm build