[smc-fonts] Update to SCM Malayalam fonts 5.0.1 version - Introduces compatibility with Unicode > 5.1 - Resolves

Rajeesh K Nambiar rajeeshknambiar at fedoraproject.org
Tue Mar 20 03:30:04 UTC 2012


commit 5407204c7cc993c7cd66a4098715372e1b73724f
Author: Rajeesh K Nambiar <rajeeshknambiar at gmail.com>
Date:   Sun Mar 18 22:40:41 2012 +0530

    Update to SCM Malayalam fonts 5.0.1 version
    - Introduces compatibility with Unicode > 5.1
    - Resolves size issues with Meera

 .gitignore     |    1 +
 smc-fonts.spec |   58 ++++++++++++++++++++++++++-----------------------------
 sources        |    2 +-
 3 files changed, 29 insertions(+), 32 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a065cda..0849456 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 malayalam-fonts-04.2.zip
 malayalam-fonts-4.4.tar.gz
+/malayalam-fonts-5.0.1.tar.gz
diff --git a/smc-fonts.spec b/smc-fonts.spec
index 40c6a48..0e6606c 100644
--- a/smc-fonts.spec
+++ b/smc-fonts.spec
@@ -1,5 +1,4 @@
 %define	fontname	smc
-%define	fontconf	90-%{fontname}
 
 # Common description
 %define common_desc \
@@ -7,13 +6,13 @@ The SMC Fonts package contains fonts for the display of\
 traditional and new Malayalam Script.
 
 Name:		%{fontname}-fonts
