@@ -11,9 +11,9 @@ getDefinedVersion(VERSION_MAJOR)
1111getDefinedVersion (VERSION_MINOR )
1212getDefinedVersion (VERSION_PATCH )
1313set (VERSION "${VERSION_MAJOR} .${VERSION_MINOR} .${VERSION_PATCH} " )
14- MESSAGE ("Detected version: ${VERSION} " )
14+ message ("Detected libvalkey version: ${VERSION} " )
1515
16- PROJECT (valkey LANGUAGES "C" VERSION "${VERSION} " )
16+ project (libvalkey LANGUAGES "C" VERSION "${VERSION} " )
1717INCLUDE (GNUInstallDirs )
1818
1919OPTION (BUILD_SHARED_LIBS "Build shared libraries" ON )
@@ -94,8 +94,9 @@ TARGET_INCLUDE_DIRECTORIES(valkey
9494CONFIGURE_FILE (valkey.pc.in valkey.pc @ONLY )
9595
9696set (CPACK_PACKAGE_VENDOR "Valkey" )
97+ set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Minimalistic C client library for Valkey" )
9798set (CPACK_PACKAGE_DESCRIPTION "\
98- Libvalkey is a minimalistic C client library for the Valkey, KeyDB, and Redis databases
99+ Libvalkey is a minimalistic C client library for the Valkey, KeyDB, and Redis databases.
99100
100101It is minimalistic because it just adds minimal support for the protocol, \
101102but at the same time it uses a high level printf-alike API in order to make \
@@ -107,7 +108,7 @@ reply parser that is decoupled from the I/O layer. It is a stream parser designe
107108for easy reusability, which can for instance be used in higher level language bindings \
108109for efficient reply parsing.
109110
110- valkey only supports the binary-safe RESP protocol, so you can use it with any Redis \
111+ Libvalkey only supports the binary-safe RESP protocol, so you can use it with any Redis \
111112compatible server >= 1.2.0.
112113
113114The library comes with multiple APIs. There is the synchronous API, the asynchronous API \
@@ -116,7 +117,9 @@ set(CPACK_PACKAGE_HOMEPAGE_URL "https://github.com/valkey-io/libvalkey")
116117set (CPACK_PACKAGE_CONTACT "michael dot grunder at gmail dot com" )
117118set (CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON )
118119set (CPACK_RPM_PACKAGE_AUTOREQPROV ON )
119-
120+ set (CPACK_RPM_PACKAGE_DESCRIPTION "${CPACK_PACKAGE_DESCRIPTION} " )
121+ set (CPACK_RPM_PACKAGE_GROUP "Productivity/Databases/Clients" )
122+ set (CPACK_RPM_PACKAGE_LICENSE "BSD-3-Clause" )
120123include (CPack )
121124
122125INSTALL (TARGETS valkey
0 commit comments