From 36633233d23f1c4c72f631a2639d8b3894ea8d43 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Oct 17 2014 12:34:48 +0000 Subject: Add a MetaInfo file for the software center --- diff --git a/drehatlas-xaporho-fonts.spec b/drehatlas-xaporho-fonts.spec index 07bde1a..48b7651 100644 --- a/drehatlas-xaporho-fonts.spec +++ b/drehatlas-xaporho-fonts.spec @@ -4,13 +4,14 @@ Name: %{fontname}-fonts Version: 1.0.3.3 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A Latin typeface that is sharp and angular Group: User Interface/X License: OFL URL: http://sourceforge.net/projects/drehatlas-fonts/ Source0: http://downloads.sourceforge.net/project/drehatlas-fonts/Font-Packages/COMPLETE/drehatlas-fonts-%{metapkgver}.zip Source1: %{fontconf} +Source2: %{fontname}.metainfo.xml BuildArch: noarch BuildRequires: fontpackages-devel fontforge Requires: fontpackages-filesystem @@ -44,10 +45,18 @@ install -m 0644 -p %{SOURCE1} \ ln -s %{_fontconfig_templatedir}/%{fontconf} \ %{buildroot}%{_fontconfig_confdir}/%{fontconf} +# Add AppStream metadata +install -Dm 0644 -p %{SOURCE2} \ + %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml + %_font_pkg -f %{fontconf} *.otf +%{_datadir}/appdata/%{fontname}.metainfo.xml %doc drehatlas-fonts-%{metapkgver}/Xaporho-%{version}/LICENSE drehatlas-fonts-%{metapkgver}/Xaporho-%{version}/FONTLOG %changelog +* Fri Oct 17 2014 Richard Hughes - 1.0.3.3-11 +- Add a MetaInfo file for the software center; this is a font we want to show. + * Sat Jun 07 2014 Fedora Release Engineering - 1.0.3.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/drehatlas-xaporho.metainfo.xml b/drehatlas-xaporho.metainfo.xml new file mode 100644 index 0000000..b709fc4 --- /dev/null +++ b/drehatlas-xaporho.metainfo.xml @@ -0,0 +1,8 @@ + + + + drehatlas-xaporho + CC0-1.0 + Xaporho + A Latin font that is sharp and angular +