Update License tag

add appstream metainfo
This commit is contained in:
Parag Nemade 2018-07-12 13:54:21 +05:30
parent 58ff3db047
commit a5913fab0b
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
2 changed files with 25 additions and 3 deletions

View File

@ -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
View 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>