|
|
d6d315 |
%global fontname sil-scheherazade
|
|
|
d6d315 |
%global fontconf 65-%{fontname}.conf
|
|
|
d6d315 |
|
|
|
d6d315 |
Name: %{fontname}-fonts
|
|
|
d6d315 |
Version: 2.100
|
|
|
d6d315 |
Release: 5%{?dist}
|
|
|
d6d315 |
Summary: An Arabic script unicode font
|
|
|
d6d315 |
|
|
|
d6d315 |
License: OFL
|
|
|
d6d315 |
URL: http://scripts.sil.org/ArabicFonts
|
|
|
d6d315 |
# The file complete URL is as follows:
|
|
|
d6d315 |
# http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=Scheherazade-2.000&filename=Scheherazade-2.000.zip
|
|
|
d6d315 |
Source0: Scheherazade-%{version}.zip
|
|
|
d6d315 |
Source1: %{name}-fontconfig.conf
|
|
|
d6d315 |
Source2: %{fontname}.metainfo.xml
|
|
|
d6d315 |
|
|
|
d6d315 |
BuildArch: noarch
|
|
|
d6d315 |
BuildRequires: fontpackages-devel
|
|
|
d6d315 |
Requires: fontpackages-filesystem
|
|
|
d6d315 |
|
|
|
d6d315 |
%description
|
|
|
d6d315 |
Scheherazade, named after the heroine of the classic Arabian Nights tale, is
|
|
|
d6d315 |
designed in a similar style to traditional typefaces such as Monotype Naskh,
|
|
|
d6d315 |
extended to cover the full Unicode Arabic repertoire.
|
|
|
d6d315 |
|
|
|
d6d315 |
%prep
|
|
|
d6d315 |
%setup -q -n Scheherazade-%{version}
|
|
|
d6d315 |
|
|
|
d6d315 |
|
|
|
d6d315 |
%build
|
|
|
d6d315 |
for docfile in *.txt; do
|
|
|
d6d315 |
fold -s $docfile > $docfile.new && \
|
|
|
d6d315 |
sed -i "s|\r||g" $docfile.new && \
|
|
|
d6d315 |
touch -r $docfile $docfile.new && \
|
|
|
d6d315 |
mv $docfile.new $docfile
|
|
|
d6d315 |
done
|
|
|
d6d315 |
|
|
|
d6d315 |
%install
|
|
|
d6d315 |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
d6d315 |
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
|
|
d6d315 |
|
|
|
d6d315 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
d6d315 |
%{buildroot}%{_fontconfig_confdir}
|
|
|
d6d315 |
|
|
|
d6d315 |
install -m 0644 -p %{SOURCE1} \
|
|
|
d6d315 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
|
d6d315 |
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
|
d6d315 |
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
|
d6d315 |
|
|
|
d6d315 |
# Add AppStream metadata
|
|
|
d6d315 |
install -Dm 0644 -p %{SOURCE2} \
|
|
|
d6d315 |
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
d6d315 |
|
|
|
d6d315 |
%_font_pkg -f %{fontconf} *.ttf
|
|
|
d6d315 |
%doc *.txt documentation/*
|
|
|
d6d315 |
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
d6d315 |
|
|
|
d6d315 |
%changelog
|
|
|
d6d315 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.100-5
|
|
|
d6d315 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
d6d315 |
|
|
|
d6d315 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.100-4
|
|
|
d6d315 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
d6d315 |
|
|
|
d6d315 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.100-3
|
|
|
d6d315 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
d6d315 |
|
|
|
d6d315 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.100-2
|
|
|
d6d315 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
d6d315 |
|
|
|
d6d315 |
* Thu Sep 10 2015 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 2.100-1
|
|
|
d6d315 |
- Update to upstream version 2.100
|
|
|
d6d315 |
|
|
|
d6d315 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.020-4
|
|
|
d6d315 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d6d315 |
|
|
|
d6d315 |
* Fri Oct 17 2014 Parag Nemade <pnemade AT redhat DOT com> - 2.020-3
|
|
|
d6d315 |
- Add metainfo file to show this font in gnome-software
|
|
|
d6d315 |
|
|
|
d6d315 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.020-2
|
|
|
d6d315 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
d6d315 |
|
|
|
d6d315 |
* Tue Feb 25 2014 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 2.020-1
|
|
|
d6d315 |
- Update to 2.020 upstream release with bug fixes
|
|
|
d6d315 |
|
|
|
d6d315 |
* Mon Sep 16 2013 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 2.010-1
|
|
|
d6d315 |
- Update to upstream bugfix release 010
|
|
|
d6d315 |
|
|
|
d6d315 |
* Sun Aug 18 2013 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 2.000-1
|
|
|
d6d315 |
- Update to version 2.000
|
|
|
d6d315 |
|
|
|
d6d315 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.005-4
|
|
|
d6d315 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
d6d315 |
|
|
|
d6d315 |
* Sat Feb 16 2013 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 1.005-3
|
|
|
d6d315 |
- Fix fontconfig test tag to use 'compare' rather than 'mode' which is the
|
|
|
d6d315 |
correct keyword
|
|
|
d6d315 |
|
|
|
d6d315 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.005-2
|
|
|
d6d315 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
d6d315 |
|
|
|
d6d315 |
* Wed Jan 09 2013 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 1.005-1
|
|
|
d6d315 |
- Updated to 1.005 upstream version
|
|
|
d6d315 |
- Removed some deprecated entries (like cleaning buildroot)
|
|
|
d6d315 |
|
|
|
d6d315 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.001-6
|
|
|
d6d315 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
d6d315 |
|
|
|
d6d315 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.001-5
|
|
|
d6d315 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
d6d315 |
|
|
|
d6d315 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.001-4
|
|
|
d6d315 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
d6d315 |
|
|
|
d6d315 |
* Sat May 01 2010 Hedayat Vatankhah <hedayat@grad.com> - 1.001-3
|
|
|
d6d315 |
- Scaled the font (1.2 times bigger) to make it more like other fonts
|
|
|
d6d315 |
|
|
|
d6d315 |
* Sat Oct 03 2009 Hedayat Vatankhah <hedayat@grad.com> - 1.001-2
|
|
|
d6d315 |
- Fixed summary to not include font name
|
|
|
d6d315 |
- Removed some parts of the description
|
|
|
d6d315 |
- Added fontconfig rules
|
|
|
d6d315 |
|
|
|
d6d315 |
* Mon Sep 28 2009 Hedayat Vatankhah <hedayat@grad.com> - 1.001-1
|
|
|
d6d315 |
- Initial version
|
|
|
d6d315 |
|