kunststoff (2.0.2-4) debian-dir only changes

Summary

 debian/README.Debian-source |   13 +++++++++++++
 debian/ant.properties       |    3 +++
 debian/build.xml            |   27 +++++++++++++++++++++++++++
 debian/changelog            |   35 +++++++++++++++++++++++++++++++++++
 debian/compat               |    1 +
 debian/control              |   19 +++++++++++++++++++
 debian/copyright            |   30 ++++++++++++++++++++++++++++++
 debian/orig-tar.sh          |   19 +++++++++++++++++++
 debian/rules                |   16 ++++++++++++++++
 debian/watch                |    4 ++++
 10 files changed, 167 insertions(+)

    
download this patch

Patch contents

--- kunststoff-2.0.2.orig/debian/changelog
+++ kunststoff-2.0.2/debian/changelog
@@ -0,0 +1,35 @@
+kunststoff (2.0.2-4) unstable; urgency=low
+
+  * Move the package to pkg-java svn.
+  * debian/control:
+    + Set Priority to optional from extra
+    + Set Maintainer to Debian Java Maintainers and add myself to Uploaders
+  * Move the build scripts to debian dir.
+  * Remove the hard coded version from ant.properties and install the
+    versioned jar from debian/rules.
+  * Bump up Standards-Version to 3.7.3
+
+ -- Varun Hiremath <varun@debian.org>  Sun, 13 Jan 2008 00:44:26 +0530
+
+kunststoff (2.0.2-3) unstable; urgency=low
+
+  [ Varun Hiremath ]
+  * Add debian/README.Debian-source file.
+  * debian/control: add XS-Vcs-{Svn,Browser} headers.
+
+  [ Torsten Werner ]
+  * Switch to java-gcj-compat-dev from kaffe.
+
+ -- Torsten Werner <twerner@debian.org>  Sat, 06 Oct 2007 00:29:07 +0200
+
+kunststoff (2.0.2-2) unstable; urgency=low
+
+  * Change architecture to all. (Closes: #423844)
+
+ -- Torsten Werner <twerner@debian.org>  Mon, 14 May 2007 20:24:15 +0200
+
+kunststoff (2.0.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #422337)
+
+ -- Varun Hiremath <varunhiremath@gmail.com>  Fri,  4 May 2007 18:57:24 +0530
--- kunststoff-2.0.2.orig/debian/control
+++ kunststoff-2.0.2/debian/control
@@ -0,0 +1,19 @@
+Source: kunststoff
+Section: utils
+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 (>= 5)
+Build-Depends-Indep: ant, java-gcj-compat-dev
+Standards-Version: 3.7.3
+Homepage: http://www.incors.org/archive/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/kunststoff
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/kunststoff
+
+Package: kunststoff
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: suite of skins for different applications
+ The Kunststoff Look & Feel is a completely free Look & Feel for Java
+ Swing applications. It supports many widgets (e.g JInnerFrame,
+ JProgressBar, JToolBar) and provides customizable gradient colors.
--- kunststoff-2.0.2.orig/debian/compat
+++ kunststoff-2.0.2/debian/compat
@@ -0,0 +1 @@
+5
--- kunststoff-2.0.2.orig/debian/watch
+++ kunststoff-2.0.2/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=uversionmangle=s/\_/\./g \
+http://www.incors.org/archive/ kunststoff-(.*)\.zip \
+debian debian/orig-tar.sh
--- kunststoff-2.0.2.orig/debian/ant.properties
+++ kunststoff-2.0.2/debian/ant.properties
@@ -0,0 +1,3 @@
+class.dir=class
+source.dir=src
+jar.name=kunststoff.jar
--- kunststoff-2.0.2.orig/debian/copyright
+++ kunststoff-2.0.2/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Varun Hiremath <varunhiremath@gmail.com> on
+Fri,  4 May 2007 18:57:24 +0530.
+
+It was downloaded from http://www.incors.org/archive/
+
+Upstream Author: INCORS GmbH (www.incors.com)
+
+Copyright: (C) 2002 INCORS GmbH (www.incors.com)
+
+License:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is (C) 2007, Varun Hiremath <varunhiremath@gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- kunststoff-2.0.2.orig/debian/rules
+++ kunststoff-2.0.2/debian/rules
@@ -0,0 +1,16 @@
+#!/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-gcj
+DEB_ANT_INSTALL_TARGET	:= jar
+DEB_ANT_BUILDFILE	:= debian/build.xml
+
+install/kunststoff::
+	install -m 644 -D kunststoff.jar $(DEB_DESTDIR)/usr/share/java/kunststoff-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/kunststoff-$(DEB_UPSTREAM_VERSION).jar \
+	  /usr/share/java/kunststoff.jar
+
+get-orig-source:
+	-uscan --upstream-version 0
--- kunststoff-2.0.2.orig/debian/README.Debian-source
+++ kunststoff-2.0.2/debian/README.Debian-source
@@ -0,0 +1,13 @@
+kunststoff
+==========
+
+The upstream supplied source package contains binary jar files.
+Currently no clean source distribution exists. Therefore, the upstream
+sources were modified to comply with the Debian Free Software
+Guidelines.
+
+Use the rules/get-orig-source target to create the orig.tar.gz.
+For more details on repackaging of upstream sources please see the 
+debian/orig-tar.sh file.
+
+-- Varun Hiremath <varunhiremath@gmail.com>  Mon, 27 Aug 2007 19:02:53 +0530
--- kunststoff-2.0.2.orig/debian/orig-tar.sh
+++ kunststoff-2.0.2/debian/orig-tar.sh
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+
+TAR=kunststoff_$2.orig.tar.gz
+
+# clean up the upstream tarball
+unzip $3
+tar -c -z -f $TAR src/* licence.txt
+rm -rf $3 src/ licence.txt kunststoff.jar
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi
+
+exit 0
--- kunststoff-2.0.2.orig/debian/build.xml
+++ kunststoff-2.0.2/debian/build.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" name="kunststoff" basedir="..">
+  <property file="./build.properties"/>
+
+  <target name="clean">
+    <delete dir="${class.dir}" quiet="true"/>
+    <delete file="${jar.name}" quiet="true"/>
+  </target>
+
+  <target name="compile">
+    <mkdir dir="${class.dir}"/>
+    <javac srcdir="${source.dir}" destdir="${class.dir}"
+    deprecation="true" debug="true" optimize="false"/>
+  </target>
+
+  <target name="jar" description="o Create the jar" depends="compile">
+    <jar jarfile="${jar.name}" basedir="${class.dir}"/>
+  </target>
+
+   <target name="install" depends="jar">
+         <mkdir dir="${destdir}/usr/share/java/" />
+	 <copy todir="${destdir}/usr/share/java/">
+	       <fileset file="${jar.name}" />
+	 </copy>
+   </target>
+</project>