[tharlon-fonts] Add metainfo file to show this font in gnome-software
Parag Nemade
pnemade at fedoraproject.org
Thu Oct 16 12:28:24 UTC 2014
commit 3273ae5938d83bf1d7c32d3b8fcbcbb91f7d9b49
Author: Parag Nemade <pnemade at redhat.com>
Date: Thu Oct 16 17:58:17 2014 +0530
Add metainfo file to show this font in gnome-software
tharlon-fonts.spec | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/tharlon-fonts.spec b/tharlon-fonts.spec
index f06a8e8..2684e6b 100644
--- a/tharlon-fonts.spec
+++ b/tharlon-fonts.spec
@@ -3,7 +3,7 @@
Name: %{fontname}-fonts
Version: 1.002
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: The Myanmar font which is designed by Ngwe Tun
License: OFL
@@ -11,6 +11,7 @@ URL: http://code.google.com/p/tharlon-font/
Source0: http://tharlon-font.googlecode.com/files/Tharlon-Regular.ttf
Source1: %{name}-fontconfig.conf
Source2: http://tharlon-font.googlecode.com/files/OFL.txt
+Source3: %{fontname}.metainfo.xml
BuildArch: noarch
BuildRequires: fontpackages-devel dos2unix
@@ -46,13 +47,18 @@ install -m 0644 -p %{SOURCE1} \
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
+# Add AppStream metadata
+install -Dm 0644 -p %{SOURCE3} \
+ %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
%_font_pkg -f %{fontconf} *.ttf
-
%doc OFL.txt
-
+%{_datadir}/appdata/%{fontname}.metainfo.xml
%changelog
+* Thu Oct 16 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.002-4
+- Add metainfo file to show this font in gnome-software
+
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.002-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the fonts-bugs
mailing list