|
Bernie Innocenti |
8686bfb |
%define fontdir %{_datadir}/fonts/abyssinica
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
Name: abyssinica-fonts
|
|
Bernie Innocenti |
8686bfb |
Version: 1.0
|
|
Bernie Innocenti |
03902d4 |
Release: 2%{?dist}
|
|
Bernie Innocenti |
8686bfb |
Summary: SIL Abyssinica fonts
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
Group: User Interface/X
|
|
Bernie Innocenti |
03902d4 |
License: OFL
|
|
Bernie Innocenti |
8686bfb |
URL: http://scripts.sil.org/AbyssinicaSIL_Download
|
|
Bernie Innocenti |
03902d4 |
# 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
|
|
Bernie Innocenti |
03902d4 |
Source0: AbyssinicaSIL%{version}.zip
|
|
Bernie Innocenti |
8686bfb |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Bernie Innocenti |
8686bfb |
BuildArch: noarch
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
BuildRequires: dos2unix
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
# Providing the name of an upstream RPM
|
|
Bernie Innocenti |
8686bfb |
Provides: fonts-sil-abyssinica = %{version}-%{release}
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
%description
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
SIL Abyssinica is a Unicode typeface family containing glyphs for the
|
|
Bernie Innocenti |
8686bfb |
Ethiopic script.
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
The Ethiopic script is used for writing many of the languages of Ethiopia and
|
|
Bernie Innocenti |
8686bfb |
Eritrea. Abyssinica SIL supports all Ethiopic characters which are in Unicode
|
|
Bernie Innocenti |
8686bfb |
including the Unicode 4.1 extensions. Some languages of Ethiopia are not yet
|
|
Bernie Innocenti |
8686bfb |
able to be fully represented in Unicode and, where necessary, we have included
|
|
Bernie Innocenti |
8686bfb |
non-Unicode characters in the Private Use Area (see Private-use (PUA)
|
|
Bernie Innocenti |
8686bfb |
characters supported by Abyssinica SIL).
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
Abyssinica SIL is based on Ethiopic calligraphic traditions. This release is
|
|
Bernie Innocenti |
8686bfb |
a regular typeface, with no bold or italic version available or planned.
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
%prep
|
|
Bernie Innocenti |
03902d4 |
%setup -q -c
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
%build
|
|
Bernie Innocenti |
8686bfb |
dos2unix FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
%install
|
|
Bernie Innocenti |
8686bfb |
rm -rf $RPM_BUILD_ROOT
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
#fonts
|
|
Bernie Innocenti |
8686bfb |
install -d -m 0755 $RPM_BUILD_ROOT%{fontdir}
|
|
Bernie Innocenti |
8686bfb |
install -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir}
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
%clean
|
|
Bernie Innocenti |
8686bfb |
rm -rf $RPM_BUILD_ROOT
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
%post
|
|
Bernie Innocenti |
8686bfb |
if [ -x %{_bindir}/fc-cache ]; then
|
|
Bernie Innocenti |
8686bfb |
%{_bindir}/fc-cache %{fontdir}
|
|
Bernie Innocenti |
8686bfb |
fi
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
%postun
|
|
Bernie Innocenti |
8686bfb |
if [ "$1" = "0" ]; then
|
|
Bernie Innocenti |
8686bfb |
if [ -x %{_bindir}/fc-cache ]; then
|
|
Bernie Innocenti |
8686bfb |
%{_bindir}/fc-cache %{fontdir}
|
|
Bernie Innocenti |
8686bfb |
fi
|
|
Bernie Innocenti |
8686bfb |
fi
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
%files
|
|
Bernie Innocenti |
8686bfb |
%defattr(0644,root,root,0755)
|
|
Bernie Innocenti |
8686bfb |
%doc FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
%dir %{fontdir}
|
|
Bernie Innocenti |
8686bfb |
%{fontdir}/*.ttf
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
|
|
Bernie Innocenti |
8686bfb |
%changelog
|
|
Bernie Innocenti |
03902d4 |
* Thu Oct 04 2007 Todd Zullinger <tmz@pobox.com> 1.0-2
|
|
Bernie Innocenti |
03902d4 |
- use upstream zip file as Source0
|
|
Bernie Innocenti |
03902d4 |
- fix license tag
|
|
Bernie Innocenti |
03902d4 |
|
|
Bernie Innocenti |
8686bfb |
* Fri Sep 14 2007 Bernardo Innocenti <bernie@codewiz.org> 1.0-1
|
|
Bernie Innocenti |
8686bfb |
- Initial packaging, borrowing many things from gentium-fonts
|