[oflb-asana-math-fonts] Add metainfo file to show this font in gnome-software
Parag Nemade
pnemade at fedoraproject.org
Thu Oct 16 09:06:14 UTC 2014
commit 259e1cc9325308fca141a14e3c0e421badc85f4b
Author: Parag Nemade <pnemade at redhat.com>
Date: Thu Oct 16 14:36:08 2014 +0530
Add metainfo file to show this font in gnome-software
oflb-asana-math-fonts.spec | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/oflb-asana-math-fonts.spec b/oflb-asana-math-fonts.spec
index a29211f..252112d 100644
--- a/oflb-asana-math-fonts.spec
+++ b/oflb-asana-math-fonts.spec
@@ -3,10 +3,9 @@
Name: %{fontname}-fonts
Version: 0.952
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: An OpenType font with a MATH table
-Group: User Interface/X
License: OFL
## Note that upstream is dead and there is no download link available at this minute
## so please don't report FTBFS bugs for this package.
@@ -16,6 +15,7 @@ Source1: %{name}-fontconfig.conf
Source2: README.license
#license text extracted from font file
Source3: License.txt
+Source4: %{fontname}.metainfo.xml
BuildArch: noarch
BuildRequires: fontpackages-devel
@@ -46,12 +46,19 @@ install -m 0644 -p %{SOURCE1} \
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
+# Add AppStream metadata
+install -Dm 0644 -p %{SOURCE4} \
+ %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
%_font_pkg -f %{fontconf} *.otf
%doc README.license License.txt
+%{_datadir}/appdata/%{fontname}.metainfo.xml
%changelog
+* Thu Oct 16 2014 Parag Nemade <pnemade AT redhat.com> - 0.952-2
+- Add metainfo file to show this font in gnome-software
+
* Tue Sep 30 2014 Parag Nemade <pnemade AT redha DOT com> - 0.952-1
- update to 952 update
More information about the fonts-bugs
mailing list