View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015486 | CMake | CPack | public | 2015-03-31 13:28 | 2016-06-10 14:31 | ||||
Reporter | Curtis Mahieu | ||||||||
Assigned To | Domen Vrankar | ||||||||
Priority | normal | Severity | feature | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | Apple Mac | OS | OS X | OS Version | 10.4.10 | ||||
Product Version | CMake 3.2.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015486: CPackRPM - Move Component handling into .spec file | ||||||||
Description | I think it would make sense to move the Component logic into the spec file itself and let rpmbuild take care of the naming. if there was only one spec file generated for the entire build when Compnonents are enabled then the spec could look like this: BuildRoot: @CPACK_RPM_DIRECTORY@/@CPACK_PACKAGE_FILE_NAME@@CPACK_RPM_PACKAGE_COMPONENT_PART_PATH@ Summary: @CPACK_RPM_PACKAGE_SUMMARY@ Name: @CPACK_RPM_PACKAGE_NAME@@CPACK_RPM_PACKAGE_COMPONENT_PART_NAME@ Version: @CPACK_RPM_PACKAGE_VERSION@ Release: @CPACK_RPM_PACKAGE_RELEASE@ License: @CPACK_RPM_PACKAGE_LICENSE@ Group: @CPACK_RPM_PACKAGE_GROUP@ Vendor: @CPACK_RPM_PACKAGE_VENDOR@ ........ %description @CPACK_RPM_PACKAGE_DESCRIPTION@ ...... %package <COMPONENT1> Summary: <COMPONENT1_SUMMARY> Group: <COMPONENT1_GROUP> %files %defattr(-,root,root,-) @CPACK_RPM_INSTALL_FILES@ %files <COMPONENT1> %defattr(-, root, root, -) <COMPONENT1_INSTALL_FILES> .... Then if the logic to specify file names could be set by a user adding a "%define _rpmfilename". Gathering all the final files could wait for all the RPM's to be generated and then scan the output folder and add them all to the final files list in the c++ code replacing this: // add the generated package to package file names list packageFileNames.push_back(packageFileName); | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0042747) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-03-31 13:28 | Curtis Mahieu | New Issue | |
2015-03-31 13:31 | Brad King | Assigned To | => Domen Vrankar |
2015-03-31 13:31 | Brad King | Status | new => assigned |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042747 | |
2016-06-10 14:29 | Kitware Robot | Status | assigned => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |