[pkg-java] r4820 - trunk/libjcip-annotations-java/debian
twerner at alioth.debian.org
twerner at alioth.debian.org
Fri Nov 23 21:55:05 UTC 2007
Author: twerner
Date: 2007-11-23 21:55:05 +0000 (Fri, 23 Nov 2007)
New Revision: 4820
Added:
trunk/libjcip-annotations-java/debian/orig-tar.sh
Modified:
trunk/libjcip-annotations-java/debian/changelog
trunk/libjcip-annotations-java/debian/control
trunk/libjcip-annotations-java/debian/rules
Log:
* implement get-orig-source in debian/rules
* switch to date based version number
Modified: trunk/libjcip-annotations-java/debian/changelog
===================================================================
--- trunk/libjcip-annotations-java/debian/changelog 2007-11-23 21:52:34 UTC (rev 4819)
+++ trunk/libjcip-annotations-java/debian/changelog 2007-11-23 21:55:05 UTC (rev 4820)
@@ -1,4 +1,4 @@
-libjcip-annotations-java (1.0-1) unstable; urgency=low
+libjcip-annotations-java (20060626-1) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
Modified: trunk/libjcip-annotations-java/debian/control
===================================================================
--- trunk/libjcip-annotations-java/debian/control 2007-11-23 21:52:34 UTC (rev 4819)
+++ trunk/libjcip-annotations-java/debian/control 2007-11-23 21:55:05 UTC (rev 4820)
@@ -1,7 +1,9 @@
Source: libjcip-annotations-java
-Section: contrib/libs
+Section: non-free/libs
Priority: extra
-Maintainer: Rafal Lewczuk <rafal.lewczuk at gmail.com>
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Rafal Lewczuk <rafal.lewczuk at gmail.com>,
+ Torsten Werner <twerner at debian.org>
Build-Depends: cdbs, debhelper (>= 5)
Build-Depends-Indep: ant, java-gcj-compat-dev
Standards-Version: 3.7.2
Added: trunk/libjcip-annotations-java/debian/orig-tar.sh
===================================================================
--- trunk/libjcip-annotations-java/debian/orig-tar.sh (rev 0)
+++ trunk/libjcip-annotations-java/debian/orig-tar.sh 2007-11-23 21:55:05 UTC (rev 4820)
@@ -0,0 +1,25 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+
+VERSION=$(dpkg-parsechangelog | sed -ne 's,^Version: \(.*\)-.*,\1,p')
+SOURCE=$(dpkg-parsechangelog | sed -ne 's,Source: \(.*\),\1,p')
+JAR=jcip-annotations-src.jar
+DIR=jcip-annotations-$VERSION
+TAR=../${SOURCE}_${VERSION}.orig.tar.gz
+
+wget http://www.jcip.net/$JAR
+
+# clean up the upstream tarball
+mkdir $DIR
+(cd $DIR && jar -x -f ../$JAR)
+tar -c -z -f $TAR $DIR
+rm -rf $JAR $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
+
Property changes on: trunk/libjcip-annotations-java/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/libjcip-annotations-java/debian/rules
===================================================================
--- trunk/libjcip-annotations-java/debian/rules 2007-11-23 21:52:34 UTC (rev 4819)
+++ trunk/libjcip-annotations-java/debian/rules 2007-11-23 21:55:05 UTC (rev 4820)
@@ -12,3 +12,7 @@
install/libjcip-annotations-java::
install -m 644 -D dist/jcip.jar $(DEB_DESTDIR)/usr/share/java/jcip-$(DEB_UPSTREAM_VERSION).jar
dh_link /usr/share/java/jcip-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jcip.jar
+
+get-orig-source:
+ sh debian/orig-tar.sh
+
More information about the pkg-java-commits
mailing list