Hi,
So I tried to build rpms for groovy by downloading the entire source at once and letting catkin make it all, as documented here[1]. It doesn't work. I'm not surprised. A few things:
1. The --install-space /opt/... suggestion won't work with mock, since catkin uses this in all the setup scripts. So, the setup.sh files have $RPM_BUILD_ROOT in them. I'm considering filing a bug requesting them to provide a different --root option (like every other build system does!)
This link will only work when building manually with root permissions. It isn't going to work for a system wide installation, and it certainly cannot be converted to a spec file.
2. Seeing that this method isn't going to work, I dug up on catkin a little more and found that one can actually bootstrap it all from source[2][3]. I'll give this a try today and tomorrow and see if I can "spec-ify" it.
The catkin package in Fedora appears to be missing some stuff though: like the catkin_init_workspace script. Rich, is this a matter of just updating the Fedora catkin package? Should I file a bug? We're carrying 0.4x and the latest seems to be 0.5+
I'll see if I can get some help on the build-sys SIG about extending bloom to spew rpms. I think this needs to be dealt with once and for all.
[1] http://www.ros.org/wiki/groovy/Installation/Fedora [2] http://answers.ros.org/question/44606/bootstrapping-a-groovy-install/ [3] http://ros.org/doc/api/catkin/html/adv_user_guide/underlay.html