import nafees-web-naskh-fonts-1.2-18.el8
This commit is contained in:
commit
9383277546
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
SOURCES/nafees-web-naskh-20080509.zip
|
1
.nafees-web-naskh-fonts.metadata
Normal file
1
.nafees-web-naskh-fonts.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
b9c6223b7f0a229e0840190d00443f31e071b4ab SOURCES/nafees-web-naskh-20080509.zip
|
16
SOURCES/67-nafees-web-naskh.conf
Normal file
16
SOURCES/67-nafees-web-naskh.conf
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Nafees Web Naskh</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Nafees Web Naskh</family>
|
||||||
|
<default>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
11
SOURCES/nafees-web-naskh-update-preferred-family.pe
Normal file
11
SOURCES/nafees-web-naskh-update-preferred-family.pe
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/fontforge
|
||||||
|
|
||||||
|
|
||||||
|
fontfile = $1
|
||||||
|
Open(fontfile)
|
||||||
|
|
||||||
|
SetTTFName(0x409, 16, 'Nafees Web Naskh')
|
||||||
|
|
||||||
|
Generate('NafeesWeb.ttf')
|
||||||
|
Close()
|
||||||
|
|
17
SOURCES/nafees-web-naskh.metainfo.xml
Normal file
17
SOURCES/nafees-web-naskh.metainfo.xml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="font">
|
||||||
|
<id>nafees-web-naskh</id>
|
||||||
|
<metadata_license>CC-BY-3.0</metadata_license>
|
||||||
|
<name>Nafees</name>
|
||||||
|
<summary>Nafees Web font for writing Urdu in the Naskh script</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
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.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<updatecontact>psatpute_at_redhat_dot_com</updatecontact>
|
||||||
|
<url type="homepage">http://www.crulp.org/index.htm</url>
|
||||||
|
</component>
|
144
SPECS/nafees-web-naskh-fonts.spec
Normal file
144
SPECS/nafees-web-naskh-fonts.spec
Normal file
@ -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 <releng@fedoraproject.org> - 1.2-18
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-16
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Nov 06 2014 Pravin Satpute <psatpute@redhat.com> - 1.2-13
|
||||||
|
- Added metainfo for gnome-software
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 24 2010 Mathieu Bridon <bochecha@fedoraproject.org> - 1.2-6
|
||||||
|
- bumping spec as I forgot to add the fontconfig file in previous commit
|
||||||
|
|
||||||
|
* Wed Feb 24 2010 Mathieu Bridon <bochecha@fedoraproject.org> - 1.2-5
|
||||||
|
- minor spec fixes
|
||||||
|
|
||||||
|
* Wed Feb 24 2010 Pravin Satpute <psatpute@redhat.com> - 1.2-4
|
||||||
|
- adding .conf file
|
||||||
|
- bugfix 567612
|
||||||
|
|
||||||
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Apr 11 2009 Mathieu Bridon <bochecha@fedoraproject.org> - 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 <bochecha@fedoraproject.org> - 1.2-1
|
||||||
|
- update to 1.2 release
|
||||||
|
|
||||||
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Dec 21 2008 Bernie Innocenti <bernie@codewiz.org> 1.0-4
|
||||||
|
- Builddep on fontpackages-devel
|
||||||
|
|
||||||
|
* Sun Dec 21 2008 Bernie Innocenti <bernie@codewiz.org> 1.0-3
|
||||||
|
- Typo: fontdir -> _fontdir
|
||||||
|
|
||||||
|
* Sun Dec 21 2008 Bernie Innocenti <bernie@codewiz.org> 1.0-2
|
||||||
|
- Updated to current Fedora font packaging guidelines
|
||||||
|
|
||||||
|
* Sat Sep 15 2007 Bernardo Innocenti <bernie@codewiz.org> 1.0-1
|
||||||
|
- Initial packaging, borrowing many things from abyssinica-fonts
|
Loading…
Reference in New Issue
Block a user