rpms/nafees-web-naskh-fonts/F-13 nafees-web-naskh-fonts.spec,1.7,1.8
Mathieu Bridon
bochecha at fedoraproject.org
Wed Feb 24 21:53:44 UTC 2010
Author: bochecha
Update of /cvs/pkgs/rpms/nafees-web-naskh-fonts/F-13
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30140
Modified Files:
nafees-web-naskh-fonts.spec
Log Message:
Add a fontconfig config and minor spec fixes.
Index: nafees-web-naskh-fonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nafees-web-naskh-fonts/F-13/nafees-web-naskh-fonts.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- nafees-web-naskh-fonts.spec 25 Jul 2009 15:42:27 -0000 1.7
+++ nafees-web-naskh-fonts.spec 24 Feb 2010 21:53:44 -0000 1.8
@@ -1,10 +1,11 @@
-%define fontname nafees-web-naskh
-%define archivename NafeesWeb
-%define archivedate 20080509
+%global fontname nafees-web-naskh
+%global fontconf 67-%{fontname}.conf
+%global archivename NafeesWeb
+%global archivedate 20080509
Name: %{fontname}-fonts
Version: 1.2
-Release: 3%{?dist}
+Release: 5%{?dist}
Summary: Nafees Web font for writing Urdu in the Naskh script
Group: User Interface/X
@@ -14,11 +15,12 @@ URL: http://www.crulp.org/Dow
## 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} %{fontname}-%{archivedate}.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}
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
@@ -45,19 +47,34 @@ Nafees Web Naskh OTF contains approximat
rm -rf %{buildroot}
#fonts
-install -d -m 0755 %{buildroot}%{_fontdir}
-install -m 0644 *.ttf %{buildroot}%{_fontdir}
+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}
%clean
rm -rf %{buildroot}
-%_font_pkg *.ttf
+%_font_pkg -f %{fontconf} *.ttf
%doc
-%dir %{_fontdir}
+
%changelog
+* Wed Feb 24 2010 Mathieu Bridon <bochecha at fedoraproject.org> - 1.2-5
+- minor spec fixes
+
+* Wed Feb 24 2010 Pravin Satpute <psatpute at redhat.com> - 1.2-4
+- adding .conf file
+- bugfix 567612
+
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the fonts-bugs
mailing list