%global fontname levien-museum %global fontconf 61-%{fontname}.conf Name: %{fontname}-fonts Version: 1.0 Release: 1%{?dist} Summary: Based on historical metal Centaur fonts Group: User Interface/X License: OFL URL: http://levien.com/type/myfonts/museum.html Source0: http://levien.com/type/myfonts/museum.zip Source1: %{name}-fontconfig.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description The Museum fonts are based on historical metal Centaur fonts. %define debug_package %{nil} %prep %setup -q -n museum %build %install rm -rf %{buildroot} install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p *.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} %_font_pkg -f %{fontconf} *.otf %changelog * Thu Nov 11 2010 Susmit Shannigrahi - 1.0-1 - Made minor adjustments in spec file - Set fontconfig priority to 61 - Upstream does not provide version info. Considering as post-release. * Mon Nov 08 2010 Susmit Shannigrahi - 1.0-1 - Initial packaging