[pkg-java] r4915 - trunk/junit/debian
kumanna-guest at alioth.debian.org
kumanna-guest at alioth.debian.org
Fri Nov 30 07:19:41 UTC 2007
Author: kumanna-guest
Date: 2007-11-30 07:19:41 +0000 (Fri, 30 Nov 2007)
New Revision: 4915
Added:
trunk/junit/debian/README.Debian-source
trunk/junit/debian/orig-tar.sh
Modified:
trunk/junit/debian/changelog
trunk/junit/debian/watch
Log:
* debian/orig-tar.sh
+ Ease repackaging the junit zip by automatically,
removing class and jar files.
* Explain repackaging.
Added: trunk/junit/debian/README.Debian-source
===================================================================
--- trunk/junit/debian/README.Debian-source (rev 0)
+++ trunk/junit/debian/README.Debian-source 2007-11-30 07:19:41 UTC (rev 4915)
@@ -0,0 +1,10 @@
+JUnit for Debian
+----------------
+
+The upstream supplied tar.gz package contains prebuild libraries. So,
+the orig-tar.sh script is used to automate rebuilding the tarball.
+
+For step-by-step information on how the orig.tar.sh is obtained,
+please look at the orig-tar.sh present in this directory.
+
+ -- Kumar Appaiah <akumar at ee.iitm.ac.in>, Fri, 30 Nov 2007 12:50:43 +0530
Modified: trunk/junit/debian/changelog
===================================================================
--- trunk/junit/debian/changelog 2007-11-29 23:11:28 UTC (rev 4914)
+++ trunk/junit/debian/changelog 2007-11-30 07:19:41 UTC (rev 4915)
@@ -5,7 +5,11 @@
* debian/control:
+ Add Homepage field.
+ Add Vcs-Svn and Vcs-Browser.
-
+ * debian/orig-tar.sh
+ + Ease repackaging the junit zip by automatically,
+ removing class and jar files.
+ * Explain repackaging.
+
[ Michael Koch ]
* Put junit-doc into doc section.
Added: trunk/junit/debian/orig-tar.sh
===================================================================
--- trunk/junit/debian/orig-tar.sh (rev 0)
+++ trunk/junit/debian/orig-tar.sh 2007-11-30 07:19:41 UTC (rev 4915)
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DIR=junit-$2.orig
+TAR=../junit_$2.orig.tar.gz
+
+# clean up the upstream tarball
+unzip $3
+rm -f $3
+mv junit$2 $DIR
+GZIP=--best tar czf $TAR --exclude docs/api --exclude *.jar --exclude *.class $DIR
+rm -rf $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $3 $origDir
+ echo "moved $3 to $origDir"
+fi
+
+exit 0
Property changes on: trunk/junit/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/junit/debian/watch
===================================================================
--- trunk/junit/debian/watch 2007-11-29 23:11:28 UTC (rev 4914)
+++ trunk/junit/debian/watch 2007-11-30 07:19:41 UTC (rev 4915)
@@ -1,3 +1,3 @@
version=3
-http://sf.net/junit/junit(3\.[\d\.]*)\.zip
+http://sf.net/junit/junit(3\.[\d\.]*)\.zip debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list