[libpicocontainer-java] 01/21: new package picocontainer
Markus Koschany
apo-guest at moszumanska.debian.org
Fri Oct 24 17:24:49 BST 2014
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository libpicocontainer-java.
commit 2b18b7530dbf8ac740132d53db13a2fd8c33ab74
Author: Torsten Werner <twerner at debian.org>
Date: Tue Nov 27 21:04:19 2007 +0000
new package picocontainer
---
debian/ant.properties | 4 ++++
debian/build.xml | 23 +++++++++++++++++++++++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 26 ++++++++++++++++++++++++++
debian/copyright | 11 +++++++++++
debian/orig-tar.sh | 20 ++++++++++++++++++++
debian/rules | 14 ++++++++++++++
debian/watch | 3 +++
9 files changed, 107 insertions(+)
diff --git a/debian/ant.properties b/debian/ant.properties
new file mode 100644
index 0000000..374f810
--- /dev/null
+++ b/debian/ant.properties
@@ -0,0 +1,4 @@
+project.name=picocontainer
+class.dir=build
+source.dir=.
+jar=picocontainer.jar
diff --git a/debian/build.xml b/debian/build.xml
new file mode 100644
index 0000000..4be14e1
--- /dev/null
+++ b/debian/build.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" name="${project.name}" basedir="..">
+
+ <target name="clean">
+ <delete dir="${class.dir}" quiet="true"/>
+ </target>
+
+ <target name="compile" description="o Compile the source files">
+ <mkdir dir="${class.dir}"/>
+ <javac srcdir="${source.dir}" destdir="${class.dir}"
+ debug="true" source="1.5"/>
+ </target>
+
+ <target name="jar" description="o Create the jar" depends="compile">
+ <jar jarfile="${jar}">
+ <fileset dir="${class.dir}">
+ <include name="**"/>
+ </fileset>
+ </jar>
+ </target>
+
+</project>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0ca09ab
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libpicocontainer-java (1.3-1) unstable; urgency=low
+
+ * initial version (Closes: #)
+
+ -- Torsten Werner <twerner at debian.org> Mon, 26 Nov 2007 16:31:34 +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..670b478
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: libpicocontainer-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://www.picocontainer.org
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libpicocontainer-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libpicocontainer-java
+
+Package: libpicocontainer-java
+Architecture: all
+Depends: java-gcj-compat | java1-runtime | java2-runtime
+Description: Java library implementing the Dependency Injection pattern
+ PicoContainer is a highly embeddable full service Inversion of Control
+ (IoC) container for components honour the Dependency Injection pattern.
+ It can be used as a lightweight alternative to Sun's J2EE patterns for
+ web applications or general solutions.
+ .
+ Despite it being very compact in size (the core is ~128K and it has no
+ mandatory dependencies outside the JDK), PicoContainer supports
+ different dependency injection types (Constructor, Setter, Annotated
+ Field and Method) and offers multiple lifecycle and monitoring
+ strategies.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d288e5b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,11 @@
+This package was debianized by Torsten Werner <twerner at debian.org> on
+Mon, 26 Nov 2007 16:31:34 +0100.
+
+It was downloaded from http://www.picocontainer.org
+
+Upstream Authors: Paul Hammant, Konstantin Pribluda, Jörg Schaible,
+Mauro Talevi, Michael Ward, Michael Rimov, Jose Peleteiro
+
+Picocontainer is licensed under the BSD license which can be found in
+/usr/share/common-licenses/BSD on Debian GNU/Linux systems.
+
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..b527a19
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DIR=picocontainer-$2
+TAR=../libpicocontainer-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..80f886d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/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_BUILDFILE := debian/build.xml
+
+install/libpicocontainer-java::
+ install -m644 -D picocontainer.jar $(DEB_DESTDIR)/usr/share/java/picocontainer-$(DEB_UPSTREAM_VERSION).jar
+ dh_link -plibpicocontainer-java /usr/share/java/picocontainer-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/picocontainer.jar
+
+get-orig-source:
+ -uscan --upstream-version 0 --rename
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f9a12a8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://repository.codehaus.org/org/picocontainer/picocontainer/(\d\.\d)/picocontainer-(\d\.\d)-sources.jar \
+ debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpicocontainer-java.git
More information about the pkg-java-commits
mailing list