%global debug_package %{nil} Name: minecraft-launcher Version: 1.0 Release: 3%{?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: Minecraft.tar.gz Source1: minecraft-launcher.desktop Source2: minecraft-launcher.svg ExclusiveArch: x86_64 Requires: gtk3 Requires: libgcc Requires: zlib-ng-compat Requires: libgpg-error Recommends: flite Recommends: gnome-keyring Recommends: orca %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 -Dm755 minecraft-launcher -t %{buildroot}%{_bindir}/ install -Dm644 %{SOURCE1} -t %{buildroot}%{_datadir}/applications/ install -Dm644 %{SOURCE2} -t %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/ %files %{_bindir}/minecraft-launcher %{_datadir}/applications/minecraft-launcher.desktop %{_datadir}/icons/hicolor/symbolic/apps/minecraft-launcher.svg %changelog %autochangelog