summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--libuca.spec.in7
2 files changed, 4 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 70d0992..ade68ad 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +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_PACKAGE_RELEASE 3)
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 b26f287..9e21bb2 100644
--- a/libuca.spec.in
+++ b/libuca.spec.in
@@ -60,10 +60,7 @@ mv "@UCA_BUILD_DIR@/_CPack_Packages/Linux/RPM/tmpBBroot" $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-@CMAKE_INSTALL_PREFIX@/include/uca/uca-pco-camera.h
-@CMAKE_INSTALL_PREFIX@/include/uca/uca-mock-camera.h
-@CMAKE_INSTALL_PREFIX@/include/uca/uca-pylon-camera.h
-@CMAKE_INSTALL_PREFIX@/include/uca/uca-camera.h
+@CMAKE_INSTALL_PREFIX@/include/uca/*.h
@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so
@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so.@UCA_VERSION_MINOR@
@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so.@UCA_ABI_VERSION@
@@ -72,6 +69,8 @@ mv "@UCA_BUILD_DIR@/_CPack_Packages/Linux/RPM/tmpBBroot" $RPM_BUILD_ROOT
%changelog
* Tue Aug 7 2012 Volker Kaiser <volker.kaiser@softwareschneiderei.de>
+pack only existing header files
+* 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