|
|
@ -28,18 +28,13 @@
|
|
|
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%bcond_without tests
|
|
|
|
%bcond_with bootstrap
|
|
|
|
%bcond_without javadoc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Disabled for now, asi it doesn't work (tests fail) and nobody needs it
|
|
|
|
|
|
|
|
%bcond_with junit5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global ant_home %{_datadir}/ant
|
|
|
|
%global ant_home %{_datadir}/ant
|
|
|
|
|
|
|
|
|
|
|
|
Name: ant
|
|
|
|
Name: ant
|
|
|
|
Version: 1.10.5
|
|
|
|
Version: 1.10.9
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 11%{?dist}
|
|
|
|
Epoch: 0
|
|
|
|
|
|
|
|
Summary: Java build tool
|
|
|
|
Summary: Java build tool
|
|
|
|
Summary(it): Tool per la compilazione di programmi java
|
|
|
|
Summary(it): Tool per la compilazione di programmi java
|
|
|
|
Summary(fr): Outil de compilation pour java
|
|
|
|
Summary(fr): Outil de compilation pour java
|
|
|
@ -50,14 +45,21 @@ Source2: apache-ant-1.8.ant.conf
|
|
|
|
# manpage
|
|
|
|
# manpage
|
|
|
|
Source3: ant.asciidoc
|
|
|
|
Source3: ant.asciidoc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Patch0: %{name}-build.xml.patch
|
|
|
|
|
|
|
|
Patch1: %{name}-openjdk-jpeg-cmyk.patch
|
|
|
|
|
|
|
|
Patch2: 0001-Disable-SecurityManager-for-Java-18.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: asciidoc
|
|
|
|
|
|
|
|
BuildRequires: xmlto
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: javapackages-local
|
|
|
|
BuildRequires: javapackages-local
|
|
|
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
|
|
|
|
%else
|
|
|
|
BuildRequires: java-devel >= 1:1.8.0
|
|
|
|
BuildRequires: java-devel >= 1:1.8.0
|
|
|
|
BuildRequires: ant >= 1.10.2
|
|
|
|
BuildRequires: ant >= 1.10.2
|
|
|
|
BuildRequires: ant-junit
|
|
|
|
BuildRequires: ant-junit
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: asciidoc
|
|
|
|
|
|
|
|
BuildRequires: xmlto
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: mvn(antlr:antlr)
|
|
|
|
BuildRequires: mvn(antlr:antlr)
|
|
|
|
BuildRequires: mvn(bcel:bcel)
|
|
|
|
BuildRequires: mvn(bcel:bcel)
|
|
|
|
BuildRequires: mvn(bsf:bsf)
|
|
|
|
BuildRequires: mvn(bsf:bsf)
|
|
|
@ -67,7 +69,6 @@ BuildRequires: mvn(commons-net:commons-net)
|
|
|
|
BuildRequires: mvn(javax.mail:mail)
|
|
|
|
BuildRequires: mvn(javax.mail:mail)
|
|
|
|
BuildRequires: mvn(jdepend:jdepend)
|
|
|
|
BuildRequires: mvn(jdepend:jdepend)
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
BuildRequires: mvn(log4j:log4j:1.2.13)
|
|
|
|
|
|
|
|
BuildRequires: mvn(org.tukaani:xz)
|
|
|
|
BuildRequires: mvn(org.tukaani:xz)
|
|
|
|
BuildRequires: mvn(oro:oro)
|
|
|
|
BuildRequires: mvn(oro:oro)
|
|
|
|
BuildRequires: mvn(regexp:regexp)
|
|
|
|
BuildRequires: mvn(regexp:regexp)
|
|
|
@ -76,15 +77,13 @@ BuildRequires: mvn(xml-resolver:xml-resolver)
|
|
|
|
BuildRequires: mvn(org.hamcrest:hamcrest-core)
|
|
|
|
BuildRequires: mvn(org.hamcrest:hamcrest-core)
|
|
|
|
BuildRequires: mvn(org.hamcrest:hamcrest-library)
|
|
|
|
BuildRequires: mvn(org.hamcrest:hamcrest-library)
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with junit5}
|
|
|
|
|
|
|
|
BuildRequires: junit5
|
|
|
|
BuildRequires: junit5
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Theoretically Ant might be usable with just JRE, but typical Ant
|
|
|
|
Requires: %{name}-lib = %{version}-%{release}
|
|
|
|
# workflow requires full JDK, so we recommend it here.
|
|
|
|
Requires: %{name}-jdk-binding = %{version}-%{release}
|
|
|
|
%{?fedora:Recommends}%{!?fedora:Requires}: java-devel >= 1:1.8.0
|
|
|
|
Suggests: %{name}-openjdk17 = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
Requires: %{name}-lib = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
# Require full javapackages-tools since the ant script uses
|
|
|
|
# Require full javapackages-tools since the ant script uses
|
|
|
|
# /usr/share/java-utils/java-functions
|
|
|
|
# /usr/share/java-utils/java-functions
|
|
|
|
Requires: javapackages-tools
|
|
|
|
Requires: javapackages-tools
|
|
|
@ -118,9 +117,21 @@ Summary: Core part of %{name}
|
|
|
|
%description lib
|
|
|
|
%description lib
|
|
|
|
Core part of Apache Ant that can be used as a library.
|
|
|
|
Core part of Apache Ant that can be used as a library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package junit
|
|
|
|
|
|
|
|
Summary: Optional junit tasks for %{name}
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description junit
|
|
|
|
|
|
|
|
Optional junit tasks for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description junit -l fr
|
|
|
|
|
|
|
|
Taches junit optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{without bootstrap}
|
|
|
|
|
|
|
|
|
|
|
|
%package jmf
|
|
|
|
%package jmf
|
|
|
|
Summary: Optional jmf tasks for %{name}
|
|
|
|
Summary: Optional jmf tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description jmf
|
|
|
|
%description jmf
|
|
|
|
Optional jmf tasks for %{name}.
|
|
|
|
Optional jmf tasks for %{name}.
|
|
|
@ -130,7 +141,7 @@ Taches jmf optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package swing
|
|
|
|
%package swing
|
|
|
|
Summary: Optional swing tasks for %{name}
|
|
|
|
Summary: Optional swing tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description swing
|
|
|
|
%description swing
|
|
|
|
Optional swing tasks for %{name}.
|
|
|
|
Optional swing tasks for %{name}.
|
|
|
@ -140,7 +151,7 @@ Taches swing optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package antlr
|
|
|
|
%package antlr
|
|
|
|
Summary: Optional antlr tasks for %{name}
|
|
|
|
Summary: Optional antlr tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description antlr
|
|
|
|
%description antlr
|
|
|
|
Optional antlr tasks for %{name}.
|
|
|
|
Optional antlr tasks for %{name}.
|
|
|
@ -150,7 +161,7 @@ Taches antlr optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package apache-bsf
|
|
|
|
%package apache-bsf
|
|
|
|
Summary: Optional apache bsf tasks for %{name}
|
|
|
|
Summary: Optional apache bsf tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description apache-bsf
|
|
|
|
%description apache-bsf
|
|
|
|
Optional apache bsf tasks for %{name}.
|
|
|
|
Optional apache bsf tasks for %{name}.
|
|
|
@ -160,7 +171,7 @@ Taches apache bsf optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package apache-resolver
|
|
|
|
%package apache-resolver
|
|
|
|
Summary: Optional apache resolver tasks for %{name}
|
|
|
|
Summary: Optional apache resolver tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description apache-resolver
|
|
|
|
%description apache-resolver
|
|
|
|
Optional apache resolver tasks for %{name}.
|
|
|
|
Optional apache resolver tasks for %{name}.
|
|
|
@ -170,7 +181,7 @@ Taches apache resolver optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package commons-logging
|
|
|
|
%package commons-logging
|
|
|
|
Summary: Optional commons logging tasks for %{name}
|
|
|
|
Summary: Optional commons logging tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description commons-logging
|
|
|
|
%description commons-logging
|
|
|
|
Optional commons logging tasks for %{name}.
|
|
|
|
Optional commons logging tasks for %{name}.
|
|
|
@ -180,7 +191,7 @@ Taches commons logging optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package commons-net
|
|
|
|
%package commons-net
|
|
|
|
Summary: Optional commons net tasks for %{name}
|
|
|
|
Summary: Optional commons net tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description commons-net
|
|
|
|
%description commons-net
|
|
|
|
Optional commons net tasks for %{name}.
|
|
|
|
Optional commons net tasks for %{name}.
|
|
|
@ -188,22 +199,9 @@ Optional commons net tasks for %{name}.
|
|
|
|
%description commons-net -l fr
|
|
|
|
%description commons-net -l fr
|
|
|
|
Taches commons net optionelles pour %{name}.
|
|
|
|
Taches commons net optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
# Disable because we don't ship the dependencies
|
|
|
|
|
|
|
|
%if 0
|
|
|
|
|
|
|
|
%package jai
|
|
|
|
|
|
|
|
Summary: Optional jai tasks for %{name}
|
|
|
|
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description jai
|
|
|
|
|
|
|
|
Optional jai tasks for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description jai -l fr
|
|
|
|
|
|
|
|
Taches jai optionelles pour %{name}.
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package apache-bcel
|
|
|
|
%package apache-bcel
|
|
|
|
Summary: Optional apache bcel tasks for %{name}
|
|
|
|
Summary: Optional apache bcel tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description apache-bcel
|
|
|
|
%description apache-bcel
|
|
|
|
Optional apache bcel tasks for %{name}.
|
|
|
|
Optional apache bcel tasks for %{name}.
|
|
|
@ -211,19 +209,9 @@ Optional apache bcel tasks for %{name}.
|
|
|
|
%description apache-bcel -l fr
|
|
|
|
%description apache-bcel -l fr
|
|
|
|
Taches apache bcel optionelles pour %{name}.
|
|
|
|
Taches apache bcel optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package apache-log4j
|
|
|
|
|
|
|
|
Summary: Optional apache log4j tasks for %{name}
|
|
|
|
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description apache-log4j
|
|
|
|
|
|
|
|
Optional apache log4j tasks for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description apache-log4j -l fr
|
|
|
|
|
|
|
|
Taches apache log4j optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package apache-oro
|
|
|
|
%package apache-oro
|
|
|
|
Summary: Optional apache oro tasks for %{name}
|
|
|
|
Summary: Optional apache oro tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description apache-oro
|
|
|
|
%description apache-oro
|
|
|
|
Optional apache oro tasks for %{name}.
|
|
|
|
Optional apache oro tasks for %{name}.
|
|
|
@ -233,7 +221,7 @@ Taches apache oro optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package apache-regexp
|
|
|
|
%package apache-regexp
|
|
|
|
Summary: Optional apache regexp tasks for %{name}
|
|
|
|
Summary: Optional apache regexp tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description apache-regexp
|
|
|
|
%description apache-regexp
|
|
|
|
Optional apache regexp tasks for %{name}.
|
|
|
|
Optional apache regexp tasks for %{name}.
|
|
|
@ -243,7 +231,7 @@ Taches apache regexp optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package apache-xalan2
|
|
|
|
%package apache-xalan2
|
|
|
|
Summary: Optional apache xalan2 tasks for %{name}
|
|
|
|
Summary: Optional apache xalan2 tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description apache-xalan2
|
|
|
|
%description apache-xalan2
|
|
|
|
Optional apache xalan2 tasks for %{name}.
|
|
|
|
Optional apache xalan2 tasks for %{name}.
|
|
|
@ -251,9 +239,16 @@ Optional apache xalan2 tasks for %{name}.
|
|
|
|
%description apache-xalan2 -l fr
|
|
|
|
%description apache-xalan2 -l fr
|
|
|
|
Taches apache xalan2 optionelles pour %{name}.
|
|
|
|
Taches apache xalan2 optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package imageio
|
|
|
|
|
|
|
|
Summary: Optional imageio tasks for %{name}
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description imageio
|
|
|
|
|
|
|
|
Optional imageio tasks for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package javamail
|
|
|
|
%package javamail
|
|
|
|
Summary: Optional javamail tasks for %{name}
|
|
|
|
Summary: Optional javamail tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description javamail
|
|
|
|
%description javamail
|
|
|
|
Optional javamail tasks for %{name}.
|
|
|
|
Optional javamail tasks for %{name}.
|
|
|
@ -263,7 +258,7 @@ Taches javamail optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package jdepend
|
|
|
|
%package jdepend
|
|
|
|
Summary: Optional jdepend tasks for %{name}
|
|
|
|
Summary: Optional jdepend tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description jdepend
|
|
|
|
%description jdepend
|
|
|
|
Optional jdepend tasks for %{name}.
|
|
|
|
Optional jdepend tasks for %{name}.
|
|
|
@ -273,7 +268,7 @@ Taches jdepend optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package jsch
|
|
|
|
%package jsch
|
|
|
|
Summary: Optional jsch tasks for %{name}
|
|
|
|
Summary: Optional jsch tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description jsch
|
|
|
|
%description jsch
|
|
|
|
Optional jsch tasks for %{name}.
|
|
|
|
Optional jsch tasks for %{name}.
|
|
|
@ -281,38 +276,26 @@ Optional jsch tasks for %{name}.
|
|
|
|
%description jsch -l fr
|
|
|
|
%description jsch -l fr
|
|
|
|
Taches jsch optionelles pour %{name}.
|
|
|
|
Taches jsch optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package junit
|
|
|
|
|
|
|
|
Summary: Optional junit tasks for %{name}
|
|
|
|
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description junit
|
|
|
|
|
|
|
|
Optional junit tasks for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description junit -l fr
|
|
|
|
|
|
|
|
Taches junit optionelles pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with junit5}
|
|
|
|
|
|
|
|
%package junit5
|
|
|
|
%package junit5
|
|
|
|
Summary: Optional junit5 tasks for %{name}
|
|
|
|
Summary: Optional junit5 tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description junit5
|
|
|
|
%description junit5
|
|
|
|
Optional junit5 tasks for %{name}.
|
|
|
|
Optional junit5 tasks for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%description junit5 -l fr
|
|
|
|
%description junit5 -l fr
|
|
|
|
Taches junit5 optionelles pour %{name}.
|
|
|
|
Taches junit5 optionelles pour %{name}.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package testutil
|
|
|
|
%package testutil
|
|
|
|
Summary: Test utility classes for %{name}
|
|
|
|
Summary: Test utility classes for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description testutil
|
|
|
|
%description testutil
|
|
|
|
Test utility tasks for %{name}.
|
|
|
|
Test utility tasks for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package xz
|
|
|
|
%package xz
|
|
|
|
Summary: Optional xz tasks for %{name}
|
|
|
|
Summary: Optional xz tasks for %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description xz
|
|
|
|
%description xz
|
|
|
|
Optional xz tasks for %{name}.
|
|
|
|
Optional xz tasks for %{name}.
|
|
|
@ -338,13 +321,63 @@ Javadoc for %{name}.
|
|
|
|
%description javadoc -l fr
|
|
|
|
%description javadoc -l fr
|
|
|
|
Javadoc pour %{name}.
|
|
|
|
Javadoc pour %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package openjdk8
|
|
|
|
|
|
|
|
Summary: OpenJDK 8 binding for Ant
|
|
|
|
|
|
|
|
RemovePathPostfixes: -openjdk8
|
|
|
|
|
|
|
|
Provides: ant-jdk-binding = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: ant = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: java-1.8.0-openjdk-headless
|
|
|
|
|
|
|
|
Recommends: java-1.8.0-openjdk-devel
|
|
|
|
|
|
|
|
Conflicts: ant-jdk-binding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description openjdk8
|
|
|
|
|
|
|
|
Configures Ant to run with OpenJDK 8.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package openjdk11
|
|
|
|
|
|
|
|
Summary: OpenJDK 11 binding for Ant
|
|
|
|
|
|
|
|
RemovePathPostfixes: -openjdk11
|
|
|
|
|
|
|
|
Provides: ant-jdk-binding = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: ant = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: java-11-openjdk-headless
|
|
|
|
|
|
|
|
Recommends: java-11-openjdk-devel
|
|
|
|
|
|
|
|
Conflicts: ant-jdk-binding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description openjdk11
|
|
|
|
|
|
|
|
Configures Ant to run with OpenJDK 11.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package openjdk17
|
|
|
|
|
|
|
|
Summary: OpenJDK 17 binding for Ant
|
|
|
|
|
|
|
|
RemovePathPostfixes: -openjdk17
|
|
|
|
|
|
|
|
Provides: ant-jdk-binding = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: ant = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: java-17-openjdk-headless
|
|
|
|
|
|
|
|
Recommends: java-17-openjdk-devel
|
|
|
|
|
|
|
|
Conflicts: ant-jdk-binding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description openjdk17
|
|
|
|
|
|
|
|
Configures Ant to run with OpenJDK 17.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package openjdk21
|
|
|
|
|
|
|
|
Summary: OpenJDK 21 binding for Ant
|
|
|
|
|
|
|
|
RemovePathPostfixes: -openjdk21
|
|
|
|
|
|
|
|
Provides: ant-jdk-binding = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: ant = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: java-21-openjdk-headless
|
|
|
|
|
|
|
|
Recommends: java-21-openjdk-devel
|
|
|
|
|
|
|
|
Conflicts: ant-jdk-binding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description openjdk21
|
|
|
|
|
|
|
|
Configures Ant to run with OpenJDK 21.
|
|
|
|
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n apache-ant-%{version}
|
|
|
|
%setup -q -n apache-ant-%{version}
|
|
|
|
|
|
|
|
%patch -P 0 -p0
|
|
|
|
# Fix class-path-in-manifest rpmlint warning
|
|
|
|
%patch -P 1 -p1
|
|
|
|
%pom_xpath_remove 'attribute[@name="Class-Path"]' build.xml
|
|
|
|
%patch -P 2 -p1
|
|
|
|
|
|
|
|
|
|
|
|
# clean jar files
|
|
|
|
# clean jar files
|
|
|
|
find . -name "*.jar" | xargs -t rm
|
|
|
|
find . -name "*.jar" | xargs -t rm
|
|
|
@ -356,10 +389,16 @@ rm src/tests/junit/org/apache/tools/ant/types/selectors/SignedSelectorTest.java
|
|
|
|
src/tests/junit/org/apache/tools/ant/taskdefs/JarTest.java \
|
|
|
|
src/tests/junit/org/apache/tools/ant/taskdefs/JarTest.java \
|
|
|
|
src/tests/junit/org/apache/tools/mail/MailMessageTest.java
|
|
|
|
src/tests/junit/org/apache/tools/mail/MailMessageTest.java
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Log4jListener is deprecated by upstream: Apache Log4j (1) is not
|
|
|
|
|
|
|
|
# developed any more. Last release is 1.2.17 from 26 May 2012 and
|
|
|
|
|
|
|
|
# contains vulnerability issues.
|
|
|
|
|
|
|
|
rm src/main/org/apache/tools/ant/listener/Log4jListener.java
|
|
|
|
|
|
|
|
|
|
|
|
#install jars
|
|
|
|
#install jars
|
|
|
|
build-jar-repository -s -p lib/optional antlr bcel javamail/mailapi jdepend junit log4j-1 oro regexp bsf commons-logging commons-net jsch xalan-j2 xml-commons-resolver xalan-j2-serializer hamcrest/core hamcrest/library xz-java
|
|
|
|
%if %{with bootstrap}
|
|
|
|
%if %{with junit5}
|
|
|
|
build-jar-repository -s -p lib/optional javapackages-bootstrap/junit javapackages-bootstrap/hamcrest-core
|
|
|
|
build-jar-repository -s -p lib/optional junit5 opentest4j
|
|
|
|
%else
|
|
|
|
|
|
|
|
build-jar-repository -s -p lib/optional antlr bcel javamail/mailapi jdepend junit oro regexp bsf commons-logging commons-net jsch xalan-j2 xml-commons-resolver xalan-j2-serializer hamcrest/core hamcrest/library xz-java junit5 opentest4j
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# fix hardcoded paths in ant script and conf
|
|
|
|
# fix hardcoded paths in ant script and conf
|
|
|
@ -375,23 +414,22 @@ sed -e 's:/etc/ant.conf:%{_sysconfdir}/ant.conf:g' \
|
|
|
|
sed -i 's/jaxp_parser_impl//;s/xml-commons-apis//' src/script/ant
|
|
|
|
sed -i 's/jaxp_parser_impl//;s/xml-commons-apis//' src/script/ant
|
|
|
|
|
|
|
|
|
|
|
|
# Fix file-not-utf8 rpmlint warning
|
|
|
|
# Fix file-not-utf8 rpmlint warning
|
|
|
|
iconv KEYS -f iso-8859-1 -t utf-8 -o KEYS.utf8
|
|
|
|
iconv KEYS -f iso-8859-1 -t utf-8 >KEYS.utf8
|
|
|
|
mv KEYS.utf8 KEYS
|
|
|
|
mv KEYS.utf8 KEYS
|
|
|
|
iconv LICENSE -f iso-8859-1 -t utf-8 -o LICENSE.utf8
|
|
|
|
iconv LICENSE -f iso-8859-1 -t utf-8 >LICENSE.utf8
|
|
|
|
mv LICENSE.utf8 LICENSE
|
|
|
|
mv LICENSE.utf8 LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
# We want a hard dep on antlr
|
|
|
|
# We want a hard dep on antlr
|
|
|
|
%pom_xpath_remove pom:optional src/etc/poms/ant-antlr/pom.xml
|
|
|
|
%pom_xpath_remove pom:optional src/etc/poms/ant-antlr/pom.xml
|
|
|
|
|
|
|
|
|
|
|
|
%if %{without junit5}
|
|
|
|
# fix javamail dependency coordinates (remove once javamail is updated)
|
|
|
|
%pom_xpath_inject 'target[@name="javadocs"]/javadoc/packageset' '<exclude name="**/junitlauncher"/>' build.xml
|
|
|
|
%pom_change_dep -r com.sun.mail:jakarta.mail javax.mail:mail src/etc/poms/ant-javamail/pom.xml
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{ant} jars test-jar
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
|
|
|
%{ant} jars
|
|
|
|
%if %with javadoc
|
|
|
|
%else
|
|
|
|
%{ant} javadocs
|
|
|
|
%{ant} jars test-jar javadocs
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# typeset the manpage
|
|
|
|
# typeset the manpage
|
|
|
@ -401,10 +439,9 @@ xmlto man man/%{name}.xml -o man
|
|
|
|
|
|
|
|
|
|
|
|
# remove empty jai and netrexx jars. Due to missing dependencies they contain only manifests.
|
|
|
|
# remove empty jai and netrexx jars. Due to missing dependencies they contain only manifests.
|
|
|
|
rm -fr build/lib/ant-jai.jar build/lib/ant-netrexx.jar
|
|
|
|
rm -fr build/lib/ant-jai.jar build/lib/ant-netrexx.jar
|
|
|
|
%if %{without junit5}
|
|
|
|
# log4j logging is deprecated
|
|
|
|
rm -f build/lib/ant-junitlauncher.jar
|
|
|
|
rm build/lib/ant-apache-log4j.jar
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
# ANT_HOME and subdirs
|
|
|
|
# ANT_HOME and subdirs
|
|
|
@ -415,6 +452,16 @@ mkdir -p $RPM_BUILD_ROOT%{ant_home}/{lib,etc,bin}
|
|
|
|
|
|
|
|
|
|
|
|
%mvn_file ':{ant,ant-bootstrap,ant-launcher}' %{name}/@1 @1
|
|
|
|
%mvn_file ':{ant,ant-bootstrap,ant-launcher}' %{name}/@1 @1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
|
|
|
mv build/lib build/lib0
|
|
|
|
|
|
|
|
mkdir build/lib/
|
|
|
|
|
|
|
|
mv build/lib0/ant.jar build/lib/
|
|
|
|
|
|
|
|
mv build/lib0/ant-bootstrap.jar build/lib/
|
|
|
|
|
|
|
|
mv build/lib0/ant-launcher.jar build/lib/
|
|
|
|
|
|
|
|
mv build/lib0/ant-junit.jar build/lib/
|
|
|
|
|
|
|
|
mv build/lib0/ant-junit4.jar build/lib/
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
for jar in build/lib/*.jar
|
|
|
|
for jar in build/lib/*.jar
|
|
|
|
do
|
|
|
|
do
|
|
|
|
# Make sure that installed JARs are not empty
|
|
|
|
# Make sure that installed JARs are not empty
|
|
|
@ -451,6 +498,11 @@ rm -f src/script/*.bat
|
|
|
|
rm -f src/script/*.cmd
|
|
|
|
rm -f src/script/*.cmd
|
|
|
|
|
|
|
|
|
|
|
|
# XSLs
|
|
|
|
# XSLs
|
|
|
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
|
|
|
rm src/etc/jdepend-frames.xsl
|
|
|
|
|
|
|
|
rm src/etc/jdepend.xsl
|
|
|
|
|
|
|
|
rm src/etc/maudit-frames.xsl
|
|
|
|
|
|
|
|
%endif
|
|
|
|
cp -p src/etc/*.xsl $RPM_BUILD_ROOT%{ant_home}/etc
|
|
|
|
cp -p src/etc/*.xsl $RPM_BUILD_ROOT%{ant_home}/etc
|
|
|
|
|
|
|
|
|
|
|
|
# install everything else
|
|
|
|
# install everything else
|
|
|
@ -463,49 +515,62 @@ cp -p src/script/antRun $RPM_BUILD_ROOT%{ant_home}/bin/
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
|
|
|
cp -p %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
|
|
|
|
cp -p %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# JDK bindings for ant.conf
|
|
|
|
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_javaconfdir}/
|
|
|
|
|
|
|
|
## For Java 1.8 prefer jvm
|
|
|
|
|
|
|
|
echo '
|
|
|
|
|
|
|
|
if [ -d %{_jvmlibdir}/java-1.8.0-openjdk ]; then
|
|
|
|
|
|
|
|
JAVA_HOME=%{_jvmlibdir}/java-1.8.0-openjdk
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
JAVA_HOME=%{_jvmlibdir}/jre-1.8.0-openjdk
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
' >$RPM_BUILD_ROOT%{_javaconfdir}/ant.conf-openjdk8
|
|
|
|
|
|
|
|
echo 'JAVA_HOME=%{_jvmlibdir}/jre-11-openjdk' >$RPM_BUILD_ROOT%{_javaconfdir}/ant.conf-openjdk11
|
|
|
|
|
|
|
|
echo 'JAVA_HOME=%{_jvmlibdir}/jre-17-openjdk' >$RPM_BUILD_ROOT%{_javaconfdir}/ant.conf-openjdk17
|
|
|
|
|
|
|
|
echo 'JAVA_HOME=%{_jvmlibdir}/jre-21-openjdk' >$RPM_BUILD_ROOT%{_javaconfdir}/ant.conf-openjdk21
|
|
|
|
|
|
|
|
|
|
|
|
# OPT_JAR_LIST fragments
|
|
|
|
# OPT_JAR_LIST fragments
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d
|
|
|
|
|
|
|
|
echo "junit hamcrest/core ant/ant-junit" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/junit
|
|
|
|
|
|
|
|
echo "junit hamcrest/core ant/ant-junit4" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/junit4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{without bootstrap}
|
|
|
|
|
|
|
|
|
|
|
|
echo "ant/ant-jmf" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jmf
|
|
|
|
echo "ant/ant-jmf" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jmf
|
|
|
|
echo "ant/ant-swing" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/swing
|
|
|
|
echo "ant/ant-swing" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/swing
|
|
|
|
echo "antlr ant/ant-antlr" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/antlr
|
|
|
|
echo "antlr ant/ant-antlr" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/antlr
|
|
|
|
echo "rhino bsf ant/ant-apache-bsf" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bsf
|
|
|
|
echo "bsf commons-logging ant/ant-apache-bsf" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bsf
|
|
|
|
echo "xml-commons-resolver ant/ant-apache-resolver" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-resolver
|
|
|
|
echo "xml-commons-resolver ant/ant-apache-resolver" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-resolver
|
|
|
|
echo "apache-commons-logging ant/ant-commons-logging" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/commons-logging
|
|
|
|
echo "apache-commons-logging ant/ant-commons-logging" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/commons-logging
|
|
|
|
echo "apache-commons-net ant/ant-commons-net" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/commons-net
|
|
|
|
echo "apache-commons-net ant/ant-commons-net" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/commons-net
|
|
|
|
#echo "jai ant/ant-jai" > $RPM_BUILD_ROOT%%{_sysconfdir}/%%{name}.d/jai
|
|
|
|
|
|
|
|
echo "bcel ant/ant-apache-bcel" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bcel
|
|
|
|
echo "bcel ant/ant-apache-bcel" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bcel
|
|
|
|
echo "log4j12 ant/ant-apache-log4j" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-log4j
|
|
|
|
|
|
|
|
echo "oro ant/ant-apache-oro" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-oro
|
|
|
|
echo "oro ant/ant-apache-oro" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-oro
|
|
|
|
echo "regexp ant/ant-apache-regexp" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-regexp
|
|
|
|
echo "regexp ant/ant-apache-regexp" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-regexp
|
|
|
|
echo "xalan-j2 xalan-j2-serializer ant/ant-apache-xalan2" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-xalan2
|
|
|
|
echo "xalan-j2 xalan-j2-serializer ant/ant-apache-xalan2" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-xalan2
|
|
|
|
|
|
|
|
echo "ant/ant-imageio" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/imageio
|
|
|
|
echo "javamail jaf ant/ant-javamail" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/javamail
|
|
|
|
echo "javamail jaf ant/ant-javamail" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/javamail
|
|
|
|
echo "jdepend ant/ant-jdepend" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jdepend
|
|
|
|
echo "jdepend ant/ant-jdepend" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jdepend
|
|
|
|
echo "jsch ant/ant-jsch" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jsch
|
|
|
|
echo "jsch ant/ant-jsch" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jsch
|
|
|
|
echo "junit hamcrest/core ant/ant-junit" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/junit
|
|
|
|
echo "junit5 hamcrest/core junit opentest4j ant/ant-junitlauncher" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/junitlauncher
|
|
|
|
echo "junit hamcrest/core ant/ant-junit4" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/junit4
|
|
|
|
|
|
|
|
echo "testutil ant/ant-testutil" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/testutil
|
|
|
|
echo "testutil ant/ant-testutil" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/testutil
|
|
|
|
echo "xz-java ant/ant-xz" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/xz
|
|
|
|
echo "xz-java ant/ant-xz" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/xz
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with junit5}
|
|
|
|
|
|
|
|
echo "junit5 hamcrest/core junit opentest4j ant/ant-junitlauncher" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/junitlauncher
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %with javadoc
|
|
|
|
|
|
|
|
# javadoc
|
|
|
|
# javadoc
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
|
cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
|
cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# fix link between manual and javadoc
|
|
|
|
# fix link between manual and javadoc
|
|
|
|
(cd manual; ln -sf %{_javadocdir}/%{name} api)
|
|
|
|
(cd manual; ln -sf %{_javadocdir}/%{name} api)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# manpage
|
|
|
|
# manpage
|
|
|
|
install -d -m 755 %{buildroot}%{_mandir}/man1/
|
|
|
|
install -d -m 755 %{buildroot}%{_mandir}/man1/
|
|
|
|
install -p -m 644 man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
|
|
|
install -p -m 644 man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
|
|
|
|
|
|
|
|
|
|
|
%if %with tests
|
|
|
|
%if %{without bootstrap}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
LC_ALL=en_US.utf8 %{ant} test
|
|
|
|
LC_ALL=C.UTF-8 %{ant} -Doffline=true test
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -535,6 +600,19 @@ LC_ALL=en_US.utf8 %{ant} test
|
|
|
|
%{ant_home}/lib/%{name}-launcher.jar
|
|
|
|
%{ant_home}/lib/%{name}-launcher.jar
|
|
|
|
%{ant_home}/lib/%{name}-bootstrap.jar
|
|
|
|
%{ant_home}/lib/%{name}-bootstrap.jar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files junit -f .mfiles-junit
|
|
|
|
|
|
|
|
%{ant_home}/lib/%{name}-junit.jar
|
|
|
|
|
|
|
|
%{ant_home}/lib/%{name}-junit4.jar
|
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/junit
|
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/junit4
|
|
|
|
|
|
|
|
%{ant_home}/etc/junit-frames.xsl
|
|
|
|
|
|
|
|
%{ant_home}/etc/junit-noframes.xsl
|
|
|
|
|
|
|
|
%{ant_home}/etc/junit-frames-xalan1.xsl
|
|
|
|
|
|
|
|
%{ant_home}/etc/junit-frames-saxon.xsl
|
|
|
|
|
|
|
|
%{ant_home}/etc/junit-noframes-saxon.xsl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{without bootstrap}
|
|
|
|
|
|
|
|
|
|
|
|
%files jmf -f .mfiles-jmf
|
|
|
|
%files jmf -f .mfiles-jmf
|
|
|
|
%{ant_home}/lib/%{name}-jmf.jar
|
|
|
|
%{ant_home}/lib/%{name}-jmf.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/jmf
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/jmf
|
|
|
@ -563,21 +641,10 @@ LC_ALL=en_US.utf8 %{ant} test
|
|
|
|
%{ant_home}/lib/%{name}-commons-net.jar
|
|
|
|
%{ant_home}/lib/%{name}-commons-net.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/commons-net
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/commons-net
|
|
|
|
|
|
|
|
|
|
|
|
# Disable as we dont ship the dependencies
|
|
|
|
|
|
|
|
%if 0
|
|
|
|
|
|
|
|
%files jai -f .mfiles-jai
|
|
|
|
|
|
|
|
%{ant_home}/lib/%{name}-jai.jar
|
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/jai
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files apache-bcel -f .mfiles-apache-bcel
|
|
|
|
%files apache-bcel -f .mfiles-apache-bcel
|
|
|
|
%{ant_home}/lib/%{name}-apache-bcel.jar
|
|
|
|
%{ant_home}/lib/%{name}-apache-bcel.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-bcel
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-bcel
|
|
|
|
|
|
|
|
|
|
|
|
%files apache-log4j -f .mfiles-apache-log4j
|
|
|
|
|
|
|
|
%{ant_home}/lib/%{name}-apache-log4j.jar
|
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-log4j
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files apache-oro -f .mfiles-apache-oro
|
|
|
|
%files apache-oro -f .mfiles-apache-oro
|
|
|
|
%{ant_home}/lib/%{name}-apache-oro.jar
|
|
|
|
%{ant_home}/lib/%{name}-apache-oro.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-oro
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-oro
|
|
|
@ -591,6 +658,10 @@ LC_ALL=en_US.utf8 %{ant} test
|
|
|
|
%{ant_home}/lib/%{name}-apache-xalan2.jar
|
|
|
|
%{ant_home}/lib/%{name}-apache-xalan2.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-xalan2
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-xalan2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files imageio -f .mfiles-imageio
|
|
|
|
|
|
|
|
%{ant_home}/lib/%{name}-imageio.jar
|
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/imageio
|
|
|
|
|
|
|
|
|
|
|
|
%files javamail -f .mfiles-javamail
|
|
|
|
%files javamail -f .mfiles-javamail
|
|
|
|
%{ant_home}/lib/%{name}-javamail.jar
|
|
|
|
%{ant_home}/lib/%{name}-javamail.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/javamail
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/javamail
|
|
|
@ -605,22 +676,9 @@ LC_ALL=en_US.utf8 %{ant} test
|
|
|
|
%{ant_home}/lib/%{name}-jsch.jar
|
|
|
|
%{ant_home}/lib/%{name}-jsch.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/jsch
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/jsch
|
|
|
|
|
|
|
|
|
|
|
|
%files junit -f .mfiles-junit
|
|
|
|
|
|
|
|
%{ant_home}/lib/%{name}-junit.jar
|
|
|
|
|
|
|
|
%{ant_home}/lib/%{name}-junit4.jar
|
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/junit
|
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/junit4
|
|
|
|
|
|
|
|
%{ant_home}/etc/junit-frames.xsl
|
|
|
|
|
|
|
|
%{ant_home}/etc/junit-noframes.xsl
|
|
|
|
|
|
|
|
%{ant_home}/etc/junit-frames-xalan1.xsl
|
|
|
|
|
|
|
|
%{ant_home}/etc/junit-frames-saxon.xsl
|
|
|
|
|
|
|
|
%{ant_home}/etc/junit-noframes-saxon.xsl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with junit5}
|
|
|
|
|
|
|
|
%files junit5 -f .mfiles-junitlauncher
|
|
|
|
%files junit5 -f .mfiles-junitlauncher
|
|
|
|
%{ant_home}/lib/%{name}-junitlauncher.jar
|
|
|
|
%{ant_home}/lib/%{name}-junitlauncher.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/junitlauncher
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.d/junitlauncher
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files testutil -f .mfiles-testutil
|
|
|
|
%files testutil -f .mfiles-testutil
|
|
|
|
%{ant_home}/lib/%{name}-testutil.jar
|
|
|
|
%{ant_home}/lib/%{name}-testutil.jar
|
|
|
@ -634,17 +692,111 @@ LC_ALL=en_US.utf8 %{ant} test
|
|
|
|
%license LICENSE NOTICE
|
|
|
|
%license LICENSE NOTICE
|
|
|
|
%doc manual/*
|
|
|
|
%doc manual/*
|
|
|
|
|
|
|
|
|
|
|
|
%if %with javadoc
|
|
|
|
|
|
|
|
%files javadoc
|
|
|
|
%files javadoc
|
|
|
|
%license LICENSE NOTICE
|
|
|
|
%license LICENSE NOTICE
|
|
|
|
%{_javadocdir}/%{name}
|
|
|
|
%{_javadocdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files openjdk8
|
|
|
|
|
|
|
|
%config %{_javaconfdir}/%{name}.conf-openjdk8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files openjdk11
|
|
|
|
|
|
|
|
%config %{_javaconfdir}/%{name}.conf-openjdk11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files openjdk17
|
|
|
|
|
|
|
|
%config %{_javaconfdir}/%{name}.conf-openjdk17
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files openjdk21
|
|
|
|
|
|
|
|
%config %{_javaconfdir}/%{name}.conf-openjdk21
|
|
|
|
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Dec 12 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0:1.10.5-1
|
|
|
|
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 1.10.9-11
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
- Fix the usage ot patch macro
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Nov 08 2024 Marián Konček <mkoncek@redhat.com> - 1.10.9-10
|
|
|
|
|
|
|
|
- Add OpenJDK bindings in a separate configuration file
|
|
|
|
|
|
|
|
- Resolves: RHEL-62405
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 16 2024 Marián Konček <mkoncek@redhat.com> - 1.10.9-9
|
|
|
|
|
|
|
|
- Add OpenJDK bindings
|
|
|
|
|
|
|
|
- Resolves: RHEL-62405
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 13 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10.9-8
|
|
|
|
|
|
|
|
- Fix test failures due to JPEG CMYK support in OpenJDK
|
|
|
|
|
|
|
|
- Resolves: RHEL-5354
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.10.9-7
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10.9-6
|
|
|
|
|
|
|
|
- Disable deprecated log4j logging functionality
|
|
|
|
|
|
|
|
- Remove support for JavaScript
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10.9-5
|
|
|
|
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10.9-4
|
|
|
|
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10.9-3
|
|
|
|
|
|
|
|
- Bootstrap build
|
|
|
|
|
|
|
|
- Non-bootstrap build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.10.9-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 16 2020 Fabio Valentini <decathorpe@gmail.com> - 0:1.10.9-1
|
|
|
|
|
|
|
|
- Update to version 1.10.9.
|
|
|
|
|
|
|
|
- Addresses: CVE-2020-11979
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Sep 16 2020 Fabio Valentini <decathorpe@gmail.com> - 0:1.10.8-6
|
|
|
|
|
|
|
|
- Remove workaround for jarsigner issues / RHBZ#1869017.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Sep 09 2020 Fabio Valentini <decathorpe@gmail.com> - 0:1.10.8-5
|
|
|
|
|
|
|
|
- Switch from log4j 1.2 compat package to log4j 1.2 API shim.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Aug 23 2020 Fabio Valentini <decathorpe@gmail.com> - 0:1.10.8-4
|
|
|
|
|
|
|
|
- Temporarily disable some jarsigner tests to work around RHBZ#1869017.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.10.8-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 0:1.10.8-2
|
|
|
|
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
|
|
|
- disabled javadoc, as it fails in jdk11, and ant should not be an FTBFS to soon
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat May 16 2020 Fabio Valentini <decathorpe@gmail.com> - 0:1.10.8-1
|
|
|
|
|
|
|
|
- Update to version 1.10.8.
|
|
|
|
|
|
|
|
- Addresses: CVE-2020-1945
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 08 2020 Fabio Valentini <decathorpe@gmail.com> - 0:1.10.7-1
|
|
|
|
|
|
|
|
- Update to version 1.10.7.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.10.6-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 29 2019 Fabio Valentini <decathorpe@gmail.com> - 0:1.10.6-1
|
|
|
|
|
|
|
|
- Update to version 1.10.6.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.10.5-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Apr 27 2019 François Cami <fcami@redhat.com> - - 0:1.10.5-5
|
|
|
|
|
|
|
|
- Bump to fix FTBFS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.10.5-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 19 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0:1.10.5-3
|
|
|
|
|
|
|
|
- Use C.UTF-8 locale
|
|
|
|
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 20 2018 Mat Booth <mat.booth@redhat.com> - 0:1.10.5-2
|
|
|
|
|
|
|
|
- Enable building the optional junit5 module
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 02 2018 Michael Simacek <msimacek@redhat.com> - 0:1.10.5-1
|
|
|
|
* Thu Aug 02 2018 Michael Simacek <msimacek@redhat.com> - 0:1.10.5-1
|
|
|
|
- Update to upstream version 1.10.5
|
|
|
|
- Update to upstream version 1.10.5
|
|
|
|