[lohit-gujarati-fonts] Added metainfo for gnome-softwar

Pravin Satpute pravins at fedoraproject.org
Mon Oct 27 14:52:28 UTC 2014


commit 54716c08dcc9f923f2aee2a0180f17be1e1a8b66
Author: Pravin Satpute <psatpute at redhat.com>
Date:   Mon Oct 27 20:22:22 2014 +0530

    Added metainfo for gnome-softwar

 lohit-gujarati-fonts.spec   |   12 +++++++++++-
 lohit-gujarati.metainfo.xml |   14 ++++++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/lohit-gujarati-fonts.spec b/lohit-gujarati-fonts.spec
index b3ec15e..e6c8111 100644
--- a/lohit-gujarati-fonts.spec
+++ b/lohit-gujarati-fonts.spec
@@ -3,12 +3,13 @@
 
 Name:           %{fontname}-fonts
 Version:        2.92.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Free Gujarati font
 Group:          User Interface/X
 License:        OFL
 URL:            https://fedorahosted.org/lohit/
 Source0:        https://fedorahosted.org/releases/l/o/lohit/%{fontname}-%{version}.tar.gz
+Source1:       %{fontname}.metainfo.xml
 BuildArch:      noarch
 BuildRequires: fontforge >= 20080429
 BuildRequires:  fontpackages-devel
@@ -39,12 +40,21 @@ install -m 0644 -p %{fontconf} \
 ln -s %{_fontconfig_templatedir}/%{fontconf} \
       %{buildroot}%{_fontconfig_confdir}/%{fontconf}
 
+# Add AppStream metadata
+install -Dm 0644 -p %{SOURCE1} \
+       %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
+
 
 %_font_pkg -f %{fontconf} *.ttf
 
 %doc ChangeLog COPYRIGHT OFL.txt AUTHORS README test-gujarati.txt
+%{_datadir}/appdata/%{fontname}.metainfo.xml
+
 
 %changelog
+* Mon Oct 20 2014 Pravin Satpute <psatpute at redhat.com> - 2.92.2-3
+- Added metainfo for gnome-software
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.92.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/lohit-gujarati.metainfo.xml b/lohit-gujarati.metainfo.xml
new file mode 100644
index 0000000..a310923
--- /dev/null
+++ b/lohit-gujarati.metainfo.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="font">
+  <id>lohit-gujarati</id>
+  <metadata_license>CC-BY-3.0</metadata_license>
+  <name>Lohit</name>
+  <summary>A set of Indian language fonts</summary>
+  <description>
+    <p>
+      This package provides a free Gujarati truetype/opentype font.
+    </p>
+  </description>
+  <updatecontact>psatpute_at_redhat_dot_com</updatecontact>
+  <url type="homepage">https://fedorahosted.org/lohit/</url>
+</component>


More information about the fonts-bugs mailing list