Improve AppStream metainfo

This commit is contained in:
Yaakov Selkowitz 2023-01-31 22:11:03 -05:00 committed by zdohnal
parent a9aac6a822
commit 5d58af6333

View File

@ -585,10 +585,12 @@ cat > $RPM_BUILD_ROOT%{_datadir}/metainfo/gvim.appdata.xml <<EOF
EmailAddress: Bram@moolenaar.net>
SentUpstream: 2014-05-22
-->
<application>
<id type="desktop">gvim.desktop</id>
<component type="desktop-application">
<id>org.vim.Vim</id>
<name>GVim</name>
<metadata_license>CC0-1.0</metadata_license>
<project_license>Vim</project_license>
<summary>The VIM version of the vi editor for the X Window System</summary>
<description>
<p>
Vim is an advanced text editor that seeks to provide the power of the
@ -604,13 +606,17 @@ SentUpstream: 2014-05-22
editing configuration files.
</p>
</description>
<releases>
<release version="%{version}" date="%(date +%F -r %{SOURCE0})" />
</releases>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/zdohnal/vim/zdohnal-screenshot/gvim16_9.png</image>
</screenshot>
</screenshots>
<url type="homepage">http://www.vim.org/</url>
</application>
<content_rating type="oars-1.1"/>
</component>
EOF
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml