From e30ad765f7074b88e4944199368a1973cf5cf4f1 Mon Sep 17 00:00:00 2001 From: Steven Murray <Steven.Murray@cern.ch> Date: Mon, 22 May 2017 14:49:47 +0200 Subject: [PATCH] cta/CTA#112 Package 3 cta-taped files into the RPM Packaged the man page of cta-taped --- cta.spec.in | 1 + tapeserver/CMakeLists.txt | 1 + tapeserver/{cta-taped.man => cta-taped.1cta} | 0 3 files changed, 2 insertions(+) rename tapeserver/{cta-taped.man => cta-taped.1cta} (100%) diff --git a/cta.spec.in b/cta.spec.in index 1ff6e14032..72fda50434 100644 --- a/cta.spec.in +++ b/cta.spec.in @@ -131,6 +131,7 @@ The tape server daemon %defattr(-,root,root) %attr(0755,root,root) %{_bindir}/cta-taped %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta.conf.example +%attr(0644,root,bin) %doc /usr/share/man/man1/cta-taped.1cta.gz %package -n cta-frontend Summary: CERN Tape Archive: Xrootd plugin diff --git a/tapeserver/CMakeLists.txt b/tapeserver/CMakeLists.txt index d7aad618c0..bb76dba89c 100644 --- a/tapeserver/CMakeLists.txt +++ b/tapeserver/CMakeLists.txt @@ -13,6 +13,7 @@ add_executable (cta-taped cta-taped.cpp) target_link_libraries(cta-taped ctatapedaemon ctacommon protobuf) install (TARGETS cta-taped DESTINATION usr/bin) +install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/cta-taped.1cta DESTINATION /usr/share/man/man1) # CTA's cta-taped system tests. add_library(cta-tapedSystemTests SHARED diff --git a/tapeserver/cta-taped.man b/tapeserver/cta-taped.1cta similarity index 100% rename from tapeserver/cta-taped.man rename to tapeserver/cta-taped.1cta -- GitLab