commit dc3dc4dc49afa712b14f9b804ac94ebf69d8796c Author: Pravin Satpute <psatp...@redhat.com> Date: Mon Oct 27 20:17:10 2014 +0530
Added metainfo for gnome-software lohit-gurmukhi-fonts.spec | 11 ++++++++++- lohit-gurmukhi.metainfo.xml | 14 ++++++++++++++ 2 files changed, 24 insertions(+), 1 deletions(-) --- diff --git a/lohit-gurmukhi-fonts.spec b/lohit-gurmukhi-fonts.spec index 05794e4..7a56806 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,13 +51,21 @@ 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 %doc ChangeLog COPYRIGHT OFL.txt AUTHORS README test-gurmukhi.txt +%{_datadir}/appdata/%{fontname}.metainfo.xml %changelog +* Mon Oct 27 2014 Pravin Satpute <psatp...@redhat.com> - 2.91.0-5 +- Added metainfo for gnome-software + * Fri Sep 05 2014 Pravin Satpute <psatp...@redhat.com> - 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<component type="font"> + <id>lohit-gurmukhi</id> + <metadata_license>CC-BY-3.0</metadata_license> + <name>Lohit</name> + <summary>A set of Indian language fonts</summary> + <description> + <p> + This package provides a free Gurmukhi truetype/opentype font. + </p> + </description> + <updatecontact>psatpute_at_redhat_dot_com</updatecontact> + <url type="homepage">https://fedorahosted.org/lohit/</url> +</component> _______________________________________________ fonts-bugs mailing list fonts-bugs@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs http://fonts.fedoraproject.org/