Merge pull request #3476 from joshua-stone/metainfo-support

NOISSUE Add metainfo support
This commit is contained in:
Petr Mrázek 2021-01-07 10:05:59 +00:00 committed by GitHub
commit a1a3f0d492
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 69 additions and 3 deletions

View File

@ -25,16 +25,21 @@ install -m 0644 ../ubuntu/multimc/opt/multimc/icon.svg %{buildroot}/opt/multimc/
install -m 0755 ../ubuntu/multimc/opt/multimc/run.sh %{buildroot}/opt/multimc/run.sh
mkdir -p %{buildroot}/%{_datadir}/applications
install -m 0644 ../ubuntu/multimc/usr/share/applications/multimc.desktop %{buildroot}/%{_datadir}/applications/multimc.desktop
mkdir -p %{buildroot}/%{_metainfodir}
install -m 0644 ../ubuntu/multimc/usr/share/metainfo/multimc.metainfo.xml %{buildroot}/%{_metainfodir}/multimc.metainfo.xml
%files
%dir /opt/multimc
/opt/multimc/icon.svg
/opt/multimc/run.sh
%{_datadir}/applications/multimc.desktop
%{_metainfodir}/multimc.metainfo.xml
%changelog
* Tue Dec 08 00:34:35 CET 2020 joshua-stone <joshua.gage.stone@gmail.com>
- Add metainfo.xml for improving package metadata
* Wed Nov 25 22:53:59 CET 2020 kb1000 <fedora@kb1000.de>
- Initial version of the RPM package, based on the Ubuntu package

View File

@ -1,7 +1,7 @@
# What is this?
A simple RPM package for MultiMC that contains a script that downloads and installs real MultiMC on Red Hat based systems.
It contains a `.desktop` file, an icon, and a simple script that does the heavy lifting.
It contains a `.desktop` file, a `.metainfo.xml` file, an icon, and a simple script that does the heavy lifting.
# How to build this?
You need the `rpm-build` package. Switch into this directory, then run:

View File

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>multimc</id>
<launchable type="desktop-id">multimc.desktop</launchable>
<name>MultiMC</name>
<summary>Manage Minecraft instances with ease</summary>
<description>
<p>Overview</p>
<p>MultiMC is a free, open source launcher for Minecraft. It allows you to have multiple, cleanly separated instances of Minecraft (each with their own mods, texture packs, saves, etc) and helps you manage them and their associated options with a simple and powerful interface.</p>
<p>Features</p>
<ul>
<li>Manage multiple instances of Minecraft at once</li>
<li>Start Minecraft with a custom resolution</li>
<li>Change Java's runtime options (including memory options)</li>
<li>Shows Minecraft's console output in a colour coded window</li>
<li>Kill Minecraft easily if it crashes / freezes</li>
<li>Custom icons and groups for instances</li>
<li>Forge integration (automatic installation, version downloads, mod management)</li>
<li>Minecraft world management</li>
<li>Import and export Minecraft instances to share them with anyone</li>
<li>Supports every version of Minecraft that the vanilla launcher does</li>
</ul>
</description>
<screenshots>
<screenshot type="default">
<image type="source" width="936" height="921">https://multimc.org/images/screenshots/main.png</image>
</screenshot>
<screenshot>
<image type="source" width="936" height="998">https://multimc.org/images/screenshots/editmods.png</image>
</screenshot>
<screenshot>
<image type="source" width="936" height="998">https://multimc.org/images/screenshots/version.png</image>
</screenshot>
<screenshot>
<image type="source" width="936" height="998">https://multimc.org/images/screenshots/console.png</image>
</screenshot>
<screenshot>
<image type="source" width="936" height="921">https://multimc.org/images/screenshots/settings.png</image>
</screenshot>
</screenshots>
<releases>
<release date="2020-03-28" version="0.6.11"/>
</releases>
<url type="homepage">https://multimc.org/</url>
<url type="help">https://discord.com/invite/0k2zsXGNHs0fE4Wm</url>
<url type="faq">https://github.com/MultiMC/MultiMC5/wiki/FAQ</url>
<url type="bugtracker">https://github.com/flathub/multimc/issues</url>
<url type="translate">https://translate.multimc.org/</url>
<url type="donation">https://www.patreon.com/multimc</url>
<developer_name>The MultiMC Team</developer_name>
<metadata_license>CC0-1.0</metadata_license>
<project_license>Apache-2.0</project_license>
<content_rating type="oars-1.1">
<content_attribute id="language-humor">mild</content_attribute>
<content_attribute id="language-discrimination">mild</content_attribute>
<content_attribute id="social-chat">mild</content_attribute>
<content_attribute id="social-info">mild</content_attribute>
<content_attribute id="money-purchasing">mild</content_attribute>
</content_rating>
<update_contact>peterix_at_gmail.com</update_contact>
</component>