Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
a72c0cdb
Commit
a72c0cdb
authored
8 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
Added cta-doc rpm that contains supporting SQL scripts
parent
911ca382
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
catalogue/CMakeLists.txt
+11
-2
11 additions, 2 deletions
catalogue/CMakeLists.txt
cta.spec.in
+10
-1
10 additions, 1 deletion
cta.spec.in
with
21 additions
and
3 deletions
catalogue/CMakeLists.txt
+
11
−
2
View file @
a72c0cdb
...
...
@@ -58,9 +58,18 @@ target_link_libraries (ctacatalogue
${
ORACLE-INSTANTCLIENT_LIBRARIES
}
${
SQLITE_LIBRARIES
}
)
add_custom_command
(
OUTPUT sqlite_catalogue_schema.sql
add_custom_command
(
OUTPUT sqlite_catalogue_schema.sql
oracle_catalogue_schema.sql
COMMAND cat
${
CMAKE_CURRENT_SOURCE_DIR
}
/sqlite_catalogue_schema_header.sql
${
CMAKE_CURRENT_SOURCE_DIR
}
/catalogue_common_schema.sql > sqlite_catalogue_schema.sql
DEPENDS catalogue_common_schema.sql
)
COMMAND cat
${
CMAKE_CURRENT_SOURCE_DIR
}
/catalogue_common_schema.sql > oracle_catalogue_schema.sql
DEPENDS
${
CMAKE_CURRENT_SOURCE_DIR
}
/sqlite_catalogue_schema_header.sql catalogue_common_schema.sql
)
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/sqlite_catalogue_schema.sql
DESTINATION /usr/share/cta/sql
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
)
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/oracle_catalogue_schema.sql
DESTINATION /usr/share/cta/sql
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
)
add_custom_command
(
OUTPUT in_memory_catalogue_schema.cpp
COMMAND sed 's/^/\ \ \ \ \"/' sqlite_catalogue_schema.sql | sed 's/$$/\"/' > in_memory_catalogue_schema.cpp
...
...
This diff is collapsed.
Click to expand it.
cta.spec.in
+
10
−
1
View file @
a72c0cdb
...
...
@@ -112,7 +112,6 @@ The xroot plugin
%defattr(-,root,root)
%attr(0755,root,root) %{_bindir}/cta
%package -n cta-lib
Summary: CERN Tape Archive
Group: Application/CTA
...
...
@@ -135,6 +134,16 @@ The shared libraries
%attr(0755,root,root) %{_libdir}/libctatapeserverdaemonutils.so
%attr(0644,root,root) %{_sysconfdir}/cta/cta_catalogue_db.conf.example
%package -n cta-doc
Summary: CERN Tape Archive: Documents and supporting SQL scripts
Group: Application/CTA
%description -n cta-doc
CERN Tape Archive:
Documents and supporting SQL scripts
%files -n cta-doc
%doc %{_datarootdir}/cta/sql/oracle_catalogue_schema.sql
%doc %{_datarootdir}/cta/sql/sqlite_catalogue_schema.sql
%package -n cta-systemtests
Summary: CERN Tape Archive: unit and system tests with virtual tape drives
Group: Application/CTA
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment