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
|
||||
Version: 2.1.1
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: The Nuosu SIL Font
|
||||
|
||||
Group: User Interface/X
|
||||
License: OFL
|
||||
URL: http://scripts.sil.org/SILYi_home
|
||||
Source0: %{archivename}
|
||||
Source1: %{name}-fontconfig.conf
|
||||
Source2: %{fontname}.metainfo.xml
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel
|
||||
@ -42,13 +42,18 @@ install -m 0644 -p %{SOURCE1} \
|
||||
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||
|
||||
# Add AppStream metadata
|
||||
install -Dm 0644 -p %{SOURCE2} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
|
||||
%_font_pkg -f %{fontconf} *.ttf
|
||||
|
||||
%doc OFL.txt doc/FONTLOG.txt
|
||||
|
||||
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user