aboutsummaryrefslogtreecommitdiff
path: root/application/package/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'application/package/rpm')
-rw-r--r--application/package/rpm/MultiMC5.spec9
-rw-r--r--application/package/rpm/README.md2
2 files changed, 8 insertions, 3 deletions
diff --git a/application/package/rpm/MultiMC5.spec b/application/package/rpm/MultiMC5.spec
index 9dcc01b4..5b72c781 100644
--- a/application/package/rpm/MultiMC5.spec
+++ b/application/package/rpm/MultiMC5.spec
@@ -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
diff --git a/application/package/rpm/README.md b/application/package/rpm/README.md
index 98b6d5cb..0c2b1e49 100644
--- a/application/package/rpm/README.md
+++ b/application/package/rpm/README.md
@@ -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: