summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackRPMGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Handle CPACK_MONOLITHIC_INSTALL in some rare use cases.Eric NOULARD2012-03-181-1/+1
| | | | | | | | | | | | | For example, when CPACK_<GEN>_COMPONENT_INSTALL and CPACK_MONOLITHIC_INSTALL are both set. Previously, this combination of variable settings produced an error without any explanation. Now, in this case CPACK_MONOLITHIC_INSTALL wins without trouble. This is useful for when e.g. CPACK_ARCHIVE_COMPONENT_INSTALL is globally on and one wants MONOLITHIC install for STGZ (but not other generators). The same behavior may be obtained by re-setting CPACK_ARCHIVE_COMPONENT_INSTALL to 0 but in any case the 'both set' case should have been handled without error.
* Fix KWStyle warningsEric NOULARD2011-04-041-1/+2
|
* Combine component packaging methods into an enum.Clinton Stimpson2011-03-311-4/+4
| | | | | Also allow generators to override the default packaging method. Add a ONE_PER_GROUP option so that method can be specified by the user without relying on defaults.
* CPack fix #11930 and simplifies component packaging optionsEric NOULARD2011-03-231-82/+62
|
* Merge topic 'CPack-ChangeComponentNamingScheme'Brad King2011-03-011-6/+9
|\ | | | | | | | | | | | | | | 3fb89cf CPack remove previously CPack generated files (if any) before running CPack f2ab270 CPack fix KWStyle warning 4deb308 CPack Authorize DISPLAY_NAME usage in component package 8c450f6 CPack remove "-ALL" suffix for ALL-IN-ONE packages
| * CPack Authorize DISPLAY_NAME usage in component packageEric NOULARD2011-02-221-5/+8
| | | | | | | | Second (last) part fix of feature request #11814
| * CPack remove "-ALL" suffix for ALL-IN-ONE packagesEric NOULARD2011-02-221-1/+1
| | | | | | | | First part fix of feature request 11814
* | CPackRPM Replace space in some CPACK_ vars (Fix bug 9932)Eric NOULARD2011-02-251-0/+15
|/
* CPackRPM fix IRIX compiler warning (variable never used)Eric NOULARD2011-02-151-1/+1
|
* CPackRPM honors all the different ways of packaging componentsEric NOULARD2011-02-061-16/+172
| | | | | | | RPM cannot easily 'merge' differents directory into a single RPM with shared prefix. So more flexibility has been added to generic CPackGenerator in order to let the specific generator chose the local installation directory for each component.
* CPack use IsOn when it's better than IsSetEric NOULARD2010-12-121-1/+1
| | | | | | | | This authorize more control because one can set CPACK_ARCHIVE_COMPONENT_INSTALL to ON globally and then set it selectively to OFF inside a CPack project config file. Sidenote: GetOption ought to be a 'const' method.
* CPack fix kwstyle breakage and make CPackRPM backward compatibleEric NOULARD2010-11-151-6/+24
| | | | | backward compatible= No componentized RPM unless requested using CPACK_RPM_COMP0NENT_INSTALL
* CPackRPM add basic component support to CPackRPMEric NOULARD2010-11-131-3/+56
| | | | | basic means 1 RPM per component and no dependency handling this implies some CPackGenerator refactoring
* CPack Backward-compatibly enforce DESTDIR for DEB and RPMEric NOULARD2010-08-231-1/+5
|
* CPack: Refactor API in order to handle multi-file packagesEric NOULARD2010-08-111-3/+1
| | | | | | | | The multi-argument CompressFiles(...) method has been replace by the no-argument PackageFiles() method and 3 more member variables. This will enable implemention of multi-package generators. Now each specific generator (which overloads PackageFiles()) may decide to change the name and/or the number of generated package files.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* ENH: Add CPACK_SET_DESTDIR handling to enable packaging of installed files ↵David Cole2007-10-311-0/+8
| | | | in absolute locations. With this setting on, cpack will set the DESTDIR env var when building the package so that files end up in their intended locations. Default behavior is not to set DESTDIR for backwards compatibility. Helps address issue #4993 and issue #5257. Also, remove unused CPACK_USE_DESTDIR variable. ENH: Add variable CPACK_PACKAGING_INSTALL_PREFIX to allow overriding the CPack GetPackagingInstallPrefix from a project's CMakeLists file if necessary. Could be used to remove the annoying /usr prefix still used by default in the Mac PackageMaker generator.
* ENH: cpack changes, remove the escape variable stuff as it is not needed if ↵Bill Hoffman2007-10-311-26/+0
| | | | you provide a config file for cpack
* STYLE: InitializeInternal() is unusedAlexander Neundorf2007-08-171-6/+0
| | | | Alex
* ENH: patch from Eric Noulard for an RPM package generatorAlexander Neundorf2007-08-171-5/+20
| | | | | | | | It seems rpmbuild can't handle paths with spaces, it complains that Buildroot takes only one tag (or something like this), quoting and escaping don't seem to help. Alex
* COMP: silence warningsAlexander Neundorf2007-08-081-1/+4
| | | | Alex
* ENH: add empty RPM package generator, Eric Noulard wants to work on itAlexander Neundorf2007-08-081-0/+58
Alex