[tuladha-jejeg-fonts] Add metainfo file to show this font in gnome-software
Parag Nemade
pnemade at fedoraproject.org
Thu Oct 16 12:28:30 UTC 2014
commit 6003afa705d921c2ba8f092d6cd418acc6c8758c
Author: Parag Nemade <pnemade at redhat.com>
Date: Thu Oct 16 17:58:22 2014 +0530
Add metainfo file to show this font in gnome-software
tuladha-jejeg-fonts.spec | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/tuladha-jejeg-fonts.spec b/tuladha-jejeg-fonts.spec
index 51b6132..72b3611 100644
--- a/tuladha-jejeg-fonts.spec
+++ b/tuladha-jejeg-fonts.spec
@@ -4,13 +4,14 @@
Name: %{fontname}-fonts
Version: 2.01
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Unicode font for Javanese script
License: OFL
URL: https://sites.google.com/site/jawaunicode/main-page
Source0: https://sites.googlegroups.com/site/jawaunicode/TuladhaJejegGr_2.01.zip
Source1: %{name}-fontconfig.conf
+Source2: %{fontname}.metainfo.xml
BuildArch: noarch
BuildRequires: fontpackages-devel
@@ -39,13 +40,18 @@ install -m 0644 -p %{SOURCE1} \
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
+# Add AppStream metadata
+install -Dm 0644 -p %{SOURCE2} \
+ %{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> - 2.01-3
+- Add metainfo file to show this font in gnome-software
+
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.01-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the fonts-bugs
mailing list