[CMake] CPack RPM : support for custom user spec file and post/pre install scripts
florent.lagaye at inrialpes.fr
Mon May 11 11:21:13 EDT 2009
Eric Noulard a écrit :
> 2009/5/11 Florent Lagaye <florent.lagaye at inrialpes.fr>:
>> Eric Noulard a écrit :
>>> Hi CPack RPM user,
>>> I did implement a new feature in CPack RPM generator which:
>>> 1) gives control of post/pre (un)install script of the RPM spec files
>>> 2) supports user provided spec file.
>>> Any interested people should have a look at the tracker which contains
>>> both a patch against CMake-2-6 branch or a drop-in replacement of
>>> ( the other previous patch:
>>> may be applied too, they are non-overlapping)
>> Thanks Erk,
>> This patch indeed saved my day !
> Nice to ear that.
> What part of the patch did you use?
> a) The custom spec file
> b ) CPACK_RPM_XXX added var?
I used the CPACK_RPM_XXX method (much easier to write than a custom spec)
Now, maybe there could be the same thing for CPACK_DEB package
generation ... Just an idea
Again, thanks a lot !
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CMake