diff --git a/lohit-gurmukhi-fonts.spec b/lohit-gurmukhi-fonts.spec index 05794e4..fa20245 100644 --- a/lohit-gurmukhi-fonts.spec +++ b/lohit-gurmukhi-fonts.spec @@ -4,13 +4,14 @@ Name: %{fontname}-fonts Version: 2.91.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Free Gurmukhi truetype font for Punjabi language License: OFL URL: https://fedorahosted.org/lohit/ Source0: https://fedorahosted.org/releases/l/o/lohit/%{fontname}-%{version}.tar.gz Source1: %{name}.conf +Source2: %{fontname}.metainfo.xml BuildArch: noarch BuildRequires: fontforge >= 20080429 BuildRequires: fontpackages-devel @@ -50,6 +51,11 @@ install -m 0644 -p %{SOURCE1} \ ln -s %{_fontconfig_templatedir}/%{fontconf1} \ %{buildroot}%{_fontconfig_confdir}/%{fontconf1} +# Add AppStream metadata +install -Dm 0644 -p %{SOURCE2} \ + %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml + + %_font_pkg -f *.conf *.ttf @@ -57,6 +63,9 @@ ln -s %{_fontconfig_templatedir}/%{fontconf1} \ %changelog +* Mon Oct 27 2014 Pravin Satpute - 2.91.0-5 +- Added metainfo for gnome-software + * Fri Sep 05 2014 Pravin Satpute - 2.91.0-4 - Updated obsolete version rhbz#1138266 diff --git a/lohit-gurmukhi.metainfo.xml b/lohit-gurmukhi.metainfo.xml new file mode 100644 index 0000000..d1816e0 --- /dev/null +++ b/lohit-gurmukhi.metainfo.xml @@ -0,0 +1,14 @@ + + + lohit-gurmukhi + CC-BY-3.0 + Lohit + A set of Indian language fonts + +

+ This package provides a free Gurmukhi truetype/opentype font. +

+
+ psatpute_at_redhat_dot_com + https://fedorahosted.org/lohit/ +