[oflb-sportrop-fonts] Add metainfo file to show this font in gnome-software
Parag Nemade
pnemade at fedoraproject.org
Thu Oct 16 08:50:10 UTC 2014
commit eda25d37b79632b3b6d66f03384b004384fb1d7c
Author: Parag Nemade <pnemade at redhat.com>
Date: Thu Oct 16 14:20:04 2014 +0530
Add metainfo file to show this font in gnome-software
oflb-sportrop-fonts.spec | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/oflb-sportrop-fonts.spec b/oflb-sportrop-fonts.spec
index e17e10c..83e79de 100644
--- a/oflb-sportrop-fonts.spec
+++ b/oflb-sportrop-fonts.spec
@@ -3,16 +3,16 @@
Name: %{fontname}-fonts
Version: 0.9
-Release: 14%{?dist}
+Release: 15%{?dist}
Summary: A multiline decorative font
-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.
URL: http://openfontlibrary.org/media/files/gluk/287
Source0: http://openfontlibrary.org/people/gluk/gluk_-_Sportrop.zip
Source1: %{name}-fontconfig.conf
+Source2: %{fontname}.metainfo.xml
BuildArch: noarch
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
@@ -48,11 +48,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_FAQ.txt OFL_License.txt tabl_c.jpg
+%{_datadir}/appdata/%{fontname}.metainfo.xml
%changelog
+* Thu Oct 16 2014 Parag Nemade <pnemade AT redhat.com> - 0.9-15
+- Add metainfo file to show this font in gnome-software
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the fonts-bugs
mailing list