Source code:
http://trac.wildfiregames.com/wiki/LatestReleaseLinux
0ad.spec
http://pastebin.com/AwxkQ53r
0ad-data.spec
http://pastebin.com/Cs7tQXFc
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:
/usr/sbin/useradd makerpm
passwd makerpm
(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
rpmdev-setuptree
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
Thanks,
brandon.
---------- Post added at 03:24 PM ---------- Previous post was at 02:28 PM ----------
.specs were modifed from the open suse build service to work for fedora.
---------- Post added at 03:25 PM ---------- Previous post was at 03:24 PM ----------
the spec files were obtained from opensuse build services and modified to work with fedora.