%global fontname gdouros-analecta %global fontconf 65-%{fontname}.conf Name: %{fontname}-fonts Version: 2.52 Release: 1%{?dist} Summary: An eccleastic scripts font Group: User Interface/X License: Copyright only URL: http://users.teilar.gr/~g1951d/ Source0: http://users.teilar.gr/~g1951d/Analecta.zip Source1: %{name}-fontconfig.conf BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description Analecta is an ecclesiastic scripts font, covering Basic Latin, Greek and Coptic, some Punctuation and other Symbols, Coptic, typographica varia, Specials, Gothic and Deseret. 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 Analecta.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} Analecta.otf %doc %changelog * Thu Oct 22 2009 Robin Sonefors - 2.52-1 - Initial packaging