Skip to content

Commit

Permalink
Add package description (vesoft-inc#2144)
Browse files Browse the repository at this point in the history
* Add desciption

* address comment
  • Loading branch information
laura-ding authored May 27, 2020
1 parent 9859793 commit 6cba753
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions cmake/CPackage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

macro(package is_one)
message(STATUS "is_one is ${is_one}")
set(CPACK_PACKAGE_DESCRIPTION "nebula-graph")
set(CPACK_PACKAGE_CONTACT "nebula-graph")
set(CPACK_PACKAGE_DESCRIPTION "Nebula Graph")
set(CPACK_PACKAGE_CONTACT "Nebula Graph")
set(CPACK_PACKAGE_VERSION ${NEBULA_BUILD_VERSION})
set(CPACK_RPM_PACKAGE_LICENSE "Apache 2.0 + Common Clause 1.0")
set(CPACK_PACKAGE_NAME nebula-graph)
set(CPACK_PACKAGE_VENDOR "vesoft inc")
# set(CPACK_SET_DESTDIR TRUE)
set(CPACK_PACKAGE_RELOCATABLE ON)
set(CPACK_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
Expand All @@ -17,11 +18,15 @@ macro(package is_one)
set(CPACK_COMPONENTS_GROUPING ONE_PER_GROUP)
endif()

set(CPACK_DEBIAN_PACKAGE_MAINTAINER "vesoft inc")
set(CPACK_DEBIAN_PACKAGE_DESCRIPTION "A distributed, scalable, lightning-fast graph database.")
set(CPACK_DEB_COMPONENT_INSTALL YES)
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://github.com/vesoft-inc/nebula/releases")
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA ${CMAKE_CURRENT_SOURCE_DIR}/package/postinst)

set(CPACK_RPM_PACKAGE_GROUP "vesoft inc")
set(CPACK_RPM_PACKAGE_DESCRIPTION "A distributed, scalable, lightning-fast graph database.")
set(CPACK_RPM_SPEC_MORE_DEFINE "%define debug_package %{nil}
%define __os_install_post %{nil}")
set(CPACK_RPM_COMPONENT_INSTALL YES)
Expand Down

0 comments on commit 6cba753

Please sign in to comment.