From bc7527f2e2c22a0f27c73a4086fe51d12504c826 Mon Sep 17 00:00:00 2001 From: Mihael Koep Date: Thu, 14 Mar 2013 16:51:37 +0100 Subject: Cleanup of dexela plugin build file and package-plugin.sh.in to include sensible metadata information. --- plugins/dexela/.swp.CMakeLists.txt | Bin 129 -> 0 bytes plugins/dexela/CMakeLists.txt | 18 ++++++------------ plugins/dexela/changelog.txt | 2 ++ 3 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 plugins/dexela/.swp.CMakeLists.txt (limited to 'plugins/dexela') diff --git a/plugins/dexela/.swp.CMakeLists.txt b/plugins/dexela/.swp.CMakeLists.txt deleted file mode 100644 index 610f745..0000000 Binary files a/plugins/dexela/.swp.CMakeLists.txt and /dev/null differ diff --git a/plugins/dexela/CMakeLists.txt b/plugins/dexela/CMakeLists.txt index 60350cf..d98644c 100644 --- a/plugins/dexela/CMakeLists.txt +++ b/plugins/dexela/CMakeLists.txt @@ -6,19 +6,16 @@ find_package(DEXELA) if (DEXELA_FOUND) set(UCA_CAMERA_NAME "dexela") - set(PLUGIN_REVISION "2") + set(PLUGIN_REVISION "3") set(PLUGIN_VERSION "1.0.0") + set(PLUGIN_SUMMARY "Dexela plugin for libuca") set(PLUGIN_CHANGELOG "${CMAKE_CURRENT_SOURCE_DIR}/changelog.txt") + set(PLUGIN_DESCRIPTION "Plugin for the Dexela 1207 detector.") set(PLUGIN_REQUIRES "libuca = 1.1.0, libdexela >= 0.9.2") - set(PLUGIN_SPECIFIC_FLAGS - "-D CPACK_PACKAGE_NAME=\"uca-plugin-dexela\" -D CPACK_PACKAGE_VERSION=\"${PLUGIN_VERSION}\" -D CPACK_RPM_PACKAGE_RELEASE=\"${PLUGIN_REVISION}\" -D CPACK_RPM_CHANGELOG_FILE=${PLUGIN_CHANGELOG} -D CPACK_RPM_PACKAGE_REQUIRES=${PLUGIN_REQUIRES}") - set(CPACK_PACKAGE_VERSION ${VERSION}) set(CPACK_GENERATOR "RPM") set(CPACK_PACKAGE_NAME "uca-plugin-dexela") - set(CPACK_PACKAGE_RELEASE 1) - set(CPACK_PACKAGE_CONTACT "Mihael Koep") - set(CPACK_PACKAGE_VENDOR "ANKA Computing Group") + set(PLUGIN_VENDOR "ANKA Computing Group") set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../package-plugin.sh.in @@ -26,12 +23,9 @@ if (DEXELA_FOUND) include_directories(${DEXELA_INCLUDE_DIRS}) - add_library(ucadexela SHARED - uca-dexela-camera.c) + add_library(ucadexela SHARED uca-dexela-camera.c) - target_link_libraries(ucadexela - ${UCA_DEPS} - ${DEXELA_LIBRARIES}) + target_link_libraries(ucadexela ${UCA_DEPS} ${DEXELA_LIBRARIES}) install(TARGETS ucadexela LIBRARY DESTINATION ${LIB_INSTALL_DIR}/uca diff --git a/plugins/dexela/changelog.txt b/plugins/dexela/changelog.txt index 8b84fa5..2998374 100644 --- a/plugins/dexela/changelog.txt +++ b/plugins/dexela/changelog.txt @@ -1,2 +1,4 @@ +* Thu Mar 14 2013 Mihael Koep 1.0.0-3 +- improve package metadata and build scripts * Thu Mar 7 2013 Mihael Koep 1.0.0-2 - add changelog and improve package metadata -- cgit v1.2.3