1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
|
# $Id: /local/debian/dists/henplus/debian/packages 312 2005-10-03T17:34:41.580970Z dexter $
# If the debian/rules or debian/control file is missing, rebuild the file:
#
# $ yada rebuild control
# $ yada rebuild rules
# Environment variables:
# Compile with javac
# with_javac=%{with_javac}
# Compile with sablevm
# with_sablevm=%{with_sablevm}
# Compile with kaffe
# with_kaffe=%{with_kaffe}
# Compile with gcj
# with_gcj=%{with_gcj}
# Don't compile for free java
# with_no_free_java=%{with_no_free_java}
# Conditional macros:
# The default is sablevm
%if %{with_javac}%{with_sablevm}%{with_kaffe}%{with_gcj}
%else
%define with_sablevm 1
%endif
# Free java
%if %{with_sablevm}%{with_kaffe}%{with_gcj}
%define without_no_free_java 1
%endif
# with_javac=%{with_javac}
# with_sablevm=%{with_sablevm}
# with_kaffe=%{with_kaffe}
# with_gcj=%{with_gcj}
# with_no_free_java=%{with_no_free_java}
# Other macros:
%if %{with_javac}
%define java java2-runtime
%define javac java2-compiler
%define bin_java java
%define bin_javac javac
%else
%if %{with_sablevm}
%define java sablevm
%define javac jikes-sablevm
%define bin_java java-sablevm
%define bin_javac jikes-sablevm
%else
%if %{with_kaffe}
%define java kaffe-jthreads
%define javac jikes-kaffe
%define bin_java kaffe
%define bin_javac jikes-kaffe
%else
%if %{with_gcj}
%define java gij-4.0
%define javac libgcj6-dev
%define bin_java gij-wrapper-4.0
%define bin_javac gcj-wrapper-4.0
%endif
%endif
%endif
%endif
# java=%{java}
# javac=%{javac}
# bin_java=%{bin_java}
# bin_javac=%{bin_javac}
Source: henplus
Section: utils
Priority: optional
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.6.2
Upstream-Source: <USCAN:http://sf.net/henplus/henplus-([0-9.]*)\.tar\.gz>
Home-Page: <URL:http://http://henplus.sourceforge.net/>
Upstream-Authors: Henner Zeller <H.Zeller@acm.org>
Description: JDBC SQL commandline frontend with TAB-completion
Copyright: GPL
author: Henner Zeller <H.Zeller@acm.org>
Build-Depends-Indep: %{java}, %{javac}
Build-Depends-Indep: ant
Build-Depends-Indep: libreadline-java (>= 0.7.3)
Patches: patches/*.patch
Major-Changes:
%`cd debian/patches; ls *.patch | sed -e 's/^/ /'`
Build: bash
%include java-common.packages
.
%if %{without_no_free_java}
yada patch debian/patches/free-java/*.patch
%endif
.
mkdir lib
ln -s /usr/share/java/libreadline-java.jar lib
.
$ANT jar
.
for pod in debian/man/*.pod; do
eval pod2man $(head -n1 $pod | sed 's/^# pod2man //') $pod \
> build/$(basename $pod .pod).$(head -n1 $pod | sed -e 's/.*--section=//' -e 's/ .*//')
done
Clean: bash
%include java-common.packages
.
$ANT clean
.
rm -rf lib
Package: henplus
Architecture: all
%if %{with_no_free_java}
Section: contrib/utils
%endif
Depends: kaffe | java-virtual-machine, kaffe | java1-runtime | java2-runtime
Depends: libreadline-java (>= 0.7.3)
Description: JDBC SQL commandline frontend with TAB-completion
HenPlus is an SQL shell written in Java that works for any database that
has JDBC support. It provides commandline history, commandline completion,
and can handle multiple connects to different databases at once.
Database-independant table dumps, aliases, and variables are also supported.
Install: bash
%include java-common.packages
.
$ANT install -DDESTDIR=$ROOT
.
yada install -script debian/scripts/henplus
.
yada install -man build/henplus.1
|