Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
minecraft-launcher
minecraft-launcher.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File minecraft-launcher.spec of Package minecraft-launcher
# # spec file for package minecraft-launcher # # Copyright (c) 2022 SUSE LLC # Copyright (c) 2019 Stasiek Michalski <hellcp@opensuse.org>. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: minecraft-launcher Version: 1.2 Release: 0 Summary: Play Minecraft Java Edition License: NonFree Group: Amusements/Games/Other URL: https://www.minecraft.net Source0: %{name} Source1: LICENSE.md Source2: %{name}.desktop Source3: %{name}.svg Source4: %{name}-symbolic.svg Source5: %{name}.appdata.xml BuildRequires: hicolor-icon-theme # Define dependencies manually as binary is downloaded locally Requires: Mesa # Required for Leap only %if 0%{?suse_version} < 1550 Requires: at-spi2-atk-common Requires: at-spi2-atk-gtk2 %endif Requires: at-spi2-core Requires: bash Requires: coreutils Requires: dbus-1 Requires: expat Requires: glibc Requires: gnome-keyring Requires: hicolor-icon-theme Requires: libX11-6 Requires: libXcomposite1 Requires: libXdamage1 Requires: libXext6 Requires: libXfixes3 Requires: libXrandr2 Requires: libatk-1_0-0 Requires: libatk-bridge-2_0-0 Requires: libcups2 Requires: libdrm2 Requires: libgcc_s1 Requires: libgdk_pixbuf-2_0-0 Requires: libglib-2_0-0 Requires: libgtk-3-0 Requires: libminizip1 Requires: libpango-1_0-0 Requires: libxcb1 Requires: libz1 Requires: mozilla-nspr Requires: mozilla-nss Requires: tar Requires: typelib-1_0-Atk-1_0 Requires: util-linux Requires: wget Requires: xrandr Recommends: java-1_8_0-openjdk ExclusiveArch: x86_64 %description Minecraft Launcher allows you to play your favourite block building game on your device equipped with Java. %prep # Skip prep %build # Skip build %install mkdir -p %{buildroot}%{_libexecdir}/%{name} install -Dm644 %SOURCE0 %{buildroot}%{_libexecdir}/%{name} install -Dm644 %SOURCE1 %{buildroot}%{_docdir}/%{name}/LICENSE.md install -Dm644 %SOURCE2 %{buildroot}%{_datadir}/applications/%{name}.desktop install -Dm644 %SOURCE3 %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg install -Dm644 %SOURCE4 %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/%{name}-symbolic.svg install -Dm644 %SOURCE5 %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml mkdir -p %{buildroot}%{_bindir} ln -s %{_libexecdir}/%{name}/%{name} %{buildroot}%{_bindir}/%{name} %post # Notify users of automatic usage of Feral Gamemode echo "This launch script automatically uses Feral Gamemode if" echo "Feral Gamemode is available on the system." echo "Set the environment variable MINECRAFT_GAMEMODE_DISABLED=1 in /etc/environment" echo "to disable Feral Gamemode even if Feral Gamemode is available on the system." echo "The launcher uses the GNOME Keyring to store passwords." echo "For more information about how to auto-unlock the GNOME Keyring on KDE systems, visit:" echo "https://en.opensuse.org/GNOME_Keyring" echo "You might have to remove every file except 'login.keyring'" echo "and 'user.keystore' in '~/.local/share/keyrings' for auto-login to work." %files %dir %{_docdir}/%{name} %license %{_docdir}/%{name}/LICENSE.md %{_bindir}/%{name} %dir %{_libexecdir}/%{name} %attr(755,-,-) %{_libexecdir}/%{name}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/icons/hicolor/symbolic/apps/%{name}-symbolic.svg %{_datadir}/metainfo/%{name}.appdata.xml %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor