commit 520f6f4c06f1e7e8e1c35b479c40ea65f9828685 Author: Pravin Satpute <psatp...@redhat.com> Date: Tue Oct 28 14:28:12 2014 +0530
Added metainfo for gnome-software lohit-nepali-fonts.spec | 13 ++++++++++++- lohit-nepali.metainfo.xml | 14 ++++++++++++++ 2 files changed, 26 insertions(+), 1 deletions(-) --- diff --git a/lohit-nepali-fonts.spec b/lohit-nepali-fonts.spec index 61372c9..f68ec55 100644 --- a/lohit-nepali-fonts.spec +++ b/lohit-nepali-fonts.spec @@ -3,13 +3,14 @@ Name: %{fontname}-fonts Version: 2.94.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Free TrueType fonts for Nepali language Group: User Interface/X License: OFL URL: https://fedorahosted.org/lohit/ Source0: https://fedorahosted.org/releases/l/o/lohit/%{fontname}-%{version}.tar.gz +Source1: %{fontname}.metainfo.xml BuildArch: noarch BuildRequires: fontforge BuildRequires: fontpackages-devel @@ -39,12 +40,22 @@ install -m 0644 -p %{fontconf} \ ln -s %{_fontconfig_templatedir}/%{fontconf} \ %{buildroot}%{_fontconfig_confdir}/%{fontconf} +# Add AppStream metadata +install -Dm 0644 -p %{SOURCE1} \ + %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml + + %_font_pkg -f %{fontconf} *.ttf %doc ChangeLog COPYRIGHT OFL.txt AUTHORS README test-nepali.txt +%{_datadir}/appdata/%{fontname}.metainfo.xml + %changelog +* Tue Oct 28 2014 Pravin Satpute <psatp...@redhat.com> - 2.94.0-3 +- Added metainfo for gnome-software + * Sat Jun 07 2014 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 2.94.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/lohit-nepali.metainfo.xml b/lohit-nepali.metainfo.xml new file mode 100644 index 0000000..9372f9a --- /dev/null +++ b/lohit-nepali.metainfo.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<component type="font"> + <id>lohit-nepali</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 Nepali 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/