@ -1,20 +1,26 @@
%global fontname sil-abyssinica
%global archive_name AbyssinicaSIL
%global fontconf 66-%{fontname}.conf
Name: %{fontname}-fonts
Version: 1.200
Version: 1.200
Release: 23%{?dist}
Release: 13%{?dist}
Summary: SIL Abyssinica fonts
%global foundry SIL
%global fontlicense OFL
License: OFL
%global fontlicenses OFL.txt
URL: http://scripts.sil.org/AbyssinicaSIL
%global fontdocs *.txt documentation/*.txt
# 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
%global fontdocsex %{fontlicenses}
Source0: %{archive_name}%{version}.zip
Source1: %{fontconf}
%global fontfamily Abyssinica SIL
Source2: %{fontname}.metainfo.xml
%global fontsummary SIL Abyssinica fonts
%global projectname AbyssinicaSIL
BuildArch: noarch
%global archivename %{lua:t=string.gsub(rpm.expand("%{fontfamily}"), "[%p%s]+", ""); print(t)}%{version}
Requires: fontpackages-filesystem
URL: https://software.sil.org/%{projectname}/
BuildRequires: fontpackages-devel
%global fonts *.ttf
BuildRequires: dos2unix
%global fontconfs %{SOURCE1}
%global fontdescription %{expand:
%description
SIL Abyssinica is a Unicode typeface family containing glyphs for the
SIL Abyssinica is a Unicode typeface family containing glyphs for the
Ethiopic script.
Ethiopic script.
@ -26,63 +32,39 @@ non-Unicode characters in the Private Use Area (see Private-use (PUA)
characters supported by Abyssinica SIL).
characters supported by Abyssinica SIL).
Abyssinica SIL is based on Ethiopic calligraphic traditions. This release is
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
%prep
%setup -q -n %{projectname}-%{version}
%setup -q -n %{archive_name}-%{version}
%linuxtext FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt documentation/DOCUMENTATION.txt
%build
%fontbuild
%install
%fontinstall
%check
%build
%fontcheck
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
%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
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.200-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild