commit 47975c77d26ed59232aa078be93ba09628c7a8e1 Author: Pravin Satpute <psatp...@redhat.com> Date: Mon Oct 27 22:56:03 2014 +0530
Added metainfo for gnome-software lohit-gujarati-fonts.spec | 12 +++++++++++- lohit-gujarati.metainfo.xml | 14 ++++++++++++++ 2 files changed, 25 insertions(+), 1 deletions(-) --- diff --git a/lohit-gujarati-fonts.spec b/lohit-gujarati-fonts.spec index b3ec15e..e6c8111 100644 --- a/lohit-gujarati-fonts.spec +++ b/lohit-gujarati-fonts.spec @@ -3,12 +3,13 @@ Name: %{fontname}-fonts Version: 2.92.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Free Gujarati font 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 >= 20080429 BuildRequires: fontpackages-devel @@ -39,12 +40,21 @@ 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-gujarati.txt +%{_datadir}/appdata/%{fontname}.metainfo.xml + %changelog +* Mon Oct 20 2014 Pravin Satpute <psatp...@redhat.com> - 2.92.2-3 +- Added metainfo for gnome-software + * Sat Jun 07 2014 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 2.92.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/lohit-gujarati.metainfo.xml b/lohit-gujarati.metainfo.xml new file mode 100644 index 0000000..a310923 --- /dev/null +++ b/lohit-gujarati.metainfo.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<component type="font"> + <id>lohit-gujarati</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 Gujarati 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/