[lohit-tamil-fonts] Added metainfo for gnome-software
Pravin Satpute
pravins at fedoraproject.org
Mon Oct 27 14:24:26 UTC 2014
commit 0d3a473b5628e483b72bb68d3ded5dfa2b4e7576
Author: Pravin Satpute <psatpute at redhat.com>
Date: Mon Oct 27 19:54:23 2014 +0530
Added metainfo for gnome-software
lohit-tamil-fonts.spec | 10 +++++++++-
lohit-tamil.metainfo.xml | 14 ++++++++++++++
2 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/lohit-tamil-fonts.spec b/lohit-tamil-fonts.spec
index 266b249..fb2b7f2 100644
--- a/lohit-tamil-fonts.spec
+++ b/lohit-tamil-fonts.spec
@@ -3,13 +3,14 @@
Name: %{fontname}-fonts
Version: 2.91.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Free truetype font for Tamil language
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
@@ -41,6 +42,10 @@ 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
@@ -48,6 +53,9 @@ ln -s %{_fontconfig_templatedir}/%{fontconf} \
%changelog
+* Mon Oct 27 2014 Pravin Satpute <psatpute at redhat.com> - 2.91.0-2
+- Added metainfo for gnome-software
+
* Tue Oct 14 2014 Pravin Satpute <psatpute at redhat.com> - 2.91.0-1
- Resolves 1152203 :- Upstream release 2.91.0
- Rewritten all Open type tables with supporting taml and tml2 tags.
diff --git a/lohit-tamil.metainfo.xml b/lohit-tamil.metainfo.xml
new file mode 100644
index 0000000..2e1d705
--- /dev/null
+++ b/lohit-tamil.metainfo.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="font">
+ <id>lohit-tamil</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 Tamil 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