Add metainfo file to show this font in gnome-software
This commit is contained in:
parent
c1dd1e4720
commit
bcf6d930d1
@ -3,14 +3,14 @@
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
Version: 1.901
|
||||
Release: 13%{?dist}
|
||||
Release: 14%{?dist}
|
||||
Summary: Tibetan Machine Uni font for Tibetan, Dzongkha and Ladakhi
|
||||
|
||||
Group: User Interface/X
|
||||
# .ttf file now states GPLv3+ with fonts exceptions
|
||||
License: GPLv3+ with exceptions
|
||||
URL: http://www.thlib.org/tools/#wiki=/access/wiki/site/26a34146-33a6-48ce-001e-f16ce7908a6a/tibetan%20machine%20uni.html
|
||||
Source0: https://collab.itc.virginia.edu/access/content/group/26a34146-33a6-48ce-001e-f16ce7908a6a/Tibetan%20fonts/Tibetan%20Unicode%20Fonts/%{zipname}.zip
|
||||
Source1: %{fontname}.metainfo.xml
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel
|
||||
@ -35,12 +35,18 @@ install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||
|
||||
dos2unix -o ReadMe.txt
|
||||
|
||||
%clean
|
||||
# Add AppStream metadata
|
||||
install -Dm 0644 -p %{SOURCE1} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
|
||||
%_font_pkg *.ttf
|
||||
%doc gpl.txt ReadMe.txt
|
||||
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
|
||||
%changelog
|
||||
* Sun Oct 19 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.901-14
|
||||
- Add metainfo file to show this font in gnome-software
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.901-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user