[lohit-gurmukhi-fonts] Added metainfo for gnome-software
Pravin Satpute
pravins at fedoraproject.org
Mon Oct 27 14:30:39 UTC 2014
commit 5bcdf297fb9a3d3de354d099ef462b710dd9b218
Author: Pravin Satpute <psatpute at redhat.com>
Date: Mon Oct 27 20:00:37 2014 +0530
Added metainfo for gnome-software
lohit-gurmukhi-fonts.spec | 11 ++++++++++-
lohit-gurmukhi.metainfo.xml | 14 ++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/lohit-gurmukhi-fonts.spec b/lohit-gurmukhi-fonts.spec
index 05794e4..fa20245 100644
--- a/lohit-gurmukhi-fonts.spec
+++ b/lohit-gurmukhi-fonts.spec
@@ -4,13 +4,14 @@
Name: %{fontname}-fonts
Version: 2.91.0
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Free Gurmukhi truetype font for Punjabi language
License: OFL
URL: https://fedorahosted.org/lohit/
Source0: https://fedorahosted.org/releases/l/o/lohit/%{fontname}-%{version}.tar.gz
Source1: %{name}.conf
+Source2: %{fontname}.metainfo.xml
BuildArch: noarch
BuildRequires: fontforge >= 20080429
BuildRequires: fontpackages-devel
@@ -50,6 +51,11 @@ install -m 0644 -p %{SOURCE1} \
ln -s %{_fontconfig_templatedir}/%{fontconf1} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf1}
+# Add AppStream metadata
+install -Dm 0644 -p %{SOURCE2} \
+ %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
+
+
%_font_pkg -f *.conf *.ttf
@@ -57,6 +63,9 @@ ln -s %{_fontconfig_templatedir}/%{fontconf1} \
%changelog
+* Mon Oct 27 2014 Pravin Satpute <psatpute at redhat.com> - 2.91.0-5
+- Added metainfo for gnome-software
+
* Fri Sep 05 2014 Pravin Satpute <psatpute at redhat.com> - 2.91.0-4
- Updated obsolete version rhbz#1138266
diff --git a/lohit-gurmukhi.metainfo.xml b/lohit-gurmukhi.metainfo.xml
new file mode 100644
index 0000000..d1816e0
--- /dev/null
+++ b/lohit-gurmukhi.metainfo.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="font">
+ <id>lohit-gurmukhi</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 Gurmukhi 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