%global fontname oflb-asana-math %global fontconf 63-%{fontname}.conf Name: %{fontname}-fonts Version: 0.914 Release: 8%{?dist} Summary: An OpenType font with a MATH table Group: User Interface/X License: OFL ## Note that upstream is dead and there is no download link available at this minute ## so please don't report FTBFS bugs for this package. URL: http://openfontlibrary.org/media/files/asyropoulos/219 Source0: http://openfontlibrary.org/people/asyropoulos/asyropoulos_-_Asana_Math.otf Source1: %{name}-fontconfig.conf Source2: README.license #license text extracted from font file Source3: License.txt BuildArch: noarch BuildRequires: fontpackages-devel Requires: fontpackages-filesystem Obsoletes: asana-math-fonts < 0.914-8 Provides: asana-math-fonts = %{version}-%{release} %description An OpenType font with a MATH table that can be used with XeTeX to typeset math content %prep cp -p %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} . %build #nothing to do %install install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p %{SOURCE0} %{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} %_font_pkg -f %{fontconf} *.otf %doc README.license License.txt %changelog * Tue Jul 13 2010 Parag Nemade <pnemade AT redhat.com> - 0.914-8 - Initial package to rename from asana-math-fonts. - updated/renamed this package according to fonts packaging guidelines.