File sil-abyssinica.spec of Package sil-abyssinica
#
# spec file for package sil-abyssinica (Version 1.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: sil-abyssinica
BuildRequires: unzip
%if %suse_version > 910
BuildRequires: xorg-x11-devel
%else
BuildRequires: XFree86-devel
%endif
%if "%(xft-config --prefix)" == "/usr"
%define fontdir /usr/share/fonts/truetype
%else
%define fontdir /usr/X11R6/lib/X11/fonts/truetype
%endif
License: Other uncritical OpenSource License
Group: System/X11/Fonts
Autoreqprov: on
PreReq: %suseconfig_fonts_prereq
Provides: locale(so)
Version: 1.0
Release: 27
URL: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=AbyssinicaSIL
Source0: AbyssinicaSIL1.0.zip
BuildArchitectures: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: smart Unicode font for the Ethiopic script (Amharic)
%description
The Ethiopic script is used for writing many of the languages of
Ethiopia and Eritrea. Ethiopic (U+1200..U+137F) was added to Unicode
3.0. Ethiopic Supplement (U+1380..U+139F) and Ethiopic Extended
(U+2D80..U+2DDF) were added to Unicode 4.1. 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.
Authors:
--------
Non-Roman Script Initiative, SIL International <nrsi@sil.org>
%prep
%setup -T -c %{name} -n %{name}
unzip -j $RPM_SOURCE_DIR/AbyssinicaSIL1.0.zip
chmod 644 *
%build
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
mkdir -p $RPM_BUILD_ROOT%{fontdir}/
install -c -m 644 *.ttf $RPM_BUILD_ROOT%{fontdir}
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%files
%defattr(-, root,root)
%doc *.txt *.pdf
%dir %{fontdir}/
%{fontdir}/*
%changelog
* Thu Mar 29 2007 - rguenther@suse.de
- add unzip BuildRequires
* Fri Oct 20 2006 - mfabian@suse.de
- new package: sil-abyssinica, version 1.0.