[pkg-java] r4282 - trunk/libpixie-java/debian
rene at alioth.debian.org
rene at alioth.debian.org
Wed Sep 26 23:33:55 UTC 2007
Author: rene
Date: 2007-09-26 23:33:54 +0000 (Wed, 26 Sep 2007)
New Revision: 4282
Added:
trunk/libpixie-java/debian/orig-tar.sh
trunk/libpixie-java/debian/watch
Modified:
trunk/libpixie-java/debian/changelog
trunk/libpixie-java/debian/rules
Log:
add add watch file and orig-tar.sh; use DEB_UPSTREAM_VERSION
Modified: trunk/libpixie-java/debian/changelog
===================================================================
--- trunk/libpixie-java/debian/changelog 2007-09-26 23:32:18 UTC (rev 4281)
+++ trunk/libpixie-java/debian/changelog 2007-09-26 23:33:54 UTC (rev 4282)
@@ -3,6 +3,7 @@
* New upstream release
* move to main
* add myself to Uploaders:, remove Wolfgang
+ * add watch file and orig-tar.sh, thanks Kumar Appaiah
-- Rene Engelhard <rene at debian.org> Thu, 30 Aug 2007 12:52:52 +0200
Added: trunk/libpixie-java/debian/orig-tar.sh
===================================================================
--- trunk/libpixie-java/debian/orig-tar.sh (rev 0)
+++ trunk/libpixie-java/debian/orig-tar.sh 2007-09-26 23:33:54 UTC (rev 4282)
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=../pixie-$2.tar.gz
+DIR=libpixie-java-$2.orig
+
+# clean up the upstream tarball
+mv $TAR $3
+tar zxf $3
+mv pixie-$2 $DIR
+GZIP=--best tar czf $3 --exclude '*jar' --exclude 'lib/*' $DIR
+rm -rf $TAR $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
Modified: trunk/libpixie-java/debian/rules
===================================================================
--- trunk/libpixie-java/debian/rules 2007-09-26 23:32:18 UTC (rev 4281)
+++ trunk/libpixie-java/debian/rules 2007-09-26 23:33:54 UTC (rev 4282)
@@ -12,13 +12,11 @@
DEB_ANT_BUILDFILE := build.xml
DEB_ANT_BUILD_TARGET := compile javadoc
-VERSION := 0.8.7
-
clean::
-rm -rf build
-rm -rf javadoc
-rm -f pixie.jar lib/*
install/libpixie-java::
- install -m 644 pixie.jar debian/libpixie-java/usr/share/java/pixie-$(VERSION).jar
- ln -s pixie-$(VERSION).jar debian/libpixie-java/usr/share/java/pixie.jar
+ install -m 644 pixie.jar debian/libpixie-java/usr/share/java/pixie-$(DEB_UPSTREAM_VERSION).jar
+ ln -s pixie-$(DEB_UPSTREAM_VERSION).jar debian/libpixie-java/usr/share/java/pixie.jar
Added: trunk/libpixie-java/debian/watch
===================================================================
--- trunk/libpixie-java/debian/watch (rev 0)
+++ trunk/libpixie-java/debian/watch 2007-09-26 23:33:54 UTC (rev 4282)
@@ -0,0 +1,4 @@
+version=3
+http://sf.net/jfreereport/ \
+ pixie-(.*)\.tar\.gz debian debian/orig-tar.sh
+
More information about the pkg-java-commits
mailing list