[med-svn] r7259 - in trunk/packages/biomaj/tags: . 1.1.0-3 1.1.0-3/debian 1.1.0-3/debian/po

olivier sallou osallou-guest at alioth.debian.org
Tue Jul 12 11:48:13 UTC 2011


Author: osallou-guest
Date: 2011-07-12 11:48:13 +0000 (Tue, 12 Jul 2011)
New Revision: 7259

Added:
   trunk/packages/biomaj/tags/1.1.0-3/
   trunk/packages/biomaj/tags/1.1.0-3/debian/
   trunk/packages/biomaj/tags/1.1.0-3/debian/changelog
   trunk/packages/biomaj/tags/1.1.0-3/debian/control
   trunk/packages/biomaj/tags/1.1.0-3/debian/po/de.po
   trunk/packages/biomaj/tags/1.1.0-3/debian/po/es.po
   trunk/packages/biomaj/tags/1.1.0-3/debian/po/sv.po
   trunk/packages/biomaj/tags/1.1.0-3/debian/postinst
   trunk/packages/biomaj/tags/1.1.0-3/debian/rules
Removed:
   trunk/packages/biomaj/tags/1.1.0-3/debian/
   trunk/packages/biomaj/tags/1.1.0-3/debian/changelog
   trunk/packages/biomaj/tags/1.1.0-3/debian/control
   trunk/packages/biomaj/tags/1.1.0-3/debian/postinst
   trunk/packages/biomaj/tags/1.1.0-3/debian/rules
Log:
[svn-buildpackage] Tagging biomaj 1.1.0-3

