From ea9267665df2cb3022cf6b136f4ab05b409748b9 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Mon, 7 Feb 2011 17:53:31 +0100 Subject: Add some hints for CPack RPM generator. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index eac8875..5fd79cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -310,6 +310,10 @@ set (CPACK_DEBIAN_PACKAGE_DEPENDS "libgtk2.0-0 (>= 2.12), libjson-glib-1.0-0 (>= set (CPACK_DEBIAN_PACKAGE_BUILDS_DEPENDS "libgtk2.0-dev (>= 2.12), libjson-glib-dev (>= 0.10.4), liblua5.1-0-dev") set (CPACK_DEBIAN_PACKAGE_SECTION "Electronics") +set (CPACK_RPM_PACKAGE_REQUIRES "gtk2 >= 2.12, json-glib >= 0.10.4, lua = 5.1, librsvg2") +set (CPACK_RPM_PACKAGE_GROUP "Graphics") +set (CPACK_RPM_PACKAGE_LICENSE "BSD") + set (CPACK_SOURCE_GENERATOR "TGZ;ZIP") set (CPACK_SOURCE_IGNORE_FILES "/.git;/build;/win32-depends;/liblogdiag/ld-marshal.[ch]") set (CPACK_SOURCE_PACKAGE_FILE_NAME -- cgit v1.2.3-70-g09d2