Add metainfo files to show Arimo, Cousine, Tinos fonts in gnome-software

f38
Parag Nemade 10 years ago
parent 55552f0d57
commit e3dd37beb4

@ -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

Loading…
Cancel
Save