ant/ant.spec

1869 lines
60 KiB
RPMSpec
Raw Normal View History

# Copyright (c) 2000-2007, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the
# distribution.
# 3. Neither the name of the JPackage Project nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
2007-07-27 15:01:04 +00:00
%define _with_gcj_support 1
%define with_manifest_only 0
%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
2007-07-20 20:57:49 +00:00
2007-07-27 15:01:04 +00:00
# Bootstrap sequence is
# 1) rpmbuild ant --with bootstrap1 and install
# 2) build xml-commons-apis and install
# 3) build some jaxp_parser_impl (crimson) and install
# 4) rpmbuild ant --with bootstrap2 and force update
# 5) build rest of full ant BRs and install them
# 6) rpmbuild ant (no special option) and force update
# build while still no jaxp_parser_impl nor xml-commons-apis available
%define bootstrap1 %{?_with_bootstrap1:1}%{!?_with_bootstrap1:%{?_without_bootstrap1:0}%{!?_without_bootstrap1:%{?_bootstrap1:%{_bootstrap1}}%{!?_bootstrap1:0}}}
# build core packages when xml-commons-apis and some jaxp_parser_impl available
%define bootstrap2 %{?_with_bootstrap2:1}%{!?_with_bootstrap2:%{?_without_bootstrap2:0}%{!?_without_bootstrap2:%{?_bootstrap2:%{_bootstrap2}}%{!?_bootstrap2:0}}}
%define ant_home %{_datadir}/ant
%define section free
2007-07-20 20:57:49 +00:00
%define major_version 1.7
2007-07-27 15:01:04 +00:00
%define jpprelease 1jpp
2007-07-20 20:57:49 +00:00
%define cvs_version 1.7.0
Name: ant
2007-07-20 20:57:49 +00:00
Version: 1.7.0
2008-02-21 02:27:51 +00:00
Release: %{jpprelease}.4%{?dist}
Epoch: 0
Summary: Ant build tool for java
Summary(it): Tool per la compilazione di programmi java
Summary(fr): Outil de compilation pour java
License: Apache Software License
URL: http://ant.apache.org/
Group: Development/Build Tools
2007-07-20 20:57:49 +00:00
Source0: http://www.apache.org/dist/ant/source/apache-ant-%{cvs_version}-src.tar.gz
Source2: apache-ant-%{major_version}.ant.conf
2007-07-27 15:01:04 +00:00
# javah: BZ 157750
# https://www.zarb.org/pipermail/jpackage-discuss/2005-September/008781.html
# https://www.zarb.org/pipermail/jpackage-discuss/2005-September/008785.html
# Message-ID: <432A8E37.8050101@zarb.org>
Patch2: apache-ant-1.7.0-javah.patch
# Fix some places where copies of classes are included in the wrong jarfiles
2005-07-18 13:14:49 +00:00
Patch4: apache-ant-jars.patch
2007-07-20 20:57:49 +00:00
Patch5: apache-ant-bz163689.patch
Patch6: apache-ant-r529855.patch
2007-07-20 20:57:49 +00:00
2007-07-27 15:01:04 +00:00
Requires: jaxp_parser_impl
Requires: jpackage-utils >= 0:1.6
Requires(pre): jpackage-utils >= 0:1.6
Requires(postun): jpackage-utils >= 0:1.6
Requires: java-devel
%if ! %{bootstrap1}
Requires: xerces-j2
Requires: xml-commons-apis
%endif
BuildRequires: jpackage-utils >= 0:1.6
2007-07-20 20:57:49 +00:00
BuildRequires: java-devel >= 0:1.5
BuildRequires: coreutils
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1}
BuildRequires: jaxp_parser_impl
2007-07-20 20:57:49 +00:00
BuildRequires: xml-commons-apis
2007-07-27 15:01:04 +00:00
%endif
2007-07-20 20:57:49 +00:00
%if ! %{gcj_support}
BuildArch: noarch
%endif
2007-07-27 15:01:04 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Obsoletes: ant-optional < %{epoch}:%{version}-%{jpprelease}
Obsoletes: ant-optional-full < %{epoch}:%{version}-%{jpprelease}
# Allow subpackages not in Fedora to be installed from JPackage
Provides: %{name} = %{epoch}:%{version}-%{jpprelease}
# RHEL3 and FC2
2007-07-27 15:01:04 +00:00
Obsoletes: %{name}-libs <= 0:1.5.2, %{name}-core <= 0:1.5.2
Provides: %{name}-libs = %{epoch}:%{version}-%{jpprelease}
Provides: %{name}-core = %{epoch}:%{version}-%{jpprelease}
# FC4
2007-07-27 15:01:04 +00:00
Obsoletes: %{name}-jmf <= 1.6.2-3jpp_12fc
Provides: %{name}-jmf = %{epoch}:%{version}-%{jpprelease}
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
auto-import changelog data from ant-1.5.2-20.src.rpm Thu Sep 25 2003 Gary Benson <gbenson@redhat.com> 1.5.2-20 - Fix bad bytecode in jarfile (#104986). - Change group to Development/Tools. - Split libraries into a separate subpackage. - Install stuff to allow ant to be run under a normal JVM (#104635). Fri Sep 19 2003 Gary Benson <gbenson@redhat.com> 1.5.2-19 - Remove workarounds for broken dependencies in xerces-j and xalan-j. - Use gij as the name of the interpreter to spawn when running under libgcj. Fri Sep 05 2003 Gary Benson <gbenson@redhat.com> 1.5.2-18 - Ensure we have a working javaconfig. Thu Sep 04 2003 Gary Benson <gbenson@redhat.com> - Remove workarounds used to support alpha releases. Tue Aug 26 2003 Gary Benson <gbenson@redhat.com> 1.5.2-17 - Reinstate 64-bit workaround and rebuild with new compiler. Thu Aug 07 2003 Gary Benson <gbenson@redhat.com> 1.5.2-16 - Remove 64-bit workaround and rebuild with new compiler. Mon Jul 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-15 - Add missing resources to jarfile (#100977). Fri Jul 25 2003 Gary Benson <gbenson@redhat.com> - Clarify the -devel subpackage's summary and description. - Remove unnecessary -devel dependencies (#99077). Tue Jul 01 2003 Gary Benson <gbenson@redhat.com> - Remove redundant --libdir configure option. Mon Jun 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-14 - Rebuild with new compiler and enable ia64 build. - Enable hammer compiler hack on ia64 also. Fri Jun 13 2003 Gary Benson <gbenson@redhat.com> - Add the rpm's release to the version embedded in the libraries. Fri Jun 06 2003 Gary Benson <gbenson@redhat.com> 1.5.2-13 - Rebuild with new compiler. Thu Jun 05 2003 Gary Benson <gbenson@redhat.com> - Add build time dependency on C++ compiler. Thu May 29 2003 Gary Benson <gbenson@redhat.com> 1.5.2-12 - Rebuild with new compiler. Fri May 23 2003 Gary Benson <gbenson@redhat.com> 1.5.2-11 - Move unversioned library symlink into main package. Sat May 03 2003 Gary Benson <gbenson@redhat.com> 1.5.2-10 - Rebuild again to pick up rebuilt BCEL and Xalan. Fri May 02 2003 Tom Tromey <tromey@redhat.com> 1.5.2-9 - Rebuild with new compiler. Wed Apr 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-8 - Enable the Xalan and BCEL tasks. Mon Apr 14 2003 Gary Benson <gbenson@redhat.com> - Require gcj-ssa since we use it to compile java code. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-7 - Fix linking on hammer. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-6 - Reenable tasks that were disabled on hammer by working around the compiler failure more effectively. Wed Apr 09 2003 Gary Benson <gbenson@redhat.com> 1.5.2-5 - Compile resources with libtool to enable hammer builds. Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 1.5.2-4 - Rebuild with new compiler. Fri Apr 04 2003 Gary Benson <gbenson@redhat.com> - Use gcj-ssa instead of gcj for the compiler. Wed Apr 02 2003 Gary Benson <gbenson@redhat.com> - Rebuild against the new xerces. Fri Mar 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-2 - Substitute @VERSION@ and @DATE@ into the files that need it. Mon Mar 24 2003 Gary Benson <gbenson@redhat.com> 1.5.2-1 - Initial Red Hat Linux build. Fri Mar 21 2003 Gary Benson <gbenson@redhat.com> - Upgraded to latest version. Wed Nov 27 2002 Gary Benson <gbenson@redhat.com> - Initial RHUG build.
2004-09-09 15:59:07 +00:00
%description
Ant is a platform-independent build tool for java. It's used by apache
jakarta and xml projects.
%description -l fr
Ant est un outil de compilation multi-plateformes pour java. Il est
2005-11-08 20:05:27 +00:00
utilisé par les projets apache-jakarta et apache-xml.
%description -l it
Ant e' un tool indipendente dalla piattaforma creato per faciltare la
compilazione di programmi java.
Allo stato attuale viene utilizzato dai progetti apache jakarta ed
apache xml.
2007-07-20 20:57:49 +00:00
%if %{with_manifest_only}
%package manifest-only
Summary: Manifest-only jars for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Provides: %{name}-icontract = %{epoch}:%{version}-%{release}
Provides: %{name}-netrexx = %{epoch}:%{version}-%{release}
Provides: %{name}-starteam = %{epoch}:%{version}-%{release}
Provides: %{name}-stylebook = %{epoch}:%{version}-%{release}
Provides: %{name}-vaj = %{epoch}:%{version}-%{release}
Provides: %{name}-weblogic = %{epoch}:%{version}-%{release}
Provides: %{name}-xalan1 = %{epoch}:%{version}-%{release}
Provides: %{name}-xslp = %{epoch}:%{version}-%{release}
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description manifest-only
Manifest-only jars for %{name}.
2007-07-20 20:57:49 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%package antlr
Summary: Optional antlr tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: antlr
BuildRequires: antlr
Provides: ant-antlr = %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description antlr
Optional antlr tasks for %{name}.
%description antlr -l fr
Taches antlr optionelles pour %{name}.
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%package apache-bsf
Summary: Optional apache bsf tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: bsf
BuildRequires: bsf
Provides: ant-apache-bsf = %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description apache-bsf
Optional apache bsf tasks for %{name}.
%description apache-bsf -l fr
Taches apache bsf optionelles pour %{name}.
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%package apache-resolver
Summary: Optional apache resolver tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: xml-commons-resolver
BuildRequires: xml-commons-resolver
Provides: ant-apache-resolver = %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description apache-resolver
Optional apache resolver tasks for %{name}.
%description apache-resolver -l fr
Taches apache resolver optionelles pour %{name}.
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%package commons-logging
Summary: Optional commons logging tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: jakarta-commons-logging
BuildRequires: jakarta-commons-logging
Provides: ant-commons-logging = %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description commons-logging
Optional commons logging tasks for %{name}.
%description commons-logging -l fr
Taches commons logging optionelles pour %{name}.
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%package commons-net
Summary: Optional commons net tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: jakarta-commons-net
BuildRequires: jakarta-commons-net
Provides: ant-commons-net = %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description commons-net
Optional commons net tasks for %{name}.
%description commons-net -l fr
Taches commons net optionelles pour %{name}.
2007-07-27 15:01:04 +00:00
%endif
2007-08-16 13:28:37 +00:00
# Disable because we don't ship the dependencies
%if 0
%package jai
Summary: Optional jai tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: jai
BuildRequires: jai
Provides: ant-jai = %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description jai
Optional jai tasks for %{name}.
%description jai -l fr
Taches jai optionelles pour %{name}.
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
2005-01-12 13:36:27 +00:00
%package apache-bcel
Summary: Optional apache bcel tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: bcel
BuildRequires: bcel
2005-01-12 13:36:27 +00:00
Provides: ant-apache-bcel = %{epoch}:%{version}-%{release}
Provides: ant-jakarta-bcel = %{epoch}:%{version}-%{release}
2007-07-27 15:01:04 +00:00
Obsoletes: ant-jakarta-bcel < %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
2005-01-12 13:36:27 +00:00
%description apache-bcel
Optional apache bcel tasks for %{name}.
2005-01-12 13:36:27 +00:00
%description apache-bcel -l fr
Taches apache bcel optionelles pour %{name}.
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
2005-01-12 13:36:27 +00:00
%package apache-log4j
Summary: Optional apache log4j tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: log4j
BuildRequires: log4j
2005-01-12 13:36:27 +00:00
Provides: ant-apache-log4j = %{epoch}:%{version}-%{release}
Provides: ant-jakarta-log4j = %{epoch}:%{version}-%{release}
2007-07-27 15:01:04 +00:00
Obsoletes: ant-jakarta-log4j < %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
2005-01-12 13:36:27 +00:00
%description apache-log4j
Optional apache log4j tasks for %{name}.
2005-01-12 13:36:27 +00:00
%description apache-log4j -l fr
Taches apache log4j optionelles pour %{name}.
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
2005-01-12 13:36:27 +00:00
%package apache-oro
Summary: Optional apache oro tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: oro
BuildRequires: oro
2005-01-12 13:36:27 +00:00
Provides: ant-apache-oro = %{epoch}:%{version}-%{release}
Provides: ant-jakarta-oro = %{epoch}:%{version}-%{release}
2007-07-27 15:01:04 +00:00
Obsoletes: ant-jakarta-oro < %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
2005-01-12 13:36:27 +00:00
%description apache-oro
Optional apache oro tasks for %{name}.
2005-01-12 13:36:27 +00:00
%description apache-oro -l fr
Taches apache oro optionelles pour %{name}.
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
2005-01-12 13:36:27 +00:00
%package apache-regexp
Summary: Optional apache regexp tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: regexp
BuildRequires: regexp
2005-01-12 13:36:27 +00:00
Provides: ant-apache-regexp = %{epoch}:%{version}-%{release}
Provides: ant-jakarta-regexp = %{epoch}:%{version}-%{release}
2007-07-27 15:01:04 +00:00
Obsoletes: ant-jakarta-regexp < %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
2005-01-12 13:36:27 +00:00
%description apache-regexp
Optional apache regexp tasks for %{name}.
2005-01-12 13:36:27 +00:00
%description apache-regexp -l fr
Taches apache regexp optionelles pour %{name}.
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%package javamail
Summary: Optional javamail tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: javamail >= 0:1.2-5jpp
Requires: jaf >= 0:1.0.1-5jpp
BuildRequires: javamail >= 0:1.2-5jpp
BuildRequires: jaf >= 0:1.0.1-5jpp
Provides: ant-javamail = %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description javamail
Optional javamail tasks for %{name}.
%description javamail -l fr
Taches javamail optionelles pour %{name}.
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%package jdepend
Summary: Optional jdepend tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: jdepend
BuildRequires: jdepend
Provides: ant-jdepend = %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description jdepend
Optional jdepend tasks for %{name}.
%description jdepend -l fr
Taches jdepend optionelles pour %{name}.
2007-07-27 15:01:04 +00:00
%endif
%package jmf
Summary: Optional jmf tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Provides: ant-jmf = %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description jmf
Optional jmf tasks for %{name}.
%description jmf -l fr
Taches jmf optionelles pour %{name}.
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%package jsch
Summary: Optional jsch tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: jsch
BuildRequires: jsch
Provides: ant-jsch = %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description jsch
Optional jsch tasks for %{name}.
%description jsch -l fr
Taches jsch optionelles pour %{name}.
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%package junit
Summary: Optional junit tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: junit
BuildRequires: junit
Provides: ant-junit = %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description junit
Optional junit tasks for %{name}.
%description junit -l fr
Taches junit optionelles pour %{name}.
2007-07-27 15:01:04 +00:00
%endif
%package nodeps
Summary: Optional tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Provides: ant-nodeps = %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description nodeps
Optional tasks for %{name}.
%description nodeps -l fr
Taches optionelles pour %{name}.
%package swing
Summary: Optional swing tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Provides: ant-swing = %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description swing
Optional swing tasks for %{name}.
%description swing -l fr
Taches swing optionelles pour %{name}.
%package trax
Summary: Optional trax tasks for %{name}
Group: Development/Build Tools
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: jaxp_transform_impl
Provides: ant-trax = %{epoch}:%{version}-%{release}
2005-01-12 13:36:27 +00:00
# The ant-xalan jar has been merged into the ant-trax one
2007-07-27 15:01:04 +00:00
Obsoletes: ant-xalan2 < %{epoch}:%{version}-%{release}
Provides: ant-xalan2 = %{epoch}:%{version}-%{release}
Conflicts: ant-optional-clean, ant-optional-full
%if %{gcj_support}
2007-07-27 15:01:04 +00:00
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
%description trax
Optional trax tasks for %{name}.
%description trax -l fr
Taches trax optionelles pour %{name}.
%package scripts
Summary: Additional scripts for %{name}
Group: Development/Build Tools
AutoReqProv: no
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: /usr/bin/python
%description scripts
Additional Perl and Python scripts for %{name}.
%description scripts -l fr
Scripts additionels pour %{name}.
%package manual
Summary: Manual for %{name}
Group: Development/Build Tools
%description manual
Documentation for %{name}.
auto-import changelog data from ant-1.5.2-20.src.rpm Thu Sep 25 2003 Gary Benson <gbenson@redhat.com> 1.5.2-20 - Fix bad bytecode in jarfile (#104986). - Change group to Development/Tools. - Split libraries into a separate subpackage. - Install stuff to allow ant to be run under a normal JVM (#104635). Fri Sep 19 2003 Gary Benson <gbenson@redhat.com> 1.5.2-19 - Remove workarounds for broken dependencies in xerces-j and xalan-j. - Use gij as the name of the interpreter to spawn when running under libgcj. Fri Sep 05 2003 Gary Benson <gbenson@redhat.com> 1.5.2-18 - Ensure we have a working javaconfig. Thu Sep 04 2003 Gary Benson <gbenson@redhat.com> - Remove workarounds used to support alpha releases. Tue Aug 26 2003 Gary Benson <gbenson@redhat.com> 1.5.2-17 - Reinstate 64-bit workaround and rebuild with new compiler. Thu Aug 07 2003 Gary Benson <gbenson@redhat.com> 1.5.2-16 - Remove 64-bit workaround and rebuild with new compiler. Mon Jul 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-15 - Add missing resources to jarfile (#100977). Fri Jul 25 2003 Gary Benson <gbenson@redhat.com> - Clarify the -devel subpackage's summary and description. - Remove unnecessary -devel dependencies (#99077). Tue Jul 01 2003 Gary Benson <gbenson@redhat.com> - Remove redundant --libdir configure option. Mon Jun 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-14 - Rebuild with new compiler and enable ia64 build. - Enable hammer compiler hack on ia64 also. Fri Jun 13 2003 Gary Benson <gbenson@redhat.com> - Add the rpm's release to the version embedded in the libraries. Fri Jun 06 2003 Gary Benson <gbenson@redhat.com> 1.5.2-13 - Rebuild with new compiler. Thu Jun 05 2003 Gary Benson <gbenson@redhat.com> - Add build time dependency on C++ compiler. Thu May 29 2003 Gary Benson <gbenson@redhat.com> 1.5.2-12 - Rebuild with new compiler. Fri May 23 2003 Gary Benson <gbenson@redhat.com> 1.5.2-11 - Move unversioned library symlink into main package. Sat May 03 2003 Gary Benson <gbenson@redhat.com> 1.5.2-10 - Rebuild again to pick up rebuilt BCEL and Xalan. Fri May 02 2003 Tom Tromey <tromey@redhat.com> 1.5.2-9 - Rebuild with new compiler. Wed Apr 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-8 - Enable the Xalan and BCEL tasks. Mon Apr 14 2003 Gary Benson <gbenson@redhat.com> - Require gcj-ssa since we use it to compile java code. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-7 - Fix linking on hammer. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-6 - Reenable tasks that were disabled on hammer by working around the compiler failure more effectively. Wed Apr 09 2003 Gary Benson <gbenson@redhat.com> 1.5.2-5 - Compile resources with libtool to enable hammer builds. Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 1.5.2-4 - Rebuild with new compiler. Fri Apr 04 2003 Gary Benson <gbenson@redhat.com> - Use gcj-ssa instead of gcj for the compiler. Wed Apr 02 2003 Gary Benson <gbenson@redhat.com> - Rebuild against the new xerces. Fri Mar 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-2 - Substitute @VERSION@ and @DATE@ into the files that need it. Mon Mar 24 2003 Gary Benson <gbenson@redhat.com> 1.5.2-1 - Initial Red Hat Linux build. Fri Mar 21 2003 Gary Benson <gbenson@redhat.com> - Upgraded to latest version. Wed Nov 27 2002 Gary Benson <gbenson@redhat.com> - Initial RHUG build.
2004-09-09 15:59:07 +00:00
%description manual -l it
Documentazione di %{name}.
%description manual -l fr
Documentation pour %{name}.
%package javadoc
Summary: Javadoc for %{name}
Group: Development/Documentation
%description javadoc
Javadoc for %{name}.
%description javadoc -l fr
Javadoc pour %{name}.
# -----------------------------------------------------------------------------
auto-import changelog data from ant-1.5.2-20.src.rpm Thu Sep 25 2003 Gary Benson <gbenson@redhat.com> 1.5.2-20 - Fix bad bytecode in jarfile (#104986). - Change group to Development/Tools. - Split libraries into a separate subpackage. - Install stuff to allow ant to be run under a normal JVM (#104635). Fri Sep 19 2003 Gary Benson <gbenson@redhat.com> 1.5.2-19 - Remove workarounds for broken dependencies in xerces-j and xalan-j. - Use gij as the name of the interpreter to spawn when running under libgcj. Fri Sep 05 2003 Gary Benson <gbenson@redhat.com> 1.5.2-18 - Ensure we have a working javaconfig. Thu Sep 04 2003 Gary Benson <gbenson@redhat.com> - Remove workarounds used to support alpha releases. Tue Aug 26 2003 Gary Benson <gbenson@redhat.com> 1.5.2-17 - Reinstate 64-bit workaround and rebuild with new compiler. Thu Aug 07 2003 Gary Benson <gbenson@redhat.com> 1.5.2-16 - Remove 64-bit workaround and rebuild with new compiler. Mon Jul 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-15 - Add missing resources to jarfile (#100977). Fri Jul 25 2003 Gary Benson <gbenson@redhat.com> - Clarify the -devel subpackage's summary and description. - Remove unnecessary -devel dependencies (#99077). Tue Jul 01 2003 Gary Benson <gbenson@redhat.com> - Remove redundant --libdir configure option. Mon Jun 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-14 - Rebuild with new compiler and enable ia64 build. - Enable hammer compiler hack on ia64 also. Fri Jun 13 2003 Gary Benson <gbenson@redhat.com> - Add the rpm's release to the version embedded in the libraries. Fri Jun 06 2003 Gary Benson <gbenson@redhat.com> 1.5.2-13 - Rebuild with new compiler. Thu Jun 05 2003 Gary Benson <gbenson@redhat.com> - Add build time dependency on C++ compiler. Thu May 29 2003 Gary Benson <gbenson@redhat.com> 1.5.2-12 - Rebuild with new compiler. Fri May 23 2003 Gary Benson <gbenson@redhat.com> 1.5.2-11 - Move unversioned library symlink into main package. Sat May 03 2003 Gary Benson <gbenson@redhat.com> 1.5.2-10 - Rebuild again to pick up rebuilt BCEL and Xalan. Fri May 02 2003 Tom Tromey <tromey@redhat.com> 1.5.2-9 - Rebuild with new compiler. Wed Apr 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-8 - Enable the Xalan and BCEL tasks. Mon Apr 14 2003 Gary Benson <gbenson@redhat.com> - Require gcj-ssa since we use it to compile java code. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-7 - Fix linking on hammer. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-6 - Reenable tasks that were disabled on hammer by working around the compiler failure more effectively. Wed Apr 09 2003 Gary Benson <gbenson@redhat.com> 1.5.2-5 - Compile resources with libtool to enable hammer builds. Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 1.5.2-4 - Rebuild with new compiler. Fri Apr 04 2003 Gary Benson <gbenson@redhat.com> - Use gcj-ssa instead of gcj for the compiler. Wed Apr 02 2003 Gary Benson <gbenson@redhat.com> - Rebuild against the new xerces. Fri Mar 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-2 - Substitute @VERSION@ and @DATE@ into the files that need it. Mon Mar 24 2003 Gary Benson <gbenson@redhat.com> 1.5.2-1 - Initial Red Hat Linux build. Fri Mar 21 2003 Gary Benson <gbenson@redhat.com> - Upgraded to latest version. Wed Nov 27 2002 Gary Benson <gbenson@redhat.com> - Initial RHUG build.
2004-09-09 15:59:07 +00:00
%prep
2007-07-20 20:57:49 +00:00
%setup -q -n apache-ant-%{cvs_version}
2005-05-23 12:02:02 +00:00
2007-07-27 15:01:04 +00:00
# #157750: make the javah task work with java-gcj-compat
2007-07-27 17:02:27 +00:00
%patch2 -p0
2007-07-27 15:01:04 +00:00
# Fix some places where copies of classes are included in the wrong jarfiles
2005-07-18 13:14:49 +00:00
%patch4 -p1 -b .orig
# Disable the style and xmlvalidate tasks on ppc64 and s390x (#163689).
2007-07-27 15:01:04 +00:00
#%ifarch ppc64 s390x
#%patch5 -p1 -b .orig
#%endif
# Patch to make Java 6's javac understand -source 1.2
%patch6 -p0
2005-01-12 13:36:27 +00:00
# clean jar files
find . -name "*.jar" -exec rm -f {} \;
# -----------------------------------------------------------------------------
auto-import changelog data from ant-1.5.2-20.src.rpm Thu Sep 25 2003 Gary Benson <gbenson@redhat.com> 1.5.2-20 - Fix bad bytecode in jarfile (#104986). - Change group to Development/Tools. - Split libraries into a separate subpackage. - Install stuff to allow ant to be run under a normal JVM (#104635). Fri Sep 19 2003 Gary Benson <gbenson@redhat.com> 1.5.2-19 - Remove workarounds for broken dependencies in xerces-j and xalan-j. - Use gij as the name of the interpreter to spawn when running under libgcj. Fri Sep 05 2003 Gary Benson <gbenson@redhat.com> 1.5.2-18 - Ensure we have a working javaconfig. Thu Sep 04 2003 Gary Benson <gbenson@redhat.com> - Remove workarounds used to support alpha releases. Tue Aug 26 2003 Gary Benson <gbenson@redhat.com> 1.5.2-17 - Reinstate 64-bit workaround and rebuild with new compiler. Thu Aug 07 2003 Gary Benson <gbenson@redhat.com> 1.5.2-16 - Remove 64-bit workaround and rebuild with new compiler. Mon Jul 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-15 - Add missing resources to jarfile (#100977). Fri Jul 25 2003 Gary Benson <gbenson@redhat.com> - Clarify the -devel subpackage's summary and description. - Remove unnecessary -devel dependencies (#99077). Tue Jul 01 2003 Gary Benson <gbenson@redhat.com> - Remove redundant --libdir configure option. Mon Jun 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-14 - Rebuild with new compiler and enable ia64 build. - Enable hammer compiler hack on ia64 also. Fri Jun 13 2003 Gary Benson <gbenson@redhat.com> - Add the rpm's release to the version embedded in the libraries. Fri Jun 06 2003 Gary Benson <gbenson@redhat.com> 1.5.2-13 - Rebuild with new compiler. Thu Jun 05 2003 Gary Benson <gbenson@redhat.com> - Add build time dependency on C++ compiler. Thu May 29 2003 Gary Benson <gbenson@redhat.com> 1.5.2-12 - Rebuild with new compiler. Fri May 23 2003 Gary Benson <gbenson@redhat.com> 1.5.2-11 - Move unversioned library symlink into main package. Sat May 03 2003 Gary Benson <gbenson@redhat.com> 1.5.2-10 - Rebuild again to pick up rebuilt BCEL and Xalan. Fri May 02 2003 Tom Tromey <tromey@redhat.com> 1.5.2-9 - Rebuild with new compiler. Wed Apr 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-8 - Enable the Xalan and BCEL tasks. Mon Apr 14 2003 Gary Benson <gbenson@redhat.com> - Require gcj-ssa since we use it to compile java code. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-7 - Fix linking on hammer. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-6 - Reenable tasks that were disabled on hammer by working around the compiler failure more effectively. Wed Apr 09 2003 Gary Benson <gbenson@redhat.com> 1.5.2-5 - Compile resources with libtool to enable hammer builds. Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 1.5.2-4 - Rebuild with new compiler. Fri Apr 04 2003 Gary Benson <gbenson@redhat.com> - Use gcj-ssa instead of gcj for the compiler. Wed Apr 02 2003 Gary Benson <gbenson@redhat.com> - Rebuild against the new xerces. Fri Mar 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-2 - Substitute @VERSION@ and @DATE@ into the files that need it. Mon Mar 24 2003 Gary Benson <gbenson@redhat.com> 1.5.2-1 - Initial Red Hat Linux build. Fri Mar 21 2003 Gary Benson <gbenson@redhat.com> - Upgraded to latest version. Wed Nov 27 2002 Gary Benson <gbenson@redhat.com> - Initial RHUG build.
2004-09-09 15:59:07 +00:00
%build
# classpath selects optional components to build
#export CLASSPATH=$(%{_bindir}/build-classpath jaxp_parser_impl xml-commons-apis antlr bcel jaf javamail/mailapi jdepend junit log4j oro regexp commons-net commons-logging jai/jai_codec jai/jai_core jsch bsf xml-commons-resolver)
2007-07-20 20:57:49 +00:00
export CLASSPATH=$(%{_bindir}/build-classpath jaxp_parser_impl xml-commons-apis antlr bcel jaf javamail/mailapi jdepend junit log4j oro regexp commons-net commons-logging jsch bsf xml-commons-resolver)
auto-import changelog data from ant-1.5.2-20.src.rpm Thu Sep 25 2003 Gary Benson <gbenson@redhat.com> 1.5.2-20 - Fix bad bytecode in jarfile (#104986). - Change group to Development/Tools. - Split libraries into a separate subpackage. - Install stuff to allow ant to be run under a normal JVM (#104635). Fri Sep 19 2003 Gary Benson <gbenson@redhat.com> 1.5.2-19 - Remove workarounds for broken dependencies in xerces-j and xalan-j. - Use gij as the name of the interpreter to spawn when running under libgcj. Fri Sep 05 2003 Gary Benson <gbenson@redhat.com> 1.5.2-18 - Ensure we have a working javaconfig. Thu Sep 04 2003 Gary Benson <gbenson@redhat.com> - Remove workarounds used to support alpha releases. Tue Aug 26 2003 Gary Benson <gbenson@redhat.com> 1.5.2-17 - Reinstate 64-bit workaround and rebuild with new compiler. Thu Aug 07 2003 Gary Benson <gbenson@redhat.com> 1.5.2-16 - Remove 64-bit workaround and rebuild with new compiler. Mon Jul 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-15 - Add missing resources to jarfile (#100977). Fri Jul 25 2003 Gary Benson <gbenson@redhat.com> - Clarify the -devel subpackage's summary and description. - Remove unnecessary -devel dependencies (#99077). Tue Jul 01 2003 Gary Benson <gbenson@redhat.com> - Remove redundant --libdir configure option. Mon Jun 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-14 - Rebuild with new compiler and enable ia64 build. - Enable hammer compiler hack on ia64 also. Fri Jun 13 2003 Gary Benson <gbenson@redhat.com> - Add the rpm's release to the version embedded in the libraries. Fri Jun 06 2003 Gary Benson <gbenson@redhat.com> 1.5.2-13 - Rebuild with new compiler. Thu Jun 05 2003 Gary Benson <gbenson@redhat.com> - Add build time dependency on C++ compiler. Thu May 29 2003 Gary Benson <gbenson@redhat.com> 1.5.2-12 - Rebuild with new compiler. Fri May 23 2003 Gary Benson <gbenson@redhat.com> 1.5.2-11 - Move unversioned library symlink into main package. Sat May 03 2003 Gary Benson <gbenson@redhat.com> 1.5.2-10 - Rebuild again to pick up rebuilt BCEL and Xalan. Fri May 02 2003 Tom Tromey <tromey@redhat.com> 1.5.2-9 - Rebuild with new compiler. Wed Apr 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-8 - Enable the Xalan and BCEL tasks. Mon Apr 14 2003 Gary Benson <gbenson@redhat.com> - Require gcj-ssa since we use it to compile java code. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-7 - Fix linking on hammer. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-6 - Reenable tasks that were disabled on hammer by working around the compiler failure more effectively. Wed Apr 09 2003 Gary Benson <gbenson@redhat.com> 1.5.2-5 - Compile resources with libtool to enable hammer builds. Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 1.5.2-4 - Rebuild with new compiler. Fri Apr 04 2003 Gary Benson <gbenson@redhat.com> - Use gcj-ssa instead of gcj for the compiler. Wed Apr 02 2003 Gary Benson <gbenson@redhat.com> - Rebuild against the new xerces. Fri Mar 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-2 - Substitute @VERSION@ and @DATE@ into the files that need it. Mon Mar 24 2003 Gary Benson <gbenson@redhat.com> 1.5.2-1 - Initial Red Hat Linux build. Fri Mar 21 2003 Gary Benson <gbenson@redhat.com> - Upgraded to latest version. Wed Nov 27 2002 Gary Benson <gbenson@redhat.com> - Initial RHUG build.
2004-09-09 15:59:07 +00:00
# perform bootstrap and build without jjp or user configs,
# (except JAVA_HOME as required by build script)
[ -n "$JAVA_HOME" ] && unset JAVA_HOME
[ -r %{_sysconfdir}/java/java.conf ] && . %{_sysconfdir}/java/java.conf
[ -z "$JAVA_HOME" ] && JAVA_HOME=%{_jvmdir}/java
export JAVA_HOME
2006-02-02 05:35:00 +00:00
export GCJ_PROPERTIES="gnu.gcj.precompiled.db.path=/tmp"
sh build.sh --noconfig jars javadocs
2006-02-02 05:35:00 +00:00
unset GCJ_PROPERTIES
auto-import changelog data from ant-1.5.2-20.src.rpm Thu Sep 25 2003 Gary Benson <gbenson@redhat.com> 1.5.2-20 - Fix bad bytecode in jarfile (#104986). - Change group to Development/Tools. - Split libraries into a separate subpackage. - Install stuff to allow ant to be run under a normal JVM (#104635). Fri Sep 19 2003 Gary Benson <gbenson@redhat.com> 1.5.2-19 - Remove workarounds for broken dependencies in xerces-j and xalan-j. - Use gij as the name of the interpreter to spawn when running under libgcj. Fri Sep 05 2003 Gary Benson <gbenson@redhat.com> 1.5.2-18 - Ensure we have a working javaconfig. Thu Sep 04 2003 Gary Benson <gbenson@redhat.com> - Remove workarounds used to support alpha releases. Tue Aug 26 2003 Gary Benson <gbenson@redhat.com> 1.5.2-17 - Reinstate 64-bit workaround and rebuild with new compiler. Thu Aug 07 2003 Gary Benson <gbenson@redhat.com> 1.5.2-16 - Remove 64-bit workaround and rebuild with new compiler. Mon Jul 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-15 - Add missing resources to jarfile (#100977). Fri Jul 25 2003 Gary Benson <gbenson@redhat.com> - Clarify the -devel subpackage's summary and description. - Remove unnecessary -devel dependencies (#99077). Tue Jul 01 2003 Gary Benson <gbenson@redhat.com> - Remove redundant --libdir configure option. Mon Jun 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-14 - Rebuild with new compiler and enable ia64 build. - Enable hammer compiler hack on ia64 also. Fri Jun 13 2003 Gary Benson <gbenson@redhat.com> - Add the rpm's release to the version embedded in the libraries. Fri Jun 06 2003 Gary Benson <gbenson@redhat.com> 1.5.2-13 - Rebuild with new compiler. Thu Jun 05 2003 Gary Benson <gbenson@redhat.com> - Add build time dependency on C++ compiler. Thu May 29 2003 Gary Benson <gbenson@redhat.com> 1.5.2-12 - Rebuild with new compiler. Fri May 23 2003 Gary Benson <gbenson@redhat.com> 1.5.2-11 - Move unversioned library symlink into main package. Sat May 03 2003 Gary Benson <gbenson@redhat.com> 1.5.2-10 - Rebuild again to pick up rebuilt BCEL and Xalan. Fri May 02 2003 Tom Tromey <tromey@redhat.com> 1.5.2-9 - Rebuild with new compiler. Wed Apr 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-8 - Enable the Xalan and BCEL tasks. Mon Apr 14 2003 Gary Benson <gbenson@redhat.com> - Require gcj-ssa since we use it to compile java code. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-7 - Fix linking on hammer. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-6 - Reenable tasks that were disabled on hammer by working around the compiler failure more effectively. Wed Apr 09 2003 Gary Benson <gbenson@redhat.com> 1.5.2-5 - Compile resources with libtool to enable hammer builds. Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 1.5.2-4 - Rebuild with new compiler. Fri Apr 04 2003 Gary Benson <gbenson@redhat.com> - Use gcj-ssa instead of gcj for the compiler. Wed Apr 02 2003 Gary Benson <gbenson@redhat.com> - Rebuild against the new xerces. Fri Mar 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-2 - Substitute @VERSION@ and @DATE@ into the files that need it. Mon Mar 24 2003 Gary Benson <gbenson@redhat.com> 1.5.2-1 - Initial Red Hat Linux build. Fri Mar 21 2003 Gary Benson <gbenson@redhat.com> - Upgraded to latest version. Wed Nov 27 2002 Gary Benson <gbenson@redhat.com> - Initial RHUG build.
2004-09-09 15:59:07 +00:00
# -----------------------------------------------------------------------------
auto-import changelog data from ant-1.5.2-20.src.rpm Thu Sep 25 2003 Gary Benson <gbenson@redhat.com> 1.5.2-20 - Fix bad bytecode in jarfile (#104986). - Change group to Development/Tools. - Split libraries into a separate subpackage. - Install stuff to allow ant to be run under a normal JVM (#104635). Fri Sep 19 2003 Gary Benson <gbenson@redhat.com> 1.5.2-19 - Remove workarounds for broken dependencies in xerces-j and xalan-j. - Use gij as the name of the interpreter to spawn when running under libgcj. Fri Sep 05 2003 Gary Benson <gbenson@redhat.com> 1.5.2-18 - Ensure we have a working javaconfig. Thu Sep 04 2003 Gary Benson <gbenson@redhat.com> - Remove workarounds used to support alpha releases. Tue Aug 26 2003 Gary Benson <gbenson@redhat.com> 1.5.2-17 - Reinstate 64-bit workaround and rebuild with new compiler. Thu Aug 07 2003 Gary Benson <gbenson@redhat.com> 1.5.2-16 - Remove 64-bit workaround and rebuild with new compiler. Mon Jul 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-15 - Add missing resources to jarfile (#100977). Fri Jul 25 2003 Gary Benson <gbenson@redhat.com> - Clarify the -devel subpackage's summary and description. - Remove unnecessary -devel dependencies (#99077). Tue Jul 01 2003 Gary Benson <gbenson@redhat.com> - Remove redundant --libdir configure option. Mon Jun 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-14 - Rebuild with new compiler and enable ia64 build. - Enable hammer compiler hack on ia64 also. Fri Jun 13 2003 Gary Benson <gbenson@redhat.com> - Add the rpm's release to the version embedded in the libraries. Fri Jun 06 2003 Gary Benson <gbenson@redhat.com> 1.5.2-13 - Rebuild with new compiler. Thu Jun 05 2003 Gary Benson <gbenson@redhat.com> - Add build time dependency on C++ compiler. Thu May 29 2003 Gary Benson <gbenson@redhat.com> 1.5.2-12 - Rebuild with new compiler. Fri May 23 2003 Gary Benson <gbenson@redhat.com> 1.5.2-11 - Move unversioned library symlink into main package. Sat May 03 2003 Gary Benson <gbenson@redhat.com> 1.5.2-10 - Rebuild again to pick up rebuilt BCEL and Xalan. Fri May 02 2003 Tom Tromey <tromey@redhat.com> 1.5.2-9 - Rebuild with new compiler. Wed Apr 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-8 - Enable the Xalan and BCEL tasks. Mon Apr 14 2003 Gary Benson <gbenson@redhat.com> - Require gcj-ssa since we use it to compile java code. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-7 - Fix linking on hammer. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-6 - Reenable tasks that were disabled on hammer by working around the compiler failure more effectively. Wed Apr 09 2003 Gary Benson <gbenson@redhat.com> 1.5.2-5 - Compile resources with libtool to enable hammer builds. Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 1.5.2-4 - Rebuild with new compiler. Fri Apr 04 2003 Gary Benson <gbenson@redhat.com> - Use gcj-ssa instead of gcj for the compiler. Wed Apr 02 2003 Gary Benson <gbenson@redhat.com> - Rebuild against the new xerces. Fri Mar 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-2 - Substitute @VERSION@ and @DATE@ into the files that need it. Mon Mar 24 2003 Gary Benson <gbenson@redhat.com> 1.5.2-1 - Initial Red Hat Linux build. Fri Mar 21 2003 Gary Benson <gbenson@redhat.com> - Upgraded to latest version. Wed Nov 27 2002 Gary Benson <gbenson@redhat.com> - Initial RHUG build.
2004-09-09 15:59:07 +00:00
%install
rm -rf $RPM_BUILD_ROOT
# ANT_HOME and subdirs
mkdir -p $RPM_BUILD_ROOT%{ant_home}/{lib,etc}
# jars
mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp -p build/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
cp -p build/lib/%{name}-launcher.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-launcher-%{version}.jar
# optional jars
mkdir -p $RPM_BUILD_ROOT%{_javadir}/%{name}
2007-07-20 20:57:49 +00:00
%if %{with_manifest_only}
cp -p build/lib/%{name}-icontract.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-icontract-%{version}.jar
cp -p build/lib/%{name}-netrexx.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-netrexx-%{version}.jar
cp -p build/lib/%{name}-starteam.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-starteam-%{version}.jar
cp -p build/lib/%{name}-stylebook.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-stylebook-%{version}.jar
cp -p build/lib/%{name}-vaj.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-vaj-%{version}.jar
cp -p build/lib/%{name}-weblogic.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-weblogic-%{version}.jar
cp -p build/lib/%{name}-xalan1.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-xalan1-%{version}.jar
cp -p build/lib/%{name}-xslp.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-xslp-%{version}.jar
2007-07-20 20:57:49 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
cp -p build/lib/%{name}-antlr.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-antlr-%{version}.jar
cp -p build/lib/%{name}-apache-bsf.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-apache-bsf-%{version}.jar
cp -p build/lib/%{name}-commons-logging.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-commons-logging-%{version}.jar
2007-08-16 13:28:37 +00:00
cp -p build/lib/%{name}-commons-net.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-commons-net-%{version}.jar
#cp -p build/lib/%{name}-jai.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-jai-%{version}.jar
2005-01-12 13:36:27 +00:00
cp -p build/lib/%{name}-apache-bcel.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-apache-bcel-%{version}.jar
cp -p build/lib/%{name}-apache-log4j.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-apache-log4j-%{version}.jar
cp -p build/lib/%{name}-apache-oro.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-apache-oro-%{version}.jar
cp -p build/lib/%{name}-apache-regexp.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-apache-regexp-%{version}.jar
2007-07-27 15:01:04 +00:00
cp -p build/lib/%{name}-apache-resolver.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-apache-resolver-%{version}.jar
2005-01-12 13:36:27 +00:00
ln -sf %{name}-apache-bcel.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-jakarta-bcel.jar
ln -sf %{name}-apache-log4j.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-jakarta-log4j.jar
ln -sf %{name}-apache-oro.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-jakarta-oro.jar
ln -sf %{name}-apache-regexp.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-jakarta-regexp.jar
cp -p build/lib/%{name}-javamail.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-javamail-%{version}.jar
cp -p build/lib/%{name}-jdepend.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-jdepend-%{version}.jar
cp -p build/lib/%{name}-jmf.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-jmf-%{version}.jar
cp -p build/lib/%{name}-jsch.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-jsch-%{version}.jar
cp -p build/lib/%{name}-junit.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-junit-%{version}.jar
2007-07-27 15:01:04 +00:00
%endif
cp -p build/lib/%{name}-nodeps.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-nodeps-%{version}.jar
cp -p build/lib/%{name}-swing.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-swing-%{version}.jar
cp -p build/lib/%{name}-trax.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-trax-%{version}.jar
# jar aliases
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
(cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
# scripts: remove dos and os/2 scripts
rm -f src/script/*.bat
rm -f src/script/*.cmd
# XSLs
cp -p src/etc/*.xsl $RPM_BUILD_ROOT%{ant_home}/etc
2007-07-27 15:01:04 +00:00
%if %{bootstrap1} || %{bootstrap2}
rm -f $RPM_BUILD_ROOT%{ant_home}/etc/jdepend-frames.xsl
rm -f $RPM_BUILD_ROOT%{ant_home}/etc/jdepend.xsl
rm -f $RPM_BUILD_ROOT%{ant_home}/etc/junit-frames.xsl
rm -f $RPM_BUILD_ROOT%{ant_home}/etc/junit-noframes.xsl
rm -f $RPM_BUILD_ROOT%{ant_home}/etc/maudit-frames.xsl
%endif
# install everything else
mkdir -p $RPM_BUILD_ROOT%{_bindir}
cp -p src/script/* $RPM_BUILD_ROOT%{_bindir}
# default ant.conf
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
2005-01-12 13:36:27 +00:00
# OPT_JAR_LIST fragments
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
2005-01-12 13:36:27 +00:00
echo "antlr ant/ant-antlr" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/antlr
echo "bsf ant/ant-apache-bsf" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bsf
2005-01-12 13:36:27 +00:00
echo "jakarta-commons-logging ant/ant-commons-logging" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/commons-logging
2007-08-16 13:28:37 +00:00
echo "jakarta-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
2005-01-12 13:36:27 +00:00
echo "bcel ant/ant-apache-bcel" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bcel
echo "log4j 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 "regexp ant/ant-apache-regexp" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-regexp
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 "jsch ant/ant-jsch" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jsch
2005-01-12 13:36:27 +00:00
echo "junit ant/ant-junit" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/junit
2007-07-27 15:01:04 +00:00
echo "xml-commons-resolver ant/ant-apache-resolver" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-resolver
%endif
echo "ant/ant-jmf" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jmf
2005-01-12 13:36:27 +00:00
echo "ant/ant-nodeps" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/nodeps
echo "ant/ant-swing" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/swing
echo "jaxp_transform_impl ant/ant-trax" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/trax
# javadoc
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
2007-07-27 15:01:04 +00:00
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
# fix link between manual and javadoc
(cd docs/manual; ln -sf %{_javadocdir}/%{name}-%{version} api)
# -----------------------------------------------------------------------------
auto-import changelog data from ant-1.5.2-20.src.rpm Thu Sep 25 2003 Gary Benson <gbenson@redhat.com> 1.5.2-20 - Fix bad bytecode in jarfile (#104986). - Change group to Development/Tools. - Split libraries into a separate subpackage. - Install stuff to allow ant to be run under a normal JVM (#104635). Fri Sep 19 2003 Gary Benson <gbenson@redhat.com> 1.5.2-19 - Remove workarounds for broken dependencies in xerces-j and xalan-j. - Use gij as the name of the interpreter to spawn when running under libgcj. Fri Sep 05 2003 Gary Benson <gbenson@redhat.com> 1.5.2-18 - Ensure we have a working javaconfig. Thu Sep 04 2003 Gary Benson <gbenson@redhat.com> - Remove workarounds used to support alpha releases. Tue Aug 26 2003 Gary Benson <gbenson@redhat.com> 1.5.2-17 - Reinstate 64-bit workaround and rebuild with new compiler. Thu Aug 07 2003 Gary Benson <gbenson@redhat.com> 1.5.2-16 - Remove 64-bit workaround and rebuild with new compiler. Mon Jul 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-15 - Add missing resources to jarfile (#100977). Fri Jul 25 2003 Gary Benson <gbenson@redhat.com> - Clarify the -devel subpackage's summary and description. - Remove unnecessary -devel dependencies (#99077). Tue Jul 01 2003 Gary Benson <gbenson@redhat.com> - Remove redundant --libdir configure option. Mon Jun 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-14 - Rebuild with new compiler and enable ia64 build. - Enable hammer compiler hack on ia64 also. Fri Jun 13 2003 Gary Benson <gbenson@redhat.com> - Add the rpm's release to the version embedded in the libraries. Fri Jun 06 2003 Gary Benson <gbenson@redhat.com> 1.5.2-13 - Rebuild with new compiler. Thu Jun 05 2003 Gary Benson <gbenson@redhat.com> - Add build time dependency on C++ compiler. Thu May 29 2003 Gary Benson <gbenson@redhat.com> 1.5.2-12 - Rebuild with new compiler. Fri May 23 2003 Gary Benson <gbenson@redhat.com> 1.5.2-11 - Move unversioned library symlink into main package. Sat May 03 2003 Gary Benson <gbenson@redhat.com> 1.5.2-10 - Rebuild again to pick up rebuilt BCEL and Xalan. Fri May 02 2003 Tom Tromey <tromey@redhat.com> 1.5.2-9 - Rebuild with new compiler. Wed Apr 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-8 - Enable the Xalan and BCEL tasks. Mon Apr 14 2003 Gary Benson <gbenson@redhat.com> - Require gcj-ssa since we use it to compile java code. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-7 - Fix linking on hammer. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-6 - Reenable tasks that were disabled on hammer by working around the compiler failure more effectively. Wed Apr 09 2003 Gary Benson <gbenson@redhat.com> 1.5.2-5 - Compile resources with libtool to enable hammer builds. Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 1.5.2-4 - Rebuild with new compiler. Fri Apr 04 2003 Gary Benson <gbenson@redhat.com> - Use gcj-ssa instead of gcj for the compiler. Wed Apr 02 2003 Gary Benson <gbenson@redhat.com> - Rebuild against the new xerces. Fri Mar 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-2 - Substitute @VERSION@ and @DATE@ into the files that need it. Mon Mar 24 2003 Gary Benson <gbenson@redhat.com> 1.5.2-1 - Initial Red Hat Linux build. Fri Mar 21 2003 Gary Benson <gbenson@redhat.com> - Upgraded to latest version. Wed Nov 27 2002 Gary Benson <gbenson@redhat.com> - Initial RHUG build.
2004-09-09 15:59:07 +00:00
%if %{gcj_support}
%{_bindir}/aot-compile-rpm
%endif
%clean
rm -rf $RPM_BUILD_ROOT
# -----------------------------------------------------------------------------
%if %{gcj_support}
2005-04-12 13:58:57 +00:00
%post
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-04-12 13:58:57 +00:00
%if %{gcj_support}
2005-04-12 13:58:57 +00:00
%postun
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%post commons-net
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%postun commons-net
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
2007-08-16 13:28:37 +00:00
# We do not ship dependencies for these, so they are disabled.
%if 0
%if %{gcj_support}
%post jai
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%postun jai
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%post antlr
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%postun antlr
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
2005-07-18 13:14:49 +00:00
%post apache-bcel
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
2005-07-18 13:14:49 +00:00
%postun apache-bcel
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
%if %{gcj_support}
%post jmf
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%postun jmf
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
%if %{gcj_support}
%post trax
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
%if %{gcj_support}
%postun trax
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
%if %{gcj_support}
2005-07-18 13:14:49 +00:00
%post apache-log4j
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
2005-07-18 13:14:49 +00:00
%postun apache-log4j
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%post swing
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%postun swing
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%post nodeps
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
%if %{gcj_support}
%postun nodeps
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
%if %{gcj_support}
2005-07-18 13:14:49 +00:00
%post apache-regexp
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
2005-07-18 13:14:49 +00:00
%postun apache-regexp
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%post apache-resolver
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%postun apache-resolver
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%post junit
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%postun junit
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%post apache-oro
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%postun apache-oro
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%post javamail
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%postun javamail
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%post commons-logging
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%postun commons-logging
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%post jdepend
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%postun jdepend
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-07-18 13:14:49 +00:00
%if %{gcj_support}
%post jsch
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-04-12 13:58:57 +00:00
%if %{gcj_support}
%postun jsch
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
%if %{gcj_support}
%post apache-bsf
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
%if %{gcj_support}
%postun apache-bsf
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
auto-import changelog data from ant-1.5.2-20.src.rpm Thu Sep 25 2003 Gary Benson <gbenson@redhat.com> 1.5.2-20 - Fix bad bytecode in jarfile (#104986). - Change group to Development/Tools. - Split libraries into a separate subpackage. - Install stuff to allow ant to be run under a normal JVM (#104635). Fri Sep 19 2003 Gary Benson <gbenson@redhat.com> 1.5.2-19 - Remove workarounds for broken dependencies in xerces-j and xalan-j. - Use gij as the name of the interpreter to spawn when running under libgcj. Fri Sep 05 2003 Gary Benson <gbenson@redhat.com> 1.5.2-18 - Ensure we have a working javaconfig. Thu Sep 04 2003 Gary Benson <gbenson@redhat.com> - Remove workarounds used to support alpha releases. Tue Aug 26 2003 Gary Benson <gbenson@redhat.com> 1.5.2-17 - Reinstate 64-bit workaround and rebuild with new compiler. Thu Aug 07 2003 Gary Benson <gbenson@redhat.com> 1.5.2-16 - Remove 64-bit workaround and rebuild with new compiler. Mon Jul 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-15 - Add missing resources to jarfile (#100977). Fri Jul 25 2003 Gary Benson <gbenson@redhat.com> - Clarify the -devel subpackage's summary and description. - Remove unnecessary -devel dependencies (#99077). Tue Jul 01 2003 Gary Benson <gbenson@redhat.com> - Remove redundant --libdir configure option. Mon Jun 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-14 - Rebuild with new compiler and enable ia64 build. - Enable hammer compiler hack on ia64 also. Fri Jun 13 2003 Gary Benson <gbenson@redhat.com> - Add the rpm's release to the version embedded in the libraries. Fri Jun 06 2003 Gary Benson <gbenson@redhat.com> 1.5.2-13 - Rebuild with new compiler. Thu Jun 05 2003 Gary Benson <gbenson@redhat.com> - Add build time dependency on C++ compiler. Thu May 29 2003 Gary Benson <gbenson@redhat.com> 1.5.2-12 - Rebuild with new compiler. Fri May 23 2003 Gary Benson <gbenson@redhat.com> 1.5.2-11 - Move unversioned library symlink into main package. Sat May 03 2003 Gary Benson <gbenson@redhat.com> 1.5.2-10 - Rebuild again to pick up rebuilt BCEL and Xalan. Fri May 02 2003 Tom Tromey <tromey@redhat.com> 1.5.2-9 - Rebuild with new compiler. Wed Apr 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-8 - Enable the Xalan and BCEL tasks. Mon Apr 14 2003 Gary Benson <gbenson@redhat.com> - Require gcj-ssa since we use it to compile java code. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-7 - Fix linking on hammer. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-6 - Reenable tasks that were disabled on hammer by working around the compiler failure more effectively. Wed Apr 09 2003 Gary Benson <gbenson@redhat.com> 1.5.2-5 - Compile resources with libtool to enable hammer builds. Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 1.5.2-4 - Rebuild with new compiler. Fri Apr 04 2003 Gary Benson <gbenson@redhat.com> - Use gcj-ssa instead of gcj for the compiler. Wed Apr 02 2003 Gary Benson <gbenson@redhat.com> - Rebuild against the new xerces. Fri Mar 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-2 - Substitute @VERSION@ and @DATE@ into the files that need it. Mon Mar 24 2003 Gary Benson <gbenson@redhat.com> 1.5.2-1 - Initial Red Hat Linux build. Fri Mar 21 2003 Gary Benson <gbenson@redhat.com> - Upgraded to latest version. Wed Nov 27 2002 Gary Benson <gbenson@redhat.com> - Initial RHUG build.
2004-09-09 15:59:07 +00:00
%files
%defattr(0644,root,root,0755)
2005-03-29 11:10:29 +00:00
%doc KEYS LICENSE NOTICE README WHATSNEW
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.conf
%attr(0755,root,root) %{_bindir}/ant
%attr(0755,root,root) %{_bindir}/antRun
%{_javadir}/%{name}.jar
%{_javadir}/%{name}-launcher.jar
%{_javadir}/%{name}-%{version}.jar
%{_javadir}/%{name}-launcher-%{version}.jar
2005-04-28 13:43:06 +00:00
%dir %{_javadir}/%{name}
%dir %{ant_home}
%dir %{ant_home}/etc
%{ant_home}/etc/ant-update.xsl
%{ant_home}/etc/changelog.xsl
%{ant_home}/etc/log.xsl
%{ant_home}/etc/tagdiff.xsl
2005-01-12 13:36:27 +00:00
%{ant_home}/etc/junit-frames-xalan1.xsl
2007-07-20 20:57:49 +00:00
%{ant_home}/etc/common2master.xsl
%dir %{ant_home}/lib
2005-01-12 13:36:27 +00:00
%dir %{_sysconfdir}/%{name}.d
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-%{version}.jar.*
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-launcher-%{version}.jar.*
%endif
2007-07-20 20:57:49 +00:00
%if %{with_manifest_only}
%files manifest-only
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/ant-icontract-%{version}.jar
%{_javadir}/%{name}/ant-icontract.jar
%{_javadir}/%{name}/ant-netrexx-%{version}.jar
%{_javadir}/%{name}/ant-netrexx.jar
%{_javadir}/%{name}/ant-starteam-%{version}.jar
%{_javadir}/%{name}/ant-starteam.jar
%{_javadir}/%{name}/ant-stylebook-%{version}.jar
%{_javadir}/%{name}/ant-stylebook.jar
%{_javadir}/%{name}/ant-vaj-%{version}.jar
%{_javadir}/%{name}/ant-vaj.jar
%{_javadir}/%{name}/ant-weblogic-%{version}.jar
%{_javadir}/%{name}/ant-weblogic.jar
%{_javadir}/%{name}/ant-xalan1-%{version}.jar
%{_javadir}/%{name}/ant-xalan1.jar
%{_javadir}/%{name}/ant-xslp-%{version}.jar
%{_javadir}/%{name}/ant-xslp.jar
2007-07-20 20:57:49 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%files antlr
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/%{name}-antlr.jar
%{_javadir}/%{name}/%{name}-antlr-%{version}.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/antlr
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-antlr-%{version}.jar.*
%endif
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%files apache-bsf
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/%{name}-apache-bsf.jar
%{_javadir}/%{name}/%{name}-apache-bsf-%{version}.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-bsf
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-apache-bsf-%{version}.jar.*
%endif
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%files apache-resolver
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/%{name}-apache-resolver.jar
%{_javadir}/%{name}/%{name}-apache-resolver-%{version}.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-resolver
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-apache-resolver-%{version}.jar.*
%endif
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%files commons-logging
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/%{name}-commons-logging.jar
%{_javadir}/%{name}/%{name}-commons-logging-%{version}.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/commons-logging
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-commons-logging-%{version}.jar.*
%endif
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%files commons-net
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/%{name}-commons-net.jar
%{_javadir}/%{name}/%{name}-commons-net-%{version}.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/commons-net
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-commons-net-%{version}.jar.*
%endif
2007-07-27 15:01:04 +00:00
%endif
2007-08-16 13:28:37 +00:00
# Disable as we dont ship the dependencies
%if 0
%files jai
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/%{name}-jai.jar
%{_javadir}/%{name}/%{name}-jai-%{version}.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/jai
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-jai-%{version}.jar.*
%endif
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
2005-01-12 13:36:27 +00:00
%files apache-bcel
%defattr(0644,root,root,0755)
2005-01-12 13:36:27 +00:00
%{_javadir}/%{name}/%{name}-apache-bcel.jar
%{_javadir}/%{name}/%{name}-apache-bcel-%{version}.jar
%{_javadir}/%{name}/%{name}-jakarta-bcel.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-bcel
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-apache-bcel-%{version}.jar.*
%endif
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
2005-01-12 13:36:27 +00:00
%files apache-log4j
%defattr(0644,root,root,0755)
2005-01-12 13:36:27 +00:00
%{_javadir}/%{name}/%{name}-apache-log4j.jar
%{_javadir}/%{name}/%{name}-apache-log4j-%{version}.jar
%{_javadir}/%{name}/%{name}-jakarta-log4j.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-log4j
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-apache-log4j-%{version}.jar.*
%endif
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
2005-01-12 13:36:27 +00:00
%files apache-oro
%defattr(0644,root,root,0755)
2005-01-12 13:36:27 +00:00
%{_javadir}/%{name}/%{name}-apache-oro.jar
%{_javadir}/%{name}/%{name}-apache-oro-%{version}.jar
%{_javadir}/%{name}/%{name}-jakarta-oro.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-oro
%{ant_home}/etc/maudit-frames.xsl
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-apache-oro-%{version}.jar.*
%endif
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
2005-01-12 13:36:27 +00:00
%files apache-regexp
%defattr(0644,root,root,0755)
2005-01-12 13:36:27 +00:00
%{_javadir}/%{name}/%{name}-apache-regexp.jar
%{_javadir}/%{name}/%{name}-apache-regexp-%{version}.jar
%{_javadir}/%{name}/%{name}-jakarta-regexp.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-regexp
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-apache-regexp-%{version}.jar.*
%endif
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%files javamail
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/%{name}-javamail.jar
%{_javadir}/%{name}/%{name}-javamail-%{version}.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/javamail
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-javamail-%{version}.jar.*
%endif
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%files jdepend
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/%{name}-jdepend.jar
%{_javadir}/%{name}/%{name}-jdepend-%{version}.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/jdepend
%{ant_home}/etc/jdepend.xsl
%{ant_home}/etc/jdepend-frames.xsl
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-jdepend-%{version}.jar.*
%endif
2007-07-27 15:01:04 +00:00
%endif
%files jmf
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/%{name}-jmf.jar
%{_javadir}/%{name}/%{name}-jmf-%{version}.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/jmf
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-jmf-%{version}.jar.*
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%files jsch
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/%{name}-jsch.jar
%{_javadir}/%{name}/%{name}-jsch-%{version}.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/jsch
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-jsch-%{version}.jar.*
%endif
2007-07-27 15:01:04 +00:00
%endif
2007-07-27 15:01:04 +00:00
%if ! %{bootstrap1} && ! %{bootstrap2}
%files junit
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/%{name}-junit.jar
%{_javadir}/%{name}/%{name}-junit-%{version}.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/junit
%{ant_home}/etc/junit-frames.xsl
%{ant_home}/etc/junit-noframes.xsl
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-junit-%{version}.jar.*
%endif
2007-07-27 15:01:04 +00:00
%endif
%files nodeps
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/%{name}-nodeps.jar
%{_javadir}/%{name}/%{name}-nodeps-%{version}.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/nodeps
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-nodeps-%{version}.jar.*
%endif
%files swing
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/%{name}-swing.jar
%{_javadir}/%{name}/%{name}-swing-%{version}.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/swing
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-swing-%{version}.jar.*
%endif
%files trax
%defattr(0644,root,root,0755)
%{_javadir}/%{name}/%{name}-trax.jar
%{_javadir}/%{name}/%{name}-trax-%{version}.jar
2007-07-27 15:01:04 +00:00
%config(noreplace) %{_sysconfdir}/%{name}.d/trax
%{ant_home}/etc/mmetrics-frames.xsl
%{ant_home}/etc/coverage-frames.xsl
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/ant-trax-%{version}.jar.*
%endif
%files scripts
%defattr(0755,root,root,0755)
%{_bindir}/*.pl
2005-07-15 10:33:13 +00:00
%{_bindir}/*.py*
%files manual
%defattr(0644,root,root,0755)
%doc docs/*
%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}-%{version}
2007-07-27 15:01:04 +00:00
%{_javadocdir}/%{name}
# -----------------------------------------------------------------------------
auto-import changelog data from ant-1.5.2-20.src.rpm Thu Sep 25 2003 Gary Benson <gbenson@redhat.com> 1.5.2-20 - Fix bad bytecode in jarfile (#104986). - Change group to Development/Tools. - Split libraries into a separate subpackage. - Install stuff to allow ant to be run under a normal JVM (#104635). Fri Sep 19 2003 Gary Benson <gbenson@redhat.com> 1.5.2-19 - Remove workarounds for broken dependencies in xerces-j and xalan-j. - Use gij as the name of the interpreter to spawn when running under libgcj. Fri Sep 05 2003 Gary Benson <gbenson@redhat.com> 1.5.2-18 - Ensure we have a working javaconfig. Thu Sep 04 2003 Gary Benson <gbenson@redhat.com> - Remove workarounds used to support alpha releases. Tue Aug 26 2003 Gary Benson <gbenson@redhat.com> 1.5.2-17 - Reinstate 64-bit workaround and rebuild with new compiler. Thu Aug 07 2003 Gary Benson <gbenson@redhat.com> 1.5.2-16 - Remove 64-bit workaround and rebuild with new compiler. Mon Jul 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-15 - Add missing resources to jarfile (#100977). Fri Jul 25 2003 Gary Benson <gbenson@redhat.com> - Clarify the -devel subpackage's summary and description. - Remove unnecessary -devel dependencies (#99077). Tue Jul 01 2003 Gary Benson <gbenson@redhat.com> - Remove redundant --libdir configure option. Mon Jun 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-14 - Rebuild with new compiler and enable ia64 build. - Enable hammer compiler hack on ia64 also. Fri Jun 13 2003 Gary Benson <gbenson@redhat.com> - Add the rpm's release to the version embedded in the libraries. Fri Jun 06 2003 Gary Benson <gbenson@redhat.com> 1.5.2-13 - Rebuild with new compiler. Thu Jun 05 2003 Gary Benson <gbenson@redhat.com> - Add build time dependency on C++ compiler. Thu May 29 2003 Gary Benson <gbenson@redhat.com> 1.5.2-12 - Rebuild with new compiler. Fri May 23 2003 Gary Benson <gbenson@redhat.com> 1.5.2-11 - Move unversioned library symlink into main package. Sat May 03 2003 Gary Benson <gbenson@redhat.com> 1.5.2-10 - Rebuild again to pick up rebuilt BCEL and Xalan. Fri May 02 2003 Tom Tromey <tromey@redhat.com> 1.5.2-9 - Rebuild with new compiler. Wed Apr 30 2003 Gary Benson <gbenson@redhat.com> 1.5.2-8 - Enable the Xalan and BCEL tasks. Mon Apr 14 2003 Gary Benson <gbenson@redhat.com> - Require gcj-ssa since we use it to compile java code. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-7 - Fix linking on hammer. Fri Apr 11 2003 Gary Benson <gbenson@redhat.com> 1.5.2-6 - Reenable tasks that were disabled on hammer by working around the compiler failure more effectively. Wed Apr 09 2003 Gary Benson <gbenson@redhat.com> 1.5.2-5 - Compile resources with libtool to enable hammer builds. Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 1.5.2-4 - Rebuild with new compiler. Fri Apr 04 2003 Gary Benson <gbenson@redhat.com> - Use gcj-ssa instead of gcj for the compiler. Wed Apr 02 2003 Gary Benson <gbenson@redhat.com> - Rebuild against the new xerces. Fri Mar 28 2003 Gary Benson <gbenson@redhat.com> 1.5.2-2 - Substitute @VERSION@ and @DATE@ into the files that need it. Mon Mar 24 2003 Gary Benson <gbenson@redhat.com> 1.5.2-1 - Initial Red Hat Linux build. Fri Mar 21 2003 Gary Benson <gbenson@redhat.com> - Upgraded to latest version. Wed Nov 27 2002 Gary Benson <gbenson@redhat.com> - Initial RHUG build.
2004-09-09 15:59:07 +00:00
%changelog
2008-02-21 02:27:51 +00:00
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.7.0-1jpp.4
2008-02-19 17:39:11 +00:00
- Autorebuild for GCC 4.3
* Wed Jan 09 2008 Permaine Cheung <pcheung at redhat.com> - 0:1.7.0-1jpp.3
- make Java 6's javac understand -source 1.1 as well (patch from bodewig
on the ant mailing list)
2007-08-16 13:28:37 +00:00
* Tue Aug 14 2007 Permaine Cheung <pcheung at redhat.com> - 0:1.7.0-1jpp.2
- Enable building commons-net subpackage
2007-07-27 15:01:04 +00:00
* Fri Jul 27 2007 Fernando Nasser <fnasser at redhat.com> - 0:1.7.0-1jpp.1
- Merge with upstream for upgrade
2007-07-20 20:57:49 +00:00
* Wed Jun 20 2007 Fernando Nasser <fnasser at redhat.com> - 0:1.7.0-1jpp
- Upgrade to the final 1.7.0
2007-04-25 19:04:25 +00:00
2007-07-27 15:01:04 +00:00
* Wed Apr 25 2007 Permaine Cheung <pcheung@redhat.com> 0:1.6.5-4jpp.3
- Update spec file as per fedora review.
* Mon Mar 19 2007 Permaine Cheung <pcheung@redhat.com> 1.6.5-4jpp.2
- Get rid of the Provides for ant-optional and ant-optional-full.
* Fri Mar 16 2007 Permaine Cheung <pcheung@redhat.com> 1.6.5-4jpp.1
- Merge with upstream, get rid of the endorsed patch
* Tue Feb 20 2007 Permaine Cheung <pcheung@redhat.com> 1.6.5-2jpp.3
- Add endorsed dir and create symlinks for xml-commons-apis and
jaxp_parser_impl there, and add the option when running ant.
- Add missing BR
- Fix some rpmlint issues
* Fri Feb 09 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.6.5-4jpp
- Must skip release 3 because Youri::Bugzilla::_add_version doesn't
distinguish between JPP-1.6 and JPP-1.7 and we have 1.6.5-3 in 1.6
* Fri Feb 09 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.6.5-3jpp
- Added option "bootstrap1" for building core while no jaxp_parser_impl
nor xml-commons-apis available
- Added option "bootstrap2" for building core when some jaxp_parser_impl
and xml-commons-apis available
2007-07-20 20:57:49 +00:00
* Thu Sep 21 2006 Will Tatam <will.tatam@red61.com> - 0:1.7.0-0.Beta1.1jpp
- Upgraded to 1.7.0Beta1
- removed the apache-ant-1.6.5-jvm1.5-detect.patch as merged upstream
2007-07-27 15:01:04 +00:00
* Wed Aug 30 2006 Deepak Bhole <dbhole@redhat.com> 1.6.5-2jpp.2
- Re-enabling style and xmlvalidate task on ppc64 and s390x.
* Fri Aug 11 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.6.5-2jpp.1
- Added conditional native compilation
2007-07-20 20:57:49 +00:00
- Add missing requirements
2007-07-27 15:01:04 +00:00
- Synch with JPackage spec
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:1.6.5-1jpp_11fc
- Rebuilt
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:1.6.5-1jpp_10fc
- rebuild
* Thu Jun 1 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.6.5-1jpp_9fc
- actually apply the patch added in 8fc!
* Thu Jun 1 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.6.5-1jpp_8fc
- Added patch to fix jvm version detection
* Mon Mar 6 2006 Jeremy Katz <katzj@redhat.com> - 0:1.6.5-1jpp_7fc
- stop scriptlet spew
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:1.6.5-1jpp_6fc
- bump again for double-long bug on ppc(64)
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0:1.6.5-1jpp_5fc
- rebuilt for new gcc4.1 snapshot and glibc changes
* Thu Feb 2 2006 Archit Shah <ashah@redhat.com> - 0:1.6.5-1jpp_4fc
- build ant without using native code
* Mon Jan 9 2006 Jesse Keating <jkeating@redhat.com> - 0:1.6.5-1jpp_3fc
- bump again for another gcj fix
* Wed Dec 21 2005 Jesse Keating <jkeating@redhat.com> - 0:1.6.5-1jpp_2fc
- rebuilt again
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Fri Dec 9 2005 Jesse Keating <jkeating@redhat.com> - 0:1.6.5-1jpp_1fc
- rebuild for gcc-4.1.0-0.6
2007-07-20 20:57:49 +00:00
* Wed Nov 09 2005 Fernando Nasser <fnasser at redhat.com> - 0:1.6.5-1jpp
- Upgrade to 1.6.5
- Incorporate the following changes:
From Gary Benson <gbenson at redhat.com>:
- Allow subpackages not in Fedora to be installed from JPackage
- Add NOTICE file as per Apache License version 2.0
- Own /usr/share/java/ant
From Vadim Nasardinov <vadimn@redhat.com>
- Removed apache-ant-1.6.2.patch. Incorporated upstream.
From David Walluck <david@jpackage.org>
- Add manifest-only package (mainly for eclipse)
- Add conflicts on j2sdk for Mandriva
2007-07-27 15:01:04 +00:00
* Tue Nov 8 2005 Vadim Nasardinov <vadimn@redhat.com> - 0:1.6.5-0jpp_1fc
- Converted from ISO-8859-1 to UTF-8. (The correct encoding was
somehow lost in going from version 1.58 to 1.59.)
* Thu Nov 3 2005 Vadim Nasardinov <vadimn@redhat.com> - 0:1.6.5-0jpp_1fc
- Changed the Release from 2fc to 0jpp_1fc on the assumption that we
are going to want to resync this package with JPackage if/when the
latter releases ant-1.6.5-1jpp.
* Tue Nov 1 2005 Vadim Nasardinov <vadimn@redhat.com> - 0:1.6.5-2fc
- Removed .jar files from upstream source
* Mon Oct 31 2005 Vadim Nasardinov <vadimn@redhat.com> - 0:1.6.5-1fc
- Upgraded to 1.6.5
- Removed apache-ant-1.6.2.patch. It was no longer relevant due to the
following change upstream:
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java,v1.41.2.8
- Updated apache-ant-1.6.2-rpm.patch to apache-ant-1.6.5-rpm.patch
- Replaced apache-ant-bz157750.patch with apache-ant-1.6.5-javah.patch
- Converted this spec file from iso-8859-1 to utf-8. (#159586)
* Wed Aug 3 2005 Gary Benson <gbenson at redhat.com> 0:1.6.2-3jpp_14fc
- Allow subpackages not in Fedora to be installed from JPackage.
- Obsolete the jmf subpackage (#164389).
* Thu Jul 21 2005 Gary Benson <gbenson at redhat.com> 0:1.6.2-3jpp_13fc
- Disable the style and xmlvalidate tasks on ppc64 and s390x (#163689).
* Mon Jul 18 2005 Gary Benson <gbenson at redhat.com> 0:1.6.2-3jpp_12fc
- Built on ia64, ppc64, s390 and s390x.
- Switch to aot-compile-rpm (also BC-compiles subpackages).
- Remove the jmf subpackage since it wasn't being built anyway.
* Fri Jul 15 2005 Gary Benson <gbenson at redhat.com> 0:1.6.2-3jpp_11fc
- Bootstrap onto ia64, ppc64, s390 and s390x.
* Wed Jun 15 2005 Gary Benson <gbenson at redhat.com> 0:1.6.2-3jpp_10fc
- Add the bsf subpackage since we now ship bsf.
- Remove gcj workaround (not correct, so assume not necessary).
- Remove jarfiles from the tarball.
* Mon Jun 6 2005 Gary Benson <gbenson at redhat.com>
- Make the javah task fall back to executing javah if
com.sun.tools.javah.Main cannot be found.
* Tue May 25 2005 Gary Benson <gbenson at redhat.com> 0:1.6.2-3jpp_9fc
- Rearrange how BC-compiled stuff is built and installed.
* Mon May 23 2005 Gary Benson <gbenson at redhat.com> 0:1.6.2-3jpp_8fc
- Use absolute paths for rebuild-gcj-db.
* Mon May 23 2005 Gary Benson <gbenson at redhat.com> 0:1.6.2-3jpp_7fc
- Build the javah task (#157750).
- Add alpha to the list of build architectures (#157522).
* Thu May 5 2005 Gary Benson <gbenson at redhat.com> 0:1.6.2-3jpp_6fc
- Add dependencies for post and postun scriptlets (#156901).
* Fri Apr 29 2005 Gary Benson <gbenson at redhat.com> 0:1.6.2-3jpp_5fc
- BC-compile the two core jars.
- Own /usr/share/java/ant.
* Fri Apr 08 2005 Andrew Overholt <overholt at redhat.com> 0:1.6.2-3jpp_4fc
- Replace gcj workarounds removed in previous commit.
* Tue Mar 29 2005 Gary Benson <gbenson at redhat.com> 0:1.6.2-3jpp_3fc
- Add NOTICE file as per Apache License version 2.0.
- Remove some now unnecessary gcj workarounds.
- Add the jsch subpackage since we now ship jsch.
* Thu Jan 20 2005 Gary Benson <gbenson at redhat.com> 0:1.6.2-3jpp_2fc
- Use jdtcore.jar instead of ecj.jar when running under libgcj.
* Wed Jan 12 2005 Gary Benson <gbenson at redhat.com> 0:1.6.2-3jpp_1fc
- Upgrade to latest version.
* Wed Jan 12 2005 Gary Benson <gbenson at redhat.com> 0:1.6.1-1jpp_7fc
- Explicitly require java-devel to make beehive play nice.
2005-01-12 13:36:27 +00:00
* Mon Nov 8 2004 Gary Benson <gbenson at redhat.com> - 0:1.6.2-3jpp
- Build OPT_JAR_LIST from files in /etc/ant.d.
2007-07-27 15:01:04 +00:00
* Thu Nov 4 2004 Gary Benson <gbenson at redhat.com> 0:1.6.1-1jpp_6fc
- Build into Fedora.
* Mon Nov 1 2004 Gary Benson <gbenson at redhat.com> 0:1.6.1-1jpp_5fc
- Explicitly require xerces-j2 to make beehive play nice.
* Mon Nov 1 2004 Gary Benson <gbenson at redhat.com> 0:1.6.1-1jpp_4fc
- Bootstrap into Fedora.
2005-01-12 13:36:27 +00:00
* Mon Sep 06 2004 Fernando Nasser <fnasser at redhat.com> - 0:1.6.2-2jpp
- Fix to backward compatibility symbolic links.
* Wed Aug 17 2004 Fernando Nasser <fnasser at redhat.com> - 0:1.6.2-1jpp
- Update to Ant 1.6.2
* Thu Aug 05 2004 Fernando Nasser <fnasser at redhat.com> - 0:1.6.1-2jpp
- Remove incorrect noreplace option for ant.conf; it can't be used anymore
because the sub-packages update that file.
- Add patch to fix temp directory used for file containing large
command strings (> 4k)
* Tue Jun 01 2004 Randy Watler <rwatler at finali.com> - 0:1.6.1-1jpp
- Extend subpackage builds to update ant.conf
* Tue Mar 23 2004 Randy Watler <rwatler at finali.com> - 0:1.6.1-1jpp
- Update to Ant 1.6.1
- Change ant launch script to source instead of patch
2007-07-27 15:01:04 +00:00
- Move optional components to ant subdirectory: {_javadir}/{name}
- Remove os/2 scripts and set JAVA_HOME for build
* Wed Feb 11 2004 Randy Watler <rwatler at finali.com> - 0:1.6.0-1jpp
- Update to Ant 1.6.0
- Break out optional/optional-full components
- Revise ant launch scripts and support ~/.ant/ant.conf configuration file
- Use --noconfig flag to bootstrap ant build and override existing jpp config
- Modify ant launcher to use ant.library.dir property to find extra jars
- Port changes made in ant launch script for 1.6.2 back into patches
* Wed Aug 13 2003 Paul Nasrat <pauln at truemesh.com> - 0:1.5.4-2jpp
- remove bogus NoSource entries
* Tue Aug 12 2003 Paul Nasrat <pauln at truemesh.com> - 0:1.5.4-1jpp
- Update to 1.5.4
- JavaCC task fixed using merged upstream patches from ant HEAD
2005-11-08 20:05:27 +00:00
* Mon May 5 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.5.3-2jpp
- Fix non-versioned javadoc symlinking.
2005-11-08 20:05:27 +00:00
* Tue Apr 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.5.3-1jpp
- Update to 1.5.3.
- Remove runtime java-devel dependency.
- Add Epochs in all Provides and Requires.
- Include non-versioned javadoc symlink.
- Build without dependencies that are partially or completely missing from
JPackage 1.5 (oldbsf, xalan-j1, stylebook1.0b3).
- Add netcomponents to optional jar list in ant.conf.
* Tue Apr 01 2003 Nicolas Mailhot <Nicolas.Mailhot at JPackage.org> - 1.5.2-13jpp
- ant-optional is optional (silly me)
- jaxp_transform is optional , do not require it
- epoch, correct jpackage-utils requires...
* Fri Mar 21 2003 Nicolas Mailhot <Nicolas.Mailhot at JPackage.org> - 1.5.2-11jpp
- add an optional jar list as per Ville's suggestion
* Thu Mar 20 2003 Nicolas Mailhot <Nicolas.Mailhot at JPackage.org> - 1.5.2-10jpp
- hopefully fix CLASSSPATH_OVERRIDE behaviour
* Tue Mar 18 2003 Nicolas Mailhot <Nicolas.Mailhot at JPackage.org> - 1.5.2-7jpp
- for JPackage-utils 1.5
2005-11-08 20:05:27 +00:00
* Wed Mar 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 1.5.2-5jpp
- Move ANT_HOME to /usr/share/ant.
- Don't special-case the lib dir for RPM layout any more, use ANT_HOME/lib.
- Install XSLs into ANT_HOME/etc.
- Call set_jvm by default in ant.conf.
- Provide ant-optional-clean (versioned) in ant-optional.
- Make ant-optional-full conflict with ant-optional-clean.
- Add version info to ant-optional provision in ant-optional-full.
- Built with Sun 1.4.1_02 javac (to get JDK 1.4 regex).
* Tue Mar 11 2003 Henri Gomez <hgomez@users.sourceforge.net> 1.5.2-4jp
- changed provided /etc/ant.conf so that if usejikes is allready provided
it didn't set it. Which such modification if you want to disable
ant to use jikes even if jikes is set in /etc/ant.conf you'll just have
to do usejikes=false ant build.xml.
* Mon Mar 10 2003 Henri Gomez <hgomez@users.sourceforge.net> 1.5.2-3jp
- rebuilt with IBM SDK 1.3.1 since there was zip corruption when built
with jikes 1.18 and IBM SDK 1.4.
* Wed Mar 05 2003 Henri Gomez <hgomez@users.sourceforge.net> 1.5.2-2jp
- updated URL and source location
* Wed Mar 05 2003 Henri Gomez <hgomez@users.sourceforge.net> 1.5.2-1jp
- 1.5.2
- remove JDK 1.4 related patchs which are now included in ant 1.5.2
- fix ant-optional-full pre/post install script (now remove correctly all
ant optional jars)
- Built with jikes 1.18 and IBM SDK 1.4
2005-11-08 20:05:27 +00:00
* Sat Feb 1 2003 Ville Skyttä <ville.skytta at iki.fi> - 1.5.1-8jpp
- Symlink a transformer into ANT_LIB for smoother experience on Java 1.3.
- Requires jaxp_transform_impl.
- Don't remove optional.jar symlinks on optional-full upgrade.
- Include Sun's 1.4 JSSE and JCE jars in runtime path, see
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16242>.
- Use jpackage-utils for setting JAVA_HOME when building.
- Built with Sun 1.4.1_01 javac.
* Mon Jan 20 2003 David Walluck <david@anti-microsoft.org> 1.5.1-7jpp
- oldbsf
2005-11-08 20:05:27 +00:00
* Fri Dec 20 2002 Ville Skyttä <ville.skytta at iki.fi> - 1.5.1-6jpp
- Really get rid of automatic dependencies for the -scripts package.
* Wed Dec 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.5.1-5jpp
- scripts subpackages
- file-based manual dependencies, as packages doesn't have the same name on RedHat and Mandrake
2005-11-08 20:05:27 +00:00
* Wed Dec 11 2002 Ville Skyttä <ville.skytta at iki.fi> - 1.5.1-4jpp
- Patched to allow easier use with Jikes and IBM's 1.4.0, see
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15289> for details.
* Mon Oct 07 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5.1-3jpp
- new post script for optional-full since rpm didn't works as
expected and didn't set correct symlink for ant-optional.jar
* Thu Oct 03 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5.1-2jpp
- really used JDK 1.4.1 to get JDK 1.4.x Regexp
* Thu Oct 03 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5.1-1jpp
- ant 1.5.1
* Fri Jul 12 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5-5jpp
- ant script standard behaviour restored, ie ant/lib jars are taken
before CLASSPATH. You should define CLASSPATH_OVERRIDE env var to have
CLASSPATH before ant/lib jars
- applied ant script patch for cygwin (cygwin rpm users around ?)
- remove conflict in ant-optional-full, just put provides
* Fri Jul 12 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5-4jpp
- fix a problem in xerces-j2 build by changing the way CLASSPATH is constructed:
first add jars found in CLASSPATH, then add xml-commons-apis, jaxp_parser_impl,
ant, ant-optional and finish with jars found in ant/lib.
- jpackage-utils is no more required (but recommanded :)
- ant-optional-full provides ant-optional
- fix link between manual and api (javadoc)
* Thu Jul 11 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5-3jpp
- add missing symlink between optional-full.jar and optional.jar
2005-11-08 20:05:27 +00:00
* Wed Jul 10 2002 Ville Skyttä <ville.skytta at iki.fi> 1.5-2jpp
- Requires jaxp_parser_impl, no longer jaxp_parser2
(jaxp_parser_impl already requires xml-commons-apis).
- Use sed instead of bash 2 extension when symlinking.
* Wed Jul 10 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5-1jpp
* ant 1.5
* Tue Jul 09 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5.Beta3-1jpp
- ant 1.5 beta 3
- added bcel as required
* Tue Jul 09 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.4.1-14jpp
- added regexp to list of dependant packages
* Tue Jul 09 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.4.1-13jpp
- added optional-full which include all ant tasks, even those without
matching package
- added jdepend 2.2
- remove require oro, since ant could works without it
2007-07-27 15:01:04 +00:00
- ant lib is now in {_javadir}/{name}, put external jars here
* Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-12jpp
- hardcoded distribution and vendor tag
- group tag again
* Thu May 2 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-11jpp
- no more jikes specific support in launch script
- source user prefs before configuration in launch script
- distribution tag
- group tag
- provided original script as documentation
* Fri Apr 05 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-10jpp
- used xalan-j1 instead of xalan-j2-compat
* Mon Mar 11 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-9jpp
- jaxp_parser2 support
* Wed Feb 06 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-8jpp
- netcomponents support
* Sun Jan 27 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-7jpp
- adaptation to new stylebook1.0b3 package
- stylebook is a dependency of optional package
- removed redundant dependencies
- launch script correction
* Fri Jan 25 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-6jpp
- cleaned manifest from class-path references
- section macro
* Thu Jan 17 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-5jpp
- versioned dir for javadoc
- no dependencies for manual and javadoc packages
- stricter dependency for optional package
- additional sources in individual archives
- upgraded launch script
- no more javadoc cross-linking
- additional requirement for optional package: xml-commons-apis, xalan-j2, xalan-j2-compat, jaf, javamail, & log4j
* Sat Dec 1 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-4jpp
- removed conditional build
- removed redundant BuildRequires
- ant-optional.jar in ant-optional package
- javadoc into javadoc package
- new launch script using functions library
* Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 1.4.1-3jpp
- readded Requires: oro junit stylebook-1.0b3 bsf rhino antlr to the main package
- corrected changelog release 1jpp-> 2jpp
* Tue Nov 20 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 1.4.1-2jpp
- conditional build
- removed packager tag
- new jpp extension
- added xalan 2.2.D13 support
- added BuildRequires: xalan-j2 >= 2.2.D13
- removed Requires: oro junit stylebook-1.0b3 bsf rhino antlr
* Mon Oct 15 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-1jpp
- 1.4.1
* Sat Oct 6 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4-4jpp
- used original tarball
* Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4-3jpp
- more macros
* Wed Sep 26 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4-2jpp
- first unified release
- dropped explicit xalan-j2 requirement, as stylebook-1.0b3 already requires it
- added missing xalan-j1 compatibility classes
- s/jPackage/JPackage
* Wed Sep 05 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4-1mdk
- 1.4
- added xalan-j2 antlr bsf rhino to buildrequires and requires
- launch script cleanup
* Tue Jul 31 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.3-4mdk
- jaxp_parser symlink is now jaxp_parser.jar
* Thu Jul 26 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.3-3mdk
- used alternative jaxp_parser
- updated launch script
* Sat Jun 23 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.3-2mdk
- s/Copyright/License/
- truncated description to 72 columns in spec
- updated launch script
* Mon Jun 11 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.3-1mdk
- 1.3
- new versioning scheme
- compiled with oro, junit and stylebook support
- spec cleanup
* Sat Mar 10 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.2-9mdk
- vendor tag
- packager tag
* Sat Feb 17 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-8mdk
- spec cleanup
- corrected changelog
- changed description
* Sun Feb 04 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-7mdk
- launch script improvments (Christian Zoffoli <czoffoli@linux-mandrake.com>)
- added french in spec
- more macros
* Fri Feb 02 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-6mdk
- corrected launch script
* Thu Feb 01 2001 Christian Zoffoli <czoffoli@linux-mandrake.com> 1.2-5mdk
- more macros
- added italian in spec
* Wed Jan 31 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-4mdk
- merged with Henri Gomez <hgomez@users.sourceforge.net> specs:
- changed name to ant
- changed javadir to /usr/share/java
- dropped jdk and jre requirement
- corrected require to jaxp
- added Jikes support
- used our own bash script
- dropped perl script
- dropped ant home directory
* Sun Jan 14 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-3mdk
- changed name to jakarta-ant
- changed group to Development/Java
* Wed Jan 04 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-2mdk
- new spec file
- discarded ugly non-free Sun jaxp library from sources, and used pretty open-source xerces instead
* Wed Dec 20 2000 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-1mdk
- first Mandrake release
- used SRPMS from Henri Gomez <hgomez@users.sourceforge.net>