Red Hat Bugzilla – Bug 853730
Request for New application 0 AD
Last modified: 2014-03-16 23:32:06 EDT
I wrote these instructions about 6 months ago. I have not had time to work on them because I have been busy with Classes.
Instructions to build RPM
Source code: http://trac.wildfiregames.com/wiki/LatestReleaseLinux
1) as the root install these packages
yum install @development-tools
yum install fedora-packager
yum install boost-devel DevIL-devel fam-devel gcc-c++ gcc-c libcurl-devel libjpeg-devel libpng-devel libvorbis-devel libxml2-devel nasm python
subversion zip cmake desktop-file-utils openal-soft-devel pkgconfig SDL-devel wxGTK-devel p7zip p7zip-plugins
2) in terminal as the root type the following:
(that command allows you to create a password for the user you will be building packages as.
3) log in to makerpm
4) In terminal type the following
http://pastebin.com/raw.php?i=AwxkQ53r copy the raw paste contents open up gedit and save it as 0-ad.spec
http://pastebin.com/raw.php?i=Cs7tQXFc copy the raw paste contents open up gedit and save it as 0-ad-data.spec
copy 0-ad.spec to /home/makerpm/buildrpm/SPECS
copy 0-ad-data.spec to the same directory
Next copy 0ad-r10803-alpha-unix-build.tar.gz to the SOURCES directory under buildrpm directory
go back to the SPECS directory and type the following directory
rpmbuild -ba 0ad.spec
after successful buiding clear out the bulidroot directory the sources directory and the build directory
Next copy 0ad-r10803-alpha-unix-data.tar.gz to the SOURCES directory under /home/makerpm/buildrpm directory
change to the SPECS directory
type rpmbuild -ba 0ad-data.spec
your rpm for the program should appear in the RPMs folder under the ~/buildrpm directory
.specs were modifed from the open suse build service to work for fedora.
the spec files were obtained from opensuse build services and modified to work with fedora.
This is already on the Games wishlist at:
and I've added a link there to this bug for more info.
Until someone picks it up from there, there's little else to do. Marking as 'deferrred' pending that.