[google-croscore-fonts] Add metainfo files to show Arimo, Cousine, Tinos fonts in gnome-software
Parag Nemade
pnemade at fedoraproject.org
Mon Oct 20 23:58:20 UTC 2014
commit e3dd37beb4043d0c1143bc3c2d9bc6467a0feb24
Author: Parag Nemade <pnemade at redhat.com>
Date: Tue Oct 21 05:28:16 2014 +0530
Add metainfo files to show Arimo, Cousine, Tinos fonts in gnome-software
google-croscore-fonts.spec | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/google-croscore-fonts.spec b/google-croscore-fonts.spec
index ece7541..2e4ae44 100644
--- a/google-croscore-fonts.spec
+++ b/google-croscore-fonts.spec
@@ -32,6 +32,11 @@ Source6: 30-0-%{fontname}-tinos-fontconfig.conf
# Add ASL2.0 license text in LICENSE-2.0.txt file
Source8: LICENSE-2.0.txt
+# metainfo files for gnome-software
+Source9: %{fontname}-arimo.metainfo.xml
+Source10: %{fontname}-cousine.metainfo.xml
+Source11: %{fontname}-tinos.metainfo.xml
+
BuildArch: noarch
BuildRequires: fontpackages-devel
@@ -60,6 +65,7 @@ and solves the needs of developers looking for width-compatible fonts to
address document portability across platforms.
%_font_pkg -n arimo -f *-%{fontname}-arimo.conf Arimo*.ttf
+%{_datadir}/appdata/%{fontname}-arimo.metainfo.xml
%package -n %{fontname}-cousine-fonts
Summary: The croscore Cousine family fonts
@@ -74,6 +80,7 @@ and solves the needs of developers looking for width-compatible fonts to
address document portability across platforms.
%_font_pkg -n cousine -f *-%{fontname}-cousine.conf Cousine*.ttf
+%{_datadir}/appdata/%{fontname}-cousine.metainfo.xml
%package -n %{fontname}-tinos-fonts
Summary: The croscore Tinos family fonts
@@ -88,6 +95,7 @@ and solves the needs of developers looking for width-compatible fonts to
address document portability across platforms.
%_font_pkg -n tinos -f *-%{fontname}-tinos.conf Tinos*.ttf
+%{_datadir}/appdata/%{fontname}-tinos.metainfo.xml
%package -n %{fontname}-symbolneu-fonts
Summary: The croscore Symbol Neu family fonts
@@ -138,12 +146,21 @@ for fconf in %{fontconf62}-arimo.conf %{fontconf30}-arimo.conf \
%{buildroot}%{_fontconfig_confdir}/$fconf
done
+# Add AppStream metadata
+install -Dm 0644 -p %{SOURCE9} \
+ %{buildroot}%{_datadir}/appdata/%{fontname}-arimo.metainfo.xml
+install -Dm 0644 -p %{SOURCE10} \
+ %{buildroot}%{_datadir}/appdata/%{fontname}-cousine.metainfo.xml
+install -Dm 0644 -p %{SOURCE11} \
+ %{buildroot}%{_datadir}/appdata/%{fontname}-tinos.metainfo.xml
%files common
%doc LICENSE-2.0.txt
-
%changelog
+* Mon Oct 20 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.23.0-6
+- Add metainfo files to show Arimo, Cousine, Tinos fonts in gnome-software
+
* Wed Sep 03 2014 Parag Nemade <pnemade AT redhat DOT com>- 1.23.0-5
- Drop fontconfig for Symbol Neu font
- Fix rh#1037882 - Wrong character displayed with google-croscore-symbolneu-fonts installed
More information about the fonts-bugs
mailing list