diff options
author | Volker Kaiser <volker.kaiser@softwareschneiderei.de> | 2012-08-07 13:52:35 +0200 |
---|---|---|
committer | Volker Kaiser <volker.kaiser@softwareschneiderei.de> | 2012-08-07 13:52:35 +0200 |
commit | 21f0c956cb679aa0eb9c384c542720d46d26654e (patch) | |
tree | 74055c2e822dc081e18677f3a6edb8a9ce62256c | |
parent | 7b7918d56ff05cb63984749a98e6f28822f53839 (diff) | |
download | uca-21f0c956cb679aa0eb9c384c542720d46d26654e.tar.gz uca-21f0c956cb679aa0eb9c384c542720d46d26654e.tar.bz2 uca-21f0c956cb679aa0eb9c384c542720d46d26654e.tar.xz uca-21f0c956cb679aa0eb9c384c542720d46d26654e.zip |
enhanced spec file
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | libuca.spec.in | 12 |
2 files changed, 8 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 271b804..70d0992 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,6 +17,7 @@ set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") set(PACKAGE_BUGREPORT "http://ufo.kit.edu/ufo/newticket") set(CPACK_GENERATOR "DEB;RPM;") +set(CPACK_PACKAGE_RELEASE 2) set(CPACK_DEBIAN_PACKAGE_NAME "libuca") set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Matthias Vogelgesang <matthias.vogelgesang@kit.edu>") set(CPACK_DEBIAN_PACKAGE_DESCRIPTION ${UCA_DESCRIPTION}) diff --git a/libuca.spec.in b/libuca.spec.in index 9bc5cbe..b26f287 100644 --- a/libuca.spec.in +++ b/libuca.spec.in @@ -2,8 +2,8 @@ Buildroot: @UCA_BUILD_DIR@/_CPack_Packages/Linux/RPM/@CPACK_PACKAGE_FILE_NAME@ Summary: Abstract interface for different camera classes and frame grabber devices Name: libuca -Version: 0.6.0 -Release: 1 +Version: @VERSION@ +Release: @CPACK_PACKAGE_RELEASE@ License: unknown Group: unknown Vendor: Karlsruhe Institute of Technology/IPE @@ -65,11 +65,13 @@ mv "@UCA_BUILD_DIR@/_CPack_Packages/Linux/RPM/tmpBBroot" $RPM_BUILD_ROOT @CMAKE_INSTALL_PREFIX@/include/uca/uca-pylon-camera.h @CMAKE_INSTALL_PREFIX@/include/uca/uca-camera.h @CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so -@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so.6 -@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so.0.6 -@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/pkgconfig/uca.pc +@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so.@UCA_VERSION_MINOR@ +@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so.@UCA_ABI_VERSION@ +@CMAKE_INSTALL_PREFIX@/lib/pkgconfig/uca.pc %changelog +* Tue Aug 7 2012 Volker Kaiser <volker.kaiser@softwareschneiderei.de> +using more variables in spec file * Tue Aug 2 2012 Volker Kaiser <volker.kaiser@softwareschneiderei.de> First package version |