[pkg-java] r8506 - in trunk: . liblastfm-java liblastfm-java/debian

Varun Hiremath varun at alioth.debian.org
Tue Jun 16 21:45:26 UTC 2009


Author: varun
Date: 2009-06-16 21:45:26 +0000 (Tue, 16 Jun 2009)
New Revision: 8506

Added:
   trunk/liblastfm-java/
   trunk/liblastfm-java/debian/
   trunk/liblastfm-java/debian/ant.properties
   trunk/liblastfm-java/debian/build.xml
   trunk/liblastfm-java/debian/changelog
   trunk/liblastfm-java/debian/compat
   trunk/liblastfm-java/debian/control
   trunk/liblastfm-java/debian/copyright
   trunk/liblastfm-java/debian/docs
   trunk/liblastfm-java/debian/orig-tar.sh
   trunk/liblastfm-java/debian/rules
   trunk/liblastfm-java/debian/watch
Log:
* New package liblastfm-java.




Property changes on: trunk/liblastfm-java/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/liblastfm-java/debian/ant.properties
===================================================================
--- trunk/liblastfm-java/debian/ant.properties	                        (rev 0)
+++ trunk/liblastfm-java/debian/ant.properties	2009-06-16 21:45:26 UTC (rev 8506)
@@ -0,0 +1,5 @@
+project.name=lastfm
+class.dir=classes
+source.dir=src
+doc.dir=apidocs
+jar.name=lastfm.jar


Property changes on: trunk/liblastfm-java/debian/ant.properties
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/liblastfm-java/debian/build.xml
===================================================================
--- trunk/liblastfm-java/debian/build.xml	                        (rev 0)
+++ trunk/liblastfm-java/debian/build.xml	2009-06-16 21:45:26 UTC (rev 8506)
@@ -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>


Property changes on: trunk/liblastfm-java/debian/build.xml
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/liblastfm-java/debian/changelog
===================================================================
--- trunk/liblastfm-java/debian/changelog	                        (rev 0)
+++ trunk/liblastfm-java/debian/changelog	2009-06-16 21:45:26 UTC (rev 8506)
@@ -0,0 +1,5 @@
+liblastfm-java (5.21-1) unstable; urgency=low
+
+  * Initial release (Closes: #533366)
+
+ -- Varun Hiremath <varun at debian.org>  Tue, 16 Jun 2009 17:39:14 -0400

Added: trunk/liblastfm-java/debian/compat
===================================================================
--- trunk/liblastfm-java/debian/compat	                        (rev 0)
+++ trunk/liblastfm-java/debian/compat	2009-06-16 21:45:26 UTC (rev 8506)
@@ -0,0 +1 @@
+7

Added: trunk/liblastfm-java/debian/control
===================================================================
--- trunk/liblastfm-java/debian/control	                        (rev 0)
+++ trunk/liblastfm-java/debian/control	2009-06-16 21:45:26 UTC (rev 8506)
@@ -0,0 +1,20 @@
+Source: liblastfm-java
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Varun Hiremath <varun at debian.org>, Torsten Werner <twerner at debian.org>
+Build-Depends: cdbs, debhelper (>= 7)
+Build-Depends-Indep: ant, openjdk-6-jdk
+Standards-Version: 3.8.1
+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.

Added: trunk/liblastfm-java/debian/copyright
===================================================================
--- trunk/liblastfm-java/debian/copyright	                        (rev 0)
+++ trunk/liblastfm-java/debian/copyright	2009-06-16 21:45:26 UTC (rev 8506)
@@ -0,0 +1,41 @@
+This package was debianized by Varun Hiremath <varun at 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 at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: trunk/liblastfm-java/debian/docs
===================================================================
--- trunk/liblastfm-java/debian/docs	                        (rev 0)
+++ trunk/liblastfm-java/debian/docs	2009-06-16 21:45:26 UTC (rev 8506)
@@ -0,0 +1 @@
+apidocs

Added: trunk/liblastfm-java/debian/orig-tar.sh
===================================================================
--- trunk/liblastfm-java/debian/orig-tar.sh	                        (rev 0)
+++ trunk/liblastfm-java/debian/orig-tar.sh	2009-06-16 21:45:26 UTC (rev 8506)
@@ -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


Property changes on: trunk/liblastfm-java/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/liblastfm-java/debian/rules
===================================================================
--- trunk/liblastfm-java/debian/rules	                        (rev 0)
+++ trunk/liblastfm-java/debian/rules	2009-06-16 21:45:26 UTC (rev 8506)
@@ -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	


Property changes on: trunk/liblastfm-java/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/liblastfm-java/debian/watch
===================================================================
--- trunk/liblastfm-java/debian/watch	                        (rev 0)
+++ trunk/liblastfm-java/debian/watch	2009-06-16 21:45:26 UTC (rev 8506)
@@ -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




More information about the pkg-java-commits mailing list