Compare commits

...

No commits in common. 'c9' and 'c8' have entirely different histories.
c9 ... c8

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<!-- Generic names -->
<alias>
@ -16,7 +16,7 @@
</prefer>
</alias>
<match target="font">
<test name="family" ignore-blanks="true">
<test name="family" ignore-blanks="yes">
<string>Abyssinica SIL</string>
</test>
<edit name="autohint" mode="assign">

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Parag Nemade <pnemade AT redhat DOT com> -->
<component type="font">
<id>sil-abyssinica</id>
<metadata_license>CC-BY-3.0</metadata_license>
<name>Abyssinica SIL</name>
<summary>SIL Abyssinica fonts</summary>
<description>
<p>
SIL Abyssinica is a Unicode typeface family containing glyphs for the
Ethiopic script.
</p>
</description>
<updatecontact>pnemade_at_redhat_dot_com</updatecontact>
<url type="homepage">http://scripts.sil.org/AbyssinicaSIL</url>
</component>

@ -1,20 +1,26 @@
%global fontname sil-abyssinica
%global archive_name AbyssinicaSIL
%global fontconf 66-%{fontname}.conf
Name: %{fontname}-fonts
Version: 1.200
Release: 23%{?dist}
%global foundry SIL
%global fontlicense OFL
%global fontlicenses OFL.txt
%global fontdocs *.txt documentation/*.txt
%global fontdocsex %{fontlicenses}
%global fontfamily Abyssinica SIL
%global fontsummary SIL Abyssinica fonts
%global projectname AbyssinicaSIL
%global archivename %{lua:t=string.gsub(rpm.expand("%{fontfamily}"), "[%p%s]+", ""); print(t)}%{version}
URL: https://software.sil.org/%{projectname}/
%global fonts *.ttf
%global fontconfs %{SOURCE1}
%global fontdescription %{expand:
Release: 13%{?dist}
Summary: SIL Abyssinica fonts
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.200.zip&filename=AbyssinicaSIL1.200.zip
Source0: %{archive_name}%{version}.zip
Source1: %{fontconf}
Source2: %{fontname}.metainfo.xml
BuildArch: noarch
Requires: fontpackages-filesystem
BuildRequires: fontpackages-devel
BuildRequires: dos2unix
%description
SIL Abyssinica is a Unicode typeface family containing glyphs for the
Ethiopic script.
@ -26,63 +32,39 @@ 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.}
a regular typeface, with no bold or italic version available or planned.
# 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
Source0: %{archivename}.zip
Source1: 66-%{fontpkgname}.conf
%fontpkg
%prep
%setup -q -n %{projectname}-%{version}
%linuxtext FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt documentation/DOCUMENTATION.txt
%setup -q -n %{archive_name}-%{version}
%build
%fontbuild
%install
%fontinstall
%check
%fontcheck
%build
dos2unix FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt documentation/DOCUMENTATION.txt
%fontfiles
%install
#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}
# Add AppStream metadata
install -Dm 0644 -p %{SOURCE2} \
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
%_font_pkg -f %{fontconf} *.ttf
%doc FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt
%doc documentation/*
%{_datadir}/appdata/%{fontname}.metainfo.xml
%changelog
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com>
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com>
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.200-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.200-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun May 24 2020 Parag Nemade <pnemade AT redhat DOT com> - 1.200-19
- Update fontconfig DTD id in conf file
* Thu Mar 12 2020 Parag Nemade <pnemade AT redhat DOT com> - 1.200-18
- Convert to new fonts packaging guidelines
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.200-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.200-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.200-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.200-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.200-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save