Add metainfo file to show this font in gnome-software
This commit is contained in:
parent
446a6f6740
commit
ac9276d82b
@ -5,14 +5,14 @@
|
|||||||
|
|
||||||
Name: %{fontname}-fonts
|
Name: %{fontname}-fonts
|
||||||
Version: 2.1.1
|
Version: 2.1.1
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Summary: The Nuosu SIL Font
|
Summary: The Nuosu SIL Font
|
||||||
|
|
||||||
Group: User Interface/X
|
|
||||||
License: OFL
|
License: OFL
|
||||||
URL: http://scripts.sil.org/SILYi_home
|
URL: http://scripts.sil.org/SILYi_home
|
||||||
Source0: %{archivename}
|
Source0: %{archivename}
|
||||||
Source1: %{name}-fontconfig.conf
|
Source1: %{name}-fontconfig.conf
|
||||||
|
Source2: %{fontname}.metainfo.xml
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: fontpackages-devel
|
BuildRequires: fontpackages-devel
|
||||||
@ -42,13 +42,18 @@ install -m 0644 -p %{SOURCE1} \
|
|||||||
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||||
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||||
|
|
||||||
|
# Add AppStream metadata
|
||||||
|
install -Dm 0644 -p %{SOURCE2} \
|
||||||
|
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||||
|
|
||||||
%_font_pkg -f %{fontconf} *.ttf
|
%_font_pkg -f %{fontconf} *.ttf
|
||||||
|
|
||||||
%doc OFL.txt doc/FONTLOG.txt
|
%doc OFL.txt doc/FONTLOG.txt
|
||||||
|
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 17 2014 Parag Nemade <pnemade AT redhat DOT com> - 2.1.1-9
|
||||||
|
- Add metainfo file to show this font in gnome-software
|
||||||
|
|
||||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-8
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-8
|
||||||
- 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