~ctwm/ctwm/trunk

466.1.1 by Matthew Fuller
Start setting up some control stuff cpack can use to auto-build RPM's.
1
#
2
# Setup cpack stuff for packaging
3
#
4
5
# Basic stuff
6
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "A window manager for the X Window System.")
7
set(CPACK_PACKAGE_VENDOR "ctwm")
8
set(CPACK_PACKAGE_CONTACT "ctwm@ctwm.org")
9
set(CPACK_PACKAGE_RELOCATABLE OFF)
466.1.11 by Matthew Fuller
Now that we've built the version in cmake, set it for cpack.
10
set(CPACK_PACKAGE_VERSION ${ctwm_version_str})
466.1.1 by Matthew Fuller
Start setting up some control stuff cpack can use to auto-build RPM's.
11
12
# Per-packaging-system stuff
13
set(CPACK_RPM_PACKAGE_LICENSE "MIT")
14
set(CPACK_RPM_PACKAGE_GROUP "User Interface/X")
15
set(CPACK_RPM_PACKAGE_REQUIRES "m4")
466.1.2 by Matthew Fuller
Set the URL for RPM's, and add some presumtively-right .deb settings.
16
set(CPACK_RPM_PACKAGE_URL "https://www.ctwm.org/")
17
18
set(CPACK_DEBIAN_PACKAGE_SECTION "x11")
19
set(CPACK_DEBIAN_PACKAGE_DEPENDS "m4")
466.1.1 by Matthew Fuller
Start setting up some control stuff cpack can use to auto-build RPM's.
20
21
include(CPack)