pollymc/application/package/rpm/MultiMC5.spec
kb1000 58c2228247
NOISSUE Add an RPM package for MultiMC
The RPM package reuses the files from the Ubuntu package.
2020-11-27 19:28:46 +01:00

41 lines
994 B
RPMSpec

Name: MultiMC5
Version: 1.4
Release: 1%{?dist}
Summary: A local install wrapper for MultiMC
License: ASL 2.0
URL: https://multimc.org
BuildArch: x86_64
Requires: zenity qt5-qtbase wget
Provides: multimc MultiMC multimc5
%description
A local install wrapper for MultiMC
%prep
%build
%install
mkdir -p %{buildroot}/opt/multimc
install -m 0644 ../ubuntu/multimc/opt/multimc/icon.svg %{buildroot}/opt/multimc/icon.svg
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
%files
%dir /opt/multimc
/opt/multimc/icon.svg
/opt/multimc/run.sh
%{_datadir}/applications/multimc.desktop
%changelog
* Wed Nov 25 22:53:59 CET 2020 kb1000 <fedora@kb1000.de>
- Initial version of the RPM package, based on the Ubuntu package