commit ca48693ae07608ee47d763e5b25779c708f22269 Author: Pravin Satpute <psatp...@redhat.com> Date: Mon Nov 17 12:56:00 2014 +0530
Added metainfo for gnome-software. abattis-cantarell-fonts.spec | 11 ++++++++++- abattis-cantarell.metainfo.xml | 15 +++++++++++++++ 2 files changed, 25 insertions(+), 1 deletions(-) --- diff --git a/abattis-cantarell-fonts.spec b/abattis-cantarell-fonts.spec index 6d4b4eb..b6c16fe 100644 --- a/abattis-cantarell-fonts.spec +++ b/abattis-cantarell-fonts.spec @@ -8,13 +8,14 @@ Name: %{fontname}-fonts Version: 0.0.16 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cantarell, a Humanist sans-serif font family Group: User Interface/X License: OFL URL: http://abattis.org/cantarell/ Source0: http://download.gnome.org/sources/%{actualname}-fonts/0.0/%{actualname}-fonts-%{version}.tar.xz +Source1: %{fontname}.metainfo.xml BuildArch: noarch BuildRequires: fontpackages-devel @@ -45,10 +46,18 @@ install -m 0644 -p fontconfig/%{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} *.otf %doc COPYING NEWS README +%{_datadir}/appdata/%{fontname}.metainfo.xml %changelog +* Mon Nov 17 2014 Richard Hughes <rhug...@redhat.com> - 0.0.16-2 +- Added metainfo for gnome-software. + * Tue Sep 23 2014 Kalev Lember <kalevlem...@gmail.com> - 0.0.16-1 - Update to 0.0.16 diff --git a/abattis-cantarell.metainfo.xml b/abattis-cantarell.metainfo.xml new file mode 100644 index 0000000..69ddcdd --- /dev/null +++ b/abattis-cantarell.metainfo.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<component type="font"> + <id>abattis-cantarell</id> + <metadata_license>CC-BY-3.0</metadata_license> + <name>Cantarell</name> + <summary>Cantarell, a Humanist sans-serif font family</summary> + <description> + <p> + Cantarell is a set of fonts designed by Dave Crossland. + It is a sans-serif humanist typeface family. + </p> + </description> + <updatecontact>psatpute_at_redhat_dot_com</updatecontact> + <url type="homepage">http://abattis.org/cantarell/</url> +</component> _______________________________________________ fonts-bugs mailing list fonts-bugs@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs http://fonts.fedoraproject.org/