2014-08-28 19:05:23 +02:00
|
|
|
#
|
2019-04-09 12:50:16 +02:00
|
|
|
# spec file for package ant-junit
|
2014-08-28 19:05:23 +02:00
|
|
|
#
|
2019-02-01 17:20:27 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-08-28 19:05:23 +02:00
|
|
|
# Copyright (c) 2000-2009, JPackage Project
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-17 21:42:17 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-08-28 19:05:23 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-10-04 11:08:49 +02:00
|
|
|
%global ant_home %{_datadir}/ant
|
2014-08-28 19:05:23 +02:00
|
|
|
##### WARNING: please do not edit this auto generated spec file. Use the ant.spec! #####
|
|
|
|
%bcond_with bootstrap
|
|
|
|
%bcond_without junit
|
2019-02-08 09:52:49 +01:00
|
|
|
%bcond_with junit5
|
2014-08-28 19:05:23 +02:00
|
|
|
%bcond_with antlr
|
|
|
|
Name: ant-junit
|
2019-11-08 12:17:19 +01:00
|
|
|
Version: 1.10.7
|
2014-08-28 19:05:23 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Optional junit tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
2018-10-17 21:42:17 +02:00
|
|
|
URL: http://ant.apache.org/
|
2014-08-28 19:05:23 +02:00
|
|
|
Source0: http://www.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2
|
|
|
|
Source1: apache-ant-1.8.ant.conf
|
2019-02-08 11:20:14 +01:00
|
|
|
Source10: ant-bootstrap.pom.in
|
2014-08-28 19:05:23 +02:00
|
|
|
Source1000: pre_checkin.sh
|
|
|
|
Source1001: http://www.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2.asc
|
|
|
|
Source1002: ant.keyring
|
|
|
|
Patch0: apache-ant-no-test-jar.patch
|
|
|
|
Patch1: apache-ant-class-path-in-manifest.patch
|
2018-10-26 12:55:47 +02:00
|
|
|
Patch2: apache-ant-bootstrap.patch
|
2017-10-26 08:45:48 +02:00
|
|
|
#PATCH-FEATURE-OPENSUSE bmwiedemann -- have fixed build dates
|
2018-10-26 12:55:47 +02:00
|
|
|
Patch3: reproducible-build-date.patch
|
|
|
|
Patch4: ant-python3.patch
|
2018-10-25 23:10:16 +02:00
|
|
|
# PATCH-FEATURE-OPENSUSE reproducible-build-manifest.patch -- have fixed "Created-by" in manifest
|
2018-10-26 12:55:47 +02:00
|
|
|
Patch5: reproducible-build-manifest.patch
|
2018-12-10 09:25:23 +01:00
|
|
|
Patch6: apache-ant-xml-apis.patch
|
2017-02-13 16:20:50 +01:00
|
|
|
BuildRequires: antlr-bootstrap
|
2018-05-15 08:05:51 +02:00
|
|
|
BuildRequires: java-devel >= 1.8
|
2018-10-17 21:42:17 +02:00
|
|
|
BuildRequires: javapackages-local
|
2017-10-04 11:08:49 +02:00
|
|
|
BuildRequires: unzip
|
2019-02-01 17:41:58 +01:00
|
|
|
BuildRequires: xml-commons-apis-bootstrap
|
2019-02-05 10:57:28 +01:00
|
|
|
#!BuildIgnore: xml-commons-apis
|
2017-10-04 11:08:49 +02:00
|
|
|
BuildArch: noarch
|
2017-05-19 10:36:09 +02:00
|
|
|
# Needed for maven conversions
|
2017-06-09 11:04:32 +02:00
|
|
|
%if !%{with bootstrap}
|
2017-05-19 10:36:09 +02:00
|
|
|
BuildRequires: javapackages-local
|
2017-06-09 11:04:32 +02:00
|
|
|
%endif
|
2019-02-08 09:52:49 +01:00
|
|
|
%if %{with junit} || %{with antlr} || %{with junit5}
|
2014-08-28 19:05:23 +02:00
|
|
|
BuildRequires: ant = %{version}
|
2019-02-05 10:51:10 +01:00
|
|
|
BuildRequires: hamcrest
|
2014-08-28 19:05:23 +02:00
|
|
|
BuildRequires: junit
|
|
|
|
#!BuildIgnore: antlr
|
|
|
|
%endif
|
|
|
|
%if %{with antlr}
|
|
|
|
BuildRequires: xerces-j2
|
2019-11-09 09:35:14 +01:00
|
|
|
BuildRequires: xz-java
|
2014-08-28 19:05:23 +02:00
|
|
|
%endif
|
2019-02-08 09:52:49 +01:00
|
|
|
%if %{with junit5}
|
2019-02-08 11:20:14 +01:00
|
|
|
BuildRequires: apiguardian
|
2019-02-08 09:52:49 +01:00
|
|
|
BuildRequires: junit5
|
|
|
|
%endif
|
2017-05-09 13:09:03 +02:00
|
|
|
%if 0%{?suse_version} > 1320
|
|
|
|
BuildRequires: strip-nondeterminism
|
|
|
|
%endif
|
2014-08-28 19:05:23 +02:00
|
|
|
%if %{with bootstrap}
|
2018-05-15 08:05:51 +02:00
|
|
|
Requires: java-devel >= 1.8
|
2014-08-28 19:05:23 +02:00
|
|
|
Requires: javapackages-tools
|
2019-04-09 12:50:16 +02:00
|
|
|
Requires: xerces-j2
|
2018-12-10 09:25:23 +01:00
|
|
|
Requires: xml-apis
|
|
|
|
Requires: xml-resolver
|
2014-08-28 19:05:23 +02:00
|
|
|
Obsoletes: apache-ant < %{version}
|
|
|
|
Provides: apache-ant = %{version}
|
|
|
|
Obsoletes: ant-nodeps < %{version}
|
|
|
|
Provides: ant-nodeps = %{version}
|
|
|
|
Obsoletes: ant-trax < %{version}
|
|
|
|
Provides: ant-trax = %{version}
|
|
|
|
%endif
|
|
|
|
%if %{with antlr}
|
|
|
|
Requires: antlr
|
|
|
|
%requires_eq ant
|
2017-05-19 10:36:09 +02:00
|
|
|
Obsoletes: ant-javadoc
|
2014-08-28 19:05:23 +02:00
|
|
|
%endif
|
|
|
|
%if %{with junit}
|
|
|
|
Requires: junit4
|
|
|
|
%requires_eq ant
|
|
|
|
%endif
|
2019-02-08 09:52:49 +01:00
|
|
|
%if %{with junit5}
|
|
|
|
Requires: junit5
|
|
|
|
%requires_eq ant
|
|
|
|
%endif
|
2014-08-28 19:05:23 +02:00
|
|
|
%if %{with junit}
|
|
|
|
%description
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional JUnit tasks for Apache Ant.
|
2019-02-08 09:52:49 +01:00
|
|
|
%elif %{with junit5}
|
|
|
|
%description
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional JUnit5 tasks for Apache Ant.
|
2014-08-28 19:05:23 +02:00
|
|
|
%else
|
|
|
|
%description
|
|
|
|
Apache Ant is a Java-based build tool. In theory, it is kind of like
|
2017-10-29 09:21:03 +01:00
|
|
|
Make. Build description files are written in XML.
|
2014-08-28 19:05:23 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
%package -n ant-jmf
|
|
|
|
Summary: Optional jmf tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
|
|
|
Requires: ant = %{version}
|
|
|
|
|
|
|
|
%description -n ant-jmf
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional jmf tasks for Apache Ant.
|
|
|
|
|
|
|
|
%package -n ant-swing
|
|
|
|
Summary: Optional swing tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
|
|
|
Requires: ant = %{version}
|
|
|
|
|
|
|
|
%description -n ant-swing
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional swing tasks for Apache Ant.
|
|
|
|
|
|
|
|
%package -n ant-scripts
|
|
|
|
Summary: Additional scripts for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
|
|
|
Requires: ant = %{version}
|
2018-02-22 12:49:36 +01:00
|
|
|
Requires: perl
|
|
|
|
Requires: python3-base
|
2014-08-28 19:05:23 +02:00
|
|
|
|
|
|
|
%description -n ant-scripts
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains additional perl and python scripts for Apache
|
|
|
|
Ant.
|
|
|
|
|
|
|
|
%endif #if bootstrap
|
|
|
|
|
|
|
|
%if %{with antlr}
|
|
|
|
%package -n ant-apache-bsf
|
|
|
|
Summary: Optional apache bsf tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
2017-10-04 11:08:49 +02:00
|
|
|
BuildRequires: bsf
|
2014-08-28 19:05:23 +02:00
|
|
|
Requires: bsf
|
|
|
|
%requires_eq ant
|
|
|
|
|
|
|
|
%description -n ant-apache-bsf
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional apache bsf tasks for Apache Ant.
|
|
|
|
|
|
|
|
%package -n ant-apache-resolver
|
|
|
|
Summary: Optional apache resolver tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
2018-12-10 09:25:23 +01:00
|
|
|
BuildRequires: xml-resolver
|
|
|
|
Requires: xml-resolver
|
2014-08-28 19:05:23 +02:00
|
|
|
%requires_eq ant
|
|
|
|
|
|
|
|
%description -n ant-apache-resolver
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional apache resolver tasks for Apache Ant.
|
|
|
|
|
|
|
|
%package -n ant-commons-logging
|
|
|
|
Summary: Optional commons logging tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
2017-10-04 11:08:49 +02:00
|
|
|
BuildRequires: jakarta-commons-logging
|
2014-08-28 19:05:23 +02:00
|
|
|
Requires: jakarta-commons-logging
|
|
|
|
%requires_eq ant
|
|
|
|
|
|
|
|
%description -n ant-commons-logging
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional commons logging tasks for Apache Ant.
|
|
|
|
|
|
|
|
%package -n ant-commons-net
|
|
|
|
Summary: Optional commons net tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
2017-10-04 11:08:49 +02:00
|
|
|
BuildRequires: jakarta-commons-net
|
2014-08-28 19:05:23 +02:00
|
|
|
Requires: jakarta-commons-net
|
|
|
|
%requires_eq ant
|
|
|
|
|
|
|
|
%description -n ant-commons-net
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional commons net tasks for Apache Ant.
|
|
|
|
|
|
|
|
%package -n ant-apache-bcel
|
|
|
|
Summary: Optional apache bcel tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
2017-10-04 11:08:49 +02:00
|
|
|
BuildRequires: bcel
|
2014-08-28 19:05:23 +02:00
|
|
|
Requires: bcel
|
|
|
|
%requires_eq ant
|
|
|
|
Provides: ant-jakarta-bcel = %{version}
|
|
|
|
Obsoletes: ant-jakarta-bcel < %{version}
|
|
|
|
|
|
|
|
%description -n ant-apache-bcel
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional apache bcel tasks for Apache Ant.
|
|
|
|
|
|
|
|
%package -n ant-apache-log4j
|
|
|
|
Summary: Optional apache log4j tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
2019-10-01 10:36:31 +02:00
|
|
|
BuildRequires: log4j12-mini
|
|
|
|
Requires: log4j12
|
2014-08-28 19:05:23 +02:00
|
|
|
%requires_eq ant
|
|
|
|
Provides: ant-jakarta-log4j = %{version}
|
|
|
|
Obsoletes: ant-jakarta-log4j < %{version}
|
|
|
|
|
|
|
|
%description -n ant-apache-log4j
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional apache log4j tasks for Apache Ant.
|
|
|
|
|
|
|
|
%package -n ant-apache-oro
|
|
|
|
Summary: Optional apache oro tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
2017-10-04 11:08:49 +02:00
|
|
|
BuildRequires: oro
|
2014-08-28 19:05:23 +02:00
|
|
|
Requires: oro
|
|
|
|
%requires_eq ant
|
|
|
|
Provides: ant-jakarta-oro = %{version}
|
|
|
|
Obsoletes: ant-jakarta-oro < %{version}
|
|
|
|
|
|
|
|
%description -n ant-apache-oro
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional apache oro tasks for Apache Ant.
|
|
|
|
|
|
|
|
%package -n ant-apache-regexp
|
|
|
|
Summary: Optional apache regexp tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
2017-10-04 11:08:49 +02:00
|
|
|
BuildRequires: regexp
|
2014-08-28 19:05:23 +02:00
|
|
|
Requires: regexp
|
|
|
|
%requires_eq ant
|
|
|
|
Provides: ant-jakarta-regexp = %{version}
|
|
|
|
Obsoletes: ant-jakarta-regexp < %{version}
|
|
|
|
|
|
|
|
%description -n ant-apache-regexp
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional apache regexp tasks for Apache Ant.
|
|
|
|
|
|
|
|
%package -n ant-apache-xalan2
|
|
|
|
Summary: Optional apache xalan2 tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
|
|
|
BuildRequires: regexp
|
|
|
|
BuildRequires: xalan-j2
|
|
|
|
Requires: regexp
|
|
|
|
%requires_eq ant
|
|
|
|
|
|
|
|
%description -n ant-apache-xalan2
|
|
|
|
Optional apache xalan2 tasks for %{name}.
|
|
|
|
|
2019-11-08 12:17:19 +01:00
|
|
|
%package -n ant-imageio
|
|
|
|
Summary: Optional imageio tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
|
|
|
%requires_eq ant
|
|
|
|
|
|
|
|
%description -n ant-imageio
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional imageio tasks for Apache Ant.
|
|
|
|
|
2014-08-28 19:05:23 +02:00
|
|
|
%package -n ant-javamail
|
|
|
|
Summary: Optional javamail tasks for ant
|
|
|
|
License: CDDL-1.0
|
|
|
|
Group: Development/Tools/Building
|
|
|
|
BuildRequires: javamail >= 1.2-5jpp
|
|
|
|
Requires: javamail >= 1.2-5jpp
|
|
|
|
%requires_eq ant
|
|
|
|
|
|
|
|
%description -n ant-javamail
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional javamail tasks for Apache Ant.
|
|
|
|
|
|
|
|
%package -n ant-jdepend
|
|
|
|
Summary: Optional jdepend tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
2017-10-04 11:08:49 +02:00
|
|
|
BuildRequires: jdepend
|
2014-08-28 19:05:23 +02:00
|
|
|
Requires: jdepend
|
|
|
|
%requires_eq ant
|
|
|
|
|
|
|
|
%description -n ant-jdepend
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional jdepend tasks for Apache Ant.
|
|
|
|
|
|
|
|
%package -n ant-jsch
|
|
|
|
Summary: Optional jsch tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
2017-10-04 11:08:49 +02:00
|
|
|
BuildRequires: jsch
|
2014-08-28 19:05:23 +02:00
|
|
|
Requires: jsch
|
|
|
|
%requires_eq ant
|
|
|
|
|
|
|
|
%description -n ant-jsch
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional jsch tasks for Apache Ant.
|
|
|
|
|
2019-11-09 09:35:14 +01:00
|
|
|
%package -n ant-xz
|
|
|
|
Summary: Opional xz tasks for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
|
|
|
Requires: xz-java
|
|
|
|
%requires_eq ant
|
|
|
|
|
|
|
|
%description -n ant-xz
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains optional xz tasks for Apache Ant.
|
|
|
|
|
2014-08-28 19:05:23 +02:00
|
|
|
%package -n ant-testutil
|
|
|
|
Summary: Test utility classes for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
|
|
|
Requires: junit4
|
|
|
|
%requires_eq ant
|
|
|
|
|
|
|
|
%description -n ant-testutil
|
|
|
|
Test utility tasks for %{name}.
|
|
|
|
|
|
|
|
%package -n ant-manual
|
|
|
|
Summary: Manual for ant
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Tools/Building
|
|
|
|
|
|
|
|
%description -n ant-manual
|
|
|
|
Apache Ant is a Java-based build tool.
|
|
|
|
|
|
|
|
This package contains the manual for Apache Ant.
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n apache-ant-%{version}
|
|
|
|
#Fixup version
|
|
|
|
find -name build.xml -o -name pom.xml | xargs sed -i -e s/-SNAPSHOT//
|
2019-11-09 18:09:20 +01:00
|
|
|
find -name \*.jar -print -delete
|
2014-08-28 19:05:23 +02:00
|
|
|
|
|
|
|
# When bootstrapping, we don't have junit
|
|
|
|
%if %{with bootstrap}
|
|
|
|
%patch0 -p1
|
|
|
|
%endif
|
|
|
|
%patch1
|
2018-10-26 12:55:47 +02:00
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
2017-09-06 19:53:01 +02:00
|
|
|
%patch4 -p1
|
2017-09-14 09:20:41 +02:00
|
|
|
%patch5 -p1
|
2018-12-10 09:25:23 +01:00
|
|
|
%patch6 -p1
|
2014-08-28 19:05:23 +02:00
|
|
|
|
|
|
|
# clean jar files
|
2017-10-29 09:21:03 +01:00
|
|
|
find . -name "*.jar" -print -delete
|
2014-08-28 19:05:23 +02:00
|
|
|
|
|
|
|
# failing testcases. TODO see why
|
2018-10-26 12:55:47 +02:00
|
|
|
%if %{with antlr} || %{with junit}
|
|
|
|
rm src/tests/junit/org/apache/tools/mail/MailMessageTest.java \
|
|
|
|
src/tests/junit/org/apache/tools/ant/taskdefs/ExecuteWatchdogTest.java \
|
|
|
|
src/tests/junit/org/apache/tools/ant/taskdefs/JavaTest.java \
|
|
|
|
src/tests/junit/org/apache/tools/ant/taskdefs/TestProcess.java
|
|
|
|
%endif
|
2014-08-28 19:05:23 +02:00
|
|
|
|
|
|
|
#install jars
|
2019-02-08 09:52:49 +01:00
|
|
|
%if %{with junit} || %{with junit5}
|
2014-08-28 19:05:23 +02:00
|
|
|
build-jar-repository -s -p lib/optional junit4
|
|
|
|
%endif
|
2019-02-08 09:52:49 +01:00
|
|
|
%if %{with junit5}
|
|
|
|
build-jar-repository -s -p lib/optional junit5 opentest4j
|
|
|
|
%endif
|
2014-08-28 19:05:23 +02:00
|
|
|
%if %{with antlr}
|
|
|
|
# we need to build junit in antlr, but we remove it later
|
2019-11-09 09:35:14 +01:00
|
|
|
build-jar-repository -s -p lib/optional xerces-j2 xml-apis antlr-bootstrap bcel javamail/mailapi jdepend junit4 log4j12/log4j-12 oro regexp bsf commons-logging commons-net jsch xalan-j2 xalan-j2-serializer xml-resolver xz-java
|
2014-08-28 19:05:23 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
# Fix file-not-utf8 rpmlint warning
|
|
|
|
iconv KEYS -f iso-8859-1 -t utf-8 -o KEYS.utf8
|
|
|
|
mv KEYS.utf8 KEYS
|
|
|
|
iconv LICENSE -f iso-8859-1 -t utf-8 -o LICENSE.utf8
|
|
|
|
mv LICENSE.utf8 LICENSE
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%build
|
|
|
|
export OPT_JAR_LIST=:
|
|
|
|
|
2019-02-08 09:52:49 +01:00
|
|
|
%if %{with antlr} || %{with junit} || %{with junit5}
|
2014-08-28 19:05:23 +02:00
|
|
|
ant -Dbuild.sysclasspath=first jars test-jar
|
|
|
|
|
|
|
|
#remove empty jai and netrexx jars. Due to missing dependencies they contain only manifests.
|
|
|
|
rm -rf build/lib/ant-jai.jar build/lib/ant-netrexx.jar
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
export GC_MAXIMUM_HEAP_SIZE="134217728" #128M
|
2015-06-22 10:55:55 +02:00
|
|
|
export JAVA_HOME="%{java_home}"
|
2014-08-28 19:05:23 +02:00
|
|
|
sh -x ./build.sh --noconfig jars
|
|
|
|
|
|
|
|
%endif
|
2017-05-09 13:09:03 +02:00
|
|
|
%?strip_all_nondeterminism
|
2014-08-28 19:05:23 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
# ANT_HOME and subdirs
|
|
|
|
mkdir -p %{buildroot}%{ant_home}/{lib,etc}
|
|
|
|
# jars
|
|
|
|
install -d -m 755 %{buildroot}%{_javadir}/ant
|
|
|
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|
|
|
|
2019-02-08 09:52:49 +01:00
|
|
|
%if %{without junit} && %{without junit5}
|
|
|
|
rm build/lib/ant-junit*.jar
|
2014-08-28 19:05:23 +02:00
|
|
|
%else
|
2019-02-08 09:52:49 +01:00
|
|
|
%if %{without junit}
|
|
|
|
rm build/lib/ant-junit.jar
|
|
|
|
rm build/lib/ant-junit4.jar
|
|
|
|
%else
|
|
|
|
# empty in this scenario
|
|
|
|
rm build/lib/ant-junitlauncher.jar
|
|
|
|
%endif
|
|
|
|
# remove all others
|
|
|
|
for i in build/lib/ant-*.jar ; do
|
|
|
|
case $i in
|
|
|
|
*/ant-junit*)
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
rm -v $i
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
2017-02-16 10:49:33 +01:00
|
|
|
%endif
|
2014-08-28 19:05:23 +02:00
|
|
|
|
|
|
|
for jar in build/lib/*.jar
|
|
|
|
do
|
|
|
|
jarname=$(basename $jar .jar)
|
2019-11-08 12:17:19 +01:00
|
|
|
pomname="${jarname}.pom"
|
2014-08-28 19:05:23 +02:00
|
|
|
|
|
|
|
#Determine where to put it
|
|
|
|
case $jarname in
|
|
|
|
#These go into %%{_javadir}, pom files have different names
|
|
|
|
ant | ant-bootstrap | ant-launcher)
|
|
|
|
%if %{with bootstrap}
|
2019-11-08 12:17:19 +01:00
|
|
|
destdir="%{buildroot}%{_javadir}/ant"; destname="ant/";pomname="$jarname.pom"
|
2014-08-28 19:05:23 +02:00
|
|
|
%else
|
|
|
|
continue
|
|
|
|
%endif
|
|
|
|
;;
|
|
|
|
ant-jmf|ant-swing)
|
|
|
|
%if %{with bootstrap}
|
2015-06-22 10:55:55 +02:00
|
|
|
destdir="%{buildroot}%{_javadir}/ant"; destname="ant/";
|
2014-08-28 19:05:23 +02:00
|
|
|
%else
|
|
|
|
continue
|
|
|
|
%endif
|
|
|
|
;;
|
|
|
|
#Bootstracp builds an incomplete ant-foo jars, don't ship them
|
|
|
|
*)
|
|
|
|
%if %{with bootstrap}
|
|
|
|
continue
|
|
|
|
%else
|
|
|
|
#These go into %%{_javadir}/ant
|
2015-06-22 10:55:55 +02:00
|
|
|
destdir="%{buildroot}%{_javadir}/ant"; destname="ant/";
|
2014-08-28 19:05:23 +02:00
|
|
|
%endif
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
#instal jar
|
|
|
|
install -m 644 ${jar} ${destdir}/${jarname}.jar
|
|
|
|
# jar aliases
|
|
|
|
ln -sf ../../java/${destname}${jarname}.jar %{buildroot}%{ant_home}/lib/${jarname}.jar
|
|
|
|
|
|
|
|
#bootstrap does not have a pom
|
2019-03-18 20:48:22 +01:00
|
|
|
if [ "$jarname" = ant-bootstrap ]; then
|
2019-02-08 11:20:14 +01:00
|
|
|
mkdir -p src/etc/poms/${jarname}
|
|
|
|
sed -e "s#@VERSION@#%{version}#g" < %{SOURCE10} > src/etc/poms/${jarname}/pom.xml
|
|
|
|
fi
|
2014-08-28 19:05:23 +02:00
|
|
|
|
|
|
|
#install pom
|
2019-09-30 10:17:40 +02:00
|
|
|
if [ "$jarname" != ant-bootstrap ]; then
|
|
|
|
%pom_remove_parent src/etc/poms/${jarname}/pom.xml
|
|
|
|
fi
|
2018-12-10 09:25:23 +01:00
|
|
|
install -m 644 src/etc/poms/${jarname}/pom.xml %{buildroot}/%{_mavenpomdir}/${pomname}
|
2019-03-18 20:48:22 +01:00
|
|
|
if [ "$jarname" = ant-launcher ]; then
|
2018-10-31 11:21:17 +01:00
|
|
|
%add_maven_depmap ${pomname} ${destname}${jarname}.jar -a ant:ant-launcher
|
2019-03-18 20:48:22 +01:00
|
|
|
elif [ "$jarname" = ant-jmf ]; then
|
2019-02-08 09:52:49 +01:00
|
|
|
%add_maven_depmap ${pomname} ${destname}${jarname}.jar -f jmf
|
2019-03-18 20:48:22 +01:00
|
|
|
elif [ "$jarname" = ant-swing ]; then
|
2019-02-08 09:52:49 +01:00
|
|
|
%add_maven_depmap ${pomname} ${destname}${jarname}.jar -f swing
|
2019-03-18 20:48:22 +01:00
|
|
|
elif [ "$jarname" = ant ]; then
|
2018-10-31 11:21:17 +01:00
|
|
|
%add_maven_depmap ${pomname} ${destname}${jarname}.jar -a org.apache.ant:ant-nodeps,apache:ant,ant:ant
|
2019-11-09 09:35:14 +01:00
|
|
|
elif [ "$jarname" = ant-antlr -o "$jarname" = ant-bootstrap ]; then
|
2019-11-08 18:01:07 +01:00
|
|
|
%add_maven_depmap ${pomname} ${destname}${jarname}.jar
|
2018-10-31 11:21:17 +01:00
|
|
|
else
|
2019-11-08 18:01:07 +01:00
|
|
|
%if %{with junit} || %{with junit5}
|
2018-10-31 11:21:17 +01:00
|
|
|
%add_maven_depmap ${pomname} ${destname}${jarname}.jar
|
2019-11-08 18:01:07 +01:00
|
|
|
%else
|
|
|
|
%add_maven_depmap ${pomname} ${destname}${jarname}.jar -f ${jarname}
|
|
|
|
%endif
|
2018-10-31 11:21:17 +01:00
|
|
|
fi
|
2014-08-28 19:05:23 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
|
|
|
# scripts: remove dos and os/2 scripts
|
|
|
|
rm -f src/script/*.bat
|
|
|
|
rm -f src/script/*.cmd
|
|
|
|
|
|
|
|
# XSLs
|
2018-12-10 09:25:23 +01:00
|
|
|
cp -p src/etc/*.xsl %{buildroot}%{ant_home}%{_sysconfdir}
|
2017-10-04 11:08:49 +02:00
|
|
|
rm -f %{buildroot}%{ant_home}%{_sysconfdir}/{maudit-frames,jdepend,jdepend-frames,junit-frames,junit-noframes}.xsl
|
2014-08-28 19:05:23 +02:00
|
|
|
%endif
|
|
|
|
%if %{with junit}
|
2018-12-10 09:25:23 +01:00
|
|
|
cp -p src/etc/{junit-noframes,junit-frames}.xsl %{buildroot}%{ant_home}%{_sysconfdir}
|
2014-08-28 19:05:23 +02:00
|
|
|
%endif
|
|
|
|
%if %{with antlr}
|
2018-12-10 09:25:23 +01:00
|
|
|
cp -p src/etc/{maudit-frames,jdepend,jdepend-frames}.xsl %{buildroot}%{ant_home}%{_sysconfdir}
|
2014-08-28 19:05:23 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
# install everything else
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
cp -p src/script/* %{buildroot}%{_bindir}/
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/%{name}/bin/
|
|
|
|
ln -sf %{_bindir}/antRun %{buildroot}/%{_datadir}/%{name}/bin/antRun
|
|
|
|
%endif
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/ant.d
|
|
|
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
# default ant.conf
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}
|
|
|
|
cp -p %{SOURCE1} %{buildroot}%{_sysconfdir}/ant.conf
|
|
|
|
|
|
|
|
# OPT_JAR_LIST fragments
|
|
|
|
echo "ant/ant-jmf" > %{buildroot}%{_sysconfdir}/%{name}.d/jmf
|
|
|
|
echo "ant/ant-swing" > %{buildroot}%{_sysconfdir}/%{name}.d/swing
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with junit}
|
|
|
|
echo "junit ant/ant-junit" > %{buildroot}%{_sysconfdir}/ant.d/junit
|
2016-01-17 09:38:49 +01:00
|
|
|
echo "junit4 ant/ant-junit4" > %{buildroot}%{_sysconfdir}/ant.d/junit4
|
2014-08-28 19:05:23 +02:00
|
|
|
%endif
|
|
|
|
|
2019-02-08 09:52:49 +01:00
|
|
|
%if %{with junit5}
|
|
|
|
echo "junit5 hamcrest/core junit opentest4j ant/ant-junitlauncher" > %{buildroot}%{_sysconfdir}/ant.d/junitlauncher
|
|
|
|
%endif
|
|
|
|
|
2014-08-28 19:05:23 +02:00
|
|
|
%if %{with antlr}
|
|
|
|
echo "antlr ant/ant-antlr" > %{buildroot}%{_sysconfdir}/ant.d/antlr
|
|
|
|
echo "bsf ant/ant-apache-bsf" > %{buildroot}%{_sysconfdir}/ant.d/apache-bsf
|
2018-12-10 09:25:23 +01:00
|
|
|
echo "xml-resolver ant/ant-apache-resolver" > %{buildroot}%{_sysconfdir}/ant.d/apache-resolver
|
2014-08-28 19:05:23 +02:00
|
|
|
echo "jakarta-commons-logging ant/ant-commons-logging" > %{buildroot}%{_sysconfdir}/ant.d/commons-logging
|
|
|
|
echo "jakarta-commons-net ant/ant-commons-net" > %{buildroot}%{_sysconfdir}/ant.d/commons-net
|
|
|
|
echo "bcel ant/ant-apache-bcel" > %{buildroot}%{_sysconfdir}/ant.d/apache-bcel
|
2019-10-01 10:36:31 +02:00
|
|
|
echo "log4j12/log4j-12 ant/ant-apache-log4j" > %{buildroot}%{_sysconfdir}/ant.d/apache-log4j
|
2014-08-28 19:05:23 +02:00
|
|
|
echo "oro ant/ant-apache-oro" > %{buildroot}%{_sysconfdir}/ant.d/apache-oro
|
|
|
|
echo "regexp ant/ant-apache-regexp" > %{buildroot}%{_sysconfdir}/ant.d/apache-regexp
|
|
|
|
echo "xalan-j2 ant/ant-apache-xalan2" > %{buildroot}%{_sysconfdir}/ant.d/apache-xalan2
|
2019-11-08 12:17:19 +01:00
|
|
|
echo "ant/ant-imageio" > %{buildroot}%{_sysconfdir}/ant.d/imageio
|
2014-08-28 19:05:23 +02:00
|
|
|
echo "javamail jaf ant/ant-javamail" > %{buildroot}%{_sysconfdir}/ant.d/javamail
|
|
|
|
echo "jdepend ant/ant-jdepend" > %{buildroot}%{_sysconfdir}/ant.d/jdepend
|
|
|
|
echo "jsch ant/ant-jsch" > %{buildroot}%{_sysconfdir}/ant.d/jsch
|
2019-11-09 09:35:14 +01:00
|
|
|
echo "xz-java ant/ant-xz" > %{buildroot}%{_sysconfdir}/ant.d/xz
|
2014-08-28 19:05:23 +02:00
|
|
|
echo "testutil ant/ant-testutil" > %{buildroot}%{_sysconfdir}/ant.d/testutil
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with bootstrap}
|
2017-10-04 11:08:49 +02:00
|
|
|
find %{buildroot}%{_datadir}/ant%{_sysconfdir} -type f -name "*.xsl" \
|
2014-08-28 19:05:23 +02:00
|
|
|
-a ! -name ant-update.xsl \
|
|
|
|
-a ! -name changelog.xsl \
|
|
|
|
-a ! -name coverage-frames.xsl \
|
|
|
|
-a ! -name junit-frames-xalan1.xsl \
|
|
|
|
-a ! -name log.xsl \
|
|
|
|
-a ! -name mmetrics-frames.xsl \
|
|
|
|
-a ! -name tagdiff.xsl \
|
2017-10-29 09:21:03 +01:00
|
|
|
-print -delete
|
2014-08-28 19:05:23 +02:00
|
|
|
%endif
|
2018-05-15 08:05:51 +02:00
|
|
|
# remove *.orig
|
2018-10-17 21:42:17 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ant.orig
|
2014-08-28 19:05:23 +02:00
|
|
|
|
|
|
|
%if %{with bootstrap}
|
2019-02-08 08:30:35 +01:00
|
|
|
pushd %{buildroot}%{_javadir}
|
2019-11-08 12:17:19 +01:00
|
|
|
for i in ant-bootstrap ant-launcher ant; do
|
|
|
|
ln -sf ant/${i}.jar ${i}.jar
|
2019-02-08 08:30:35 +01:00
|
|
|
done
|
|
|
|
popd
|
|
|
|
|
2019-02-08 09:52:49 +01:00
|
|
|
%files -f .mfiles
|
2019-02-08 08:30:35 +01:00
|
|
|
%license LICENSE NOTICE
|
|
|
|
%doc KEYS README WHATSNEW
|
2014-08-28 19:05:23 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
|
|
|
%attr(0755,root,root) %{_bindir}/ant
|
|
|
|
%attr(0755,root,root) %{_bindir}/antRun
|
2019-11-08 12:17:19 +01:00
|
|
|
%{_javadir}/%{name}.jar
|
|
|
|
%{_javadir}/%{name}-launcher.jar
|
2014-08-28 19:05:23 +02:00
|
|
|
%{_javadir}/%{name}-bootstrap.jar
|
|
|
|
%dir %{_javadir}/%{name}
|
|
|
|
%dir %{ant_home}
|
2017-10-04 11:08:49 +02:00
|
|
|
%dir %{ant_home}%{_sysconfdir}
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/bin
|
2017-10-04 11:08:49 +02:00
|
|
|
%{ant_home}%{_sysconfdir}/ant-update.xsl
|
|
|
|
%{ant_home}%{_sysconfdir}/changelog.xsl
|
|
|
|
%{ant_home}%{_sysconfdir}/coverage-frames.xsl
|
|
|
|
%{ant_home}%{_sysconfdir}/mmetrics-frames.xsl
|
|
|
|
%{ant_home}%{_sysconfdir}/log.xsl
|
|
|
|
%{ant_home}%{_sysconfdir}/tagdiff.xsl
|
|
|
|
%{ant_home}%{_sysconfdir}/junit-frames-xalan1.xsl
|
2014-08-28 19:05:23 +02:00
|
|
|
# % {ant_home}/etc/common2master.xsl
|
|
|
|
# % {ant_home}/etc/printFailingTests.xsl
|
|
|
|
%dir %{ant_home}/lib
|
|
|
|
%dir %{_sysconfdir}/%{name}.d
|
|
|
|
%{ant_home}/lib/ant.jar
|
|
|
|
%{ant_home}/lib/ant-bootstrap.jar
|
|
|
|
%{ant_home}/lib/ant-launcher.jar
|
|
|
|
%dir %{_sysconfdir}/ant.d
|
|
|
|
%endif
|
2017-10-04 11:08:49 +02:00
|
|
|
|
2014-08-28 19:05:23 +02:00
|
|
|
%if %{with antlr}
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -f .mfiles
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-antlr.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/antlr
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with junit}
|
2019-02-08 09:52:49 +01:00
|
|
|
%files -f .mfiles
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-junit*.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/junit
|
2016-01-17 09:38:49 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/junit4
|
2017-10-04 11:08:49 +02:00
|
|
|
%{ant_home}%{_sysconfdir}/junit-frames.xsl
|
|
|
|
%{ant_home}%{_sysconfdir}/junit-noframes.xsl
|
2017-05-19 10:36:09 +02:00
|
|
|
%endif
|
2019-02-08 09:52:49 +01:00
|
|
|
|
|
|
|
%if %{with junit5}
|
|
|
|
%files -f .mfiles
|
|
|
|
%{ant_home}/lib/ant-junitlauncher.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/junitlauncher
|
2014-08-28 19:05:23 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
### Basic ant subpackages
|
|
|
|
%if %{with bootstrap}
|
2019-02-08 09:52:49 +01:00
|
|
|
%files -n ant-jmf -f .mfiles-jmf
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-jmf.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/jmf
|
|
|
|
|
2019-02-08 09:52:49 +01:00
|
|
|
%files -n ant-swing -f .mfiles-swing
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-swing.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/swing
|
|
|
|
|
|
|
|
%files -n ant-scripts
|
|
|
|
%defattr(0755,root,root,0755)
|
|
|
|
%{_bindir}/*.pl
|
|
|
|
%{_bindir}/*.py*
|
|
|
|
%endif #if bootstrap
|
|
|
|
|
|
|
|
%if %{with antlr}
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -n ant-apache-bsf -f .mfiles-ant-apache-bsf
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-apache-bsf.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/apache-bsf
|
|
|
|
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -n ant-apache-resolver -f .mfiles-ant-apache-resolver
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-apache-resolver.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/apache-resolver
|
|
|
|
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -n ant-commons-logging -f .mfiles-ant-commons-logging
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-commons-logging.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/commons-logging
|
|
|
|
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -n ant-commons-net -f .mfiles-ant-commons-net
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-commons-net.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/commons-net
|
|
|
|
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -n ant-apache-bcel -f .mfiles-ant-apache-bcel
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-apache-bcel.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/apache-bcel
|
|
|
|
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -n ant-apache-log4j -f .mfiles-ant-apache-log4j
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-apache-log4j.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/apache-log4j
|
|
|
|
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -n ant-apache-oro -f .mfiles-ant-apache-oro
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-apache-oro.jar
|
2017-10-04 11:08:49 +02:00
|
|
|
%{ant_home}%{_sysconfdir}/maudit-frames.xsl
|
2014-08-28 19:05:23 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/apache-oro
|
|
|
|
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -n ant-apache-regexp -f .mfiles-ant-apache-regexp
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-apache-regexp.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/apache-regexp
|
|
|
|
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -n ant-apache-xalan2 -f .mfiles-ant-apache-xalan2
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-apache-xalan2.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/apache-xalan2
|
2019-11-08 12:17:19 +01:00
|
|
|
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -n ant-imageio -f .mfiles-ant-imageio
|
2019-11-08 12:17:19 +01:00
|
|
|
%{ant_home}/lib/ant-imageio.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/imageio
|
2014-08-28 19:05:23 +02:00
|
|
|
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -n ant-javamail -f .mfiles-ant-javamail
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-javamail.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/javamail
|
|
|
|
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -n ant-jdepend -f .mfiles-ant-jdepend
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-jdepend.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/jdepend
|
2017-10-04 11:08:49 +02:00
|
|
|
%{ant_home}%{_sysconfdir}/jdepend.xsl
|
|
|
|
%{ant_home}%{_sysconfdir}/jdepend-frames.xsl
|
2014-08-28 19:05:23 +02:00
|
|
|
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -n ant-jsch -f .mfiles-ant-jsch
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-jsch.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/jsch
|
|
|
|
|
2019-11-09 09:35:14 +01:00
|
|
|
%files -n ant-xz -f .mfiles-ant-xz
|
|
|
|
%{ant_home}/lib/ant-xz.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/xz
|
|
|
|
|
2019-11-08 18:01:07 +01:00
|
|
|
%files -n ant-testutil -f .mfiles-ant-testutil
|
2014-08-28 19:05:23 +02:00
|
|
|
%{ant_home}/lib/ant-testutil.jar
|
|
|
|
%config(noreplace) %{_sysconfdir}/ant.d/testutil
|
|
|
|
|
|
|
|
%files -n ant-manual
|
|
|
|
%doc manual/*
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|