diff --git a/biolinum.metainfo.xml b/biolinum.metainfo.xml new file mode 100644 index 0000000..a498183 --- /dev/null +++ b/biolinum.metainfo.xml @@ -0,0 +1,8 @@ + + + + biolinum + CC0-1.0 + Biolinum + Sans-serif fonts from Linux Libertine Open fonts + diff --git a/libertine.metainfo.xml b/libertine.metainfo.xml new file mode 100644 index 0000000..471c056 --- /dev/null +++ b/libertine.metainfo.xml @@ -0,0 +1,8 @@ + + + + libertine + CC0-1.0 + Libertine + Linux Libertine open fonts + diff --git a/linux-libertine-fonts.spec b/linux-libertine-fonts.spec index ef5a5a8..115c53f 100644 --- a/linux-libertine-fonts.spec +++ b/linux-libertine-fonts.spec @@ -14,7 +14,7 @@ proprietary standard fonts. Name: %{fontname}-fonts Version: 5.3.0 -Release: 5.%{posttag}%{?dist} +Release: 6.%{posttag}%{?dist} Summary: Linux Libertine Open Fonts Group: User Interface/X @@ -24,6 +24,8 @@ Source0: http://download.sourceforge.net/sourceforge/linuxlibertine/LinLi Source1: %{name}-libertine-fontconfig.conf Source2: %{name}-biolinum-fontconfig.conf Source3: %{name}-libertine-metrics-alias-fontconfig.conf +Source4: libertine.metainfo.xml +Source5: biolinum.metainfo.xml BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch @@ -88,6 +90,12 @@ for fconf in %{fontconf_libertine} %{fontconf_metrics} %{fontconf_biolinum}; do %{buildroot}%{_fontconfig_confdir}/$fconf done +# Add AppStream metadata +install -Dm 0644 -p %{SOURCE4} \ + %{buildroot}%{_datadir}/appdata/libertine.metainfo.xml +install -Dm 0644 -p %{SOURCE5} \ + %{buildroot}%{_datadir}/appdata/biolinum.metainfo.xml + %clean rm -fr %{buildroot} @@ -96,13 +104,18 @@ rm -fr %{buildroot} %doc Bugs.txt ChangeLog.txt GPL.txt LICENCE.txt OFL-1.1.txt Readme-TEX.txt README %_font_pkg -f %{fontconf_libertine} LinLibertine*.otf +%{_datadir}/appdata/libertine.metainfo.xml %{_fontconfig_templatedir}/%{fontconf_metrics} %{_fontconfig_confdir}/%{fontconf_metrics} %_font_pkg -n biolinum -f %{fontconf_biolinum} LinBiolinum*.otf +%{_datadir}/appdata/biolinum.metainfo.xml %changelog +* Wed Oct 15 2014 Richard Hughes - 5.3.0-6.2012_07_02 +- Add a MetaInfo file for the software center; this is a font we want to show. + * Sat Jun 07 2014 Fedora Release Engineering - 5.3.0-5.2012_07_02 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild