%global fontname mph-2b-damase %global fontconf 62-%{fontname}.conf Name: %{fontname}-fonts Version: 002.000 Release: 3%{?dist} Summary: Free font encoding many non-Latin scripts License: Public Domain URL: http://www.wazu.jp/gallery/views/View_MPH2BDamase.html Source0: http://www.wazu.jp/downloads/damase_v.2.zip Source1: %{name}-fontconfig.conf BuildArch: noarch BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description Mark Williamson's MPH 2B Damase is a free font encoding many non-Latin scripts. %prep %setup -q -c %build %install 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} %_font_pkg -f %{fontconf} *.ttf %changelog * Sat Jun 07 2014 Fedora Release Engineering - 002.000-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Aug 06 2013 Parag Nemade - 002.000-2 - %%setup is really needed for an archive extracting without folder * Sat Aug 03 2013 Parag Nemade - 002.000-1 - Initial Fedora release.