|
|
|
|
@ -22,9 +22,9 @@
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package versions |
|
|
|
|
%define V_jsqsh 2.1.0 |
|
|
|
|
%define V_jsqsh 2.2 |
|
|
|
|
%define V_jdbc_mysql 5.1.38 |
|
|
|
|
%define V_jdbc_pgsql 9.4-1201 |
|
|
|
|
%define V_jdbc_pgsql 9.4.1208 |
|
|
|
|
%define V_jdbc_h2 2016-01-21 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
@ -38,13 +38,13 @@ Class: EVAL
|
|
|
|
|
Group: Database |
|
|
|
|
License: GPL |
|
|
|
|
Version: %{V_jsqsh} |
|
|
|
|
Release: 20160122 |
|
|
|
|
Release: 20160305 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: https://github.com/scgray/jsqsh/releases/download/jsqsh-%{V_jsqsh}/jsqsh-%{V_jsqsh}-bin.zip |
|
|
|
|
Source1: http://www.h2database.com/h2-%{V_jdbc_h2}.zip |
|
|
|
|
Source2: http://ftp.gwdg.de/pub/misc/mysql/Downloads/Connector-J/mysql-connector-java-%{V_jdbc_mysql}.tar.gz |
|
|
|
|
Source3: http://jdbc.postgresql.org/download/postgresql-%{V_jdbc_pgsql}.jdbc41.jar |
|
|
|
|
Source3: http://jdbc.postgresql.org/download/postgresql-%{V_jdbc_pgsql}.jar |
|
|
|
|
Source4: jsqsh.sh |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
@ -67,8 +67,8 @@ PreReq: OpenPKG, openpkg >= 20100101, java, JAVA-JDK
|
|
|
|
|
} |
|
|
|
|
prog jsqsh:jdbc-pgsql = { |
|
|
|
|
version = %{V_jdbc_pgsql} |
|
|
|
|
url = http://jdbc.postgresql.org/download.html |
|
|
|
|
regex = postgresql-(\d+\.\d+-\d+)\.jdbc4\.jar |
|
|
|
|
url = https://jdbc.postgresql.org/download.html |
|
|
|
|
regex = postgresql-(\d+\.\d+-\d+)\.jar |
|
|
|
|
} |
|
|
|
|
prog jsqsh:jdbc-h2 = { |
|
|
|
|
version = %{V_jdbc_h2} |
|
|
|
|
|