-Version:	4.4
-Release:	7%{?dist}
+Version:	5.0.1
+Release:	1%{?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+
 URL:		http://savannah.nongnu.org/projects/smc
-Source0:	http://download.savannah.gnu.org/releases-noredirect/smc/fonts/malayalam-fonts-4.4.tar.gz
+Source0:	http://download.savannah.gnu.org/releases-noredirect/smc/fonts/malayalam-fonts-%{version}.tar.gz
 Source1: 65-0-smc-meera.conf
 Source2: 67-smc-anjalioldlipi.conf
 Source3: 67-smc-dyuthi.conf
@@ -24,11 +23,8 @@ Source7: 67-smc-suruma.conf
 Source8: AnjaliOldLipi-license-confirmation-email.txt
 BuildArch:	noarch
 BuildRequires:	fontpackages-devel > 1.13
-BuildRequires: fontforge >= 20080429
+BuildRequires:	fontforge >= 20080429
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Patch1: bug-545683.patch
-Patch2: smc-fonts_616324.patch
-Patch3: bug-781938.patch
 
 %description
 %common_desc
@@ -47,7 +43,7 @@ Group: User Interface/X
 Requires: %{name}-common = %{version}-%{release}
 License: GPLv3+ with exceptions
 Provides: %{fontname}-fonts-dyuthi = %{version}-%{release}
-Obsoletes: %{name}-dyuthi < 04.1-4
+Obsoletes: %{name}-dyuthi < 5.0
 %description -n %{fontname}-dyuthi-fonts
 The Dyuthi font package contains fonts for the display of
 traditional Malayalam Scripts.
@@ -60,12 +56,12 @@ Group: User Interface/X
 Requires: %{name}-common = %{version}-%{release}
 License: GPLv2+ with exceptions
 Provides: %{fontname}-fonts-meera = %{version}-%{release}
-Obsoletes: %{name}-meera < 04.2-1
+Obsoletes: %{name}-meera < 5.0
 %description -n %{fontname}-meera-fonts
 The Meera font package contains fonts for the display of
 traditional Malayalam Scripts.
 
-%_font_pkg -n meera -f *meera*.conf Meera.ttf 
+%_font_pkg -n meera -f 65-0-smc-meera.conf Meera.ttf 
 %doc Meera/COPYING Meera/README
 
 
@@ -75,12 +71,12 @@ Group: User Interface/X
 Requires: %{name}-common = %{version}-%{release}
 License: GPLv2+
 Provides: %{fontname}-fonts-rachana = %{version}-%{release}
-Obsoletes: %{name}-rachana < 04.1-4
+Obsoletes: %{name}-rachana < 5.0
 %description -n %{fontname}-rachana-fonts
 The Rachana font package contains fonts for the display of
 traditional Malayalam Scripts.
 
-%_font_pkg -n rachana -f 67-smc-rachana.conf Rachana*.ttf
+%_font_pkg -n rachana -f 67-smc-rachana.conf Rachana.ttf
 %doc Rachana/COPYING Rachana/LICENSE Rachana/README
 
 
@@ -90,12 +86,12 @@ Group: User Interface/X
 Requires: %{name}-common = %{version}-%{release}
 License: GPLv2
 Provides: %{fontname}-fonts-raghumalayalam = %{version}-%{release}
-Obsoletes: %{name}-raghumalayalam < 04.1-4
+Obsoletes: %{name}-raghumalayalam < 5.0
 %description -n %{fontname}-raghumalayalam-fonts
 The SMC Malayalam fonts package contains fonts for the display of
 new Malayalam Scripts.
 
-%_font_pkg -n raghumalayalam -f 67-smc-raghumalayalam.conf 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
@@ -103,12 +99,12 @@ Group: User Interface/X
 Requires: %{name}-common = %{version}-%{release}
 License: GPLv3 with exceptions
 Provides: %{fontname}-fonts-suruma = %{version}-%{release}
-Obsoletes: %{name}-suruma < 04.1-4
+Obsoletes: %{name}-suruma < 5.0
 %description -n %{fontname}-suruma-fonts
 The Suruma font package contains fonts for the display of
 traditional Malayalam Scripts.
 
-%_font_pkg -n suruma -f 67-smc-suruma.conf 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
@@ -116,12 +112,12 @@ Group: User Interface/X
 Requires: %{name}-common = %{version}-%{release}
 License: GPLv3+ with exceptions
 Provides: %{fontname}-fonts-kalyani = %{version}-%{release}
-Obsoletes: %{name}-kalyani < 04.1-4
+Obsoletes: %{name}-kalyani < 5.0
 %description -n %{fontname}-kalyani-fonts
 The Kalyani font package contains fonts for the display of
 new Malayalam Scripts.
 
-%_font_pkg -n kalyani -f 67-smc-kalyani.conf 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
@@ -129,7 +125,7 @@ Group: User Interface/X
 Requires: %{name}-common = %{version}-%{release}
 License: GPL+
 Provides: %{fontname}-fonts-anjalioldlipi = %{version}-%{release}
-Obsoletes: %{name}-anjalioldlipi < 04.1-4
+Obsoletes: %{name}-anjalioldlipi < 5.0
 %description -n %{fontname}-anjalioldlipi-fonts
 The Anjali OldLipi package contains fonts for the display of
 traditional Malayalam Scripts.
@@ -139,14 +135,10 @@ traditional Malayalam Scripts.
 #%{_fontdir} is shared by following packages since they all are for malayalam script only
 
 %prep
-%setup -q -n malayalam-fonts-4.4
-%patch1 -p1 
-cp %{SOURCE8} .
-%patch2 -p1 
-%patch3 -p1 -b .3-cleaned-up-reserved-unicode-locations
-
+%setup -q -n malayalam-fonts-%{version}
 
 %build
+chmod +x generate.pe
 make
 
 %install
@@ -161,8 +153,6 @@ 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
-
 install -m 0644 -p %{SOURCE1} \
 	%{buildroot}%{_fontconfig_templatedir}/65-0-smc-meera.conf
 install -m 0644 -p %{SOURCE2} \
@@ -178,14 +168,13 @@ install -m 0644 -p %{SOURCE6} \
 install -m 0644 -p %{SOURCE7} \
 	%{buildroot}%{_fontconfig_templatedir}/67-smc-suruma.conf
 
-for fconf in %{fontconf}-meera.conf \
+for fconf in 65-0-smc-meera.conf \
 	     67-smc-anjalioldlipi.conf \
 	     67-smc-dyuthi.conf \
 	     67-smc-kalyani.conf \
 	     67-smc-rachana.conf \
 	     67-smc-raghumalayalam.conf \
-	     67-smc-suruma.conf \
-		65-0-smc-meera.conf ; do
+	     67-smc-suruma.conf ; do
   ln -s %{_fontconfig_templatedir}/$fconf \
 	%{buildroot}%{_fontconfig_confdir}/$fconf
 done
@@ -200,6 +189,13 @@ rm -fr %{buildroot}
 %doc ChangeLog 
 
 %changelog
+* Sat Mar 17 2012 Rajeesh K Nambiar <rajeeshknambiar at gmail.com> 5.0.1-1
+- New upstream release 5.0.1 introducing Unicode 5.1 compatibility
+- Resolves Meera size issues
+- Drop upstreamed patches for RHBZ# 545683, 616324 and 781938
+- Resolves RHBZ# 803183
+- Spec cleanup
+
 * Mon Jan 16 2012 Pravin Satpute <psatpute at redhat.com> 4.4-7
 - Resolved bug 781938
 
diff --git a/sources b/sources
index c693b2c..27a3595 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e311028e45404d4adfa3fd7609027944  malayalam-fonts-4.4.tar.gz
+bae781ae901776e16de1d4b5a15a28eb  malayalam-fonts-5.0.1.tar.gz


More information about the fonts-bugs mailing list