cbb6fb
%global fontname     sil-abyssinica
ba5da4
%global archive_name AbyssinicaSIL
cbb6fb
%global fontconf     66-%{fontname}.conf
cbb6fb
12926d
Name:           %{fontname}-fonts
8d8b35
Version:        1.200
bce160
Release:        8%{?dist}
12926d
Summary:        SIL Abyssinica fonts
12926d
12926d
License:        OFL
12926d
URL:            http://scripts.sil.org/AbyssinicaSIL
8d8b35
# download from http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=AbyssinicaSIL1.200.zip&filename=AbyssinicaSIL1.200.zip
ba5da4
Source0:        %{archive_name}%{version}.zip
fdb9f6
Source1:        %{fontconf}
bce160
Source2:        %{fontname}.metainfo.xml
cbb6fb
12926d
BuildArch:      noarch
12926d
Requires:       fontpackages-filesystem
12926d
BuildRequires:  fontpackages-devel
12926d
BuildRequires:  dos2unix
12926d
12926d
fdb9f6
%description
12926d
SIL Abyssinica is a Unicode typeface family containing glyphs for the
12926d
Ethiopic script.
12926d
12926d
The Ethiopic script is used for writing many of the languages of Ethiopia and
12926d
Eritrea. Abyssinica SIL supports all Ethiopic characters which are in Unicode
12926d
including the Unicode 4.1 extensions. Some languages of Ethiopia are not yet
12926d
able to be fully represented in Unicode and, where necessary, we have included
12926d
non-Unicode characters in the Private Use Area (see Private-use (PUA)
12926d
characters supported by Abyssinica SIL).
12926d
12926d
Abyssinica SIL is based on Ethiopic calligraphic traditions. This release is
12926d
a regular typeface, with no bold or italic version available or planned.
12926d
fdb9f6
12926d
%prep
ba5da4
%setup -q -n %{archive_name}-%{version}
12926d
12926d
12926d
%build
ba5da4
dos2unix FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt documentation/DOCUMENTATION.txt
12926d
12926d
12926d
%install
12926d
#fonts
12926d
install -d -m 0755 %{buildroot}%{_fontdir}
12926d
install -m 0644 *.ttf %{buildroot}%{_fontdir}
12926d
fdb9f6
#fontconfig
fdb9f6
install -d -m 0755 %{buildroot}%{_fontconfig_templatedir} \
fdb9f6
                   %{buildroot}%{_fontconfig_confdir}
fdb9f6
install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
fdb9f6
ln -s %{_fontconfig_templatedir}/%{fontconf} \
fdb9f6
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
12926d
bce160
# Add AppStream metadata
bce160
install -Dm 0644 -p %{SOURCE2} \
bce160
        %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
12926d
fdb9f6
%_font_pkg -f %{fontconf} *.ttf
12926d
%doc FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt
ba5da4
%doc documentation/*
bce160
%{_datadir}/appdata/%{fontname}.metainfo.xml
fdb9f6
12926d
%changelog
bce160
* Thu Oct 16 2014 Parag Nemade <pnemade at="" redhat="" dot="" com=""> - 1.200-8
bce160
- Add metainfo file to show this font in gnome-software
bce160
4ea46b
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.200-7
4ea46b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4ea46b
7e528b
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.200-6
7e528b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7e528b
289a54
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.200-5
289a54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
289a54
662c05
* Mon Aug 13 2012 Parag Nemade <pnemade at="" redhat="" dot="" com=""> - 1.200-4
662c05
- Resolves:rh#847576:-better enabling autohinting by default 
662c05
3ed88b
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.200-3
3ed88b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3ed88b
cbb6fb
* Fri Feb 03 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 1.200-2
cbb6fb
- Spec file cleanup, remove stuff that is not needed any more.
ba5da4
- Fix build with latest release.
ba5da4
8d8b35
* Fri Feb 03 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 1.200-1
8d8b35
- New upstream release.
e31244
- Remove Obsoletes/Provides from package rename.
e31244
ea888c
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-11
ea888c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ea888c
13c871
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-10
13c871
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
13c871
fdb9f6
* Sat Jun 12 2010 Mathieu Bridon <bochecha@fedoraproject.org> - 1.0-9
fdb9f6
- Add fontconfig configuration file (BZ#586248)
fdb9f6
169fd0
* Tue Feb 16 2010 Mathieu Bridon <bochecha@fedoraproject.org> - 1.0-8
169fd0
- Fix Obsolete: that was wrong when renaming the package.
169fd0
- The font base folder was listed twice (one was hidden in the font macro)
169fd0
12926d
* Thu Feb 11 2010 Mathieu Bridon <bochecha@fedoraproject.org> - 1.0-7
12926d
- Use new archive from upstream at same location (which is lowercase now)
12926d
- Remove dubious Provides: (RHBZ#563395)
12926d
12926d
* Wed Feb 10 2010 Mathieu Bridon <bochecha@fedoraproject.org> - 1.0-6
12926d
- Renamed from abyssinica-fonts to sil-abyssinica-fonts
12926d
12926d
* Mon Feb  1 2010 Jens Petersen <petersen@redhat.com>
12926d
- use general SIL url and simplify download url
12926d
12926d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
12926d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
12926d
12926d
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
12926d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
12926d
12926d
* Sun Dec 21 2008 Bernie Innocenti <bernie@codewiz.org> 1.0-3
12926d
- Updated to current Fedora font packaging guidelines
12926d
12926d
* Thu Oct 04 2007 Todd Zullinger <tmz@pobox.com> 1.0-2
12926d
- use upstream zip file as Source0
12926d
- fix license tag
12926d
12926d
* Fri Sep 14 2007 Bernardo Innocenti <bernie@codewiz.org> 1.0-1
12926d
- Initial packaging, borrowing many things from gentium-fonts