Improve AppStream metainfo
This commit is contained in:
parent
a9aac6a822
commit
5d58af6333
12
vim.spec
12
vim.spec
@ -585,10 +585,12 @@ cat > $RPM_BUILD_ROOT%{_datadir}/metainfo/gvim.appdata.xml <<EOF
|
|||||||
EmailAddress: Bram@moolenaar.net>
|
EmailAddress: Bram@moolenaar.net>
|
||||||
SentUpstream: 2014-05-22
|
SentUpstream: 2014-05-22
|
||||||
-->
|
-->
|
||||||
<application>
|
<component type="desktop-application">
|
||||||
<id type="desktop">gvim.desktop</id>
|
<id>org.vim.Vim</id>
|
||||||
|
<name>GVim</name>
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
<project_license>Vim</project_license>
|
<project_license>Vim</project_license>
|
||||||
|
<summary>The VIM version of the vi editor for the X Window System</summary>
|
||||||
<description>
|
<description>
|
||||||
<p>
|
<p>
|
||||||
Vim is an advanced text editor that seeks to provide the power of the
|
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.
|
editing configuration files.
|
||||||
</p>
|
</p>
|
||||||
</description>
|
</description>
|
||||||
|
<releases>
|
||||||
|
<release version="%{version}" date="%(date +%F -r %{SOURCE0})" />
|
||||||
|
</releases>
|
||||||
<screenshots>
|
<screenshots>
|
||||||
<screenshot type="default">
|
<screenshot type="default">
|
||||||
<image>https://raw.githubusercontent.com/zdohnal/vim/zdohnal-screenshot/gvim16_9.png</image>
|
<image>https://raw.githubusercontent.com/zdohnal/vim/zdohnal-screenshot/gvim16_9.png</image>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
<url type="homepage">http://www.vim.org/</url>
|
<url type="homepage">http://www.vim.org/</url>
|
||||||
</application>
|
<content_rating type="oars-1.1"/>
|
||||||
|
</component>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
|
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
|
||||||
|
Loading…
Reference in New Issue
Block a user