commit bea7b7219b4105ccd73d77d5c62d49cc4fc93bf7 Author: Pravin Satpute <psatp...@redhat.com> Date: Mon Oct 20 11:42:56 2014 +0530
Added metainfo for gnome-software lohit-bengali-fonts.spec | 12 ++++++++++-- lohit-bengali.metainfo.xml | 14 ++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) --- diff --git a/lohit-bengali-fonts.spec b/lohit-bengali-fonts.spec index b27238a..7d14090 100644 --- a/lohit-bengali-fonts.spec +++ b/lohit-bengali-fonts.spec @@ -3,12 +3,13 @@ Name: %{fontname}-fonts Version: 2.91.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Free Bengali script 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 @@ -42,14 +43,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-bengali.txt - +%{_datadir}/appdata/%{fontname}.metainfo.xml %changelog +* Mon Oct 20 2014 Pravin Satpute <psatp...@redhat.com> - 2.91.0-2 +- Added metainfo for gnome-software + * Mon Oct 13 2014 Pravin Satpute <psatp...@redhat.com> - 2.91.0-1 - Upstream release 2.91.0 under lohit2 project - Rewritten all GSUB rules. diff --git a/lohit-bengali.metainfo.xml b/lohit-bengali.metainfo.xml new file mode 100644 index 0000000..860b577 --- /dev/null +++ b/lohit-bengali.metainfo.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<component type="font"> + <id>lohit-bengali</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 Bengali 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/