Update License tag
add appstream metainfo
This commit is contained in:
parent
58ff3db047
commit
a5913fab0b
@ -3,10 +3,10 @@
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
Version: 1.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Free Kannada Opentype serif font
|
||||
|
||||
License: OFL
|
||||
License: GPLv3+ with exceptions
|
||||
URL: https://github.com/aravindavk/Gubbi
|
||||
Source0: https://github.com/aravindavk/Gubbi/archive/v%{version}.tar.gz#/%{fontname}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
@ -14,7 +14,7 @@ BuildRequires: fontforge
|
||||
BuildRequires: fontpackages-devel
|
||||
Requires: fontpackages-filesystem
|
||||
Source1: 65-0-gubbi.conf
|
||||
|
||||
Source2: %{fontname}.metainfo.xml
|
||||
|
||||
%description
|
||||
This package provides a free Kannada opentype serif font.
|
||||
@ -38,13 +38,21 @@ 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 ChangeLog README
|
||||
%license COPYING
|
||||
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 12 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 1.3-2
|
||||
- Update License tag
|
||||
- add appstream metainfo
|
||||
|
||||
* Wed Jul 11 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 1.3-1
|
||||
- Update to new upstream 1.3 release
|
||||
|
||||
|
14
gubbi.metainfo.xml
Normal file
14
gubbi.metainfo.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="font">
|
||||
<id>gubbi</id>
|
||||
<metadata_license>CC-BY-3.0</metadata_license>
|
||||
<name>Gubbi</name>
|
||||
<summary>Free Kannada opentype serif font</summary>
|
||||
<description>
|
||||
<p>
|
||||
This package provides a free Kannada serif opentype font.
|
||||
</p>
|
||||
</description>
|
||||
<updatecontact>psatpute_at_redhat_dot_com</updatecontact>
|
||||
<url type="homepage">https://github.com/aravindavk/Gubbi</url>
|
||||
</component>
|
Loading…
Reference in New Issue
Block a user