author | František Kučera <franta-hg@frantovo.cz> |
Sat, 06 Dec 2014 14:12:59 +0100 | |
branch | v_0 |
changeset 182 | 4ff7a273f3e8 |
parent 180 | 74a6d55da11c |
child 188 | 54bacc7ed42b |
permissions | -rw-r--r-- |
franta-hg@180 | 1 |
Name: sql-dk |
franta-hg@180 | 2 |
Summary: SQL batch client |
franta-hg@180 | 3 |
Version: 0.10 |
franta-hg@180 | 4 |
Release: 1 |
franta-hg@180 | 5 |
License: GNU GPLv3+ |
franta-hg@180 | 6 |
# TODO: Java 7 or Java 8+ |
franta-hg@180 | 7 |
#Requires: java >= 1:1.7.0 |
franta-hg@180 | 8 |
|
franta-hg@180 | 9 |
%description |
franta-hg@180 | 10 |
SQL-DK is a command-line client for relational databases. |
franta-hg@180 | 11 |
|
franta-hg@180 | 12 |
%prep |
franta-hg@180 | 13 |
mkdir -p ${RPM_BUILD_ROOT}/usr/bin/ |
franta-hg@180 | 14 |
mkdir -p ${RPM_BUILD_ROOT}/usr/share/sql-dk/ |
franta-hg@180 | 15 |
mkdir -p ${RPM_BUILD_ROOT}/usr/share/doc/sql-dk/ |
franta-hg@180 | 16 |
mkdir -p ${RPM_BUILD_ROOT}/etc/bash_completion.d/ |
franta-hg@180 | 17 |
|
franta-hg@180 | 18 |
cp ../../../../scripts/sql-dk.sh ${RPM_BUILD_ROOT}/usr/bin/sql-dk |
franta-hg@180 | 19 |
cp ../../../../xml/config.xsd ${RPM_BUILD_ROOT}/usr/share/doc/sql-dk/ |
franta-hg@180 | 20 |
cp ../../../../xml/config.rnc ${RPM_BUILD_ROOT}/usr/share/doc/sql-dk/ |
franta-hg@180 | 21 |
cp ../../../../xml/config.xsl ${RPM_BUILD_ROOT}/usr/share/doc/sql-dk/ |
franta-hg@180 | 22 |
cp ../../../../java/sql-dk/dist/sql-dk.jar ${RPM_BUILD_ROOT}/usr/share/sql-dk/ |
franta-hg@180 | 23 |
cp ../../../../java/jdbc-loopback-driver/dist/jdbc-loopback-driver.jar ${RPM_BUILD_ROOT}/usr/share/sql-dk/ |
franta-hg@180 | 24 |
cp ../../../../java/sql-dk/dist/bash-completion.sh ${RPM_BUILD_ROOT}/etc/bash_completion.d/sql-dk |
franta-hg@180 | 25 |
|
franta-hg@180 | 26 |
%files |
franta-hg@180 | 27 |
%defattr(-,root,root) |
franta-hg@180 | 28 |
/usr/bin/* |
franta-hg@180 | 29 |
/usr/share/sql-dk/* |
franta-hg@180 | 30 |
/usr/share/doc/sql-dk/* |
franta-hg@180 | 31 |
/etc/bash_completion.d/* |
franta-hg@180 | 32 |