Mumble RPMs Logo

Fedora RPMs for Linux Humble Bundle Games

Menu - Updated: 2015-04-04 (169 Games)AboutNews & UpdatesGetting StartedFAQsThe To-Do ListContactLinksArchived RPMsMumble RPMs Pack

Hammerfight (32/64bit)

Preamble

  • For troubleshooting, see the FAQs
  • You should already have your build environment setup, as described here
  • You require the original game package called: hf-linux-08122011-bin
  • You should uninstall the game if it's already installed
  • All commands should be run as the same user that created the build environment, unless otherwise stated

Creating the RPM

• Verify you have the correct original package by using md5sum:
md5sum hf-linux-08122011-bin
The number produced should match this, if it doesn't then the build may fail.
73b3824c3a199a646f19d5a952fc1c44  hf-linux-08122011-bin
• Copy the original package to your ~/rpmbuild/SOURCES directory, for example:
cp hf-linux-08122011-bin ~/rpmbuild/SOURCES
• Download the following 'nosrc' RPM using your browser (or wget if you prefer): hammerfight-1.005-2_build_2.nosrc.rpm

• Change to the directory where the 'nosrc' RPM has been saved and type the following:

rpmbuild --rebuild hammerfight-1.005-2_build_2.nosrc.rpm

• If all is successful, the binary RPM will be created in ~/rpmbuild/RPMS/i686/ on 32bit systems or in ~/rpmbuild/RPMS/x86_64/ on 64bit systems. Use yum (as root) to install the RPM as it will resolve any dependencies for you.

32bit example:

yum -y install myhomespace/rpmbuild/RPMS/i686/hammerfight-1.005-2_build_2.i686.rpm
64bit example:
yum -y install myhomespace/rpmbuild/RPMS/x86_64/hammerfight-1.005-2_build_2.x86_64.rpm

RSS Feed Subscribe to the RSS Feed for Automatic News Updates