[med-svn] r7482 - trunk/packages/biomaj/trunk/debian

olivier sallou osallou-guest at alioth.debian.org
Fri Aug 19 12:58:31 UTC 2011


Author: osallou-guest
Date: 2011-08-19 12:58:31 +0000 (Fri, 19 Aug 2011)
New Revision: 7482

Removed:
   trunk/packages/biomaj/trunk/debian/get-orig-source
Modified:
   trunk/packages/biomaj/trunk/debian/watch
Log:
manage via watch file

Deleted: trunk/packages/biomaj/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/biomaj/trunk/debian/get-orig-source	2011-08-19 12:57:45 UTC (rev 7481)
+++ trunk/packages/biomaj/trunk/debian/get-orig-source	2011-08-19 12:58:31 UTC (rev 7482)
@@ -1,92 +0,0 @@
-#!/bin/bash -e
-
-#biomaj version
-export BMAJVERSION="1.2.0"
-
-svn export svn://scm.gforge.inria.fr/svn/biomaj/trunk/biomaj_deb
-rmdir biomaj_deb/usr/share/biomaj/apache-tomcat-6.0.24
-
-svn export svn://scm.gforge.inria.fr/svn/biomaj/biomaj_dev BioMAJ-$BMAJVERSION
-chmod 755 BioMAJ-$BMAJVERSION/bin/*
-cp -R BioMAJ-$BMAJVERSION/bin/* biomaj_deb/usr/share/biomaj/bin/
-mkdir -p biomaj_deb/usr/share/doc/biomaj
-cp -R BioMAJ-$BMAJVERSION/doc/UsersGuide_BioMAJ_EN.pdf biomaj_deb/usr/share/doc/biomaj/
-cp -R BioMAJ-$BMAJVERSION/doc/UsersGuide_BioMAJ_FR.pdf biomaj_deb/usr/share/doc/biomaj/
-cp -R BioMAJ-$BMAJVERSION/doc/UsersGuide_BioMAJ_EN.odt biomaj_deb/usr/share/doc/biomaj/
-cp -R BioMAJ-$BMAJVERSION/doc/UsersGuide_BioMAJ_FR.odt biomaj_deb/usr/share/doc/biomaj/
-
-cp BioMAJ-$BMAJVERSION/console_help.txt biomaj_deb/usr/share/biomaj/
-
-if [ -e biomaj_deb/usr/share/biomaj/lib/biomaj.jar ]
-then
-rm biomaj_deb/usr/share/biomaj/lib/biomaj.jar
-fi
-echo "Copy files..."
-cp -R BioMAJ-$BMAJVERSION/src/* biomaj_deb/usr/share/biomaj/src/
-cp -R BioMAJ-$BMAJVERSION/sql/* biomaj_deb/usr/share/biomaj/sql/
-mkdir -p biomaj_deb/var/lib/biomaj/
-chmod 755 biomaj_deb/usr/share/biomaj/sql/migration/*.pl
-mv biomaj_deb/usr/share/biomaj/sql/migration biomaj_deb/var/lib/biomaj/
-cp -R BioMAJ-$BMAJVERSION/workflows/* biomaj_deb/usr/share/biomaj/workflows/
-cp -R BioMAJ-$BMAJVERSION/xslt/* biomaj_deb/usr/share/biomaj/xslt/
-cp BioMAJ-$BMAJVERSION/*.* biomaj_deb/usr/share/biomaj/
-cp BioMAJ-$BMAJVERSION/License* biomaj_deb/usr/share/biomaj/
-cp BioMAJ-$BMAJVERSION/MANIFEST biomaj_deb/usr/share/biomaj/
-cp BioMAJ-$BMAJVERSION/README biomaj_deb/usr/share/biomaj/
-cp BioMAJ-$BMAJVERSION/RELEASE biomaj_deb/usr/share/biomaj/
-cp BioMAJ-$BMAJVERSION/TODO biomaj_deb/usr/share/biomaj/
-
-echo "Delete unnecessary files"
-
-#rm -f  biomaj_deb/usr/share/biomaj/general.conf
-rm -rf biomaj_deb/usr/share/biomaj/xslt/css
-rm -rf biomaj_deb/usr/share/biomaj/doc
-
-echo "Update configuration"
-sed -i 's/$BIOMAJ_ROOT=$Bin\."\/\.\.\/\.\."/$BIOMAJ_ROOT="\/usr\/share\/biomaj"/'  biomaj_deb/var/lib/biomaj/migration/update.pl
-cp -R BioMAJ-$BMAJVERSION/conf/* biomaj_deb/etc/biomaj/
-mkdir -p biomaj_deb/usr/share/biomaj/examples/db_properties
-mv biomaj_deb/etc/biomaj/db_properties/workflow_withprocess biomaj_deb/usr/share/biomaj/examples/db_properties/
-mv biomaj_deb/etc/biomaj/db_properties/workflow_without_process biomaj_deb/usr/share/biomaj/examples/db_properties/
-sed 's/data.dir=/data.dir=\/var\/lib\/biomaj\//' biomaj_deb/etc/biomaj/db_properties/global.properties > biomaj_deb/etc/biomaj/db_properties/global.properties.tmp
-mv biomaj_deb/etc/biomaj/db_properties/global.properties.tmp biomaj_deb/etc/biomaj/db_properties/global.properties
-mkdir -p biomaj_deb/etc/biomaj/db_properties/admin
-# put banks
-mv biomaj_deb/etc/biomaj/db_properties/alu.properties biomaj_deb/etc/biomaj/db_properties/admin/
-mv biomaj_deb/etc/biomaj/db_properties/sts.properties biomaj_deb/etc/biomaj/db_properties/admin/
-
-
-mv biomaj_deb/etc/biomaj/process/* biomaj_deb/usr/share/biomaj/conf/process/
-mv biomaj_deb/usr/share/biomaj/conf/process/unix_command_system.cfg biomaj_deb/etc/biomaj/
-rmdir biomaj_deb/etc/biomaj/process
-
-echo "Updating file rights"
-#chmod 644 biomaj_deb/usr/share/biomaj/lib/*.jar
-chmod 644 biomaj_deb/usr/share/biomaj/src/org/inria/biomaj/sql/*.java
-chmod 644 biomaj_deb/usr/share/biomaj/src/org/inria/biomaj/internal/ant/task/net/test/*.java
-chmod 644 biomaj_deb/usr/share/biomaj/src/org/inria/biomaj/internal/ant/task/net/*.java
-chmod 644 biomaj_deb/usr/share/biomaj/sql/*.sql
-chmod 644 biomaj_deb/usr/share/biomaj/bin/*.java
-
-#mv  biomaj_deb/DEBIAN biomaj_deb/debian
-#chmod 644 biomaj_deb/debian/control
-#rm biomaj_deb/debian/conffiles
-#rm biomaj_deb/debian/fichier
-
-echo "Update debian build file"
-mv biomaj_deb/usr/share/biomaj/build.xml_deb biomaj_deb/usr/share/biomaj/build.xml
-
-echo "Removing temporary directories"
-rm -rf BioMAJ-$BMAJVERSION
-
-mv biomaj_deb biomaj_$BMAJVERSION
-
-
-#cd biomaj-1.1.0
-GZIP="--best --no-name" tar --exclude biomaj_$BMAJVERSION/DEBIAN -cvzf  biomaj_$BMAJVERSION.orig.tar.gz biomaj_$BMAJVERSION
-
-rm -rf biomaj_$BMAJVERSION
-
-#dpkg-buildpackage
-#cd ..
-#lintian -i -I --show-overrides  biomaj_1.1.0-1_amd64.changes

Modified: trunk/packages/biomaj/trunk/debian/watch
===================================================================
--- trunk/packages/biomaj/trunk/debian/watch	2011-08-19 12:57:45 UTC (rev 7481)
+++ trunk/packages/biomaj/trunk/debian/watch	2011-08-19 12:58:31 UTC (rev 7482)
@@ -1,2 +1,2 @@
 version=3
-https://gforge.inria.fr/frs/?group_id=369 .*/biomaj_(\d[\d.-]+)\.orig.(?:tar(?:\.gz|\.bz2)?|tgz|zip)
+http://biomaj.gforge.inria.fr/download.php .*/biomaj_(\d[\d.-]+)\.orig.(?:tar(?:\.gz|\.bz2)?|tgz|zip)




More information about the debian-med-commit mailing list