This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository libcommons-lang-java.
commit e4b31d7e2efa0b77e9e6b93325ba90bb470e8047 Author: Arnaud Vandyck <av...@debian.org> Date: Wed Jul 2 08:01:11 2003 +0000 Initial revision --- debian/README.Debian | 6 ++ debian/changelog | 6 ++ debian/compat | 1 + debian/control | 33 +++++++ debian/copyright | 78 ++++++++++++++++ debian/dirs | 2 + debian/docs | 4 + debian/libcommons-lang-java.links | 1 + debian/patches/00list | 1 + .../01build_xml_license_location_patch.dpatch | 46 ++++++++++ debian/rules | 101 +++++++++++++++++++++ 11 files changed, 279 insertions(+) diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..d3bbac0 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +libcommons-lang-java for Debian +-------------------------------- + +Nothing special ;) + + -- Arnaud Vandyck <arnaud.vand...@ulg.ac.be>, Tue Jul 1 15:16:11 2003 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..650557b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +libcommons-lang-java (1.0.1-1) unstable; urgency=low + + * Initial Release (closes: #199518). + + -- Arnaud Vandyck <arnaud.vand...@ulg.ac.be> Tue, 1 Jul 2003 16:36:16 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d048c23 --- /dev/null +++ b/debian/control @@ -0,0 +1,33 @@ +Source: libcommons-lang-java +Section: contrib/libs +Priority: optional +Maintainer: Arnaud Vandyck <arnaud.vand...@ulg.ac.be> +Build-Depends-Indep: debhelper (>> 4.0.0), dpatch (>= 1.11), gcj-3.2 (>= 3.2.1) | jikes (>= 1.15) | j2sdk (>= 1.3), ant (>= 1.4), junit (>= 3.8.1) +Standards-Version: 3.5.10 + +Package: libcommons-lang-java +Architecture: all +Depends: java2-runtime | j2re1.3 | j2re1.4 +Description: Extension of the java.lang package + The Lang Component contains a set of Java classes that provide helper + methods for standard Java classes, especially those found in the + java.lang package in the Sun JDK. The following classes are included: + . + * StringUtils - Helper for java.lang.String. + * CharSetUtils - Methods for dealing with CharSets, which are sets of + characters such as [a-z] and [abcdez]. + * RandomStringUtils - Helper for creating randomised Strings. + * NumberUtils - Helper for java.lang.Number and its subclasses. + * NumberRange - A range of numbers with an upper and lower bound. + * ObjectUtils - Helper for java.lang.Object. + * SerializationUtils - Helper for serializing Objects. + * SystemUtils - Utility class defining the Java system properties. + * NestedException package - A sub-package for the creation of nested + exceptions. + * Enum package - A sub-package for the creation of enumerated types. + * Builder package - A sub-package for the creation of equals, hashCode, + compareTo and toString methods. + . + This is a part of the Apache Jakarta Project. + Home: <http://jakarta.apache.org/commons/lang/> + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ac83fde --- /dev/null +++ b/debian/copyright @@ -0,0 +1,78 @@ +This package was debianized by Arnaud Vandyck <arnaud.vand...@ulg.ac.be> on +Tue, 1 Jul 2003 14:43:32 +0200. + +It was downloaded from http://jakarta.apache.org/commons/lang/ + +Upstream Authors: Christopher Elkins <chr...@esha.com>, + Daniel Rall <d...@collab.net>, + Ed Korthof <e...@apache.org>, + Fredrik Westermarck <fred...@westermarck.com>, + Greg Coladonato <gcoladon...@yahoo.com>, + Henri Yandell <bay...@generationjava.com>, + Janek Bogucki <jane...@yahoo.co.uk>, + John McNally <jmcna...@collab.net>, + Jon S. Stevens <j...@latchkey.com>, + Kasper Nielsen <kniel...@apache.org>, + Nissim Karpenstein <nis...@nksystems.com>, + Rafal Krzewski <rafal.krzew...@e-point.pl>, + Rand McNeely <rand_mcne...@yahoo.com>, + Ringo De Smet <rides...@users.sourceforge.net>, + Sean C. Sullivan, + Stephen Colebourne <scolebou...@apache.org>, + Steve Downey <sdow...@panix.com>, + Steven Caswell <ste...@caswell.name>. + +Copyright: + +The Apache Software License, Version 1.1 + +Copyright (c) 1999-2001 The Apache Software Foundation. All rights +reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + +3. The end-user documentation included with the redistribution, if + any, must include the following acknowlegement: + "This product includes software developed by the + Apache Software Foundation (http://www.apache.org/)." + Alternately, this acknowlegement may appear in the software itself, + if and wherever such third-party acknowlegements normally appear. + +4. The names "The Jakarta Project", "Commons", and "Apache Software + Foundation" must not be used to endorse or promote products derived + from this software without prior written permission. For written + permission, please contact apa...@apache.org. + +5. Products derived from this software may not be called "Apache" + nor may "Apache" appear in their names without prior written + permission of the Apache Group. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR +ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. +==================================================================== + +This software consists of voluntary contributions made by many +individuals on behalf of the Apache Software Foundation. For more +information on the Apache Software Foundation, please see +<http://www.apache.org/>. + diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..6dbe9df --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/share/java + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e2a7590 --- /dev/null +++ b/debian/docs @@ -0,0 +1,4 @@ +lang/dist/docs +lang/dist/RELEASE-NOTES.txt +lang/PROPOSAL.html +lang/STATUS.html diff --git a/debian/libcommons-lang-java.links b/debian/libcommons-lang-java.links new file mode 100644 index 0000000..fb1c3d0 --- /dev/null +++ b/debian/libcommons-lang-java.links @@ -0,0 +1 @@ +usr/share/java/commons-lang-1.0.1.jar usr/share/java/commons-lang.jar diff --git a/debian/patches/00list b/debian/patches/00list new file mode 100644 index 0000000..8052591 --- /dev/null +++ b/debian/patches/00list @@ -0,0 +1 @@ +01build_xml_license_location_patch diff --git a/debian/patches/01build_xml_license_location_patch.dpatch b/debian/patches/01build_xml_license_location_patch.dpatch new file mode 100755 index 0000000..67a680f --- /dev/null +++ b/debian/patches/01build_xml_license_location_patch.dpatch @@ -0,0 +1,46 @@ +#!/bin/sh -e +## 01build_xml_license_location_patch.dpatch by Arnaud Vandyck <arnaud.vand...@ulg.ac.be> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: LICENSE file is not in upper directory + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/arnaud/debian/ITP/jakarta/libcommons-lang-java-1.0.1/lang/build.xml libcommons-lang-java-1.0.1/lang/build.xml +--- /home/arnaud/debian/ITP/jakarta/libcommons-lang-java-1.0.1/lang/build.xml 2003-07-01 15:42:59.000000000 +0200 ++++ libcommons-lang-java-1.0.1/lang/build.xml 2003-07-01 15:45:48.000000000 +0200 +@@ -120,7 +120,7 @@ + <target name="dist" depends="compile,javadoc" + description="Create binary distribution"> + <mkdir dir="${dist.home}"/> +- <copy file="../LICENSE" ++ <copy file="LICENSE.txt" + todir="${dist.home}"/> + <copy file="RELEASE-NOTES.txt" + todir="${dist.home}"/> +@@ -132,7 +132,7 @@ + description="Create jar"> + <mkdir dir="${dist.home}"/> + <mkdir dir="${build.home}/classes/META-INF"/> +- <copy file="../LICENSE" ++ <copy file="LICENSE.txt" + tofile="${build.home}/classes/META-INF/LICENSE.txt"/> + <jar jarfile="${dist.home}/${final.name}.jar" + basedir="${build.home}/classes" diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..6bb74da --- /dev/null +++ b/debian/rules @@ -0,0 +1,101 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +#added for dpatch +include /usr/share/dpatch/dpatch.make + +UPSTREAM_VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-) +BUILDFILE=lang/build.xml +JAVA_LIBS=/usr/share/java +JUNIT_JAR="-Djunit.jar=$(JAVA_LIBS)/junit.jar" + +export CLASSPATH=$(JAVA_LIBS)/junit.jar + +COMPILER=jikes + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp + +configure-stamp: patch-stamp + dh_testdir + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + ant -buildfile $(BUILDFILE) $(JUNIT_JAR) -Dbuild.compiler=$(COMPILER) -Dbuild.sysclasspath=only dist + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + ant -buildfile $(BUILDFILE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + install -m 644 lang/dist/commons-lang-$(UPSTREAM_VERSION).jar debian/libcommons-lang-java/usr/share/java/commons-lang-$(UPSTREAM_VERSION).jar + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i + dh_installdocs -i + dh_installexamples -i +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo +# dh_installman + dh_link -i +# dh_strip + dh_compress -i + dh_fixperms -i +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb -i +# dh_shlibdeps + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libcommons-lang-java.git _______________________________________________ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits