[pkg-java] r4851 - in trunk: . libjson-java libjson-java/debian
twerner at alioth.debian.org
twerner at alioth.debian.org
Mon Nov 26 19:32:15 UTC 2007
Author: twerner
Date: 2007-11-26 19:32:15 +0000 (Mon, 26 Nov 2007)
New Revision: 4851
Added:
trunk/libjson-java/
trunk/libjson-java/debian/
trunk/libjson-java/debian/changelog
trunk/libjson-java/debian/compat
trunk/libjson-java/debian/control
trunk/libjson-java/debian/copyright
trunk/libjson-java/debian/orig-tar.sh
trunk/libjson-java/debian/rules
trunk/libjson-java/debian/watch
Log:
new package json-lib
Added: trunk/libjson-java/debian/changelog
===================================================================
--- trunk/libjson-java/debian/changelog (rev 0)
+++ trunk/libjson-java/debian/changelog 2007-11-26 19:32:15 UTC (rev 4851)
@@ -0,0 +1,5 @@
+libjson-java (2.1-1) unstable; urgency=low
+
+ * initial version
+
+ -- Torsten Werner <twerner at debian.org> Sat, 24 Nov 2007 00:01:40 +0100
Added: trunk/libjson-java/debian/compat
===================================================================
--- trunk/libjson-java/debian/compat (rev 0)
+++ trunk/libjson-java/debian/compat 2007-11-26 19:32:15 UTC (rev 4851)
@@ -0,0 +1 @@
+5
Added: trunk/libjson-java/debian/control
===================================================================
--- trunk/libjson-java/debian/control (rev 0)
+++ trunk/libjson-java/debian/control 2007-11-26 19:32:15 UTC (rev 4851)
@@ -0,0 +1,16 @@
+Source: libjson-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Torsten Werner <twerner at debian.org>
+Build-Depends: debhelper (>= 5), cdbs
+Build-Depends-Indep: ant, java-gcj-compat-dev
+Standards-Version: 3.7.2
+Homepage: http://sourceforge.net/projects/json-lib/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjson-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjson-java
+
+Package: libjson-java
+Architecture: all
+Depends: java-gcj-compat | java1-runtime | java2-runtime
+Description: FIXME
Added: trunk/libjson-java/debian/copyright
===================================================================
--- trunk/libjson-java/debian/copyright (rev 0)
+++ trunk/libjson-java/debian/copyright 2007-11-26 19:32:15 UTC (rev 4851)
@@ -0,0 +1,27 @@
+This package was debianized by Torsten Werner <twerner at debian.org> on
+Sat, 24 Nov 2007 00:01:40 +0100.
+
+It was downloaded from http://sourceforge.net/projects/json-lib/
+
+FIXME
+Upstream Author: Elliotte Rusty Harold <elharo at metalab.unc.edu>
+
+Copyrights: (C) 2004, 2005 Elliotte Rusty Harold
+
+License:
+
+ This library is free software; you can redistribute it and/or modify
+ it under the terms of version 2.1 of the GNU Lesser General Public
+ License as published by the Free Software Foundation.
+
+ This library 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 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-2.1'.
Added: trunk/libjson-java/debian/orig-tar.sh
===================================================================
--- trunk/libjson-java/debian/orig-tar.sh (rev 0)
+++ trunk/libjson-java/debian/orig-tar.sh 2007-11-26 19:32:15 UTC (rev 4851)
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DIR=json-lib-$2
+TAR=../libjson-java_$2.orig.tar.gz
+
+# clean up the upstream tarball
+mkdir $DIR
+(cd $DIR && jar -x -f ../$3)
+tar -c -z -f $TAR $DIR
+rm -rf $DIR $3
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
+
+exit 0
Property changes on: trunk/libjson-java/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
+
Added: trunk/libjson-java/debian/rules
===================================================================
--- trunk/libjson-java/debian/rules (rev 0)
+++ trunk/libjson-java/debian/rules 2007-11-26 19:32:15 UTC (rev 4851)
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+JAVA_HOME := /usr/lib/jvm/java-6-sun
+DEB_ANT_BUILDFILE := xstream/build.xml
+DEB_ANT_BUILD_TARGET := benchmark:compile jar
+DEB_JARS := xom joda-time jettison cglib dom4j xpp3 jdom1
+
+install/libxstream-java::
+ install -m644 -D xstream/target/xstream-SNAPSHOT.jar $(DEB_DESTDIR)/usr/share/java/xstream-$(DEB_UPSTREAM_VERSION).jar
+ dh_link -plibxstream-java /usr/share/java/xstream-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/xstream.jar
+ install -m644 -D xstream/target/xstream-benchmark-SNAPSHOT.jar $(DEB_DESTDIR)/usr/share/java/xstream-benchmark-$(DEB_UPSTREAM_VERSION).jar
+ dh_link -plibxstream-java /usr/share/java/xstream-benchmark-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/xstream-benchmark.jar
+
+get-orig-source:
+ -uscan --upstream-version 0 --rename
Property changes on: trunk/libjson-java/debian/rules
___________________________________________________________________
Name: svn:executable
+
Added: trunk/libjson-java/debian/watch
===================================================================
--- trunk/libjson-java/debian/watch (rev 0)
+++ trunk/libjson-java/debian/watch 2007-11-26 19:32:15 UTC (rev 4851)
@@ -0,0 +1,3 @@
+version=3
+http://sf.net/json-lib/ json-lib-(.*)-jdk15-sources.jar \
+ debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list