From a508923a7deff108f9dbac7e62293a6c44231a7d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 09:29:03 -0400 Subject: [PATCH] import nafees-web-naskh-fonts-1.2-18.el8 --- .gitignore | 1 + .nafees-web-naskh-fonts.metadata | 1 + SOURCES/67-nafees-web-naskh.conf | 16 ++ ...afees-web-naskh-update-preferred-family.pe | 11 ++ SOURCES/nafees-web-naskh.metainfo.xml | 17 +++ SPECS/nafees-web-naskh-fonts.spec | 144 ++++++++++++++++++ 6 files changed, 190 insertions(+) create mode 100644 .gitignore create mode 100644 .nafees-web-naskh-fonts.metadata create mode 100644 SOURCES/67-nafees-web-naskh.conf create mode 100644 SOURCES/nafees-web-naskh-update-preferred-family.pe create mode 100644 SOURCES/nafees-web-naskh.metainfo.xml create mode 100644 SPECS/nafees-web-naskh-fonts.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ee57736 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/nafees-web-naskh-20080509.zip diff --git a/.nafees-web-naskh-fonts.metadata b/.nafees-web-naskh-fonts.metadata new file mode 100644 index 0000000..958eddb --- /dev/null +++ b/.nafees-web-naskh-fonts.metadata @@ -0,0 +1 @@ +b9c6223b7f0a229e0840190d00443f31e071b4ab SOURCES/nafees-web-naskh-20080509.zip diff --git a/SOURCES/67-nafees-web-naskh.conf b/SOURCES/67-nafees-web-naskh.conf new file mode 100644 index 0000000..a108c1b --- /dev/null +++ b/SOURCES/67-nafees-web-naskh.conf @@ -0,0 +1,16 @@ + + + + + sans-serif + + Nafees Web Naskh + + + + Nafees Web Naskh + + sans-serif + + + diff --git a/SOURCES/nafees-web-naskh-update-preferred-family.pe b/SOURCES/nafees-web-naskh-update-preferred-family.pe new file mode 100644 index 0000000..046658b --- /dev/null +++ b/SOURCES/nafees-web-naskh-update-preferred-family.pe @@ -0,0 +1,11 @@ +#!/usr/bin/fontforge + + +fontfile = $1 +Open(fontfile) + +SetTTFName(0x409, 16, 'Nafees Web Naskh') + +Generate('NafeesWeb.ttf') +Close() + diff --git a/SOURCES/nafees-web-naskh.metainfo.xml b/SOURCES/nafees-web-naskh.metainfo.xml new file mode 100644 index 0000000..633b824 --- /dev/null +++ b/SOURCES/nafees-web-naskh.metainfo.xml @@ -0,0 +1,17 @@ + + + nafees-web-naskh + CC-BY-3.0 + Nafees + Nafees Web font for writing Urdu in the Naskh script + +

+ Character based Nafees Web Naskh Open Type Font for writing Urdu in Naskh + script based on Unicode standard. This version has complete support of + Aerabs for Urdu and updated glyphs for Latin characters. + Nafees Web Naskh OTF contains approximately 330 glyphs, including 5 ligatures. +

+
+ psatpute_at_redhat_dot_com + http://www.crulp.org/index.htm +
diff --git a/SPECS/nafees-web-naskh-fonts.spec b/SPECS/nafees-web-naskh-fonts.spec new file mode 100644 index 0000000..4f59ae8 --- /dev/null +++ b/SPECS/nafees-web-naskh-fonts.spec @@ -0,0 +1,144 @@ +%global fontname nafees-web-naskh +%global fontconf 67-%{fontname}.conf +%global archivename NafeesWeb +%global archivedate 20080509 + +Name: %{fontname}-fonts +Version: 1.2 +Release: 18%{?dist} +Summary: Nafees Web font for writing Urdu in the Naskh script + +Group: User Interface/X +License: Bitstream Vera +URL: http://www.crulp.org/Downloads/NafeesWeb.zip + +## NOTE: the original archive is unversioned, so we rename it to add a date stamp +# The Source0 is obtained by doing the following: +# $ wget -S http://www.crulp.org/Downloads/NafeesWeb.zip +# $ mv %{archivename}.zip %{fontname}-%{archivedate}.zip +Source0: %{fontname}-%{archivedate}.zip + +## Fix RHBZ# while not fixed upstream +Source1: %{fontname}-update-preferred-family.pe +Source2: %{fontconf} +Source3: %{fontname}.metainfo.xml + +BuildArch: noarch +Requires: fontpackages-filesystem +BuildRequires: fontpackages-devel +BuildRequires: fontforge + +%description + +Character based Nafees Web Naskh Open Type Font for writing Urdu in Naskh +script based on Unicode standard. This version has complete support of +Aerabs for Urdu and updated glyphs for Latin characters. +Nafees Web Naskh OTF contains approximately 330 glyphs, including 5 ligatures. + + +%prep +%setup -q -c + +%build +# Fix RHBZ#490830 while not fixed upstream +%{_bindir}/fontforge %{SOURCE1} %{archivename}.ttf + +%install +rm -rf %{buildroot} + +#fonts +install -m 0755 -d %{buildroot}%{_fontdir} +install -m 0644 -p *.ttf %{buildroot}%{_fontdir} + +install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ + %{buildroot}%{_fontconfig_confdir} + +install -m 0644 -p %{SOURCE2} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf} + +ln -s %{_fontconfig_templatedir}/%{fontconf} \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf} + +# Add AppStream metadata +install -Dm 0644 -p %{SOURCE3} \ + %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml + + + +%_font_pkg -f %{fontconf} *.ttf + +%doc +%{_datadir}/appdata/%{fontname}.metainfo.xml + + +%changelog +* Thu Feb 08 2018 Fedora Release Engineering - 1.2-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.2-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.2-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Nov 06 2014 Pravin Satpute - 1.2-13 +- Added metainfo for gnome-software + +* Sat Jun 07 2014 Fedora Release Engineering - 1.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 1.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 1.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Feb 24 2010 Mathieu Bridon - 1.2-6 +- bumping spec as I forgot to add the fontconfig file in previous commit + +* Wed Feb 24 2010 Mathieu Bridon - 1.2-5 +- minor spec fixes + +* Wed Feb 24 2010 Pravin Satpute - 1.2-4 +- adding .conf file +- bugfix 567612 + +* Sat Jul 25 2009 Fedora Release Engineering - 1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat Apr 11 2009 Mathieu Bridon - 1.2-2 +- added comment explaining how the source is obtained (as it is modified from upstream) +- temporary fix for RHBZ#490830 while not fixed upstream + +* Sat Apr 11 2009 Mathieu Bridon - 1.2-1 +- update to 1.2 release + +* Wed Feb 25 2009 Fedora Release Engineering - 1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Dec 21 2008 Bernie Innocenti 1.0-4 +- Builddep on fontpackages-devel + +* Sun Dec 21 2008 Bernie Innocenti 1.0-3 +- Typo: fontdir -> _fontdir + +* Sun Dec 21 2008 Bernie Innocenti 1.0-2 +- Updated to current Fedora font packaging guidelines + +* Sat Sep 15 2007 Bernardo Innocenti 1.0-1 +- Initial packaging, borrowing many things from abyssinica-fonts