It's quite easy
1. Download the svn sources (
http://www.codeblocks.org/source_code.shtml)
2. run
./bootstrap and
./configure --enable-contrib3. run
make dist, this will create a .tar.gz with the sources.
4. move the source tar.gz as root to /usr/src/packages/SOURCES
e.g.
sudo mv codeblocks-trunk-r2779.tar.gz /usr/src/packages/SOURCES5. start building the RPM with
sudo rpmbuild -bb --target=i586 codeblocks.spec 6. This will create several packages in
/usr/src/packages/RPMS/i586. These are:
- codeblocks: main package
- codeblocks-contrib: contrib plugins
- codeblocks-devel: SDK headers
- codeblocks-debuginfo: stripped debug information
Usually you need only the main and the contrib package. The rest is only needed if you need an precise debug output (
debuginfo) or you want to write plugins (
devel)
I will also update the wiki the next days (had no time yet).
Happy building and codeblocking
Daniel