The console binary (codeblocks_con ) most likely has dependencies on gui-stuff.
At the moment I split some part in base and gui-files, but it's still very hacky and uses a lot of ifdefs.
If all related files are split a reorganisation will come (and also a possibility to build just the console-binary).
Neverthelees it works and can be used from a real console, with no running X-server.
I built it successfully, I tested it and it works fine when I invoke it in the command line.
But "ldd codeblocks_con" shows some gui libraries linked in.
It will probably be rejected by rpmdevtools even if it needs no running X-server, just because of that library dependency.
The idea is to use codeblocks_con instead of make for a project created with C::B in the rpm build process.
Thank you for your time and efforts.
In the meantime, is there any chance to get cbMakeGen [1] plugin included with src/plugins/contrib?
I tested version 0.3.12.5 building it from source code using CodeBlocks under Fedora 14 with the included .cbp project, and after doing a build and a later restart of CodeBlocks, the plugin becomes active. It generates a clean and nice Makefile that works fine with rpmdevtools.
[1]
http://forums.codeblocks.org/index.php/topic,6241.135.html