Add metainfo file to show this font in gnome-software
This commit is contained in:
parent
280272cffa
commit
37b73f8335
@ -6,10 +6,9 @@
|
|||||||
|
|
||||||
Name: %{fontname}-fonts
|
Name: %{fontname}-fonts
|
||||||
Version: 1.002
|
Version: 1.002
|
||||||
Release: 0.4.20130214%{?dist}
|
Release: 0.5.20130214%{?dist}
|
||||||
Summary: Serif font metric-compatible with Cambria font
|
Summary: Serif font metric-compatible with Cambria font
|
||||||
|
|
||||||
Group: User Interface/X
|
|
||||||
# License added in font as "otfinfo -i Caladea-Regular.ttf | grep License"
|
# License added in font as "otfinfo -i Caladea-Regular.ttf | grep License"
|
||||||
# also from http://code.google.com/p/chromium/issues/detail?id=280557
|
# also from http://code.google.com/p/chromium/issues/detail?id=280557
|
||||||
License: ASL 2.0
|
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
|
Source0: http://gsdview.appspot.com/chromeos-localmirror/distfiles/%{archivename}.tar.gz
|
||||||
Source1: 30-0-%{fontname}-fontconfig.conf
|
Source1: 30-0-%{fontname}-fontconfig.conf
|
||||||
Source2: 62-%{fontname}-fontconfig.conf
|
Source2: 62-%{fontname}-fontconfig.conf
|
||||||
|
Source3: %{fontname}.metainfo.xml
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: fontpackages-devel
|
BuildRequires: fontpackages-devel
|
||||||
@ -50,13 +50,19 @@ ln -s %{_fontconfig_templatedir}/%{fontconf30}-fontconfig.conf \
|
|||||||
ln -s %{_fontconfig_templatedir}/%{fontconf62}-fontconfig.conf \
|
ln -s %{_fontconfig_templatedir}/%{fontconf62}-fontconfig.conf \
|
||||||
%{buildroot}%{_fontconfig_confdir}/%{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
|
%_font_pkg -f *-%{fontname}-fontconfig.conf *.ttf
|
||||||
|
|
||||||
%doc
|
%doc
|
||||||
|
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 16 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.002-0.5.20130214
|
||||||
|
- Add metainfo file to show this font in gnome-software
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-0.4.20130214
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-0.4.20130214
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user