[oflb-dignas-handwriting-fonts] Add a MetaInfo file for the software center
Richard Hughes
rhughes at fedoraproject.org
Thu Oct 16 11:12:04 UTC 2014
commit eb44ac990c007953573af629af624a0a8078068e
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Oct 16 12:11:40 2014 +0100
Add a MetaInfo file for the software center
oflb-dignas-handwriting-fonts.spec | 10 +++++++++-
oflb-dignas-handwriting.metainfo.xml | 8 ++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/oflb-dignas-handwriting-fonts.spec b/oflb-dignas-handwriting-fonts.spec
index 91787af..75be687 100644
--- a/oflb-dignas-handwriting-fonts.spec
+++ b/oflb-dignas-handwriting-fonts.spec
@@ -3,7 +3,7 @@
Name: %{fontname}-fonts
Version: 20031109
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Handwriting font
Group: User Interface/X
@@ -11,6 +11,7 @@ License: OFL
URL: http://openfontlibrary.org/media/files/phranzysko/407
Source0: http://openfontlibrary.org/people/phranzysko/phranzysko_-_Digna_s_Handwriting.ttf
Source1: %{name}-fontconfig.conf
+Source2: %{fontname}.metainfo.xml
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
@@ -43,15 +44,22 @@ 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
%clean
rm -fr %{buildroot}
%_font_pkg -f %{fontconf} *.ttf
+%{_datadir}/appdata/%{fontname}.metainfo.xml
%changelog
+* Thu Oct 16 2014 Richard Hughes <richard at hughsie.com> - 20031109-9
+- 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> - 20031109-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/oflb-dignas-handwriting.metainfo.xml b/oflb-dignas-handwriting.metainfo.xml
new file mode 100644
index 0000000..30eb88a
--- /dev/null
+++ b/oflb-dignas-handwriting.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>oflb-dignas-handwriting</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <name>Dignas Handwriting</name>
+ <summary>Phranzysko's sister handwriting</summary>
+</component>
More information about the fonts-bugs
mailing list