This commit is contained in:
committed by
Git OBS Bridge
parent
34986fb370
commit
13b3d2d542
@@ -11,13 +11,12 @@
|
||||
|
||||
|
||||
Name: ant-antlr
|
||||
BuildRequires: ant antlr bcel bsf jaf jakarta-commons-logging javamail jdepend junit log4j oro regexp unzip update-alternatives xalan-j2 xerces-j2
|
||||
BuildRequires: java-1_5_0-gcj-compat-devel
|
||||
BuildRequires: ant antlr bcel bsf jaf jakarta-commons-logging java-devel javamail jdepend junit log4j oro regexp unzip update-alternatives xalan-j2 xerces-j2
|
||||
%define ant_home %{_datadir}/ant
|
||||
%define ant_name ant
|
||||
%define section free
|
||||
Version: 1.7.0
|
||||
Release: 117
|
||||
Release: 90
|
||||
Url: http://jakarta.apache.org/
|
||||
Group: Development/Tools/Building
|
||||
Source0: apache-ant-%{version}-src.tar.bz2
|
||||
@@ -32,7 +31,6 @@ Requires: %{ant_name} = %{version}
|
||||
Conflicts: ant-optional-clean, ant-optional-full
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch150: java150_build.patch
|
||||
Patch3: apache-ant-%{version}-source-level.patch
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@@ -42,7 +40,6 @@ antlr tasks for Apache Ant.
|
||||
|
||||
|
||||
%package -n ant-commons-logging
|
||||
License: The Apache Software License
|
||||
Summary: Optional commons logging tasks for ant
|
||||
Group: Development/Tools/Building
|
||||
Requires: jakarta-commons-logging
|
||||
@@ -58,7 +55,6 @@ This package contains optional commons logging tasks for Apache Ant.
|
||||
|
||||
|
||||
%package -n ant-apache-bsf
|
||||
License: The Apache Software License
|
||||
Summary: Optional apache bsf tasks for ant
|
||||
Group: Development/Tools/Building
|
||||
Requires: bsf
|
||||
@@ -73,7 +69,6 @@ This package contains optional apache bsf tasks for Apache Ant.
|
||||
|
||||
|
||||
%package -n ant-apache-resolver
|
||||
License: The Apache Software License
|
||||
Summary: Optional apache resolver tasks for ant
|
||||
Group: Development/Tools/Building
|
||||
Requires: %{ant_name} = %{version}
|
||||
@@ -88,7 +83,6 @@ This package contains optional apache resolver tasks for Apache Ant.
|
||||
|
||||
|
||||
%package -n ant-apache-bcel
|
||||
License: The Apache Software License
|
||||
Summary: Optional apache bcel tasks for ant
|
||||
Group: Development/Tools/Building
|
||||
Requires: %{ant_name} = %{version}
|
||||
@@ -105,7 +99,6 @@ This package contains optional apache bcel tasks for Apache Ant.
|
||||
|
||||
|
||||
%package -n ant-apache-log4j
|
||||
License: The Apache Software License
|
||||
Summary: Optional apache log4j tasks for ant
|
||||
Group: Development/Tools/Building
|
||||
Requires: %{ant_name} = %{version}
|
||||
@@ -122,7 +115,6 @@ This package contains optional apache log4j tasks for Apache Ant.
|
||||
|
||||
|
||||
%package -n ant-apache-oro
|
||||
License: The Apache Software License
|
||||
Summary: Optional apache oro tasks for ant
|
||||
Group: Development/Tools/Building
|
||||
Requires: %{ant_name} = %{version}
|
||||
@@ -139,7 +131,6 @@ This package contains optional apache oro tasks for Apache Ant.
|
||||
|
||||
|
||||
%package -n ant-apache-regexp
|
||||
License: The Apache Software License
|
||||
Summary: Optional apache regexp tasks for ant
|
||||
Group: Development/Tools/Building
|
||||
Requires: %{ant_name} = %{version}
|
||||
@@ -156,7 +147,6 @@ This package contains optional apache regexp tasks for Apache Ant.
|
||||
|
||||
|
||||
%package -n ant-javamail
|
||||
License: The Apache Software License
|
||||
Summary: Optional javamail tasks for ant
|
||||
Group: Development/Tools/Building
|
||||
Requires: %{ant_name} = %{version}
|
||||
@@ -172,7 +162,6 @@ This package contains optional javamail tasks for Apache Ant.
|
||||
|
||||
|
||||
%package -n ant-jdepend
|
||||
License: The Apache Software License
|
||||
Summary: Optional jdepend tasks for ant
|
||||
Group: Development/Tools/Building
|
||||
Requires: %{ant_name} = %{version}
|
||||
@@ -187,7 +176,6 @@ This package contains optional jdepend tasks for Apache Ant.
|
||||
|
||||
|
||||
%package -n ant-jmf
|
||||
License: The Apache Software License
|
||||
Summary: Optional jmf tasks for ant
|
||||
Group: Development/Tools/Building
|
||||
Requires: %{ant_name} = %{version}
|
||||
@@ -201,7 +189,6 @@ This package contains optional jmf tasks for Apache Ant.
|
||||
|
||||
|
||||
%package -n ant-junit
|
||||
License: The Apache Software License
|
||||
Summary: Optional junit tasks for ant
|
||||
Group: Development/Tools/Building
|
||||
Requires: %{ant_name} = %{version}
|
||||
@@ -216,7 +203,6 @@ This package contains optional JUnit tasks for Apache Ant.
|
||||
|
||||
|
||||
%package -n ant-nodeps
|
||||
License: The Apache Software License
|
||||
Summary: Optional tasks for ant
|
||||
Group: Development/Tools/Building
|
||||
Requires: %{ant_name} = %{version}
|
||||
@@ -230,7 +216,6 @@ This package contains optional tasks for Apache Ant.
|
||||
|
||||
|
||||
%package -n ant-swing
|
||||
License: The Apache Software License
|
||||
Summary: Optional swing tasks for ant
|
||||
Group: Development/Tools/Building
|
||||
Requires: %{ant_name} = %{version}
|
||||
@@ -244,7 +229,6 @@ This package contains optional swing tasks for Apache Ant.
|
||||
|
||||
|
||||
%package -n ant-trax
|
||||
License: The Apache Software License
|
||||
Summary: Optional trax tasks for ant
|
||||
Group: Development/Tools/Building
|
||||
Requires: %{ant_name} = %{version}
|
||||
@@ -266,7 +250,6 @@ This package contains optional trax tasks for Apache Ant.
|
||||
# Fix temp directory used for file containing large command strings (> 4k)
|
||||
# clean jar files
|
||||
%patch150 -p1
|
||||
%patch3 -b .sav3
|
||||
find . -name "*.jar" -exec rm -f {} \;
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@@ -278,9 +261,6 @@ export CLASSPATH=$(%{_bindir}/build-classpath jaxp_parser_impl xml-commons-apis
|
||||
#[ -r %{_sysconfdir}/java/java.conf ] && . %{_sysconfdir}/java/java.conf
|
||||
#[ -z "$JAVA_HOME" ] && JAVA_HOME=%{_jvmdir}/java
|
||||
export JAVA_HOME
|
||||
export GC_MAXIMUM_HEAP_SIZE="134217728" #128M
|
||||
export CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/tools.jar
|
||||
export BOOTJAVAC_OPTS="-C -Wno-deprecated"
|
||||
sh build.sh --noconfig jars javadocs
|
||||
|
||||
%install
|
||||
@@ -516,9 +496,6 @@ popd
|
||||
%{ant_home}/etc/coverage-frames.xsl
|
||||
|
||||
%changelog
|
||||
* Wed May 07 2008 mvyskocil@suse.cz
|
||||
- build using gcj, to allow a openjdk6 bootstrap
|
||||
- change a source and a target level to 1.5 in build.xml
|
||||
* Sun Feb 17 2008 coolo@suse.de
|
||||
- fix changelog for build service
|
||||
* Sun Jul 08 2007 dbornkessel@suse.de
|
||||
|
Reference in New Issue
Block a user