diff --git a/sil-nuosu-fonts.spec b/sil-nuosu-fonts.spec index fde73d3..beddfc2 100644 --- a/sil-nuosu-fonts.spec +++ b/sil-nuosu-fonts.spec @@ -5,14 +5,14 @@ Name: %{fontname}-fonts Version: 2.1.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: The Nuosu SIL Font -Group: User Interface/X License: OFL URL: http://scripts.sil.org/SILYi_home Source0: %{archivename} Source1: %{name}-fontconfig.conf +Source2: %{fontname}.metainfo.xml BuildArch: noarch BuildRequires: fontpackages-devel @@ -42,13 +42,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 doc/FONTLOG.txt - +%{_datadir}/appdata/%{fontname}.metainfo.xml %changelog +* Fri Oct 17 2014 Parag Nemade - 2.1.1-9 +- Add metainfo file to show this font in gnome-software + * Sun Jun 08 2014 Fedora Release Engineering - 2.1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild