Add a MetaInfo file for the software center
This commit is contained in:
parent
5e792cf83e
commit
5fc2cf50f0
7
sil-padauk-book.metainfo.xml
Normal file
7
sil-padauk-book.metainfo.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
|
||||||
|
<component type="font">
|
||||||
|
<id>sil-padauk-book</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<extends>sil-padauk</extends>
|
||||||
|
</component>
|
@ -10,7 +10,7 @@ The font is a smart font using a Graphite description.
|
|||||||
|
|
||||||
Name: %{fontname}-fonts
|
Name: %{fontname}-fonts
|
||||||
Version: 2.8
|
Version: 2.8
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: A font for Burmese and the Myanmar script
|
Summary: A font for Burmese and the Myanmar script
|
||||||
|
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
@ -20,6 +20,8 @@ URL: http://scripts.sil.org/Padauk
|
|||||||
Source0: %{archivename}.zip
|
Source0: %{archivename}.zip
|
||||||
Source1: %{name}-fontconfig.conf
|
Source1: %{name}-fontconfig.conf
|
||||||
Source2: %{name}-book-fontconfig.conf
|
Source2: %{name}-book-fontconfig.conf
|
||||||
|
Source3: %{fontname}.metainfo.xml
|
||||||
|
Source4: %{fontname}-book.metainfo.xml
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: fontpackages-devel
|
BuildRequires: fontpackages-devel
|
||||||
@ -31,6 +33,7 @@ Requires: fontpackages-filesystem
|
|||||||
|
|
||||||
%_font_pkg -f %{fontconf}.conf Padauk.ttf Padauk-bold.ttf
|
%_font_pkg -f %{fontconf}.conf Padauk.ttf Padauk-bold.ttf
|
||||||
%doc *.txt
|
%doc *.txt
|
||||||
|
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||||
|
|
||||||
%package -n %{fontname}-book-fonts
|
%package -n %{fontname}-book-fonts
|
||||||
Summary: A font for Burmese and the Myanmar script
|
Summary: A font for Burmese and the Myanmar script
|
||||||
@ -41,6 +44,7 @@ Padauk Book family font.
|
|||||||
%common_desc
|
%common_desc
|
||||||
|
|
||||||
%_font_pkg -n book -f %{fontconf}-book.conf Padauk-book*.ttf
|
%_font_pkg -n book -f %{fontconf}-book.conf Padauk-book*.ttf
|
||||||
|
%{_datadir}/appdata/%{fontname}-book.metainfo.xml
|
||||||
%doc *.txt
|
%doc *.txt
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -79,8 +83,16 @@ ln -s %{_fontconfig_templatedir}/%{fontconf}.conf \
|
|||||||
ln -s %{_fontconfig_templatedir}/%{fontconf}-book.conf \
|
ln -s %{_fontconfig_templatedir}/%{fontconf}-book.conf \
|
||||||
%{buildroot}%{_fontconfig_confdir}/%{fontconf}-book.conf
|
%{buildroot}%{_fontconfig_confdir}/%{fontconf}-book.conf
|
||||||
|
|
||||||
|
# Add AppStream metadata
|
||||||
|
install -Dm 0644 -p %{SOURCE3} \
|
||||||
|
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||||
|
install -Dm 0644 -p %{SOURCE4} \
|
||||||
|
%{buildroot}%{_datadir}/appdata/%{fontname}-book.metainfo.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 16 2014 Richard Hughes <richard@hughsie.com> - 2.8-7
|
||||||
|
- Add a MetaInfo file for the software center; this is a font we want to show.
|
||||||
|
|
||||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-6
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
8
sil-padauk.metainfo.xml
Normal file
8
sil-padauk.metainfo.xml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
|
||||||
|
<component type="font">
|
||||||
|
<id>sil-padauk</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<name>Padauk</name>
|
||||||
|
<summary>A font for Burmese and the Myanmar script</summary>
|
||||||
|
</component>
|
Loading…
Reference in New Issue
Block a user