diff --git a/CMakeLists.txt b/CMakeLists.txt index 7761f0c8d380a7237582dc6a8d6cc5f4b244d48e..37b172acf1719c687c7b2840ef58ccdefe329bd5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,6 +142,7 @@ ELSE(DEFINED PackageOnly) add_subdirectory(tapeserver) add_subdirectory(tests) add_subdirectory(xroot_plugins) + add_subdirectory(xroot_ssi_pb) endif(BUILD_CMDLINE_ONLY) #Generate version information diff --git a/cta.spec.in b/cta.spec.in index 130181992eaaf276e4c8e7c8ac579f2586d27dda..8e4d72f7d688e1cb64403734d20ba2677e73faec 100644 --- a/cta.spec.in +++ b/cta.spec.in @@ -169,6 +169,19 @@ The xroot plugin %post -n cta-frontend -p /sbin/ldconfig %postun -n cta-frontend -p /sbin/ldconfig +%package -n cta-frontend-interface +Summary: CERN Tape Archive Frontend Interface +Group: Application/CTA +Requires: xrootd-server-libs, xrootd-private-devel +%description -n cta-frontend-interface +CERN Tape Archive: +Frontend Interface +%files -n cta-frontend-interface +%defattr(0755,root,root) +%{_libdir}/libXrdCtaMessages.a +%{_includedir}/cta +%{_includedir}/cta/messages + %package -n cta-cli Summary: CERN Tape Archive: command line interface Group: Application/CTA diff --git a/xroot_plugins/messages/CMakeLists.txt b/xroot_plugins/messages/CMakeLists.txt index 5e06ecc24a02c90854337d3e29e37cc994513f9e..1b33fc4c467251275e5f0b7504cd5cf41cd4a9cf 100644 --- a/xroot_plugins/messages/CMakeLists.txt +++ b/xroot_plugins/messages/CMakeLists.txt @@ -28,3 +28,15 @@ include_directories(${PROTOBUF3_INCLUDE_DIRS}) add_library (XrdCtaMessages ${CTA_FRONT_END_MESSAGES_SRC_FILES}) target_link_libraries (XrdCtaMessages ${PROTOBUF3_LIBRARIES}) + +install (TARGETS XrdCtaMessages DESTINATION usr/${CMAKE_INSTALL_LIBDIR}) + +install ( + FILES ${ProtoHeaders} + DESTINATION usr/${CMAKE_INSTALL_INCLUDEDIR}/cta/messages +) + +install ( + FILES CtaFrontendApi.hpp + DESTINATION usr/${CMAKE_INSTALL_INCLUDEDIR}/cta +) diff --git a/xroot_ssi_pb/CMakeLists.txt b/xroot_ssi_pb/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..9d0d57a19120e5b08a20f32f8e36b88d179f3c4e --- /dev/null +++ b/xroot_ssi_pb/CMakeLists.txt @@ -0,0 +1,14 @@ +set( CTA_SSI_HEADERS + XrdSsiPbAlert.hpp + XrdSsiPbDebug.hpp + XrdSsiPbException.hpp + XrdSsiPbRequest.hpp + XrdSsiPbRequestProc.hpp + XrdSsiPbService.hpp + XrdSsiPbServiceClientSide.hpp +) + +install ( + FILES ${CTA_SSI_HEADERS} + DESTINATION usr/${CMAKE_INSTALL_INCLUDEDIR}/cta +)