[smc-fonts/f21] New upstream release with many enhancements and bugfixes

Rajeesh K Nambiar rajeeshknambiar at fedoraproject.org
Sat Oct 18 08:19:34 UTC 2014


commit 74508a720054523e1f98581e46c2a204e57dedeb
Author: Rajeesh K Nambiar <rajeeshknambiar at gmail.com>
Date:   Sat Oct 18 10:19:27 2014 +0200

    New upstream release with many enhancements and bugfixes
    
    - Metainfo file for AppData/Software Center
    - Drop patch for Fedora bug#803234 which is fixed upstream

 smc-fonts.spec |   40 ++++++++++++++++++++++++++++++++++------
 1 files changed, 34 insertions(+), 6 deletions(-)
---
diff --git a/smc-fonts.spec b/smc-fonts.spec
index e55ac5a..bf9be69 100644
--- a/smc-fonts.spec
+++ b/smc-fonts.spec
@@ -6,8 +6,8 @@ The SMC Fonts package contains fonts for the display of\
 traditional and new Malayalam Script.
 
 Name:		%{fontname}-fonts
-Version:	6.0
-Release:	8%{?dist}
+Version:	6.1
+Release:	1%{?dist}
 Summary:	Open Type Fonts for Malayalam script
 License:	GPLv3+ with exceptions and GPLv2+ with exceptions and GPLv2+ and  GPLv2 and GPL+
 URL:		http://savannah.nongnu.org/projects/smc
@@ -23,8 +23,6 @@ Source8: AnjaliOldLipi-license-confirmation-email.txt
 BuildArch:	noarch
 BuildRequires:	fontpackages-devel > 1.13
 BuildRequires:	fontforge >= 20080429
-# https://bugzilla.redhat.com/show_bug.cgi?id=803234
-Patch1: bug-803234.patch
 
 %description
 %common_desc
@@ -45,6 +43,7 @@ The Dyuthi font package contains fonts for the display of
 traditional Malayalam Scripts.
 
 %_font_pkg -n dyuthi -f 67-smc-dyuthi.conf Dyuthi*.ttf 
+%{_datadir}/appdata/smc-dyuthi.metainfo.xml
 %doc Dyuthi/COPYING
 
 %package -n %{fontname}-meera-fonts
@@ -56,6 +55,7 @@ The Meera font package contains fonts for the display of
 traditional Malayalam Scripts.
 
 %_font_pkg -n meera -f 65-0-smc-meera.conf Meera.ttf 
+%{_datadir}/appdata/smc-meera.metainfo.xml
 %doc Meera/COPYING Meera/README
 
 
@@ -68,6 +68,7 @@ The Rachana font package contains fonts for the display of
 traditional Malayalam Scripts.
 
 %_font_pkg -n rachana -f 65-0-smc-rachana.conf Rachana.ttf
+%{_datadir}/appdata/smc-rachana.metainfo.xml
 %doc Rachana/COPYING Rachana/LICENSE Rachana/README
 
 
@@ -80,6 +81,7 @@ 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
+%{_datadir}/appdata/smc-raghumalayalam.metainfo.xml
 %doc RaghuMalayalamSans/COPYING
 
 %package -n %{fontname}-suruma-fonts
@@ -91,6 +93,7 @@ The Suruma font package contains fonts for the display of
 traditional Malayalam Scripts.
 
 %_font_pkg -n suruma -f 67-smc-suruma.conf Suruma.ttf
+%{_datadir}/appdata/smc-suruma.metainfo.xml
 %doc Suruma/COPYING Suruma/README
 
 %package -n %{fontname}-kalyani-fonts
@@ -102,6 +105,7 @@ The Kalyani font package contains fonts for the display of
 new Malayalam Scripts.
 
 %_font_pkg -n kalyani -f 67-smc-kalyani.conf Kalyani.ttf
+%{_datadir}/appdata/smc-kalyani.metainfo.xml
 %doc Kalyani/COPYING
 
 %package -n %{fontname}-anjalioldlipi-fonts
@@ -113,12 +117,12 @@ The Anjali OldLipi package contains fonts for the display of
 traditional Malayalam Scripts.
 
 %_font_pkg -n anjalioldlipi -f 67-smc-anjalioldlipi.conf AnjaliOldLipi.ttf
+%{_datadir}/appdata/smc-anjalioldlipi.metainfo.xml
 %doc AnjaliOldLipi/COPYING
 
 
 %prep
 %setup -q -n fonts
-%patch1 -p1 -b .1-panose-setting
 sed -i 's/\r//' */COPYING
 sed -i 's/\r//' Rachana/LICENSE
 
@@ -164,10 +168,34 @@ for fconf in 65-0-smc-meera.conf \
 	%{buildroot}%{_fontconfig_confdir}/$fconf
 done
 
+# Add AppStream data
+install -Dm 0644 -p smc.metainfo.xml \
+		%{buildroot}%{_datadir}/appdata/smc.metainfo.xml
+install -Dm 0644 -p AnjaliOldLipi/smc-anjalioldlipi.metainfo.xml \
+		%{buildroot}%{_datadir}/appdata/smc-anjalioldlipi.metainfo.xml
+install -Dm 0644 -p Dyuthi/smc-dyuthi.metainfo.xml \
+		%{buildroot}%{_datadir}/appdata/smc-dyuthi.metainfo.xml
+install -Dm 0644 -p Kalyani/smc-kalyani.metainfo.xml \
+		%{buildroot}%{_datadir}/appdata/smc-kalyani.metainfo.xml
+install -Dm 0644 -p Meera/smc-meera.metainfo.xml \
+		%{buildroot}%{_datadir}/appdata/smc-meera.metainfo.xml
+install -Dm 0644 -p Rachana/smc-rachana.metainfo.xml \
+		%{buildroot}%{_datadir}/appdata/smc-rachana.metainfo.xml
+install -Dm 0644 -p RaghuMalayalamSans/smc-raghumalayalam.metainfo.xml \
+		%{buildroot}%{_datadir}/appdata/smc-raghumalayalam.metainfo.xml
+install -Dm 0644 -p Suruma/smc-suruma.metainfo.xml \
+		%{buildroot}%{_datadir}/appdata/smc-suruma.metainfo.xml
 
 
 %files common
-%doc ChangeLog 
+%{_datadir}/appdata/%{fontname}.metainfo.xml
+%doc ChangeLog
+
+%changelog
+* Fri Oct 17 2014 Rajeesh K V <rajeeshknambiar at fedoraproject.org> 6.1-1
+- New upstream release with many enhancements and bugfixes
+- Metainfo file for AppData/Software Center
+- Drop patch for Fedora bug#803234 which is fixed upstream
 
 %changelog
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 6.0-8


More information about the fonts-bugs mailing list