Blame SPECS/nafees-web-naskh-fonts.spec

f34d29
%global fontname        nafees-web-naskh
f34d29
%global fontconf        67-%{fontname}.conf
f34d29
%global archivename     NafeesWeb
f34d29
%global archivedate     20080509
f34d29
f34d29
Name:           %{fontname}-fonts
f34d29
Version:        1.2
f34d29
Release:        11%{?dist}
f34d29
Summary:        Nafees Web font for writing Urdu in the Naskh script 
f34d29
f34d29
Group:          User Interface/X
f34d29
License:        Bitstream Vera
f34d29
URL:            http://www.crulp.org/Downloads/NafeesWeb.zip
f34d29
f34d29
## NOTE: the original archive is unversioned, so we rename it to add a date stamp
f34d29
# The Source0 is obtained by doing the following:
f34d29
# $ wget -S http://www.crulp.org/Downloads/NafeesWeb.zip
f34d29
# $ mv %{archivename}.zip %{fontname}-%{archivedate}.zip
f34d29
Source0:        %{fontname}-%{archivedate}.zip
f34d29
f34d29
## Fix RHBZ# while not fixed upstream
f34d29
Source1:        %{fontname}-update-preferred-family.pe
f34d29
Source2:        %{fontconf}
f34d29
f34d29
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
f34d29
BuildArch:      noarch
f34d29
Requires:       fontpackages-filesystem
f34d29
BuildRequires:  fontpackages-devel
f34d29
BuildRequires:  fontforge
f34d29
f34d29
%description
f34d29
f34d29
Character based Nafees Web Naskh Open Type Font for writing Urdu in Naskh
f34d29
script based on Unicode standard. This version has complete support of
f34d29
Aerabs for Urdu and updated glyphs for Latin characters.
f34d29
Nafees Web Naskh OTF contains approximately 330 glyphs, including 5 ligatures.
f34d29
f34d29
f34d29
%prep
f34d29
%setup -q -c
f34d29
f34d29
%build
f34d29
# Fix RHBZ#490830 while not fixed upstream
f34d29
%{_bindir}/fontforge %{SOURCE1} %{archivename}.ttf
f34d29
f34d29
%install
f34d29
rm -rf %{buildroot}
f34d29
f34d29
#fonts
f34d29
install -m 0755 -d %{buildroot}%{_fontdir}
f34d29
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
f34d29
f34d29
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
f34d29
                %{buildroot}%{_fontconfig_confdir}
f34d29
f34d29
install -m 0644 -p %{SOURCE2} \
f34d29
                %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
f34d29
f34d29
ln -s %{_fontconfig_templatedir}/%{fontconf} \
f34d29
        %{buildroot}%{_fontconfig_confdir}/%{fontconf}
f34d29
f34d29
%clean
f34d29
rm -rf %{buildroot}
f34d29
f34d29
%_font_pkg -f %{fontconf} *.ttf
f34d29
f34d29
%doc
f34d29
f34d29
f34d29
%changelog
f34d29
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2-11
f34d29
- Mass rebuild 2013-12-27
f34d29
f34d29
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-10
f34d29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f34d29
f34d29
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-9
f34d29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f34d29
f34d29
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
f34d29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f34d29
f34d29
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
f34d29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f34d29
f34d29
* Wed Feb 24 2010 Mathieu Bridon <bochecha@fedoraproject.org> - 1.2-6
f34d29
- bumping spec as I forgot to add the fontconfig file in previous commit
f34d29
f34d29
* Wed Feb 24 2010 Mathieu Bridon <bochecha@fedoraproject.org> - 1.2-5
f34d29
- minor spec fixes
f34d29
f34d29
* Wed Feb 24 2010 Pravin Satpute <psatpute@redhat.com> - 1.2-4
f34d29
- adding .conf file
f34d29
- bugfix 567612
f34d29
f34d29
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
f34d29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f34d29
f34d29
* Sat Apr 11 2009 Mathieu Bridon <bochecha@fedoraproject.org> - 1.2-2
f34d29
- added comment explaining how the source is obtained (as it is modified from upstream)
f34d29
- temporary fix for RHBZ#490830 while not fixed upstream
f34d29
f34d29
* Sat Apr 11 2009 Mathieu Bridon <bochecha@fedoraproject.org> - 1.2-1
f34d29
- update to 1.2 release
f34d29
f34d29
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
f34d29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f34d29
f34d29
* Sun Dec 21 2008 Bernie Innocenti <bernie@codewiz.org> 1.0-4
f34d29
- Builddep on fontpackages-devel
f34d29
f34d29
* Sun Dec 21 2008 Bernie Innocenti <bernie@codewiz.org> 1.0-3
f34d29
- Typo: fontdir -> _fontdir
f34d29
f34d29
* Sun Dec 21 2008 Bernie Innocenti <bernie@codewiz.org> 1.0-2
f34d29
- Updated to current Fedora font packaging guidelines
f34d29
f34d29
* Sat Sep 15 2007 Bernardo Innocenti <bernie@codewiz.org> 1.0-1
f34d29
- Initial packaging, borrowing many things from abyssinica-fonts