My hats off to you. That certainly looks like a lot of good work.
Thanks for the kind words! Will try to update with some screenshots
once the packages build without too much handholding/patching...
The idea is that the SVN tarball should be all you need to build a RPM.
rpmbuild -tb codeblocks-trunk-r$REVISION.tar.gz