Deleted: trunk/packages/biomaj/tags/1.1.0-3/debian/changelog
===================================================================
--- trunk/packages/biomaj/trunk/debian/changelog	2011-07-10 22:30:45 UTC (rev 7239)
+++ trunk/packages/biomaj/tags/1.1.0-3/debian/changelog	2011-07-12 11:48:13 UTC (rev 7259)
@@ -1,28 +0,0 @@
-biomaj (1.1.0-3) unstable; urgency=low
-
-  * Change priority in debconf message for jdk home
-
- -- Olivier Sallou <osallou at irisa.fr>  Thu, 28 Apr 2011 09:55:23 +0200
-
-biomaj (1.1.0-2) unstable; urgency=low
-
-  * Add russian translation of debconf:
-    Thanks to Yuri Kozlov <yuray at komyakino.ru>
-    Closes: #623807
-  * debian/patches/fix623558_remove_pid:
-    Remove unnecessary pid file creation
-    Closes: #623558
-  * debian/postrm,debian/preinst:
-    Issue for smooth upgrade, require old package
-    removal then new package install
-    Closes: #624284 
-    
-
- -- Olivier Sallou <olivier.sallou at irisa.fr>  Fri, 22 Apr 2011 16:27:11 +0200
-
-biomaj (1.1.0-1) unstable; urgency=low
-
-  * Initial release (Closes: #609038)
-    First Debian package, fixed copyright file to list all licenses
-
- -- Olivier Sallou <olivier.sallou at irisa.fr>  Wed, 05 Jan 2011 10:39:00 +0100

Copied: trunk/packages/biomaj/tags/1.1.0-3/debian/changelog (from rev 7243, trunk/packages/biomaj/trunk/debian/changelog)
===================================================================
--- trunk/packages/biomaj/tags/1.1.0-3/debian/changelog	                        (rev 0)
+++ trunk/packages/biomaj/tags/1.1.0-3/debian/changelog	2011-07-12 11:48:13 UTC (rev 7259)
@@ -0,0 +1,39 @@
+biomaj (1.1.0-3) unstable; urgency=low
+
+  * Change priority in debconf message for jdk home
+  * Add spanish translation of debconf:
+    Thanks to Camaleón <noelamac at gmail.com>
+    Closes: #632952
+  * Add sweden translation of debconf:
+    Thanks to Martin Bagge <brother at bsnet.se>
+    Closes: #628927
+  * Add german translation of debconf:
+    Thanks to Chris Leick <c.leick at vollbio.de>
+    Closes: #629455
+  * Change openjdk dependency to add default-jdk and sun jdk possible depends
+    Closes: #633523
+
+ -- Olivier Sallou <olivier.sallou at irisa.fr>  Thu, 11 Jul 2011 09:55:23 +0200
+
+biomaj (1.1.0-2) unstable; urgency=low
+
+  * Add russian translation of debconf:
+    Thanks to Yuri Kozlov <yuray at komyakino.ru>
+    Closes: #623807
+  * debian/patches/fix623558_remove_pid:
+    Remove unnecessary pid file creation
+    Closes: #623558
+  * debian/postrm,debian/preinst:
+    Issue for smooth upgrade, require old package
+    removal then new package install
+    Closes: #624284 
+    
+
+ -- Olivier Sallou <olivier.sallou at irisa.fr>  Fri, 22 Apr 2011 16:27:11 +0200
+
+biomaj (1.1.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #609038)
+    First Debian package, fixed copyright file to list all licenses
+
+ -- Olivier Sallou <olivier.sallou at irisa.fr>  Wed, 05 Jan 2011 10:39:00 +0100

Deleted: trunk/packages/biomaj/tags/1.1.0-3/debian/control
===================================================================
--- trunk/packages/biomaj/trunk/debian/control	2011-07-10 22:30:45 UTC (rev 7239)
+++ trunk/packages/biomaj/tags/1.1.0-3/debian/control	2011-07-12 11:48:13 UTC (rev 7259)
@@ -1,27 +0,0 @@
-Source: biomaj
-Section: science
-Priority: optional
-Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Olivier Sallou <olivier.sallou at irisa.fr>
-DM-Upload-Allowed: yes
-Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/biomaj/trunk/
-Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/biomaj/trunk/?rev=0&sc=0
-Homepage: http://biomaj.genouest.org
-Build-Depends: debhelper (>= 7.1)
-Build-Depends-Indep: debconf, po-debconf, openjdk-6-jdk, ant, libhsqldb-java, ant-contrib,
- liblog4j1.2-java, libcommons-net-java, libcommons-dbcp-java, libgnumail-java, libcommons-pool-java,
- libgnujaf-java, libjgoodies-forms-java, liboro-java, libregexp-java, libjfreechart-java,
- libjcommon-java, libjsch-java, libjdom1-java, junit4, libsaxonb-java, junit4, libjdepend-java,
- javahelper (>=0.25)
-Standards-Version: 3.9.1
-
-Package: biomaj
-Architecture: all
-Depends: openjdk-6-jdk, ant, libmysql-java, debconf, ${misc:Depends}, ${java:Depends},
- libhsqldb-java,ant-contrib,liblog4j1.2-java,libcommons-net-java (>= 1.4),libcommons-dbcp-java (>= 1.2), libgnumail-java, libcommons-pool-java (>= 1.5), libgnujaf-java, libjgoodies-forms-java (>= 1.2),liboro-java (>= 2.0),libregexp-java (>= 1.4),libjfreechart-java (>= 1.0),libjcommon-java (>= 1.0),libjsch-java (>= 0.1.42),libjdom1-java (>= 1.1),junit4,libsaxonb-java (>= 0.9)
-Suggests: mysql-community-server-5.0, ncbi-tools-bin, blast2
-Description: Biological banks updater
- BioMAJ downloads remote data banks, check their status and apply transformation
- workflows, with consistent state,to provide ready-to-use data to biologists and
- bioinformaticians. For example, it can transform original fasta files to blast 
- indexes. It is very flexible and post-processes can be extended very easily.

Copied: trunk/packages/biomaj/tags/1.1.0-3/debian/control (from rev 7240, trunk/packages/biomaj/trunk/debian/control)
===================================================================
--- trunk/packages/biomaj/tags/1.1.0-3/debian/control	                        (rev 0)
+++ trunk/packages/biomaj/tags/1.1.0-3/debian/control	2011-07-12 11:48:13 UTC (rev 7259)
@@ -0,0 +1,27 @@
+Source: biomaj
+Section: science
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Olivier Sallou <olivier.sallou at irisa.fr>
+DM-Upload-Allowed: yes
+Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/biomaj/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/biomaj/trunk/?rev=0&sc=0
+Homepage: http://biomaj.genouest.org
+Build-Depends: debhelper (>= 7.1)
+Build-Depends-Indep: debconf, po-debconf, openjdk-6-jdk|default-jdk|sun-java6-jdk, ant, libhsqldb-java, ant-contrib,
+ liblog4j1.2-java, libcommons-net-java, libcommons-dbcp-java, libgnumail-java, libcommons-pool-java,
+ libgnujaf-java, libjgoodies-forms-java, liboro-java, libregexp-java, libjfreechart-java,
+ libjcommon-java, libjsch-java, libjdom1-java, junit4, libsaxonb-java, junit4, libjdepend-java,
+ javahelper (>=0.25)
+Standards-Version: 3.9.1
+
+Package: biomaj
+Architecture: all
+Depends: openjdk-6-jdk|default-jdk|sun-java6-jdk, ant, libmysql-java, debconf, ${misc:Depends}, ${java:Depends},
+ libhsqldb-java,ant-contrib,liblog4j1.2-java,libcommons-net-java (>= 1.4),libcommons-dbcp-java (>= 1.2), libgnumail-java, libcommons-pool-java (>= 1.5), libgnujaf-java, libjgoodies-forms-java (>= 1.2),liboro-java (>= 2.0),libregexp-java (>= 1.4),libjfreechart-java (>= 1.0),libjcommon-java (>= 1.0),libjsch-java (>= 0.1.42),libjdom1-java (>= 1.1),junit4,libsaxonb-java (>= 0.9)
+Suggests: mysql-community-server-5.0, ncbi-tools-bin, blast2
+Description: Biological banks updater
+ BioMAJ downloads remote data banks, check their status and apply transformation
+ workflows, with consistent state,to provide ready-to-use data to biologists and
+ bioinformaticians. For example, it can transform original fasta files to blast 
+ indexes. It is very flexible and post-processes can be extended very easily.

Copied: trunk/packages/biomaj/tags/1.1.0-3/debian/po/de.po (from rev 7240, trunk/packages/biomaj/trunk/debian/po/de.po)
===================================================================
--- trunk/packages/biomaj/tags/1.1.0-3/debian/po/de.po	                        (rev 0)
+++ trunk/packages/biomaj/tags/1.1.0-3/debian/po/de.po	2011-07-12 11:48:13 UTC (rev 7259)
@@ -0,0 +1,49 @@
+# German translation of biomaj.
+# Copyright 2011 Olivier Sallou.
+# This file is distributed under the same license as the biomaj package.
+# Translation by Chris Leick <c.leick at vollbio.de>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: biomaj 1.1.0-2\n"
+"Report-Msgid-Bugs-To: http://biomaj.genouest.org\n"
+"POT-Creation-Date: 2011-04-29 10:28+0200\n"
+"PO-Revision-Date: 2011-05-31 18:45+0100\n"
+"Last-Translator: Chris Leick <c.leick at vollbio.de>\n"
+"Language-Team: German <debian-l10n-german at lists.debian.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+
+#. Type: string
+#. Description
+#: ../templates:1001
+msgid "The JDK home directory:"
+msgstr "Das JDK-Home-Verzeichnis:"
+
+#. Type: boolean
+#. Description
+#: ../templates:2001
+msgid "Want to configure MySQL connection now ?"
+msgstr "Möchten Sie die MySQL-Verbindung nun konfigurieren?"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Enter MySQL server address:"
+msgstr "Geben Sie die Adresse des MySQL-Servers ein:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "User login for biomaj database:"
+msgstr "Benutzeranmeldename für Biomaj-Datenbank:"
+
+#. Type: password
+#. Description
+#: ../templates:5001
+msgid "User password for biomaj database:"
+msgstr "Benutzerpasswort für Biomaj-Datenbank:"
+

Copied: trunk/packages/biomaj/tags/1.1.0-3/debian/po/es.po (from rev 7240, trunk/packages/biomaj/trunk/debian/po/es.po)
===================================================================
--- trunk/packages/biomaj/tags/1.1.0-3/debian/po/es.po	                        (rev 0)
+++ trunk/packages/biomaj/tags/1.1.0-3/debian/po/es.po	2011-07-12 11:48:13 UTC (rev 7259)
@@ -0,0 +1,71 @@
+# biomaj po-debconf translation to Spanish
+# Copyright (C) 2010 Software in the Public Interest
+# This file is distributed under the same license as the biomaj package.
+#
+# Changes:
+# - Initial translation
+# Camaleón <noelamac at gmail.com>, 2011
+#
+# - Updates
+#
+#
+# Traductores, si no conocen el formato PO, merece la pena leer la
+# documentación de gettext, especialmente las secciones dedicadas a este
+# formato, por ejemplo ejecutando:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+#
+# Equipo de traducción al español, por favor lean antes de traducir
+# los siguientes documentos:
+#
+# - El proyecto de traducción de Debian al español
+# http://www.debian.org/intl/spanish/
+# especialmente las notas y normas de traducción en
+# http://www.debian.org/intl/spanish/notas
+#
+# - La guía de traducción de po's de debconf:
+# /usr/share/doc/po-debconf/README-trans
+# o http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: biomaj 1.1.0.2\n"
+"Report-Msgid-Bugs-To: debian-med-packaging at lists.alioth.debian.org\n"
+"POT-Creation-Date: 2011-04-29 10:28+0200\n"
+"PO-Revision-Date: 2011-06-26 15:27+0200\n"
+"Last-Translator: Camaleón <noelamac at gmail.com>\n"
+"Language-Team: Debian Spanish <debian-l10n-spanish at lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit"
+
+#. Type: string
+#. Description
+#: ../templates:1001
+msgid "The JDK home directory:"
+msgstr "Directorio raíz de JDK:"
+
+#. Type: boolean
+#. Description
+#: ../templates:2001
+msgid "Want to configure MySQL connection now ?"
+msgstr "¿Desea configurar la conexión MySQL ahora?"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Enter MySQL server address:"
+msgstr "Introduzca la dirección del servidor MySQL:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "User login for biomaj database:"
+msgstr "Nombre del usuario de la base de datos biomaj:"
+
+#. Type: password
+#. Description
+#: ../templates:5001
+msgid "User password for biomaj database:"
+msgstr "Contraseña del usuario de la base de datos biomaj:"
+

Copied: trunk/packages/biomaj/tags/1.1.0-3/debian/po/sv.po (from rev 7240, trunk/packages/biomaj/trunk/debian/po/sv.po)
===================================================================
--- trunk/packages/biomaj/tags/1.1.0-3/debian/po/sv.po	                        (rev 0)
+++ trunk/packages/biomaj/tags/1.1.0-3/debian/po/sv.po	2011-07-12 11:48:13 UTC (rev 7259)
@@ -0,0 +1,49 @@
+# Translation of biomaj debconf template to Swedish
+# Copyright (C) 2011 Martin Bagge <brother at bsnet.se>
+# This file is distributed under the same license as the biomaj package.
+#
+# Martin Bagge <brother at bsnet.se>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-04-29 10:28+0200\n"
+"PO-Revision-Date: 2011-06-02 15:19+0100\n"
+"Last-Translator: Martin Bagge / brother <brother at bsnet.se>\n"
+"Language-Team: Swedish <debian-l10n-swedish at lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Swedish\n"
+"X-Poedit-Country: Sweden\n"
+
+#. Type: string
+#. Description
+#: ../templates:1001
+msgid "The JDK home directory:"
+msgstr "Hemkatalog för JDK:"
+
+#. Type: boolean
+#. Description
+#: ../templates:2001
+msgid "Want to configure MySQL connection now ?"
+msgstr "Ska inställningar för MySQL-anslutning göras nu?"
+
+#. Type: string
+#. Description
+#: ../templates:3001
+msgid "Enter MySQL server address:"
+msgstr "Ange MySQL-serverns adress:"
+
+#. Type: string
+#. Description
+#: ../templates:4001
+msgid "User login for biomaj database:"
+msgstr "Ange användarnamn för biomaj-databasen:"
+
+#. Type: password
+#. Description
+#: ../templates:5001
+msgid "User password for biomaj database:"
+msgstr "Ange lösenord för biomaj-databasen:"
+

Deleted: trunk/packages/biomaj/tags/1.1.0-3/debian/postinst
===================================================================
--- trunk/packages/biomaj/trunk/debian/postinst	2011-07-10 22:30:45 UTC (rev 7239)
+++ trunk/packages/biomaj/tags/1.1.0-3/debian/postinst	2011-07-12 11:48:13 UTC (rev 7259)
@@ -1,50 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# Source debconf library.
-. /usr/share/debconf/confmodule
-
-case "$1" in
-    configure)
-      ant_home="/usr/share/ant"
-      biomaj_root="/usr/share/biomaj"
-
-      db_get biomaj/jdk_home
-      jdk_home="$RET"
-      db_type="MySQL"
-      db_get biomaj/mysql_host
-      db_url="jdbc:mysql://$RET/biomaj_log"
-      db_get biomaj/mysql_login
-      db_login="$RET"
-      db_get biomaj/mysql_passwd
-      db_passwd="$RET"
-
-      tomcat_port="0"
-
-      cd $biomaj_root
-
-      javac -d $biomaj_root/bin $biomaj_root/bin/Configurator.java
-
-      java -cp $biomaj_root/bin Configurator java_home:=$jdk_home ant_home:=$ant_home biomaj_root:=$biomaj_root use_ldap:=$use_ldap ldap_host:=$ldap_host ldap_dn:=$ldap_dn opt_filter:=$opt_filter db_type:=$db_type db_url:=$db_url db_login:=$db_login db_passwd:=$db_passwd app_login:=$app_login app_passwd:=$app_passwd tomcat_port:=$tomcat_port
-
-      if [ $db_type = "MySQL" ]; then
-	echo "Installation Complete."
-        echo "You now need to create the biomaj_log database on your MySQL server."
-        echo "The creation script is provided at /usr/share/biomaj/sql/mysql.sql."
-      fi
-
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-
-
-#DEBHELPER#

Copied: trunk/packages/biomaj/tags/1.1.0-3/debian/postinst (from rev 7244, trunk/packages/biomaj/trunk/debian/postinst)
===================================================================
--- trunk/packages/biomaj/tags/1.1.0-3/debian/postinst	                        (rev 0)
+++ trunk/packages/biomaj/tags/1.1.0-3/debian/postinst	2011-07-12 11:48:13 UTC (rev 7259)
@@ -0,0 +1,50 @@
+#!/bin/sh
+
+set -e
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
+case "$1" in
+    configure)
+      ant_home="/usr/share/ant"
+      biomaj_root="/usr/share/biomaj"
+      jdk_home=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")      
+      #db_get biomaj/jdk_home
+      #jdk_home="$RET"
+      db_type="MySQL"
+      db_get biomaj/mysql_host
+      db_url="jdbc:mysql://$RET/biomaj_log"
+      db_get biomaj/mysql_login
+      db_login="$RET"
+      db_get biomaj/mysql_passwd
+      db_passwd="$RET"
+
+      tomcat_port="0"
+
+      cd $biomaj_root
+
+      #javac -d $biomaj_root/bin $biomaj_root/bin/Configurator.java
+
+      java -cp $biomaj_root/bin Configurator java_home:=$jdk_home ant_home:=$ant_home biomaj_root:=$biomaj_root use_ldap:=$use_ldap ldap_host:=$ldap_host ldap_dn:=$ldap_dn opt_filter:=$opt_filter db_type:=$db_type db_url:=$db_url db_login:=$db_login db_passwd:=$db_passwd app_login:=$app_login app_passwd:=$app_passwd tomcat_port:=$tomcat_port
+
+      if [ $db_type = "MySQL" ]; then
+	echo "Installation Complete."
+        echo "You now need to create the biomaj_log database on your MySQL server."
+        echo "The creation script is provided at /usr/share/biomaj/sql/mysql.sql."
+      fi
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+
+
+#DEBHELPER#

