[pkg-java] r4401 - in trunk: . libjflac-java libjflac-java/debian
varun-guest at alioth.debian.org
varun-guest at alioth.debian.org
Mon Oct 15 04:19:51 UTC 2007
Author: varun-guest
Date: 2007-10-15 04:19:51 +0000 (Mon, 15 Oct 2007)
New Revision: 4401
Added:
trunk/libjflac-java/
trunk/libjflac-java/debian/
trunk/libjflac-java/debian/README.Debian-source
trunk/libjflac-java/debian/ant.properties
trunk/libjflac-java/debian/build.xml
trunk/libjflac-java/debian/changelog
trunk/libjflac-java/debian/compat
trunk/libjflac-java/debian/control
trunk/libjflac-java/debian/copyright
trunk/libjflac-java/debian/orig-tar.sh
trunk/libjflac-java/debian/rules
trunk/libjflac-java/debian/watch
Log:
* Initial inject of libjflac-java to pkg-java svn.
Property changes on: trunk/libjflac-java/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: trunk/libjflac-java/debian/README.Debian-source
===================================================================
--- trunk/libjflac-java/debian/README.Debian-source (rev 0)
+++ trunk/libjflac-java/debian/README.Debian-source 2007-10-15 04:19:51 UTC (rev 4401)
@@ -0,0 +1,13 @@
+libjflac-java
+=============
+
+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 at gmail.com> Mon, 27 Aug 2007 19:02:53 +0530
Added: trunk/libjflac-java/debian/ant.properties
===================================================================
--- trunk/libjflac-java/debian/ant.properties (rev 0)
+++ trunk/libjflac-java/debian/ant.properties 2007-10-15 04:19:51 UTC (rev 4401)
@@ -0,0 +1,3 @@
+class.dir=class
+source.dir=src/java
+jar.name=jflac.jar
Added: trunk/libjflac-java/debian/build.xml
===================================================================
--- trunk/libjflac-java/debian/build.xml (rev 0)
+++ trunk/libjflac-java/debian/build.xml 2007-10-15 04:19:51 UTC (rev 4401)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" name="jflac" 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>
Added: trunk/libjflac-java/debian/changelog
===================================================================
--- trunk/libjflac-java/debian/changelog (rev 0)
+++ trunk/libjflac-java/debian/changelog 2007-10-15 04:19:51 UTC (rev 4401)
@@ -0,0 +1,31 @@
+libjflac-java (1.2-4) unstable; urgency=low
+
+ * Move the package to pkg-java svn.
+ * Set Maintainer to Debian Java Maintainers and add myself to Uploaders.
+ * Move the build scripts to debian dir.
+
+ -- Varun Hiremath <varunhiremath at gmail.com> Mon, 15 Oct 2007 09:55:52 +0530
+
+libjflac-java (1.2-3) unstable; urgency=low
+
+ * debian/control: Set Priority to optional from extra.
+ * Remove the hard coded version from build.properties and install the
+ versioned jar from debian/rules.
+
+ -- Varun Hiremath <varunhiremath at gmail.com> Thu, 11 Oct 2007 14:25:16 +0530
+
+libjflac-java (1.2-2) unstable; urgency=low
+
+ [ Varun Hiremath ]
+ * Add debian/README.Debian-source
+
+ [ Torsten Werner ]
+ * Switch from kaffe to java-gcj-compat.
+
+ -- Torsten Werner <twerner at debian.org> Fri, 05 Oct 2007 23:35:10 +0200
+
+libjflac-java (1.2-1) unstable; urgency=low
+
+ * Initial release (Closes: #420581)
+
+ -- Varun Hiremath <varunhiremath at gmail.com> Mon, 23 Apr 2007 13:08:32 +0530
Added: trunk/libjflac-java/debian/compat
===================================================================
--- trunk/libjflac-java/debian/compat (rev 0)
+++ trunk/libjflac-java/debian/compat 2007-10-15 04:19:51 UTC (rev 4401)
@@ -0,0 +1 @@
+5
Added: trunk/libjflac-java/debian/control
===================================================================
--- trunk/libjflac-java/debian/control (rev 0)
+++ trunk/libjflac-java/debian/control 2007-10-15 04:19:51 UTC (rev 4401)
@@ -0,0 +1,19 @@
+Source: libjflac-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Varun Hiremath <varunhiremath at gmail.com>, Torsten Werner <twerner at debian.org>
+Build-Depends: cdbs, debhelper (>= 5)
+Build-Depends-Indep: ant, java-gcj-compat-dev
+Standards-Version: 3.7.2
+Homepage: http://jflac.sourceforge.net/
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjflac-java
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjflac-java
+
+Package: libjflac-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: Java Free Lossless Audio Codec
+ JFLAC is a port of the Free Lossless Audio Codec (FLAC) library to
+ Java. This library allows java developers to experiment and write
+ programs that use the FLAC algorithms.
Added: trunk/libjflac-java/debian/copyright
===================================================================
--- trunk/libjflac-java/debian/copyright (rev 0)
+++ trunk/libjflac-java/debian/copyright 2007-10-15 04:19:51 UTC (rev 4401)
@@ -0,0 +1,36 @@
+This package was debianized by Varun Hiremath <varunhiremath at gmail.com> on
+Mon, 23 Apr 2007 13:08:32 +0530.
+
+It was downloaded from http://sourceforge.net/projects/jflac
+
+Upstream Author:
+David R Robison <kc7bfi at users.sourceforge.net>
+
+Some parts of the code are contributed by:
+Dan Becker <beckerdo at io.com>
+Marc Gimpel, Wimba S.A. <marc at wimba.com>
+
+Copyright:
+(C) 2000-2004 Josh Coalson
+(C) 2003 Sun Microsystems
+
+
+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.
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+The file LICENSE.txt in the upstream tarball is obviously wrong because the
+individual source files mention the LGPL only (no BSD).
+
+The Debian packaging is (C) 2007, Varun Hiremath <varunhiremath at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
Added: trunk/libjflac-java/debian/orig-tar.sh
===================================================================
--- trunk/libjflac-java/debian/orig-tar.sh (rev 0)
+++ trunk/libjflac-java/debian/orig-tar.sh 2007-10-15 04:19:51 UTC (rev 4401)
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+
+TAR=libjflac-java_$2.orig.tar.gz
+DIR=jflac-$2
+
+# clean up the upstream tarball
+unzip $3
+tar -c -z -f $TAR --exclude '*.jar' $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/libjflac-java/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/libjflac-java/debian/rules
===================================================================
--- trunk/libjflac-java/debian/rules (rev 0)
+++ trunk/libjflac-java/debian/rules 2007-10-15 04:19:51 UTC (rev 4401)
@@ -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/libjflac-java::
+ install -m 644 -D jflac.jar $(DEB_DESTDIR)/usr/share/java/jflac-$(DEB_UPSTREAM_VERSION).jar
+ dh_link /usr/share/java/jflac-$(DEB_UPSTREAM_VERSION).jar \
+ /usr/share/java/jflac.jar
+
+get-orig-source:
+ -uscan --upstream-version 0
Property changes on: trunk/libjflac-java/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/libjflac-java/debian/watch
===================================================================
--- trunk/libjflac-java/debian/watch (rev 0)
+++ trunk/libjflac-java/debian/watch 2007-10-15 04:19:51 UTC (rev 4401)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/jflac/ jflac-(.*)-src\.zip debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list