%global debug_package %{nil} Name: minecraft-launcher Version: 1.0 Release: 1%{?dist} Summary: Minecraft is an open-world game, and it's always evolving through regular updates and Marketplace content. License: Minecraft EULA URL: https://www.minecraft.net/ Source0: https://launcher.mojang.com/download/Minecraft.tar.gz Source1: minecraft-launcher.desktop Source2: minecraft-launcher.svg Requires: gtk3 Requires: libgcc Requires: zlib-ng-compat Requires: libgpg-error Requires: gnome-keyring %description Build anything you can imagine, uncover eerie mysteries, and survive the night in the ultimate sandbox adventure game. In Minecraft, every playthrough is different, and unforgettable adventures await behind every corner. Explore and craft your way through an infinite world that’s yours to shape, one block at a time. %prep %autosetup -n %{name} %install mkdir -p %{buildroot}%{_bindir}/ mkdir -p %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/ install -m755 minecraft-launcher %{buildroot}%{_bindir}/ install -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/ install -m644 %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/ %files %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/symbolic/apps/%{name}.svg %changelog %autochangelog