liblastfm-java (7.3-1) debian-dir only changes

Summary

 debian/ant.properties |    5 +++++
 debian/build.xml      |   35 +++++++++++++++++++++++++++++++++++
 debian/changelog      |   12 ++++++++++++
 debian/compat         |    1 +
 debian/control        |   20 ++++++++++++++++++++
 debian/copyright      |   41 +++++++++++++++++++++++++++++++++++++++++
 debian/docs           |    1 +
 debian/orig-tar.sh    |   18 ++++++++++++++++++
 debian/rules          |   15 +++++++++++++++
 debian/watch          |    3 +++
 10 files changed, 151 insertions(+)

    
download this patch

Patch contents

--- liblastfm-java-7.3.orig/debian/watch
+++ liblastfm-java-7.3/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://code.google.com/p/lastfm-java/downloads/list\
+	http://lastfm-java.googlecode.com/files/last.fm-bindings-(.*)\.zip debian debian/orig-tar.sh
--- liblastfm-java-7.3.orig/debian/docs
+++ liblastfm-java-7.3/debian/docs
@@ -0,0 +1 @@
+apidocs
--- liblastfm-java-7.3.orig/debian/control
+++ liblastfm-java-7.3/debian/control
@@ -0,0 +1,20 @@
+Source: liblastfm-java
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: Varun Hiremath <varun@debian.org>, Torsten Werner <twerner@debian.org>
+Build-Depends: cdbs, debhelper (>= 7)
+Build-Depends-Indep: ant, openjdk-6-jdk
+Standards-Version: 3.8.2
+Homepage: http://code.google.com/p/lastfm-java/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/liblastfm-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/liblastfm-java
+
+Package: liblastfm-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, default-jre | java2-runtime
+Description: last.fm API bindings for Java
+ The last.fm API bindings for java are a wrapper for the new last.fm
+ API and the last.fm submission service. It provides classes and
+ methods to invoke last.fm API methods as well as scrobbling songs and
+ streaming radio from within Java applications.
--- liblastfm-java-7.3.orig/debian/copyright
+++ liblastfm-java-7.3/debian/copyright
@@ -0,0 +1,41 @@
+This package was debianized by Varun Hiremath <varun@debian.org> on
+Tue, 16 Jun 2009 16:26:12 -0400.
+
+It was downloaded from http://code.google.com/p/lastfm-java/
+
+Upstream Authors: Janni Kovacs
+
+Copyright: © 2009, Janni Kovacs
+
+License: BSD
+
+  Redistribution and use of this software in source and binary forms,
+  with or without modification, are permitted provided that the
+  following conditions are met:
+
+  * Redistributions of source code must retain the above
+    copyright notice, this list of conditions and the
+    following disclaimer.
+
+  * Redistributions in binary form must reproduce the above
+    copyright notice, this list of conditions and the
+    following disclaimer in the documentation and/or other
+    materials provided with the distribution.
+
+  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+  On Debian GNU/Linux system you can find the complete text of the
+  BSD license in `/usr/share/common-licenses/BSD'
+
+The Debian packaging is © 2009, Varun Hiremath <varun@debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- liblastfm-java-7.3.orig/debian/changelog
+++ liblastfm-java-7.3/debian/changelog
@@ -0,0 +1,12 @@
+liblastfm-java (7.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Bump Standards-Version to 3.8.2
+
+ -- Varun Hiremath <varun@debian.org>  Thu, 06 Aug 2009 23:28:15 -0400
+
+liblastfm-java (5.21-1) unstable; urgency=low
+
+  * Initial release (Closes: #533366)
+
+ -- Varun Hiremath <varun@debian.org>  Tue, 16 Jun 2009 17:39:14 -0400
--- liblastfm-java-7.3.orig/debian/orig-tar.sh
+++ liblastfm-java-7.3/debian/orig-tar.sh
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=../liblastfm-java_$2.orig.tar.gz
+DIR=liblastfm-java-$2.orig
+
+# clean up the upstream tarball
+mkdir $DIR
+(cd $DIR; unzip ../$3)
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude 'doc*' $DIR
+rm -rf $3 $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi
--- liblastfm-java-7.3.orig/debian/ant.properties
+++ liblastfm-java-7.3/debian/ant.properties
@@ -0,0 +1,5 @@
+project.name=lastfm
+class.dir=classes
+source.dir=src
+doc.dir=apidocs
+jar.name=lastfm.jar
--- liblastfm-java-7.3.orig/debian/compat
+++ liblastfm-java-7.3/debian/compat
@@ -0,0 +1 @@
+7
--- liblastfm-java-7.3.orig/debian/rules
+++ liblastfm-java-7.3/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+JAVA_HOME 		:= /usr/lib/jvm/java-6-openjdk
+DEB_ANT_BUILD_TARGET	:= jar javadoc
+DEB_ANT_BUILDFILE	:= debian/build.xml
+
+install/liblastfm-java::
+	install -m 644 -D lastfm.jar $(DEB_DESTDIR)/usr/share/java/lastfm-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/lastfm-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/lastfm.jar
+
+get-orig-source:
+	-uscan --upstream-version 0	
--- liblastfm-java-7.3.orig/debian/build.xml
+++ liblastfm-java-7.3/debian/build.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<project default="jar" name="${project.name}" basedir="..">
+  <patternset id="compiler.resources">
+    <include name="**/?*.properties" />
+  </patternset>
+
+  <target name="clean">
+    <delete dir="${class.dir}" quiet="true" />
+    <delete file="${jar.name}" quiet="true" />
+    <delete dir="${doc.dir}" quiet="true" />
+  </target>
+
+  <target name="compile">
+    <mkdir dir="${class.dir}" />
+    <javac srcdir="${source.dir}" destdir="${class.dir}"
+	   debug="true" source="1.5"/>
+    <copy todir="${class.dir}">
+      <fileset dir="${source.dir}">
+        <patternset refid="compiler.resources" />
+      </fileset>
+    </copy>
+  </target>
+
+  <target name="jar" description="o Create the jar" depends="compile">
+    <jar jarfile="${jar.name}" basedir="${class.dir}" excludes="test/**/*"/>
+  </target>
+
+  <target name="javadoc" description="Creates Javadoc documentation">
+    <mkdir dir="${doc.dir}" />
+    <javadoc packagenames="*" sourcepath="${source.dir}"
+    destdir="${doc.dir}" excludepackagenames="examples, test"/>
+  </target>
+
+</project>