From ceac4d4d2f007cd69a941f322c0ccb107f440a7b Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Oct 17 2014 12:30:37 +0000 Subject: Add a MetaInfo file for the software center --- diff --git a/drehatlas-widelands-fonts.spec b/drehatlas-widelands-fonts.spec index 1be3e8a..50171ee 100644 --- a/drehatlas-widelands-fonts.spec +++ b/drehatlas-widelands-fonts.spec @@ -7,12 +7,13 @@ Name: %{fontname}-fonts Version: 1.0.3.1 -Release: 12%{?dist} +Release: 13%{?dist} Summary: A Latin typeface inspired by feudal calligraphy License: OFL URL: http://www.drehatlas.de/ 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 @@ -48,10 +49,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}/Widelands-%{version}/LICENSE drehatlas-fonts-%{metapkgver}/Widelands-%{version}/FONTLOG %changelog +* Fri Oct 17 2014 Richard Hughes - 1.0.3.1-13 +- 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.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/drehatlas-widelands.metainfo.xml b/drehatlas-widelands.metainfo.xml new file mode 100644 index 0000000..20d622e --- /dev/null +++ b/drehatlas-widelands.metainfo.xml @@ -0,0 +1,8 @@ + + + + drehatlas-widelands + CC0-1.0 + Widelands + A Latin font inspired by feudal calligraphy +