%define fontname Analecta %define name fonts-otf-%{fontname} %define version 2.52 %define release %mkrel 1 %define fontdir %{_datadir}/fonts/OTF/%{fontname} %define fontconfdir %{_sysconfdir}/X11/fontpath.d Summary: Unicode Analecta fonts Name: %{name} Version: %{version} Release: %{release} Source0: http://users.teilar.gr/~g1951d/%{fontname}.zip License: Public Domain Group: System/Fonts/True type Url: http://users.teilar.gr/~g1951d/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch BuildRequires: mkfontscale, mkfontdir %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. %prep %setup -q -c %{name}-%{version} %install %__rm -rf %{buildroot} %__install -m 0755 -d %{buildroot}%{fontdir} %__install -m 0644 *.otf %{buildroot}%{fontdir} mkfontscale %{buildroot}%{fontdir} mkfontdir %{buildroot}%{fontdir} %__install -m 0755 -d %{buildroot}%{fontconfdir} ln -s ../../../%{fontdir} %{buildroot}%{fontconfdir}/otf-%{fontname}:pri=50 %clean %__rm -rf %{buildroot} %files %defattr(-,root,root) %{fontconfdir}/otf* %{fontdir}/*.otf %{fontdir}/fonts.* %changelog * Wed Mar 03 2010 Lev Givon <lev@mandriva.org> 2.52-1mdv2010.1 + Revision: 513933 - import fonts-otf-Analecta