Am Sonntag 15 Februar 2009 schrieb Peter Kümmel: > Kornel Benko wrote: > > Am Sonntag 15 Februar 2009 schrieb Peter Kuemmel: > >>> I am not really happy with this suggestion. At least for the > >>> cmake-build we have the modul CPack, which does all what is needed for > >>> free. Compare the creation of e.g. a binary rpm-package in cmake > >>> cpack -G RPM --config CPackConfig.cmake > >> > >> I think a distribution sensitive solution would be to use in > >> CPackConfig.cmake the rpm spec file. > > > > Peter, did you consider, that CPackConfig.cmake is a file created from > > cmake? > > The doc says: > > # --config <config file>: Specify the config file. > Specify the config file to use to create the package. > By default CPackConfig.cmake in the current directory will be used. >
That is true. But where would you get the other CPackConfig.cmake-files? > Therefore we could write our own config file which then includes the > generated one. And you had to know, what to write into such a file. I attach such a file from my ubuntu system. As you can see, the patch- variables are ok for my system, but not for some another. I cannot send the appropriate rpm-spec, because on this (ubuntu) system the cmake refuses to create one. > Peter > > > In this sense, it is always distribution sensitive. My two cents. > > Kornel -- Kornel Benko kornel.be...@berlin.de
signature.asc
Description: This is a digitally signed message part.