[smc-fonts] * Tue Nov 16 2010 Naveen Kumar <nkumar at redhat.com> - 4.4.4 - rectify error to directly install fonts

Naveen Kumar nkumar at fedoraproject.org
Tue Nov 16 12:53:11 UTC 2010


commit da73e89bc3b5003b86da52cbff62cc68749db1f6
Author: Naveen Kumar <nkumar at redhat.com>
Date:   Tue Nov 16 18:20:38 2010 +0530

    * Tue Nov 16 2010 Naveen Kumar <nkumar at redhat.com> - 4.4.4
    - rectify error to directly install fonts in fontdir instead of subdir in fontdir
    - Resolves bug #653608

 smc-fonts.spec |   36 ++++++++++++++++++++----------------
 1 files changed, 20 insertions(+), 16 deletions(-)
---
diff --git a/smc-fonts.spec b/smc-fonts.spec
index a396ac1..c9e7dfc 100644
--- a/smc-fonts.spec
+++ b/smc-fonts.spec
@@ -8,7 +8,7 @@ traditional and new Malayalam Script.
 
 Name:		%{fontname}-fonts
 Version:	4.4
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	Open Type Fonts for Malayalam script
 Group:		User Interface/X
 License:	GPLv3+ with exceptions and GPLv2+ with exceptions and GPLv2+ and  GPLv2 and GPL+
@@ -51,7 +51,7 @@ Obsoletes: %{name}-dyuthi < 04.1-4
 The Dyuthi font package contains fonts for the display of
 traditional Malayalam Scripts.
 
-%_font_pkg -n dyuthi -f 67-smc-dyuthi.conf Dyuthi/ Dyuthi/Dyuthi*.ttf 
+%_font_pkg -n dyuthi -f 67-smc-dyuthi.conf Dyuthi*.ttf 
 
 %package -n %{fontname}-meera-fonts
 Summary: Open Type Fonts for Malayalam script
@@ -64,7 +64,7 @@ Obsoletes: %{name}-meera < 04.2-1
 The Meera font package contains fonts for the display of
 traditional Malayalam Scripts.
 
-%_font_pkg -n meera -f *meera*.conf Meera/ Meera/Meera.ttf 
+%_font_pkg -n meera -f *meera*.conf Meera.ttf 
 %doc Meera/COPYING Meera/README
 
 
@@ -79,7 +79,7 @@ Obsoletes: %{name}-rachana < 04.1-4
 The Rachana font package contains fonts for the display of
 traditional Malayalam Scripts.
 
-%_font_pkg -n rachana -f 67-smc-rachana.conf Rachana/ Rachana/Rachana*.ttf
+%_font_pkg -n rachana -f 67-smc-rachana.conf Rachana*.ttf
 %doc Rachana/COPYING Rachana/LICENSE Rachana/README
 
 
@@ -94,7 +94,7 @@ Obsoletes: %{name}-raghumalayalam < 04.1-4
 The SMC Malayalam fonts package contains fonts for the display of
 new Malayalam Scripts.
 
-%_font_pkg -n raghumalayalam -f 67-smc-raghumalayalam.conf RaghuMalayalamSans/ RaghuMalayalamSans/RaghuMalayalamSans*.ttf
+%_font_pkg -n raghumalayalam -f 67-smc-raghumalayalam.conf RaghuMalayalamSans*.ttf
 
 %package -n %{fontname}-suruma-fonts
 Summary: Open Type Fonts for Malayalam script
@@ -107,7 +107,7 @@ Obsoletes: %{name}-suruma < 04.1-4
 The Suruma font package contains fonts for the display of
 traditional Malayalam Scripts.
 
-%_font_pkg -n suruma -f 67-smc-suruma.conf Suruma/ Suruma/Suruma*.ttf
+%_font_pkg -n suruma -f 67-smc-suruma.conf Suruma*.ttf
 
 %package -n %{fontname}-kalyani-fonts
 Summary: Open Type Fonts for Malayalam script
