[pkg-java] r15996 - trunk/libjbib2-java/debian
Olivier Sallou
osallou at alioth.debian.org
Wed Apr 25 09:41:39 UTC 2012
Author: osallou
Date: 2012-04-25 09:41:39 +0000 (Wed, 25 Apr 2012)
New Revision: 15996
Added:
trunk/libjbib2-java/debian/libjbzip2-java.jlibs
Modified:
trunk/libjbib2-java/debian/changelog
trunk/libjbib2-java/debian/control
trunk/libjbib2-java/debian/rules
Log:
Use javahelper and add commands to build the jar
Modified: trunk/libjbib2-java/debian/changelog
===================================================================
--- trunk/libjbib2-java/debian/changelog 2012-04-25 09:38:58 UTC (rev 15995)
+++ trunk/libjbib2-java/debian/changelog 2012-04-25 09:41:39 UTC (rev 15996)
@@ -1,5 +1,9 @@
libjbzip2-java (0.9.1-1) unstable; urgency=low
* Initial release (Closes: #670314).
+ [ Olivier Sallou <osallou.debian.org> ]
+ - debian/rules: use javahelper, add compilation commands
+ - debian/control: use javahelper
+ - debian/libjbzip2-java.jlibs: use javahelper
-- Steffen Moeller <moeller at debian.org> Tue, 24 Apr 2012 21:08:28 +0200
Modified: trunk/libjbib2-java/debian/control
===================================================================
--- trunk/libjbib2-java/debian/control 2012-04-25 09:38:58 UTC (rev 15995)
+++ trunk/libjbib2-java/debian/control 2012-04-25 09:41:39 UTC (rev 15996)
@@ -2,8 +2,8 @@
Section: java
Priority: extra
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Steffen Moeller <moeller at debian.org>
-Build-Depends: debhelper (>= 8.0.0), default-jdk
+Uploaders: Steffen Moeller <moeller at debian.org>, Olivier Sallou <osallou at debian.org>
+Build-Depends: debhelper (>= 8.0.0), default-jdk, javahelper (>=0.25)
Standards-Version: 3.9.3
Homepage: http://jbzip2.googlecode.com
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjbib2-java
Added: trunk/libjbib2-java/debian/libjbzip2-java.jlibs
===================================================================
--- trunk/libjbib2-java/debian/libjbzip2-java.jlibs (rev 0)
+++ trunk/libjbib2-java/debian/libjbzip2-java.jlibs 2012-04-25 09:41:39 UTC (rev 15996)
@@ -0,0 +1 @@
+jbzip2.jar
Modified: trunk/libjbib2-java/debian/rules
===================================================================
--- trunk/libjbib2-java/debian/rules 2012-04-25 09:38:58 UTC (rev 15995)
+++ trunk/libjbib2-java/debian/rules 2012-04-25 09:41:39 UTC (rev 15996)
@@ -1,19 +1,24 @@
#!/usr/bin/make -f
# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
- dh $@
+ dh $@ --with javahelper
+override_dh_auto_build:
+ mkdir -p build/org/itadaki/bzip2
+ javac -d build src/org/itadaki/bzip2/*.java
+ cd build && jar cvf ../jbzip2.jar *
+
+override_dh_clean:
+ dh_clean
+ rm -f jbzip2.jar
+ rm -rf build
+
get-orig-source:
svn co http://jbzip2.googlecode.com/svn/tags/release-0.9.1/ libbzip2-java-0.9.1
find libbzip2-java-0.9.1 -name .svn | xargs -r rm -r
- GZIP=-9n tar czvf libbzip2-java_0.9.1 libbzip2-java-0.9.1
+ GZIP=-9n tar czvf libbzip2-java_0.9.1.tar.gz libbzip2-java-0.9.1
rm -rf libbzip2-java-0.9.1
More information about the pkg-java-commits
mailing list