[gfs-garaldus-fonts] Add metainfo file to show this font in gnome-software
Parag Nemade
pnemade at fedoraproject.org
Fri Oct 17 11:16:17 UTC 2014
commit 1ef7dfb0e1eb79e927828ee0f7f18c4cb6f9c20d
Author: Parag Nemade <pnemade at redhat.com>
Date: Fri Oct 17 16:46:09 2014 +0530
Add metainfo file to show this font in gnome-software
gfs-garaldus-fonts.spec | 20 +++++++++-----------
1 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/gfs-garaldus-fonts.spec b/gfs-garaldus-fonts.spec
index b2e4fc5..1d40fbf 100644
--- a/gfs-garaldus-fonts.spec
+++ b/gfs-garaldus-fonts.spec
@@ -5,15 +5,14 @@
Name: %{fontname}-fonts
Version: 20080707
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: GFS Garaldus majuscule Greek font
-Group: User Interface/X
License: OFL
URL: http://www.greekfontsociety.gr/pages/en_typefaces_majuscules.html
Source0: http://www.greekfontsociety.gr/%{archivename}.zip
Source1: %{name}-fontconfig.conf
-
+Source2: %{fontname}.metainfo.xml
BuildArch: noarch
BuildRequires: fontpackages-devel
@@ -53,8 +52,6 @@ done
%install
-rm -fr %{buildroot}
-
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
@@ -66,17 +63,18 @@ install -m 0644 -p %{SOURCE1} \
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
-
-%clean
-rm -fr %{buildroot}
-
+# Add AppStream metadata
+install -Dm 0644 -p %{SOURCE3} \
+ %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
%_font_pkg -f %{fontconf} *.otf
-
%doc *.txt
-
+%{_datadir}/appdata/%{fontname}.metainfo.xml
%changelog
+* Fri Oct 17 2014 Parag Nemade <pnemade AT redhat DOT com> - 20080707-13
+- Add metainfo file to show this font in gnome-software
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 20080707-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list