%define fontdir %{_datadir}/fonts/abyssinica Name: abyssinica-fonts Version: 1.0 Release: 2%{?dist} Summary: SIL Abyssinica fonts Group: User Interface/X License: OFL URL: http://scripts.sil.org/AbyssinicaSIL_Download # 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: dos2unix # Providing the name of an upstream RPM Provides: fonts-sil-abyssinica = %{version}-%{release} %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 $RPM_BUILD_ROOT #fonts install -d -m 0755 $RPM_BUILD_ROOT%{fontdir} install -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir} %clean rm -rf $RPM_BUILD_ROOT %post if [ -x %{_bindir}/fc-cache ]; then %{_bindir}/fc-cache %{fontdir} fi %postun if [ "$1" = "0" ]; then if [ -x %{_bindir}/fc-cache ]; then %{_bindir}/fc-cache %{fontdir} fi fi %files %defattr(0644,root,root,0755) %doc FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt %dir %{fontdir} %{fontdir}/*.ttf %changelog * 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