Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
2953eca5
Commit
2953eca5
authored
Oct 18, 2017
by
Anastasia Karachaliou
Browse files
Created rpms in CTA for rmcd and smc.
parent
ed0b4127
Changes
2
Hide whitespace changes
Inline
Side-by-side
cta.spec.in
View file @
2953eca5
...
...
@@ -290,4 +290,24 @@ Utilities to faciliate working with the mediachangers
%attr(0644,root,root) %doc /usr/share/man/man1/cta-mediachanger-dismount.1cta.gz
%attr(0644,root,root) %doc /usr/share/man/man1/cta-mediachanger-mount.1cta.gz
%package -n cta-rmc
Summary: Tools to faciliate working with rmc and smc in cta
Group: Application/CTA
%description -n cta-rmc
CERN Tape Archive:
Tools to faciliate working with rmc and smc in cta
%files -n cta-rmc
%attr(0755,root,root) %{_bindir}/rmcd
%attr(0755,root,root) %{_bindir}/smc
#%package -n cta-smc
#Summary: Tools to faciliate working with smc in cta
#Group: Application/CTA
#%description -n cta-smc
#CERN Tape Archive:
#Tools to faciliate working with smc in cta
#%files -n cta-smc
#%attr(0755,root,root) %{_bindir}/smc
##%attr(0644,root,root) %doc /usr/share/man/man1/rmcd.1cta.gz
%endif
mediachanger/castorrmc/rmc/CMakeLists.txt
View file @
2953eca5
...
...
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
cmake_minimum_required
(
VERSION 2.6
)
#install (TARGETS ctarmccommon DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
include_directories
(
${
PROJECT_SOURCE_DIR
}
/mediachanger/castorrmc/h
)
set
(
RMCD_SRC_FILES
...
...
@@ -31,6 +31,9 @@ set (RMCD_SRC_FILES
add_executable
(
rmcd
${
RMCD_SRC_FILES
}
)
target_link_libraries
(
rmcd ctarmccommon
)
install
(
TARGETS rmcd DESTINATION /usr/bin
)
set
(
SMC_SRC_FILES
rmc_dismount.c
rmc_errmsg.c
...
...
@@ -44,3 +47,4 @@ set (SMC_SRC_FILES
smc.c
)
add_executable
(
smc
${
SMC_SRC_FILES
}
)
target_link_libraries
(
smc ctarmccommon
)
install
(
TARGETS smc DESTINATION /usr/bin
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment