Name: steamcmd Version: 1.0.0 Release: 1 License: Proprietary Summary: A command line version of the Steam Client. URL: https://developer.valvesoftware.com/wiki/SteamCMD Provides: steamcmd Source0: https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz Source1: https://gitlab.com/hollys-home/rpm-packages/nonfree/steamcmd/-/raw/main/steamcmd.patch Patch1: steamcmd.patch Requires: glibc(x86-32) %global debug_package %{nil} %description The Steam Console Client or SteamCMD is a command-line version of the Steam Client. Its primary use is to install and update various dedicated servers available on Steam using a command-line interface. It works with games that use the SteamPipe content system. %prep mkdir -p %{_builddir}/steamcmd-%version tar -xf %{SOURCE0} -C %{_builddir}/steamcmd-%version patch %{_builddir}/steamcmd-%version/steamcmd.sh %{PATCH1} %install mkdir -p %{buildroot}/usr/bin/ mkdir -p %{buildroot}/opt/steamcmd/bin/linux32 mkdir -p %{buildroot}/opt/steamcmd/lib install %{_builddir}/steamcmd-%version/linux32/libstdc++.so.6 %{buildroot}/opt/steamcmd/lib/ install %{_builddir}/steamcmd-%version/linux32/crashhandler.so %{buildroot}/opt/steamcmd/lib/ install -m 744 %{_builddir}/steamcmd-%version/linux32/steamcmd %{buildroot}/opt/steamcmd/bin/ install -m 744 %{_builddir}/steamcmd-%version/linux32/steamerrorreporter %{buildroot}/opt/steamcmd/bin/ install -m 744 %{_builddir}/steamcmd-%version/steamcmd.sh %{buildroot}/usr/bin/steamcmd ln -s /opt/steamcmd/lib %{buildroot}/opt/steamcmd/linux32 %files /opt/steamcmd/bin/steamcmd /opt/steamcmd/bin/steamerrorreporter /opt/steamcmd/lib/crashhandler.so /opt/steamcmd/lib/libstdc++.so.6 /opt/steamcmd/linux32 /usr/bin/steamcmd %changelog * Thu Nov 28 2024 Keith Valin - 1.0.0-1 - Initial workings