From 0feda674d07f64dc43c3526f3e790b56075b18c3 Mon Sep 17 00:00:00 2001
From: jmakai <jmakai@cern.ch>
Date: Fri, 3 Nov 2017 14:16:51 +0100
Subject: [PATCH] RPM: removing frontend-interface package

---
 CMakeLists.txt                        |  1 -
 cta.spec.in                           | 13 -------------
 xroot_plugins/messages/CMakeLists.txt | 12 ------------
 xroot_ssi_pb/CMakeLists.txt           | 14 --------------
 4 files changed, 40 deletions(-)
 delete mode 100644 xroot_ssi_pb/CMakeLists.txt

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 37b172acf1..7761f0c8d3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -142,7 +142,6 @@ 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 1e56e0110a..606a928c7b 100644
--- a/cta.spec.in
+++ b/cta.spec.in
@@ -169,19 +169,6 @@ 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/xroot_plugins/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 d0fa20eb12..994df8f0a2 100644
--- a/xroot_plugins/messages/CMakeLists.txt
+++ b/xroot_plugins/messages/CMakeLists.txt
@@ -28,15 +28,3 @@ 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/xroot_plugins/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
deleted file mode 100644
index 9d0d57a191..0000000000
--- a/xroot_ssi_pb/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-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
-)
-- 
GitLab