diff --git a/google-crosextra-caladea-fonts.spec b/google-crosextra-caladea-fonts.spec index 407b53c..8894295 100644 --- a/google-crosextra-caladea-fonts.spec +++ b/google-crosextra-caladea-fonts.spec @@ -6,10 +6,9 @@ Name: %{fontname}-fonts Version: 1.002 -Release: 0.4.20130214%{?dist} +Release: 0.5.20130214%{?dist} Summary: Serif font metric-compatible with Cambria font -Group: User Interface/X # License added in font as "otfinfo -i Caladea-Regular.ttf | grep License" # also from http://code.google.com/p/chromium/issues/detail?id=280557 License: ASL 2.0 @@ -17,6 +16,7 @@ URL: http://code.google.com/p/chromium/issues/detail?id=168879 Source0: http://gsdview.appspot.com/chromeos-localmirror/distfiles/%{archivename}.tar.gz Source1: 30-0-%{fontname}-fontconfig.conf Source2: 62-%{fontname}-fontconfig.conf +Source3: %{fontname}.metainfo.xml BuildArch: noarch BuildRequires: fontpackages-devel @@ -50,13 +50,19 @@ ln -s %{_fontconfig_templatedir}/%{fontconf30}-fontconfig.conf \ ln -s %{_fontconfig_templatedir}/%{fontconf62}-fontconfig.conf \ %{buildroot}%{_fontconfig_confdir}/%{fontconf62}-fontconfig.conf +# Add AppStream metadata +install -Dm 0644 -p %{SOURCE3} \ + %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml %_font_pkg -f *-%{fontname}-fontconfig.conf *.ttf - %doc +%{_datadir}/appdata/%{fontname}.metainfo.xml %changelog +* Thu Oct 16 2014 Parag Nemade - 1.002-0.5.20130214 +- Add metainfo file to show this font in gnome-software + * Sat Jun 07 2014 Fedora Release Engineering - 1.002-0.4.20130214 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild