%global fontname sil-abyssinica %global fontconf 66-%{fontname}.conf Name: %{fontname}-fonts Version: 1.0 Release: 9%{?dist} Summary: SIL Abyssinica fonts Group: User Interface/X License: OFL URL: http://scripts.sil.org/AbyssinicaSIL # download from http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=AbyssinicaSIL1.0.zip&filename=abyssinicasil1.0.zip Source0: abyssinicasil%{version}.zip Source1: %{fontconf} BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch Requires: fontpackages-filesystem BuildRequires: fontpackages-devel BuildRequires: dos2unix # Package was renamed from abyssinica-fonts during the F13 development cycle. # Those 2 lines could probably be removed during the F15 one. Provides: abyssinica-fonts = %{version}-%{release} Obsoletes: abyssinica-fonts < 1.0-6 %description SIL Abyssinica is a Unicode typeface family containing glyphs for the Ethiopic script. The Ethiopic script is used for writing many of the languages of Ethiopia and Eritrea. Abyssinica SIL supports all Ethiopic characters which are in Unicode including the Unicode 4.1 extensions. Some languages of Ethiopia are not yet able to be fully represented in Unicode and, where necessary, we have included non-Unicode characters in the Private Use Area (see Private-use (PUA) characters supported by Abyssinica SIL). Abyssinica SIL is based on Ethiopic calligraphic traditions. This release is a regular typeface, with no bold or italic version available or planned. %prep %setup -q -c %build dos2unix FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt %install rm -rf %{buildroot} #fonts install -d -m 0755 %{buildroot}%{_fontdir} install -m 0644 *.ttf %{buildroot}%{_fontdir} #fontconfig install -d -m 0755 %{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 -rf %{buildroot} %_font_pkg -f %{fontconf} *.ttf %doc FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt %changelog * Sat Jun 12 2010 Mathieu Bridon - 1.0-9 - Add fontconfig configuration file (BZ#586248) * Tue Feb 16 2010 Mathieu Bridon - 1.0-8 - Fix Obsolete: that was wrong when renaming the package. - The font base folder was listed twice (one was hidden in the font macro) * Thu Feb 11 2010 Mathieu Bridon - 1.0-7 - Use new archive from upstream at same location (which is lowercase now) - Remove dubious Provides: (RHBZ#563395) * Wed Feb 10 2010 Mathieu Bridon - 1.0-6 - Renamed from abyssinica-fonts to sil-abyssinica-fonts * Mon Feb 1 2010 Jens Petersen - use general SIL url and simplify download url * Fri Jul 24 2009 Fedora Release Engineering - 1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Feb 23 2009 Fedora Release Engineering - 1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Dec 21 2008 Bernie Innocenti 1.0-3 - Updated to current Fedora font packaging guidelines * Thu Oct 04 2007 Todd Zullinger 1.0-2 - use upstream zip file as Source0 - fix license tag * Fri Sep 14 2007 Bernardo Innocenti 1.0-1 - Initial packaging, borrowing many things from gentium-fonts