Add a MetaInfo file for the software center

f38
Richard Hughes 10 years ago
parent fe84ac4b87
commit 70e3a96ddc

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<component type="font">
<id>biolinum</id>
<metadata_license>CC0-1.0</metadata_license>
<name>Biolinum</name>
<summary>Sans-serif fonts from Linux Libertine Open fonts</summary>
</component>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<component type="font">
<id>libertine</id>
<metadata_license>CC0-1.0</metadata_license>
<name>Libertine</name>
<summary>Linux Libertine open fonts</summary>
</component>

@ -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 <richard@hughsie.com> - 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 <rel-eng@lists.fedoraproject.org> - 5.3.0-5.2012_07_02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

Loading…
Cancel
Save