Update RPM .spec to include metainfo file

This commit is contained in:
Joshua Stone 2020-12-08 00:38:43 -05:00
parent c1161e2377
commit 399109728f

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 install -m 0755 ../ubuntu/multimc/opt/multimc/run.sh %{buildroot}/opt/multimc/run.sh
mkdir -p %{buildroot}/%{_datadir}/applications mkdir -p %{buildroot}/%{_datadir}/applications
install -m 0644 ../ubuntu/multimc/usr/share/applications/multimc.desktop %{buildroot}/%{_datadir}/applications/multimc.desktop install -m 0644 ../ubuntu/multimc/usr/share/applications/multimc.desktop %{buildroot}/%{_datadir}/applications/multimc.desktop
mkdir -p %{buildroot}/%{_datadir}/metainfo
install -m 0644 ../linux/multimc.metainfo.xml %{buildroot}/%{_datadir}/metainfo/multimc.metainfo.xml
%files %files
%dir /opt/multimc %dir /opt/multimc
/opt/multimc/icon.svg /opt/multimc/icon.svg
/opt/multimc/run.sh /opt/multimc/run.sh
%{_datadir}/applications/multimc.desktop %{_datadir}/applications/multimc.desktop
%{_datadir}/metainfo/multimc.metainfo.xml
%changelog %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> * Wed Nov 25 22:53:59 CET 2020 kb1000 <fedora@kb1000.de>
- Initial version of the RPM package, based on the Ubuntu package - Initial version of the RPM package, based on the Ubuntu package