@@ -120,7 +120,7 @@ Obsoletes: %{name}-kalyani < 04.1-4
 The Kalyani font package contains fonts for the display of
 new Malayalam Scripts.
 
-%_font_pkg -n kalyani -f 67-smc-kalyani.conf Kalyani/ Kalyani/Kalyani*.ttf
+%_font_pkg -n kalyani -f 67-smc-kalyani.conf Kalyani*.ttf
 
 %package -n %{fontname}-anjalioldlipi-fonts
 Summary: Open Type Fonts for Malayalam script
@@ -133,7 +133,7 @@ Obsoletes: %{name}-anjalioldlipi < 04.1-4
 The Anjali OldLipi package contains fonts for the display of
 traditional Malayalam Scripts.
 
-%_font_pkg -n anjalioldlipi -f 67-smc-anjalioldlipi.conf AnjaliOldLipi/ AnjaliOldLipi/AnjaliOldLipi.ttf
+%_font_pkg -n anjalioldlipi -f 67-smc-anjalioldlipi.conf AnjaliOldLipi.ttf
 
 #%{_fontdir} is shared by following packages since they all are for malayalam script only
 
@@ -148,14 +148,14 @@ make
 
 %install
 rm -rf %{buildroot}
-install -m 0755 -d %{buildroot}%{_fontdir} %{buildroot}%{_fontdir}/AnjaliOldLipi/ %{buildroot}%{_fontdir}/Dyuthi/ %{buildroot}%{_fontdir}/Kalyani/ %{buildroot}%{_fontdir}/Meera/ %{buildroot}%{_fontdir}/Rachana/ %{buildroot}%{_fontdir}/RaghuMalayalamSans/ %{buildroot}%{_fontdir}/Suruma/
-install -m 0644 -p AnjaliOldLipi/*.ttf %{buildroot}%{_fontdir}/AnjaliOldLipi/
-install -m 0644 -p Dyuthi/*.ttf %{buildroot}%{_fontdir}/Dyuthi/
-install -m 0644 -p Kalyani/*.ttf %{buildroot}%{_fontdir}/Kalyani/
-install -m 0644 -p Meera/*.ttf %{buildroot}%{_fontdir}/Meera/
-install -m 0644 -p Rachana/*.ttf %{buildroot}%{_fontdir}/Rachana/
-install -m 0644 -p RaghuMalayalamSans/*.ttf %{buildroot}%{_fontdir}/RaghuMalayalamSans/
-install -m 0644 -p Suruma/*.ttf %{buildroot}%{_fontdir}/Suruma/
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p AnjaliOldLipi/*.ttf %{buildroot}%{_fontdir}
+install -m 0644 -p Dyuthi/*.ttf %{buildroot}%{_fontdir}
+install -m 0644 -p Kalyani/*.ttf %{buildroot}%{_fontdir}
+install -m 0644 -p Meera/*.ttf %{buildroot}%{_fontdir}
+install -m 0644 -p Rachana/*.ttf %{buildroot}%{_fontdir}
+install -m 0644 -p RaghuMalayalamSans/*.ttf %{buildroot}%{_fontdir}
+install -m 0644 -p Suruma/*.ttf %{buildroot}%{_fontdir}
 install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
 		%{buildroot}%{_fontconfig_confdir}
 install -m 0644 -p $RPM_BUILD_DIR/malayalam-fonts-4.4/malayalam-fonts.conf %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-meera.conf
@@ -197,6 +197,10 @@ rm -fr %{buildroot}
 %doc ChangeLog 
 
 %changelog
+* Tue Nov 16 2010 Naveen Kumar <nkumar at redhat.com> - 4.4.4
+- rectify error to directly install fonts in fontdir instead of subdir in fontdir
+- Resolves bug #653608
+
 * Tue Nov 16 2010 Rajeesh K Nambiar <rajeeshknambiar at gmail.com> - 4.4.3
 - Resolves bug #653608
 


More information about the fonts-bugs mailing list