2 Summary: SQL batch client
6 # TODO: Java 7 or Java 8+
7 #Requires: java >= 1:1.7.0
10 SQL-DK is a command-line client for relational databases.
13 mkdir -p ${RPM_BUILD_ROOT}/usr/bin/
14 mkdir -p ${RPM_BUILD_ROOT}/usr/share/sql-dk/
15 mkdir -p ${RPM_BUILD_ROOT}/usr/share/doc/sql-dk/
16 mkdir -p ${RPM_BUILD_ROOT}/etc/bash_completion.d/
18 cp ../../../../scripts/sql-dk.sh ${RPM_BUILD_ROOT}/usr/bin/sql-dk
19 cp ../../../../xml/config.xsd ${RPM_BUILD_ROOT}/usr/share/doc/sql-dk/
20 cp ../../../../xml/config.rnc ${RPM_BUILD_ROOT}/usr/share/doc/sql-dk/
21 cp ../../../../xml/config.xsl ${RPM_BUILD_ROOT}/usr/share/doc/sql-dk/
22 cp ../../../../java/sql-dk/dist/sql-dk.jar ${RPM_BUILD_ROOT}/usr/share/sql-dk/
23 cp ../../../../java/jdbc-loopback-driver/dist/jdbc-loopback-driver.jar ${RPM_BUILD_ROOT}/usr/share/sql-dk/
24 cp ../../../../java/sql-dk/dist/bash-completion.sh ${RPM_BUILD_ROOT}/etc/bash_completion.d/sql-dk
30 /usr/share/doc/sql-dk/*
31 /etc/bash_completion.d/*