-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #310 from traceon/rpm-generation
RPM packaging via CPack
- Loading branch information
Showing
10 changed files
with
108 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
# This file will be included at CPack-time, once per generator after CPack has set CPACK_GENERATOR to the actual generator being used. | ||
|
||
if ( | ||
CPACK_GENERATOR MATCHES "RPM" OR | ||
CPACK_GENERATOR MATCHES "DEB" | ||
) | ||
set (CPACK_PACKAGING_INSTALL_PREFIX "${CPACK_PACKAGE_INSTALL_DIRECTORY}") | ||
endif () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
# Insert the content of this file into ~/.odbcinst.ini or /etc/odbcinst.ini files, | ||
# and append absolute paths to libclickhouseodbc.so and libclickhouseodbcw.so files. | ||
# and fix the absolute paths to libclickhouseodbc.so and libclickhouseodbcw.so files. | ||
|
||
[ODBC Drivers] | ||
ClickHouse ODBC Driver (ANSI) = Installed | ||
ClickHouse ODBC Driver (Unicode) = Installed | ||
|
||
[ClickHouse ODBC Driver (ANSI)] | ||
Description = ODBC Driver (ANSI) for ClickHouse | ||
Driver = libclickhouseodbc.so | ||
Setup = libclickhouseodbc.so | ||
Driver = /usr/local/lib64/libclickhouseodbc.so | ||
Setup = /usr/local/lib64/libclickhouseodbc.so | ||
UsageCount = 1 | ||
|
||
[ClickHouse ODBC Driver (Unicode)] | ||
Description = ODBC Driver (Unicode) for ClickHouse | ||
Driver = libclickhouseodbcw.so | ||
Setup = libclickhouseodbcw.so | ||
Driver = /usr/local/lib64/libclickhouseodbcw.so | ||
Setup = /usr/local/lib64/libclickhouseodbcw.so | ||
UsageCount = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters