[sil-scheherazade-fonts] Add metainfo file to show this font in gnome-software
Parag Nemade
pnemade at fedoraproject.org
Fri Oct 17 14:10:33 UTC 2014
commit f619ca80ed9479c075d3894e36472a5aedc049d8
Author: Parag Nemade <pnemade at redhat.com>
Date: Fri Oct 17 19:40:26 2014 +0530
Add metainfo file to show this font in gnome-software
sil-scheherazade-fonts.spec | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/sil-scheherazade-fonts.spec b/sil-scheherazade-fonts.spec
index 3432b50..44e3d6e 100644
--- a/sil-scheherazade-fonts.spec
+++ b/sil-scheherazade-fonts.spec
@@ -3,16 +3,16 @@
Name: %{fontname}-fonts
Version: 2.020
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: An Arabic script unicode font
-Group: User Interface/X
License: OFL
URL: http://scripts.sil.org/ArabicFonts
# The file complete URL is as follows:
# http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=Scheherazade-2.000&filename=Scheherazade-2.000.zip
Source0: Scheherazade-%{version}.zip
Source1: %{name}-fontconfig.conf
+Source2: %{fontname}.metainfo.xml
BuildArch: noarch
BuildRequires: fontpackages-devel
@@ -47,12 +47,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 *.txt documentation/*
+%{_datadir}/appdata/%{fontname}.metainfo.xml
%changelog
+* Fri Oct 17 2014 Parag Nemade <pnemade AT redhat DOT com> - 2.020-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.020-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list