%global fontname gdouros-musica %global fontconf 65-%{fontname}.conf Name: %{fontname}-fonts Version: 2.52 Release: 1%{?dist} Summary: A font for musical symbols Group: User Interface/X License: Copyright only URL: http://users.teilar.gr/~g1951d/ Source0: http://users.teilar.gr/~g1951d/Musica.zip Source1: %{name}-fontconfig.conf BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description Musica covers the following scripts and symbols supported by The Unicode Standard 5.2: Basic Latin, Greek and Coptic, some Punctuation and other Symbols, Byzantine Musical Symbols, (Western) Musical Symbols, Archaic Greek Musical Notation. It was created by George Douros. %prep %setup -q -c %build %install rm -fr %{buildroot} install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p Musica.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} %clean rm -fr %{buildroot} %_font_pkg -f %{fontconf} Musica.otf %doc %changelog * Thu Oct 22 2009 Robin Sonefors - 2.52-1 - Initial packaging