SHARE
TWEET

minecraft-launcher.spec

a guest Feb 25th, 2019 158 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. %global         debug_package %{nil}
  2.  
  3. Name:       minecraft-launcher
  4. Version:    2.1.2472
  5. Release:    1%{?dist}
  6. Summary:    Official launcher for Minecraft
  7.  
  8. License:    Proprietary
  9. URL:        https://minecraft.net
  10. Source0:    https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_%{version}.tar.gz
  11. Source1:    minecraft-launcher.desktop
  12. Source2:    minecraft-launcher.svg
  13.  
  14. ExclusiveArch:  x86_64
  15.  
  16. Requires:   java-1.8.0-openjdk
  17.  
  18. %description
  19. The official Linux release of the launcher for Minecraft, a game about placing blocks and going on adventures.
  20.  
  21. %prep
  22. %autosetup -n minecraft-launcher
  23.  
  24. %build
  25.  
  26. %install
  27. mkdir -p %{buildroot}/%{_bindir}
  28. mkdir -p %{buildroot}/%{_datadir}/icons/hicolor/symbolic/apps/
  29. mkdir -p %{buildroot}/%{_datadir}/applications/
  30. mkdir -p %{buildroot}/opt/minecraft-launcher
  31.  
  32. cp -r ./* %{buildroot}/opt/minecraft-launcher
  33.  
  34. cp %{_sourcedir}/minecraft-launcher.desktop %{buildroot}/%{_datadir}/applications/minecraft-launcher.desktop
  35. cp %{_sourcedir}/minecraft-launcher.svg %{buildroot}/%{_datadir}/icons/hicolor/symbolic/apps/minecraft-launcher.svg
  36.  
  37. %files
  38. /opt/minecraft-launcher/*
  39. %{_datadir}/applications/minecraft-launcher.desktop
  40. %{_datadir}/icons/hicolor/symbolic/apps/minecraft-launcher.svg
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top