Deleted: trunk/packages/biomaj/tags/1.1.0-3/debian/rules
===================================================================
--- trunk/packages/biomaj/trunk/debian/rules	2011-07-10 22:30:45 UTC (rev 7239)
+++ trunk/packages/biomaj/tags/1.1.0-3/debian/rules	2011-07-12 11:48:13 UTC (rev 7259)
@@ -1,42 +0,0 @@
-#!/usr/bin/make -f
-# debian/rules for biomaj
-# Author: Olivier Sallou <olivier.sallou at irisa.fr>
-# License: CeCILL
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-export ANT_HOME=/usr/share/ant
-export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/
-
-%:
-	dh $@ --with javahelper
-
-override_dh_auto_build:
-	ant -f usr/share/biomaj/lib/vendor/commons-cli2.xml
-	cp usr/share/biomaj/lib/vendor/commons-cli2-build/dist/commons-cli-2.0-SNAPSHOT.jar usr/share/biomaj/lib/
-	ant -f usr/share/biomaj/lib/vendor/commons-cli2.xml clean
-	ant -f usr/share/biomaj/build.xml
-
-override_dh_clean:
-	dh_clean
-	if test -e usr/share/biomaj/lib/vendor/commons-cli2-build;then ant -f usr/share/biomaj/lib/vendor/commons-cli2.xml clean;fi;
-	rm -f usr/share/biomaj/lib/commons-cli-2.0-SNAPSHOT.jar
-	rm -rf usr/share/biomaj/build
-	rm -rf usr/share/biomaj/dist
-	rm -f usr/share/biomaj/lib/biomaj.jar
-
-override_dh_install:
-	# dh_install
-	dh_install --exclude=usr/share/biomaj/lib/vendor --exclude=usr/share/biomaj/build --exclude=usr/share/biomaj/dist usr/share/biomaj
-	dh_install usr/share/doc
-	dh_install usr/bin/biomaj
-	dh_install var/lib/biomaj
-	dh_install var/log/biomaj
-	dh_install etc/biomaj
-
-get-orig-source:
-	. debian/get-orig-source

