Added appdata for gnome-software
This commit is contained in:
parent
1551da312c
commit
6fa621283c
@ -1,13 +1,13 @@
|
||||
%global fontname lklug
|
||||
%global cvsdate 20090803
|
||||
%global fontconf 65-%{fontname}.conf
|
||||
%global fontconf 65-%{fontname}.conf
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
# Do not trust font metadata versionning unless you've checked upstream does
|
||||
# update versions on file changes. When in doubt use the timestamp of the most
|
||||
# recent file as version.
|
||||
Version: 0.6
|
||||
Release: 11.%{cvsdate}cvs%{?dist}
|
||||
Release: 12.%{cvsdate}cvs%{?dist}
|
||||
Summary: Fonts for Sinhala language
|
||||
Group: User Interface/X
|
||||
License: GPLv2
|
||||
@ -15,10 +15,11 @@ URL: http://sinhala.sourceforge.net/
|
||||
# cvs snapshot created with following steps
|
||||
#cvs -z3 -d:pserver:anonymous@sinhala.cvs.sourceforge.net:/cvsroot/sinhala co -P sinhala/fonts
|
||||
#cd sinhala/fonts/
|
||||
#tar -czf lklug-%{cvsdate}.tar.gz convert.ff COPYING CREDITS lklug.sfd Makefile README.fonts
|
||||
#tar -czf lklug-%%{cvsdate}.tar.gz convert.ff COPYING CREDITS lklug.sfd Makefile README.fonts
|
||||
|
||||
Source: lklug-%{cvsdate}.tar.gz
|
||||
Source1: %{fontconf}
|
||||
Source2: %{fontname}.metainfo.xml
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel fontforge
|
||||
Requires: fontpackages-filesystem
|
||||
@ -48,12 +49,19 @@ 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 CREDITS COPYING README.fonts
|
||||
|
||||
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
|
||||
%changelog
|
||||
* Fri Oct 17 2014 Pravin Satpute <psatpute@redhat.com> - 0.6-12.20090803cvs
|
||||
- Added appdata for gnome-software
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-11.20090803cvs
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
16
lklug.metainfo.xml
Normal file
16
lklug.metainfo.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="font">
|
||||
<id>lklug</id>
|
||||
<metadata_license>CC-BY-3.0</metadata_license>
|
||||
<name>Lklug</name>
|
||||
<summary>Font for Sinhala language</summary>
|
||||
<description>
|
||||
<p>
|
||||
This package provides the Lklug font for Sinhala made by the
|
||||
by Yannis Haralambous and are in GPL. OTF tables are added by
|
||||
Anuradha Ratnaweera and Harshani Devadithya.
|
||||
</p>
|
||||
</description>
|
||||
<updatecontact>psatpute_at_redhat_dot_com</updatecontact>
|
||||
<url type="homepage">http://sinhala.sourceforge.net/</url>
|
||||
</component>
|
Loading…
Reference in New Issue
Block a user