Hello community,
here is the log from the commit of package jakarta-commons-lang
checked in at Wed Jul 30 00:58:53 CEST 2008.
--------
--- jakarta-commons-lang/jakarta-commons-lang.changes 2006-09-15 14:55:38.000000000 +0200
+++ /mounts/work_src_done/STABLE/jakarta-commons-lang/jakarta-commons-lang.changes 2008-07-29 09:11:11.000000000 +0200
@@ -1,0 +2,16 @@
+Tue Jul 29 09:09:19 CEST 2008 - anosek@suse.cz
+
+- made the symlink jakarta-commons-lang -> jakarta-commons-lang-2.3
+ part of the javadoc package
+
+-------------------------------------------------------------------
+Mon Jul 21 15:33:36 CEST 2008 - mvyskocil@suse.cz
+
+- update to 2.3
+ - merged with japackage 1.7 spec file
+ - add a maven build support and a maven pom files and post/un scripts for
+ depmap files
+- removed a source=1.1 - fixed build under openjdk6
+- removed a crosslink patch
+
+-------------------------------------------------------------------
Old:
----
commons-lang-2.0-src.tar.gz
jakarta-commons-lang-crosslink.patch
New:
----
commons-lang-2.3-jpp-depmap.xml
commons-lang-2.3.pom
commons-lang-2.3-src.tar.bz2
pom-maven2jpp-depcat.xsl
pom-maven2jpp-mapdeps.xsl
pom-maven2jpp-newdepmap.xsl
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ jakarta-commons-lang.spec ++++++
--- /var/tmp/diff_new_pack.N19695/_old 2008-07-30 00:58:30.000000000 +0200
+++ /var/tmp/diff_new_pack.N19695/_new 2008-07-30 00:58:30.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package jakarta-commons-lang (Version 2.0)
+# spec file for package jakarta-commons-lang (Version 2.3)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -10,22 +10,43 @@
# norootforbuild
-Name: jakarta-commons-lang
-BuildRequires: ant java2-devel-packages junit xml-commons-apis
+%define with_maven 0
%define base_name lang
%define short_name commons-%{base_name}
-%define name jakarta-%{short_name}
%define section free
-Version: 2.0
-Release: 25
+
+Name: jakarta-commons-lang
+Version: 2.3
+Release: 1
Summary: Jakarta Commons Lang Package
-License: Apache
+License: The Apache Software License
Group: Development/Libraries/Java
-URL: http://jakarta.apache.org/commons/lang.html
-Source0: http://archive.apache.org/dist/jakarta/commons/lang/source/commons-lang-2.0-...
-Patch0: %{name}-crosslink.patch
+Url: http://jakarta.apache.org/commons/lang.html
+Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.bz2
+Source1: pom-maven2jpp-depcat.xsl
+Source2: pom-maven2jpp-newdepmap.xsl
+Source3: pom-maven2jpp-mapdeps.xsl
+Source4: %{short_name}-%{version}-jpp-depmap.xml
+Source5: %{short_name}-%{version}.pom
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
+BuildRequires: jpackage-utils >= 1.7.2
+BuildRequires: ant
+BuildRequires: ant-junit
+BuildRequires: perl
+BuildRequires: java-devel
+BuildRequires: unzip
+BuildRequires: saxon
+BuildRequires: saxon-scripts
+%if %{with_maven}
+BuildRequires: maven >= 1.1
+BuildRequires: maven-plugin-changelog
+BuildRequires: maven-plugin-changes
+BuildRequires: maven-plugin-xdoc
+%endif
+PreReq: jpackage-utils >= 1.7.2
+Requires(post): jpackage-utils >= 1.7.2
+Requires(postun): jpackage-utils >= 1.7.2
%description
The standard Java libraries fail to provide enough methods for
@@ -41,6 +62,7 @@
%package javadoc
+License: The Apache Software License
PreReq: coreutils
Summary: Javadoc for jakarta-commons-lang
Group: Development/Libraries/Java
@@ -61,63 +83,148 @@
+%if %{with_maven}
+
+%package manual
+
+Summary: Documents for %{name}
+Group: Development/Documentation
+
+%description manual
+The standard Java libraries fail to provide enough methods for
+manipulation of its core classes. The Commons Lang Component provides
+these extra methods. The Commons Lang Component provides a host of
+helper utilities for the java.lang API, notably String manipulation
+methods, basic numerical methods, object reflection, creation and
+serialization, and System properties. Additionally it contains an
+inheritable enum type, an exception structure that supports multiple
+types of nested-Exceptions and a series of utlities dedicated to help
+with building methods, such as hashCode, toString and equals.
+
+This package contains the documentation for the Jakarta Commons
+Lang Package.
+%endif
+
%prep
%setup -q -n %{short_name}-%{version}-src
-%patch0 -p0
+%{__perl} -pi -e 's/\r//g' *.txt
+if [ ! -f %{SOURCE4} ]; then
+export DEPCAT=$(pwd)/%{short_name}-%{version}-depcat.new.xml
+echo '<?xml version="1.0" standalone="yes"?>' > $DEPCAT
+echo '<depset>' >> $DEPCAT
+for p in $(find . -name project.xml); do
+ pushd $(dirname $p)
+ /usr/bin/saxon project.xml %{SOURCE1} >> $DEPCAT
+ popd
+done
+echo >> $DEPCAT
+echo '</depset>' >> $DEPCAT
+/usr/bin/saxon $DEPCAT %{SOURCE2} > %{short_name}-%{version}-depmap.new.xml
+fi
%build
-if ! grep -q "javac.*source=" build.xml ; then
- perl -p -i -e 's|
participants (1)
-
root@Hilbert.suse.de