Copied: trunk/packages/biomaj/tags/1.1.0-3/debian/rules (from rev 7242, trunk/packages/biomaj/trunk/debian/rules)
===================================================================
--- trunk/packages/biomaj/tags/1.1.0-3/debian/rules	                        (rev 0)
+++ trunk/packages/biomaj/tags/1.1.0-3/debian/rules	2011-07-12 11:48:13 UTC (rev 7259)
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+# debian/rules for biomaj
+# Author: Olivier Sallou <olivier.sallou at irisa.fr>
+# License: CeCILL
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+export ANT_HOME=/usr/share/ant
+#export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/
+JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
+
+%:
+	dh $@ --with javahelper
+
+override_dh_auto_build:
+	ant -f usr/share/biomaj/lib/vendor/commons-cli2.xml
+	cp usr/share/biomaj/lib/vendor/commons-cli2-build/dist/commons-cli-2.0-SNAPSHOT.jar usr/share/biomaj/lib/
+	ant -f usr/share/biomaj/lib/vendor/commons-cli2.xml clean
+	ant -f usr/share/biomaj/build.xml
+	javac -d usr/share/biomaj/bin usr/share/biomaj/bin/Configurator.java
+
+override_dh_clean:
+	dh_clean
+	if test -e usr/share/biomaj/lib/vendor/commons-cli2-build;then ant -f usr/share/biomaj/lib/vendor/commons-cli2.xml clean;fi;
+	rm -f usr/share/biomaj/lib/commons-cli-2.0-SNAPSHOT.jar
+	rm -rf usr/share/biomaj/build
+	rm -rf usr/share/biomaj/dist
+	rm -f usr/share/biomaj/lib/biomaj.jar
+	rm -f usr/share/biomaj/bin/*.class
+
+override_dh_install:
+	# dh_install
+	dh_install --exclude=usr/share/biomaj/lib/vendor --exclude=usr/share/biomaj/build --exclude=usr/share/biomaj/dist usr/share/biomaj
+	dh_install usr/share/doc
+	dh_install usr/bin/biomaj
+	dh_install var/lib/biomaj
+	dh_install var/log/biomaj
+	dh_install etc/biomaj
+
+get-orig-source:
+	. debian/get-orig-source




More information about the debian-med-commit mailing list