Commit ea205ddb authored by Eric Cano's avatar Eric Cano
Browse files

Created the new cta-objectstore-tools rpm for #53.

This new package contains the old makeMinimalVFS (renamed to cta-objectstore-initialize)
plus cta-objectstore-list and cta-objectstore-dump-object.
parent ccee5ae5
......@@ -218,10 +218,20 @@ Unit tests and system tests with virtual tape drives
%attr(0755,root,root) %{_libdir}/libctadaemonunittests.so
%attr(0755,root,root) %{_libdir}/libctamediachangerunittests.so
%attr(0755,root,root) %{_bindir}/cta-systemTests
%attr(0755,root,root) %{_bindir}/makeMinimalVFS
%attr(0755,root,root) %{_libdir}/libctadaemonunittests-multiprocess.so
%attr(0644,root,root) %{_datadir}/%{name}-%{ctaVersion}/unittest/*.suppr
%package -n cta-objectstore-tools
Summary: CERN Tape Archive: object store tools
Group: Application/CTA
%description -n cta-objectstore-tools
CERN Tape Archive:
Tools allowing initialization and inspection of the object store.
%files -n cta-objectstore-tools
%attr(0755,root,root) %{_bindir}/cta-objectstore-initialize
%attr(0755,root,root) %{_bindir}/cta-objectstore-list
%attr(0755,root,root) %{_bindir}/cta-objectstore-dump-object
#cta-systemtests installs libraries so we need ldconfig.
%post -n cta-systemtests -p /sbin/ldconfig
%postun -n cta-systemtests -p /sbin/ldconfig
......
......@@ -84,15 +84,17 @@ target_link_libraries(ctaobjectstoreunittests
protobuf rados ctacommon gtest ctaobjectstore)
install(TARGETS ctaobjectstoreunittests DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
add_executable(makeMinimalVFS makeMinimalVFS.cpp)
target_link_libraries(makeMinimalVFS
add_executable(cta-objectstore-initialize cta-objectstore-initialize.cpp)
target_link_libraries(cta-objectstore-initialize
protobuf ctaobjectstore ctacommon ctautils)
install(TARGETS makeMinimalVFS DESTINATION usr/bin)
add_executable(listObjectStore listObjectStore.cpp)
target_link_libraries(listObjectStore
add_executable(cta-objectstore-list cta-objectstore-list.cpp)
target_link_libraries(cta-objectstore-list
protobuf ctaobjectstore ctacommon)
add_executable(dumpObject dumpObject.cpp)
target_link_libraries(dumpObject
add_executable(cta-objectstore-dump-object cta-objectstore-dump-object.cpp)
target_link_libraries(cta-objectstore-dump-object
protobuf ctaobjectstore ctacommon)
install(TARGETS cta-objectstore-initialize cta-objectstore-list cta-objectstore-dump-object
DESTINATION usr/bin)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment