Skip to content
Snippets Groups Projects
Commit 2cc91054 authored by Jozsef Makai's avatar Jozsef Makai
Browse files

RPM: new package for frontend interface

parent 20326cce
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
......@@ -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
)
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
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment