summaryrefslogtreecommitdiffstats
path: root/Modules/CPackRPM.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CPack: Move internal implementation modules into Internal/CPack directoryKyle Edwards2018-06-211-2824/+0
| | | | | | | | | | | | | | | These modules are not meant to be included by user code, they are only an internal implementation detail for CPack. Having them live in the main Modules directory with documentation was misleading, so they have been moved into Modules/Internal/CPack, and their documentation has been stripped following its move into the new "CPack Generators" section. No-op modules which contained only documentation have been removed entirely. The only module that hasn't been moved is CPackIFW, because it contains user-facing macros which would be lost if it were moved. So, the CPackIFW module has been updated with a note explaining what needs to (eventually) happen.
* CPackRPM: Fix misleading CPACK_RPM_SPEC_INSTALL_POST docsCraig Scott2018-05-121-7/+11
|
* CPackRPM: Minor formatting cleanupCraig Scott2018-05-121-5/+5
|
* Modules: Update documented links to CMake community WikiBrad King2018-04-301-2/+2
| | | | The wiki has moved. Update links to reference the new pages.
* project: Add HOMEPAGE_URL named parameterAlex Turbov2018-03-161-1/+5
| | | | | | | | | This sets variables like PROJECT_HOMEPAGE_URL, which can be used as default values for various things (packaging modules, doxygen defaults, etc.). Some packaging modules have been updated to do this as part of this commit. Co-Author: Craig Scott <craig.scott@crascit.com>
* Maint: misc. typosluz.paz2018-02-161-1/+1
| | | | Found via `codespell`
* CPack: enable all CMake policies for generator scriptsDomen Vrankar2017-12-091-49/+20
|
* CPack/RPM: check executable flags for debuginfo packagesDomen Vrankar2017-12-061-2/+73
| | | | | Debuginfo packages can not be created from programs and shared libraries that do not have execute permissions.
* Fix trivial typos in textluzpaz2017-11-031-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some are user facing. Found using codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt` whereby the whitelist contained: ans dum helpfull emmited emmitted buil iff isnt nto ot pathes substract te todays upto whitespaces
* Merge topic 'cpack-rpm-deb-version'Brad King2017-09-221-0/+17
|\ | | | | | | | | | | | | 74b7457f CPack RPM and DEB: improved package version handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1296
| * CPack RPM and DEB: improved package version handlingDomen Vrankar2017-09-211-0/+17
| | | | | | | | | | | | | | | | | | Adds support for epoch version to CPackRPM and CPackDeb packagers. Also adds better version checking to CPackDeb that complies with Debian rules. Fixes: #17057
* | CPack/RPM: new CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST exclude pathsDomen Vrankar2017-09-211-2/+6
|/ | | | | | | | Patch adds `/usr/share/aclocal` path to exclude list and and documents `/usr/libx32` and `/usr/include` paths that were already on the list. Closes: #17056
* 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