franta-hg@180: Name: sql-dk franta-hg@180: Summary: SQL batch client franta-hg@180: Version: 0.10 franta-hg@180: Release: 1 franta-hg@180: License: GNU GPLv3+ franta-hg@180: # TODO: Java 7 or Java 8+ franta-hg@180: #Requires: java >= 1:1.7.0 franta-hg@180: franta-hg@180: %description franta-hg@180: SQL-DK is a command-line client for relational databases. franta-hg@180: franta-hg@180: %prep franta-hg@180: mkdir -p ${RPM_BUILD_ROOT}/usr/bin/ franta-hg@180: mkdir -p ${RPM_BUILD_ROOT}/usr/share/sql-dk/ franta-hg@180: mkdir -p ${RPM_BUILD_ROOT}/usr/share/doc/sql-dk/ franta-hg@180: mkdir -p ${RPM_BUILD_ROOT}/etc/bash_completion.d/ franta-hg@180: franta-hg@180: cp ../../../../scripts/sql-dk.sh ${RPM_BUILD_ROOT}/usr/bin/sql-dk franta-hg@180: cp ../../../../xml/config.xsd ${RPM_BUILD_ROOT}/usr/share/doc/sql-dk/ franta-hg@180: cp ../../../../xml/config.rnc ${RPM_BUILD_ROOT}/usr/share/doc/sql-dk/ franta-hg@180: cp ../../../../xml/config.xsl ${RPM_BUILD_ROOT}/usr/share/doc/sql-dk/ franta-hg@180: cp ../../../../java/sql-dk/dist/sql-dk.jar ${RPM_BUILD_ROOT}/usr/share/sql-dk/ franta-hg@180: cp ../../../../java/jdbc-loopback-driver/dist/jdbc-loopback-driver.jar ${RPM_BUILD_ROOT}/usr/share/sql-dk/ franta-hg@180: cp ../../../../java/sql-dk/dist/bash-completion.sh ${RPM_BUILD_ROOT}/etc/bash_completion.d/sql-dk franta-hg@180: franta-hg@180: %files franta-hg@180: %defattr(-,root,root) franta-hg@180: /usr/bin/* franta-hg@180: /usr/share/sql-dk/* franta-hg@180: /usr/share/doc/sql-dk/* franta-hg@180: /etc/bash_completion.d/* franta-hg@180: