[libjson-java] 01/26: new package json-lib

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Oct 22 22:58:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libjson-java.

commit 3c7a3d8c9bcb613b36df3667b217df5de8e2c674
Author: Torsten Werner <twerner at debian.org>
Date:   Mon Nov 26 19:32:15 2007 +0000

    new package json-lib
---
 debian/changelog   |  5 +++++
 debian/compat      |  1 +
 debian/control     | 16 ++++++++++++++++
 debian/copyright   | 27 +++++++++++++++++++++++++++
 debian/orig-tar.sh | 20 ++++++++++++++++++++
 debian/rules       | 19 +++++++++++++++++++
 debian/watch       |  3 +++
 7 files changed, 91 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4a5403a
--- /dev/null
+++ b/debian/changelog
@@ -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
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f48941d
--- /dev/null
+++ b/debian/control
@@ -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
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..cd35d88
--- /dev/null
+++ b/debian/copyright
@@ -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'.
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..d42c9fa
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -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
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e4018d0
--- /dev/null
+++ b/debian/rules
@@ -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	
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..99c855a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://sf.net/json-lib/ json-lib-(.*)-jdk15-sources.jar \
+  debian debian/orig-tar.sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjson-java.git



More information about the pkg-java-commits mailing list