summaryrefslogtreecommitdiffstats
path: root/Modules/CPackRPM.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CPackRPM: Restore old style debuginfo creation for rpm >= 4.14Björn Esser2017-08-161-2/+10
|
* Merge topic 'cpack-rpm-buildrequires-docs'Brad King2017-04-211-0/+13
|\ | | | | | | | | | | | | 8b3693e4 CPack/RPM doc: CPACK_RPM_BUILDREQUIRES docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !730
| * CPack/RPM doc: CPACK_RPM_BUILDREQUIRES docsDomen Vrankar2017-04-201-0/+13
| | | | | | | | | | | | | | Missing documentation for an already existing CPackRPM source rpm packages feature. Fixes #16814
* | Merge topic 'cpack-rpm-debuginfo-honor-package-filename'Brad King2017-03-271-2/+42
|\ \ | | | | | | | | | | | | | | | | | | | | | f237f5f8 CPack/RPM: support for debuginfo package renaming 6c09c5d6 CPack/RPM honor package file name on debuginfo enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !620
| * | CPack/RPM: support for debuginfo package renamingDomen Vrankar2017-03-251-0/+40
| | |
| * | CPack/RPM honor package file name on debuginfo enabledDomen Vrankar2017-03-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Packages with debuginfo enabled should still honor defined package file name if file name is not set to RPM-DEFAULT. Fixes #16715
* | | Merge topic 'cpack-rpm-debuginfo-docs-cleanup'Brad King2017-03-271-8/+0
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 1e0fc685 CPack/RPM can now generate a single debuginfo package Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !630
| * | CPack/RPM can now generate a single debuginfo packageDomen Vrankar2017-03-271-8/+0
| | | | | | | | | | | | | | | | | | | | | CMake 3.8 introduced possibility of generating a single debuginfo package even if component packaging is enabled so this note no longer applies.
| * | Merge branch 'cpack-rpm-correct-error-message-debug-lengths' into releaseBrad King2017-03-231-2/+2
| |\ \
* | \ \ Merge topic 'cpack-rpm-correct-error-message-debug-lengths'Brad King2017-03-241-2/+2
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| | | | | | | | | | | 8dc23a43 CPack/RPM: fix error message associated with source path length Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Domen Vrankar <domen.vrankar@gmail.com> Merge-request: !614
| * | CPack/RPM: fix error message associated with source path lengthDaniel Black2017-03-231-2/+2
| | |
* | | Merge topic 'cpack-rpm-debuginfo-multiple-files-fix'Brad King2017-03-221-2/+8
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 5606622e CPack/RPM: fix cpack_rpm_debugsymbol_check parameter Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !595
| * | CPack/RPM: fix cpack_rpm_debugsymbol_check parameterDomen Vrankar2017-03-211-2/+8
| |/ | | | | | | | | | | | | `CPACK_RPM_INSTALL_FILES` must be converted into a list before it is used as parameter to `cpack_rpm_debugsymbol_check`. Fixes: #16717
* | CPack/RPM: handle extra slashesDomen Vrankar2017-03-131-0/+15
| | | | | | | | | | | | | | | | | | | | Extra slashes in some locations can cause errors during package generation and can also be present in generated rpm packages causing issues for the package user. Closes #16619
* | Modules: Add x32-abi support to hard-coded pathsSteven Newbury2017-03-071-1/+1
|/ | | | | Update hard-coded library paths in bundled CMake Modules for libx32 as used with x32-abi.
* Merge topic 'cpack-rpm-user-binary-spec-file-fix'Brad King2017-01-101-1/+1
|\ | | | | | | | | 574c81e2 CPack/RPM fix - custom binary spec file handling
| * CPack/RPM fix - custom binary spec file handlingDomen Vrankar2017-01-101-1/+1
| | | | | | | | Fixes #16507
* | CPackRPM now supports multiple directives in CPACK_RPM_USER_FILELISTHarry Mallon2016-12-031-5/+8
| | | | | | | | | | | | | | | | * In older version "%dir %attr(-, root, root) foo" would put "%dir foo" in the final spec file. * Also added comment to describe this and advise not not to add trailing slashes to directories in USER_FILELIST. * Includes test in RunCMake CPack which now passes.
* | CPack/RPM prevent special tags from being removedDomen Vrankar2016-11-051-1/+5
| | | | | | | | | | | | Some tags are not listed by rpmbuild querytags even though they are supported. Ignore those tags during the removal of unsupported tags.
* | CPack/RPM omit unsupported tagsAlexander Adam2016-11-051-0/+20
| | | | | | | | | | | | | | | | Omit tags that are not supported by provided rpmbuild as some tags get added/removed in later versions of the tool. Closes: #13423
* | Merge topic 'cpack-doc-typos'Brad King2016-11-021-3/+3
|\ \ | |/ | | | | | | | | 4ab3b0c4 CPackRPM: Fix incorrect variable name in documentation e6460e7d CPackDeb: Fix incorrect variable name in documentation
| * CPackRPM: Fix incorrect variable name in documentationAlex Turbov2016-11-021-3/+3
| | | | | | | | | | | | `CPACK_RPM_COMPONENT_INSTALL` is the correct variable to set to enable component packaging. `CPACK_RPM_PACKAGE_COMPONENT` is just set to a component name when CPack calls corresponding installer.
* | CPack/RPM single debuginfo packagingDomen Vrankar2016-10-071-51/+236
| | | | | | | | | | | | | | | | | | Generate a single debuginfo package even if components packaging is enabled. This makes issue #15668 resolution feature complete. Closes: #15486
* | CPack/RPM learned defining main componentDomen Vrankar2016-10-071-5/+30
|/ | | | | | Main component rpm package is generated without component suffix in filename and package name.
* CPack/RPM debuginfo package without binariesDomen Vrankar2016-10-061-27/+38
| | | | | Handle case when a component doesn't contain any debuginfo symbols.
* CPack/RPM debuginfo package objdump error suppressionDomen Vrankar2016-10-061-1/+2
| | | | | | | objdump prints out error text if file is not an executable and that should be suppressed as we don't care about non executable files during that test
* Simplify CMake per-source license noticesBrad King2016-09-271-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* CPack/RPM debuginfo packaging documentationDomen Vrankar2016-09-271-8/+90
|
* CPack/RPM debuginfo directories to sourcesDomen Vrankar2016-09-271-2/+30
| | | | | | List of sources must be split into paths parts so that debuginfo package cleans up after itself.
* CPack/RPM debuginfo packages must contain sourcesDomen Vrankar2016-09-271-12/+123
| | | | | Issue #15668 fix was missing relevant source files in debuginfo package.
* Merge topic 'cpack-rpm-policy-warnings'Brad King2016-09-201-1/+4
|\ | | | | | | | | edb3f6ee CPackRPM: Avoid CMP0007 warnings
| * CPackRPM: Avoid CMP0007 warningsDomen Vrankar2016-09-201-1/+4
| | | | | | | | | | For older versions of CMake minimum required version CMP0007 policy warning was printed out.
* | CPack/RPM: Generate source rpm (SRPM) packages on demandDomen Vrankar2016-09-201-25/+202
|/ | | | Closes: #15839
* CPack RPM debuginfo packages generationIstvan Bodnar2016-08-251-2/+63
| | | | | Added new variable to CPackRPM for debuginfo rpm package generation. Binaries will be checked for debug symbols.
* Use string(APPEND) in ModulesDaniel Pfeifer2016-07-271-32/+32
| | | | | | | Automate with: find Modules -type f -print0 | xargs -0 perl -i -0pe \ 's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
* Merge topic 'cpack-rpm-debug-logging-fix'Brad King2016-07-131-1/+3
|\ | | | | | | | | 83799aa9 CPack/RPM: Debug logging should only print if requested for
| * CPack/RPM: Debug logging should only print if requested forHarry Mallon2016-07-131-1/+3
| |
* | Merge topic 'fix-cpack-rpm-different-package-names'Brad King2016-07-131-0/+1
|\ \ | |/ |/| | | | | 672e6d2e CPack/RPM: Add missed CPACK_RPM_FILE_NAME fallback variable
| * CPack/RPM: Add missed CPACK_RPM_FILE_NAME fallback variableAlex Turbov2016-07-111-0/+1
| | | | | | | | | | | | In commit v3.6.0-rc1~66^2 (CPack/RPM different package names, 2016-05-15) we forgot the non-uppercased fallback variable name `CPACK_RPM_<COMPONENT>_FILE_NAME`. Add it now.
* | CPackRPM: Handle directives of form %foo and %foo(anything)Andrew Fuller2016-07-051-2/+2
|/ | | | | | | | | Directives that are legal inside the %files section of an RPM spec may contain a variety of characters particularly when specifying %caps which can include +, _, and space. Watch for parenthesis to determine what forms the prefix vs. path. Fixes #14362.
* CPackRPM and CPackDeb documentation improvementsDomen Vrankar2016-06-011-82/+125
|
* Merge topic 'cpack-rpm-adding-dist-to-release-tag'Brad King2016-05-161-3/+24
|\ | | | | | | | | | | f5089cfc CPack/RPM adding dist to release tag test f7003a60 CPack/RPM release dist tag support
| * CPack/RPM release dist tag supportHarry Mallon2016-05-141-3/+24
| | | | | | | | | | Some Linux distros require Release tag to be set to <ReleaseVersion><Dist>.
* | CPack/RPM different package namesDomen Vrankar2016-05-151-3/+65
|/ | | | | | | | Packagers may now set their own rpm package file names or request that rpmbuild tool chooses one for them. It also supports handing of situations where one spec file may produce multiple rpm packages.
* Merge topic 'cpack-rpm-external-symlink-handling'Brad King2016-04-011-7/+23
|\ | | | | | | | | eae4eef0 CPack/RPM external symlink handling
| * CPack/RPM external symlink handlingDomen Vrankar2016-04-011-7/+23
| | | | | | | | | | | | | | | | Symbolic links that point to external location no longer cause cmake to fail with string out of bounds error but are instead packaged as non relocatable symlinks and print out a warning message.
* | Fix spelling typos in comments and documentation (#16037)Felix Geyer2016-03-291-1/+1
|/ | | | | The Debian package checker tool (lintian) detected several typos in CMake.
* cpack rpm setting of defattrDomen Vrankar2016-03-281-1/+102
| | | | | | | | RPM supports setting of default user, group, file and directory permissions that will be applied for files in package unless specified per file/dir with attr setting This is related to bug report 14714
* CPack/RPM support for upper cased component variablesDomen Vrankar2016-02-131-183/+128
| | | | | | | | | | CPACK_* variables expect component name in upper case. CPACK_RPM_* variables expected component name to be in same case as component name. This patch adds support for CPACK_RPM_* variables with upper case component names to match the convention with CPACK_* variables and also preserves same case component names for back compatibility.
* CPackRPM: Configure RPM package group and name per componentMarkus Rickert2015-12-071-11/+28
|