From 6f38c4dfb3cd49177b50020c23db256c8b794a49 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Oct 18 2014 20:54:24 +0000 Subject: Add a MetaInfo file for the software center --- diff --git a/levien-museum-fonts.spec b/levien-museum-fonts.spec index 80b406b..0504cae 100644 --- a/levien-museum-fonts.spec +++ b/levien-museum-fonts.spec @@ -3,7 +3,7 @@ Name: %{fontname}-fonts Version: 1.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Based on historical metal Centaur fonts Group: User Interface/X @@ -11,6 +11,7 @@ License: OFL URL: http://levien.com/type/myfonts/museum.html Source0: http://levien.com/type/myfonts/museum.zip Source1: %{name}-fontconfig.conf +Source2: %{fontname}.metainfo.xml BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: fontpackages-devel @@ -38,12 +39,19 @@ 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 %changelog +* Sat Oct 18 2014 Richard Hughes - 1.0-8 +- 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-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/levien-museum.metainfo.xml b/levien-museum.metainfo.xml new file mode 100644 index 0000000..347eaea --- /dev/null +++ b/levien-museum.metainfo.xml @@ -0,0 +1,8 @@ + + + + levien-museum + CC0-1.0 + Museum + Based on historical metal Centaur fonts +