[cf-sorts-mill-goudy-fonts] Add metainfo file to show this font in gnome-software
Parag Nemade
pnemade at fedoraproject.org
Thu Oct 16 11:58:12 UTC 2014
commit 24ef473d441b9948d0bbf39532144f791a753910
Author: Parag Nemade <pnemade at redhat.com>
Date: Thu Oct 16 17:28:04 2014 +0530
Add metainfo file to show this font in gnome-software
cf-sorts-mill-goudy-fonts.spec | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/cf-sorts-mill-goudy-fonts.spec b/cf-sorts-mill-goudy-fonts.spec
index 39292f9..bcc65c0 100644
--- a/cf-sorts-mill-goudy-fonts.spec
+++ b/cf-sorts-mill-goudy-fonts.spec
@@ -3,14 +3,14 @@
Name: %{fontname}-fonts
Version: 3.1
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Goudy Oldstyle and Italic fonts
-Group: User Interface/X
License: MIT
URL: http://crudfactory.com/
Source0: http://sortsmill.googlecode.com/files/goudy-3.1.zip
Source1: %{name}-fontconfig.conf
+Source2: %{fontname}.metainfo.xml
BuildArch: noarch
BuildRequires: fontpackages-devel
@@ -40,18 +40,23 @@ 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} *.otf
-
%doc COPYING
-
+%{_datadir}/appdata/%{fontname}.metainfo.xml
%changelog
+* Thu Oct 16 2014 Parag Nemade <pnemade AT redhat DOT com> - 3.1-8
+- Add metainfo file to show this font in gnome-software
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the fonts-bugs
mailing list