Well: http://public.kitware.com/Bug/view.php?id=11595 That is fixed in cmake 2.8.4. Changelog: http://www.cmake.org/pipermail/cmake/2011-February/042839.html "CPackRPM fix bug 0011595 : Can't generate RPMs (on FC11...)"
I am trying to build this version now on MeeGo since the available binary one is 2.8.3. But if it is fixed in 2.8.4, I wonder why you did not know it ? Best Regards, Laszlo Papp On Tue, Mar 8, 2011 at 12:31 AM, Eric Noulard <eric.noul...@gmail.com> wrote: > 2011/3/7 Laszlo Papp <djsz...@archlinux.us>: >> As said, the working OBS spec files can be found here: >> http://repo.pub.meego.com/home:/sandst1/standard/armv7l/ >> http://repo.pub.meego.com/home:/sandst1/standard/i586/ > > Not really, since binary RPMs do not contains the spec file, > but I did find the spec file in src: > http://repo.pub.meego.com/home:/sandst1/standard/src/ > > (within the src.rpm) > >> http://djszapi.homelinux.net/gluon.spec -> this is the cpack/cmake >> generated one. > > I have seen that one, and as I said many > files seems to be installed with ABSOLUTE DESTINATION and > end-up with a %config attribute. > > If they were installed with relative PATH this wouldn't be the case. > >> Well, the cpack one doesn't really do anything, it only moves files >> around (and apparently requires some external calling code to move >> them into place). > > CPackRPM supposed CMake+build has already been run > so CPackRPM generated spec file is a "shortcutted one". > >> I don't know anything about cpack, just that the spec file you have >> there doesn't do anything except moving files around (and maybe >> package them if they happen to end up in the right place), but >> certianly not build anything. > > Yes that's the expected behavior. > You cannot (in your case) call CPack without calling CMake first. > CMake + make will do the build before CPack get a chance to run. > > > -- > Erk > Membre de l'April - « promouvoir et défendre le logiciel libre » - > http://www.april.org > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake