summaryrefslogtreecommitdiff
path: root/Modules/CPackRPM.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CPack: Replace #<type> markup with reStructuredText equivalentKitware Robot2013-10-161-228/+222
| | | | | | | Drop #end and #module. Convert #section to a subsection header. Convert #variable to the cmake domain "variable" directive. Convert #macro to the cmake domain "command" directive. Perform minor formatting fixes in text near these changes.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-243/+332
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* Merge topic 'CPack-fixGeneratedChangelogFormat'Brad King2013-07-151-1/+1
|\ | | | | | | | | 976e51d CPackRPM make the changelog line conform to expected format
| * CPackRPM make the changelog line conform to expected formatEric NOULARD2013-07-081-1/+1
| |
* | CPackRPM protect '@' character in filename processed in the spec file.Eric NOULARD2013-07-051-0/+10
|/
* Merge topic 'CPackRPM-avoidOwningSystemDirs'Brad King2013-05-161-0/+42
|\ | | | | | | | | | | f055c99 CPackRPM add /usr/lib64 to the list of builtin to-be-excluded path bac5772 CPackRPM add mechanism to remove path from generated list of file in RPM spec.
| * CPackRPM add /usr/lib64 to the list of builtin to-be-excluded pathEric NOULARD2013-04-051-2/+2
| |
| * CPackRPM add mechanism to remove path from generated list of file in RPM spec.Eric NOULARD2013-04-051-0/+42
| | | | | | | | | | | | | | | | This fixes bug #0013609, and is a possible solution to #0012864 as well. The later will be completely fixed in another way. Both approaches needs to be implemented because the current one is more automatic. Inspired-By: Ari
* | Add support for componentized USER spec fileEric NOULARD2013-04-011-6/+15
|/ | | | | | | CPACK_RPM_USER_BINARY_SPECFILE can now be specified on a per-component basis using CPACK_RPM_<componentName>_USER_BINARY_SPECFILE. Inspired-By: Theodore Papadopoulo with its patch proposal.
* CPackRPM fix #13898 uses IF(DEFINED var) to avoid wrong var value logicEric NOULARD2013-02-091-9/+19
|
* CPack: Fix RPM/Deb package names to not include "ALL_COMPONENTS_IN_ONE"Clinton Stimpson2012-11-061-4/+2
|
* Handles %attr(nnn,-,-) /path/to/file in CPACK_RPM_USER_FILELIST properly.Eric NOULARD2012-09-101-4/+10
| | | | | | | This triggered an unknown secondary bug when there is no ABSOLUTE INSTALL file. This is fixed as well. This is based on a fix of bug #0013468 from Viktor Dubrovsky.
* do not escape spaces in regular expressionsRolf Eike Beer2012-08-191-1/+1
| | | | | The space has no special meaning in regular expressions so it doesn't need to be escaped.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-103/+103
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-199/+199
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Do not include directories which are part of the package install prefix.Andy Piper2012-08-071-1/+20
| | | | | | This fix bug #0013451. The bug prevents theorerically relocatable RPM package to be installed properly. Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* CPackRPM: avoid leakage of RPM directive from one component to another.Eric NOULARD2012-06-051-1/+4
| | | | | Fixes #0013248 Inspired-By: Sergei Golubchik
* Override topdir from rpm command line seems necessary on Amazon linux.Tom Hughes2012-03-271-0/+1
| | | | | This modification should be harmless on other distro. Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* Merge topic 'CPack-dynamicDocSection'David Cole2012-02-211-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | 9a8103e Try to fix compile error on Win32-vs70 4da2223 Fix typo in end markup cfac874 More documentation concerning CPack Components dee0a38 Put CPack DMG and PackageMaker doc in separate files b4abcfe Correct copy/paste section name mistake 9717727 Suppress unecessary (now empty) doc sections 7a8f44a Add structure documentation for CPack Bundle generator b8a274c Add structured documentation for NSIS a6bce55 Dynamically add documentation section specified in documented script.
| * Dynamically add documentation section specified in documented script.Eric NOULARD2012-02-181-1/+1
| | | | | | | | Modify CPackDeb and CPackRPM as an example
* | various typo and formatting fixes in manual pages (#12975)Modestas Vainius2012-02-181-3/+3
|/ | | | | | | | | | | | | | | | The patch fixes the following lintian warnings: W: cmake-data: manpage-has-errors-from-man usr/share/man/man1/cmakemodules.1.gz 2728: warning: macro `..' not defined I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz overriden overridden I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz overriden overridden I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz explicitely explicitly I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz jave java W: cmake-data: manpage-has-errors-from-man usr/share/man/man1/cmakeprops.1.gz 1040: warning [p 25, 3.7i]: can't break line W: cmake: manpage-has-errors-from-man usr/share/man/man1/cmake.1.gz 4233: warning [p 85, 1.3i]: can't break line I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz overriden overridden I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz overriden overridden I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz explicitely explicitly I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz jave java
* Make the load of script documentation more efficient and dynamic.Eric NOULARD2012-02-141-1/+3
| | | | | | | | CPack help will be searched in any CPack*.cmake file located near to CPack.cmake file. The script files is parsed iff the first line begin with ##section. Moreover the documentation section name is specified on the remaining part of the line minus the space immediately following ##section.
* CPack Documentation extraction from CMake script begins to workEric NOULARD2012-01-221-31/+76
| | | | | | | | | | - Enhance extract doc parser. Seems robust now. The legacy module documentation parser works as before ignoring the new markup. - Proof of concept for CPack (generic), CPack RPM and CPack Deb generator for macro and variables. Try cpack --help-command and cpack --help-variables
* CPackRPM flag direcories with %dir in the generated spec fileDeborah Pickett2012-01-131-0/+19
| | | | | | | This fix bug #12863 whose symptom was a lot of "warning: File listed twice" printed out by rpmbuild when processing the spec file. Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* CPackRPM fix #0012608 and unoticed related bugEric NOULARD2011-12-121-10/+89
| | | | | | | | The User may now specific a list of file that shouldn't be automatically handled by CPack but specified by the user. Like %config(noreplace) or specific %attr. The concerned files/dir lines will be removed from the set automatically handled by CPack.
* CPackRPM fix #12556 and enhance documentationEric NOULARD2011-11-051-3/+29
| | | | Inspired-By: Chip Christian
* CPackRPM support component specific variables for spec filesEric NOULARD2011-10-301-6/+33
| | | | | This is a modified version of a user patch Inspired-By: informant
* CPackRPM authorize per-component pre/post-[un]install scripts (#0012063)Eric NOULARD2011-09-201-50/+88
| | | | | Merged patch from Chip Christian previously based on the one from winfriedd with some small pruning editing by commiter
* Merge topic 'CPackRPM-includeDir'David Cole2011-09-071-1/+3
|\ | | | | | | | | f9e5277 CPackRPM fix #12305, include directories in RPM package
| * CPackRPM fix #12305, include directories in RPM packageEric NOULARD2011-09-051-1/+3
| |
* | CPack fix #12366 components RPM packages have the same package nameEric NOULARD2011-09-051-1/+1
|/ | | | fix based on the patch provided by winfriedd
* Add some more Specs file tag handling.Eric NOULARD2011-06-121-1/+5
|
* CPackRPM: Enhance documentationEric NOULARD2011-06-121-2/+8
|
* CPack make RPM work on AIX. fix #0012183 merge patch from Pasi ValminenEric NOULARD2011-05-211-3/+3
|
* CPackRPM Fix #12096: handle absolute install path with component installEric NOULARD2011-04-171-0/+14
|
* CPackRPM non matching ENDIFEric NOULARD2011-03-101-1/+1
|
* CPackRPM even more trace in debug mode or in case of failureEric NOULARD2011-03-101-1/+6
|
* CPackRPM add more trace output in order to help failing diagnosticsEric NOULARD2011-03-101-0/+19
|
* CPackRPM fix bug 0011595 : Can't generate RPMs (on FC11...)Eric NOULARD2010-12-131-3/+2
|
* CPackRPM add basic component support to CPackRPMEric NOULARD2010-11-131-13/+24
| | | | | basic means 1 RPM per component and no dependency handling this implies some CPackGenerator refactoring
* CPackRPM Handle parenthesis in CPACK_SYSTEM_NAME (fix bug 10737)Eric NOULARD2010-10-031-3/+3
| | | | merge patch from Frank Stappers
* CPack Enable better handling of absolute installed filesEric NOULARD2010-08-231-8/+39
| | | | | | | | | | The idea of the patch is to let the install generator define CPACK_ABSOLUTE_INSTALL_FILES then when CMake is installing project he will concatenate the list of files and give it to specific CPack Generator by defining CPACK_ABSOLUTE_INSTALL_FILES to be the list of ALL files that were installed using absolute destination. An example of use has been applied to RPM generator which now tries to automatically build a relocatable package.
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Merge topic 'resolve/doc-spelling/CPackRPM'Brad King2010-07-201-2/+2
|\ | | | | | | | | | | 7739d78 Merge CPackRPM changes into doc-spelling 9203e91 Fix spelling errors reported by Lintian.
| * Merge CPackRPM changes into doc-spellingBrad King2010-07-131-87/+94
| |\ | | | | | | | | | | | | Conflicts: Modules/CPackRPM.cmake
| * | Fix spelling errors reported by Lintian.Kai Wasserbäch2010-07-131-2/+2
| | | | | | | | | | | | | | | During a Lintian run on the binary packages of CMake in Debian I was notified of many spelling mistakes.
* | | CPackRPM:: [partially] support relocatable packageEric NOULARD2010-07-091-2/+25
| | | | | | | | | | | | | | | | | | The support is partial because it cannot be used if CPACK_SET_DESTDIR is set some file are installed using absolute path
* | | Merge branch 'CPackRPM-handleFileWithSpace'Brad King2010-07-061-3/+4
|\ \ \
| * | | CPackRPM:: Quote every filenames in %file section (see bugs 10701,10871,10345)Eric NOULARD2010-07-041-3/+4
| |/ /
* | | Merge branch 'CPackRPM-VariousEnhancement-0010741'Brad King2010-07-061-88/+97
|\ \ \