[pkg-java] r16792 - in trunk/clirr/debian: . wrappers

Emmanuel Bourg ebourg-guest at alioth.debian.org
Fri May 31 14:58:36 UTC 2013


Author: ebourg-guest
Date: 2013-05-31 14:58:35 +0000 (Fri, 31 May 2013)
New Revision: 16792

Added:
   trunk/clirr/debian/wrappers/
   trunk/clirr/debian/wrappers/clirr
Modified:
   trunk/clirr/debian/changelog
   trunk/clirr/debian/control
   trunk/clirr/debian/rules
Log:
Added a wrapper to call Clirr from the command line



Modified: trunk/clirr/debian/changelog
===================================================================
--- trunk/clirr/debian/changelog	2013-05-31 14:06:02 UTC (rev 16791)
+++ trunk/clirr/debian/changelog	2013-05-31 14:58:35 UTC (rev 16792)
@@ -1,11 +1,16 @@
 clirr (0.6-4) UNRELEASED; urgency=low
 
+  [ Miguel Landaeta ]
   * Team upload.
   * Use public access URL in Vcs-Svn field. (Closes: #669256).
-  * Bump Standards-Version to 3.9.3. No changes were required.
   * Fix binary-control-field-duplicates-source field "section" lintian warning.
   * Fix several lintian warnings in copyright file.
 
+  [ Emmanuel Bourg ]
+  * Updated Standards-Version to 3.9.4
+  * Added a wrapper to call Clirr from the command line
+  * debian/rules: Improved the clean target
+
  -- Miguel Landaeta <miguel at miguel.cc>  Fri, 27 Apr 2012 19:18:13 -0430
 
 clirr (0.6-3) unstable; urgency=low

Modified: trunk/clirr/debian/control
===================================================================
--- trunk/clirr/debian/control	2013-05-31 14:06:02 UTC (rev 16791)
+++ trunk/clirr/debian/control	2013-05-31 14:58:35 UTC (rev 16792)
@@ -2,17 +2,18 @@
 Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Ludovic Claude <ludovic.claude at laposte.net>
+Uploaders: Ludovic Claude <ludovic.claude at laposte.net>, Emmanuel Bourg <ebourg at apache.org>
 Homepage: http://clirr.sourceforge.net/
 Build-Depends: debhelper (>= 7), cdbs, default-jdk, ant, ant-optional, maven-ant-helper
 Build-Depends-Indep: maven-repo-helper, libbcel-java, libcommons-cli-java, libcommons-lang-java
-Standards-Version: 3.9.3
+Standards-Version: 3.9.4
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/clirr
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/clirr/
 
 Package: clirr
 Architecture: all
-Depends: ${misc:Depends}, libbcel-java, libcommons-cli-java, libcommons-lang-java
+Depends: ${misc:Depends}, default-jre | java6-runtime, libbcel-java, libcommons-cli-java,
+ libcommons-lang-java, java-wrappers
 Recommends: ant
 Description: Checks Java libraries for compatibility with older releases
  Clirr is a tool that checks Java libraries for binary and source 

Modified: trunk/clirr/debian/rules
===================================================================
--- trunk/clirr/debian/rules	2013-05-31 14:06:02 UTC (rev 16791)
+++ trunk/clirr/debian/rules	2013-05-31 14:58:35 UTC (rev 16792)
@@ -17,10 +17,13 @@
 binary-post-install/$(PACKAGE)::
 	mh_installpoms -p$(PACKAGE)
 	mh_installjar -p$(PACKAGE) -l --usj-name=clirr debian/pom.xml build/clirr-core-$(VERSION).jar
+	mkdir -p debian/$(PACKAGE)/usr/share/clirr
+	install -m 755 debian/wrappers/clirr debian/$(PACKAGE)/usr/share/clirr
+	dh_link -p$(PACKAGE) usr/share/clirr/clirr usr/bin/clirr
 
 clean::
+	mh_clean
 	-rm -rf debian/tmp
 
 get-orig-pom:
 	wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/net/sf/clirr/clirr-core/$(VERSION)/clirr-core-$(VERSION).pom
-

Added: trunk/clirr/debian/wrappers/clirr
===================================================================
--- trunk/clirr/debian/wrappers/clirr	                        (rev 0)
+++ trunk/clirr/debian/wrappers/clirr	2013-05-31 14:58:35 UTC (rev 16792)
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Include the wrappers utility script
+. /usr/lib/java-wrappers/java-wrappers.sh
+
+find_java_runtime
+
+JAVA_CLASSPATH=/usr/share/java/clirr.jar:/usr/share/java/commons-cli.jar:/usr/share/java/commons-lang.jar:/usr/share/java/bcel.jar
+
+run_java net.sf.clirr.cli.Clirr "$@"




More information about the pkg-java-commits mailing list