[drehatlas-xaporho-fonts/f21] Add a MetaInfo file for the software center
Richard Hughes
rhughes at fedoraproject.org
Fri Oct 17 13:04:09 UTC 2014
commit c4b28e84bbb1362f06e26baff22cf3ece3d38498
Author: Richard Hughes <richard at hughsie.com>
Date: Fri Oct 17 13:34:48 2014 +0100
Add a MetaInfo file for the software center
drehatlas-xaporho-fonts.spec | 11 ++++++++++-
drehatlas-xaporho.metainfo.xml | 8 ++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
---
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 <richard at hughsie.com> - 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 <rel-eng at lists.fedoraproject.org> - 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Richard Hughes <richard at hughsie.com> -->
+<component type="font">
+ <id>drehatlas-xaporho</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <name>Xaporho</name>
+ <summary>A Latin font that is sharp and angular</summary>
+</component>
More information about the scm-commits
mailing list