[libjettison-java] 01/34: new package jettison

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Apr 20 15:37:42 BST 2018


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

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

commit 8c6b2b86ba6a7b50bcaead87c7ae0c50680a04ca
Author: Torsten Werner <twerner at debian.org>
Date:   Fri Nov 23 23:01:23 2007 +0000

    new package jettison
---
 debian/changelog   |  5 +++++
 debian/compat      |  1 +
 debian/control     | 17 +++++++++++++++++
 debian/copyright   | 27 +++++++++++++++++++++++++++
 debian/orig-tar.sh | 19 +++++++++++++++++++
 debian/rules       | 31 +++++++++++++++++++++++++++++++
 debian/watch       |  2 ++
 7 files changed, 102 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2f2bb6c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libjettison-java (1.0~RC2-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..7d12e0a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: libjettison-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://jettison.codehaus.org/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjettison-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjettison-java
+
+Package: libjettison-java
+Architecture: all
+Section: libs
+Depends:  java-gcj-compat | java1-runtime | java2-runtime
+Description: FIXME
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f799d34
--- /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://jettison.codehaus.org/
+
+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..75ac663
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DIR=xom_$2.orig
+
+# clean up the upstream tarball
+tar zxf $3
+mv XOM $DIR
+GZIP=--best tar czf $3 --exclude '*.jar' --exclude '*.class' $DIR
+rm -rf $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+    . .svn/deb-layout
+    mv $3 $origDir
+    echo "moved $3 to $origDir"
+fi
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..15b1a43
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+JAVA_HOME            := /usr/lib/jvm/java-gcj
+ANT_HOME             := /usr/share/ant
+DEB_JARS             := xercesImpl xalan xml-apis jaxen saxpath ant-optional junit ecj $(ANT_HOME)/lib/ant-launcher.jar
+DEB_ANT_BUILD_TARGET := javadoc jar samples
+DEB_ANT_COMPILER     := org.eclipse.jdt.core.JDTCompilerAdapter
+ANT_ARGS             := -Dbuild.sysclasspath=only
+ANT_OPTS             := -Xss3m
+
+clean::
+	-find -name '*.class' | xargs $(RM)
+
+install/libxom-java:: 
+	dh_installdirs -plibxom-java usr/share/java
+	dh_install -plibxom-java build/xom-$(DEB_UPSTREAM_VERSION).jar usr/share/java
+	dh_link -plibxom-java usr/share/java/xom-$(DEB_UPSTREAM_VERSION).jar usr/share/java/xom.jar
+	install -m644 build/xom-samples.jar debian/libxom-java/usr/share/java/xom-samples-$(DEB_UPSTREAM_VERSION).jar
+	dh_link -plibxom-java usr/share/java/xom-samples-$(DEB_UPSTREAM_VERSION).jar usr/share/java/xom-samples.jar
+
+install/libxom-java-doc::
+	dh_installdocs -plibxom-java-doc build/apidocs
+
+get-orig-source:
+	-uscan --upstream-version 0 --rename	
+
+DEB_PHONY_RULES += get-orig-source
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2e98214
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://www.cafeconleche.org/XOM/ xom-(.*)-src\.tar\.gz debian debian/orig-tar.sh

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



More information about the pkg-java-commits mailing list