Grrrm .... this time with the attachment

Am Sonntag 15 Februar 2009 schrieb Kornel Benko:
> 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
# This file will be configured to contain variables for CPack. These variables
# should be set in the CMake list file of the project before CPack module is
# included. Example variables are:
#   CPACK_GENERATOR                     - Generator used to create package
#   CPACK_INSTALL_CMAKE_PROJECTS        - For each project (path, name, component)
#   CPACK_CMAKE_GENERATOR               - CMake Generator used for the projects
#   CPACK_INSTALL_COMMANDS              - Extra commands to install components
#   CPACK_INSTALL_DIRECTORIES           - Extra directories to install
#   CPACK_PACKAGE_DESCRIPTION_FILE      - Description file for the package
#   CPACK_PACKAGE_DESCRIPTION_SUMMARY   - Summary of the package
#   CPACK_PACKAGE_EXECUTABLES           - List of pairs of executables and labels
#   CPACK_PACKAGE_FILE_NAME             - Name of the package generated
#   CPACK_PACKAGE_ICON                  - Icon used for the package
#   CPACK_PACKAGE_INSTALL_DIRECTORY     - Name of directory for the installer
#   CPACK_PACKAGE_NAME                  - Package project name
#   CPACK_PACKAGE_VENDOR                - Package project vendor
#   CPACK_PACKAGE_VERSION               - Package project version
#   CPACK_PACKAGE_VERSION_MAJOR         - Package project version (major)
#   CPACK_PACKAGE_VERSION_MINOR         - Package project version (minor)
#   CPACK_PACKAGE_VERSION_PATCH         - Package project version (patch)

# There are certain generator specific ones

# NSIS Generator:
#   CPACK_PACKAGE_INSTALL_REGISTRY_KEY  - Name of the registry key for the installer
#   CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS - Extra commands used during uninstall
#   CPACK_NSIS_EXTRA_INSTALL_COMMANDS   - Extra commands used during install


SET(CPACK_BINARY_CYGWIN "")
SET(CPACK_BINARY_DEB "OFF")
SET(CPACK_BINARY_NSIS "OFF")
SET(CPACK_BINARY_OSXX11 "")
SET(CPACK_BINARY_PACKAGEMAKER "")
SET(CPACK_BINARY_RPM "OFF")
SET(CPACK_BINARY_STGZ "ON")
SET(CPACK_BINARY_TBZ2 "ON")
SET(CPACK_BINARY_TGZ "ON")
SET(CPACK_BINARY_TZ "ON")
SET(CPACK_BINARY_ZIP "")
SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
SET(CPACK_GENERATOR "STGZ;TGZ;TBZ2;TZ")
SET(CPACK_INSTALL_CMAKE_PROJECTS "/usr/BUILD/BuildLyx;lyx;ALL;/")
SET(CPACK_INSTALL_PREFIX "/usr/local/share/lyx2.0")
SET(CPACK_MODULE_PATH "/usr/src/lyx/lyx-devel/development/cmake/modules")
SET(CPACK_NSIS_DISPLAY_NAME "CMake 2.0")
SET(CPACK_NSIS_INSTALLER_ICON_CODE "")
SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "")
SET(CPACK_OUTPUT_CONFIG_FILE "/usr/BUILD/BuildLyx/CPackConfig.cmake")
SET(CPACK_PACKAGE_CONTACT "lyx-devel@lists.lyx.org")
SET(CPACK_PACKAGE_DEFAULT_LOCATION "/")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "/usr/src/lyx/lyx-devel/development/cmake/LyX_description.txt")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "A WYSIWYM (What You See Is What You Mean) document processor")
SET(CPACK_PACKAGE_FILE_NAME "lyx-2.0.1-Linux")
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CMake 2.0")
SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "lyx 2.0.1")
SET(CPACK_PACKAGE_NAME "lyx")
SET(CPACK_PACKAGE_RELOCATABLE "true")
SET(CPACK_PACKAGE_VENDOR "Humanity")
SET(CPACK_PACKAGE_VERSION "2.0.1")
SET(CPACK_PACKAGE_VERSION_MAJOR "2")
SET(CPACK_PACKAGE_VERSION_MINOR "0")
SET(CPACK_PACKAGE_VERSION_PATCH "1")
SET(CPACK_RESOURCE_FILE_LICENSE "/usr/src/lyx/lyx-devel/development/cmake/LyX_license.txt")
SET(CPACK_RESOURCE_FILE_README "/usr/share/cmake-2.6/Templates/CPack.GenericDescription.txt")
SET(CPACK_RESOURCE_FILE_WELCOME "/usr/share/cmake-2.6/Templates/CPack.GenericWelcome.txt")
SET(CPACK_RPM_PACKAGE_GROUP "Applications/Publishing")
SET(CPACK_RPM_PACKAGE_LICENSE "GPL")
SET(CPACK_RPM_PACKAGE_VENDOR "The LyX team")
SET(CPACK_SET_DESTDIR "ON")
SET(CPACK_SOURCE_CYGWIN "")
SET(CPACK_SOURCE_GENERATOR "TGZ;TBZ2;TZ")
SET(CPACK_SOURCE_OUTPUT_CONFIG_FILE "/usr/BUILD/BuildLyx/CPackSourceConfig.cmake")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "lyx-2.0")
SET(CPACK_SOURCE_TBZ2 "ON")
SET(CPACK_SOURCE_TGZ "ON")
SET(CPACK_SOURCE_TZ "ON")
SET(CPACK_SOURCE_ZIP "OFF")
SET(CPACK_SYSTEM_NAME "Linux")
SET(CPACK_TOPLEVEL_TAG "Linux")

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to