update to 1.10.9 [release 1.10.9-1mamba;Tue Dec 22 2020]
This commit is contained in:
parent
957b32cc5b
commit
b2c5dba92c
@ -1,12 +1,12 @@
|
|||||||
Name: apache-ant
|
Name: apache-ant
|
||||||
Version: 1.9.15
|
Version: 1.10.9
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A Java-based build tool
|
Summary: A Java-based build tool
|
||||||
Group: Applications/Development
|
Group: Applications/Development
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://ant.apache.org
|
URL: https://ant.apache.org
|
||||||
Source0: http://mirror.nohup.it/apache/ant/source/apache-ant-%{version}-src.tar.bz2
|
Source0: http://mirror.nohup.it/apache/ant/source/apache-ant-%{version}-src.tar.bz2
|
||||||
Source1: ant-profile.sh
|
Source1: ant-profile.sh
|
||||||
Source2: apache-ant-bin_ant
|
Source2: apache-ant-bin_ant
|
||||||
@ -16,9 +16,14 @@ License: Apache License 2.0
|
|||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: java-openjdk
|
%ifnarch arm
|
||||||
|
BuildRequires: java-environment
|
||||||
|
%endif
|
||||||
BuildRequires: java-junit
|
BuildRequires: java-junit
|
||||||
|
BuildRequires: java-hamcrest
|
||||||
|
BuildConflicts: apache-ant < 1.10
|
||||||
Requires: java-junit
|
Requires: java-junit
|
||||||
|
Requires: java-hamcrest
|
||||||
Obsoletes: apache-ant-nodeps
|
Obsoletes: apache-ant-nodeps
|
||||||
Provides: apache-ant-nodeps = %{?epoch:%epoch:}%{version}-%{release}
|
Provides: apache-ant-nodeps = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Obsoletes: apache-ant-trax
|
Obsoletes: apache-ant-trax
|
||||||
@ -68,7 +73,6 @@ Provides: apache-ant-javadoc
|
|||||||
Obsoletes: apache-ant-javadoc
|
Obsoletes: apache-ant-javadoc
|
||||||
Provides: apache-ant-regexp
|
Provides: apache-ant-regexp
|
||||||
Obsoletes: apache-ant-regexp
|
Obsoletes: apache-ant-regexp
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Apache Ant is a Java-based build tool. In theory, it is kind of like Make, but without Make's wrinkles.
|
Apache Ant is a Java-based build tool. In theory, it is kind of like Make, but without Make's wrinkles.
|
||||||
@ -82,22 +86,33 @@ Documentation for ant.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
#-D -T
|
||||||
|
#%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# ant needs HOME to download libs to $HOME/.m2/repository
|
%ifnarch arm
|
||||||
export ANT_OPTS="-Duser.home=`pwd`"
|
export JAVA_HOME=%{_jvmdir}/jdk
|
||||||
%ifarch arm
|
export JAVACMD=%{_jvmdir}/jdk/bin/java
|
||||||
export LD_PRELOAD=%{_libdir}/libatomic.so.1
|
|
||||||
%endif
|
%endif
|
||||||
ant -Ddest=optional -f fetch.xml
|
|
||||||
|
|
||||||
rm lib/optional/junit-4.12.jar
|
%ifarch arm
|
||||||
|
export JAVA_HOME=~/zulu11.43.100-ca-jdk11.0.9.1-linux_aarch32sf
|
||||||
|
%endif
|
||||||
|
# ant needs HOME to download libs to $HOME/.m2/repository
|
||||||
|
#export ANT_OPTS="-Duser.home=`pwd`"
|
||||||
|
|
||||||
|
./bootstrap.sh
|
||||||
|
|
||||||
|
bootstrap/bin/ant -Ddest=optional -f fetch.xml
|
||||||
|
|
||||||
|
rm -f lib/optional/junit-4.12.jar
|
||||||
ln -s %{_javadir}/junit.jar lib/optional/junit-4.12.jar
|
ln -s %{_javadir}/junit.jar lib/optional/junit-4.12.jar
|
||||||
rm lib/optional/hamcrest-core-1.3.jar
|
rm -f lib/optional/hamcrest-core-1.3.jar
|
||||||
ln -s %{_javadir}/hamcrest-core.jar lib/optional/hamcrest-core-1.3.jar
|
ln -s %{_javadir}/hamcrest-core.jar lib/optional/hamcrest-core-1.3.jar
|
||||||
|
rm -f lib/optional/hamcrest-library-1.3.jar
|
||||||
|
ln -s %{_javadir}/hamcrest-library.jar lib/optional/hamcrest-library-1.3.jar
|
||||||
|
|
||||||
ant dist
|
bootstrap/bin/ant dist
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
@ -157,6 +172,7 @@ cp -r manual/* %{buildroot}%{_docdir}/apache-ant/
|
|||||||
%{_datadir}/java/apache-ant/ant-apache-xalan2.jar
|
%{_datadir}/java/apache-ant/ant-apache-xalan2.jar
|
||||||
%{_datadir}/java/apache-ant/ant-commons-logging.jar
|
%{_datadir}/java/apache-ant/ant-commons-logging.jar
|
||||||
%{_datadir}/java/apache-ant/ant-commons-net.jar
|
%{_datadir}/java/apache-ant/ant-commons-net.jar
|
||||||
|
%{_datadir}/java/apache-ant/ant-imageio.jar
|
||||||
%{_datadir}/java/apache-ant/ant-jai.jar
|
%{_datadir}/java/apache-ant/ant-jai.jar
|
||||||
%{_datadir}/java/apache-ant/ant-javamail.jar
|
%{_datadir}/java/apache-ant/ant-javamail.jar
|
||||||
%{_datadir}/java/apache-ant/ant-jdepend.jar
|
%{_datadir}/java/apache-ant/ant-jdepend.jar
|
||||||
@ -168,6 +184,8 @@ cp -r manual/* %{buildroot}%{_docdir}/apache-ant/
|
|||||||
%{_datadir}/java/apache-ant/ant-netrexx.jar
|
%{_datadir}/java/apache-ant/ant-netrexx.jar
|
||||||
%{_datadir}/java/apache-ant/ant-swing.jar
|
%{_datadir}/java/apache-ant/ant-swing.jar
|
||||||
%{_datadir}/java/apache-ant/ant-testutil.jar
|
%{_datadir}/java/apache-ant/ant-testutil.jar
|
||||||
|
%{_datadir}/java/apache-ant/ant-junitlauncher.jar
|
||||||
|
%{_datadir}/java/apache-ant/ant-xz.jar
|
||||||
%{_datadir}/java/apache-ant/ant.jar
|
%{_datadir}/java/apache-ant/ant.jar
|
||||||
%{_datadir}/apache-ant/bin/ant
|
%{_datadir}/apache-ant/bin/ant
|
||||||
%{_datadir}/apache-ant/bin/antRun
|
%{_datadir}/apache-ant/bin/antRun
|
||||||
@ -181,6 +199,9 @@ cp -r manual/* %{buildroot}%{_docdir}/apache-ant/
|
|||||||
%{_docdir}/apache-ant/*
|
%{_docdir}/apache-ant/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 22 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.9-1mamba
|
||||||
|
- update to 1.10.9
|
||||||
|
|
||||||
* Sun Oct 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.15-1mamba
|
* Sun Oct 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.15-1mamba
|
||||||
- update to 1.9.15
|
- update to 1.9.15
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user