3e8b7f
# Copyright (c) 2000-2008, JPackage Project
3e8b7f
# All rights reserved.
3e8b7f
#
3e8b7f
# Redistribution and use in source and binary forms, with or without
3e8b7f
# modification, are permitted provided that the following conditions
3e8b7f
# are met:
3e8b7f
#
3e8b7f
# 1. Redistributions of source code must retain the above copyright
3e8b7f
#    notice, this list of conditions and the following disclaimer.
3e8b7f
# 2. Redistributions in binary form must reproduce the above copyright
3e8b7f
#    notice, this list of conditions and the following disclaimer in the
3e8b7f
#    documentation and/or other materials provided with the
3e8b7f
#    distribution.
3e8b7f
# 3. Neither the name of the JPackage Project nor the names of its
3e8b7f
#    contributors may be used to endorse or promote products derived
3e8b7f
#    from this software without specific prior written permission.
3e8b7f
#
3e8b7f
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
3e8b7f
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
3e8b7f
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
3e8b7f
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
3e8b7f
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3e8b7f
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
3e8b7f
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3e8b7f
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3e8b7f
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3e8b7f
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3e8b7f
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3e8b7f
#
3e8b7f
3e8b7f
%bcond_without tests
3e8b7f
%bcond_without javadoc
3e8b7f
3e8b7f
%global ant_home %{_datadir}/ant
3e8b7f
%global major_version 1.8
3e8b7f
3e8b7f
Name:           ant
f61726
Version:        1.9.4
f61726
Release:        2%{?dist}
3e8b7f
Epoch:          0
3e8b7f
Summary:        Build tool for java
3e8b7f
Summary(it):    Tool per la compilazione di programmi java
3e8b7f
Summary(fr):    Outil de compilation pour java
3e8b7f
License:        ASL 2.0
3e8b7f
URL:            http://ant.apache.org/
3e8b7f
Source0:        http://archive.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2
3e8b7f
Source2:        apache-ant-%{major_version}.ant.conf
3e8b7f
f61726
Patch1:         0001-Fix-arbitrary-file-write-vulnerability.patch
f61726
3e8b7f
# Fix some places where copies of classes are included in the wrong jarfiles
3e8b7f
Patch4:         apache-ant-class-path-in-manifest.patch
3e8b7f
3e8b7f
BuildRequires:  jpackage-utils >= 0:1.7.5
3e8b7f
BuildRequires:  java-devel >= 0:1.5.0
3e8b7f
BuildRequires:  ant
f61726
BuildRequires:  ant-apache-xalan2
3e8b7f
BuildRequires:  ant-junit
3e8b7f
BuildRequires:  junit
3e8b7f
BuildRequires:  xalan-j2
3e8b7f
BuildRequires:  xerces-j2
3e8b7f
BuildRequires:  xml-commons-apis
3e8b7f
3e8b7f
Requires:       jpackage-utils >= 0:1.7.5
3e8b7f
Requires:       java-devel >= 0:1.5.0
3e8b7f
Requires:       perl
3e8b7f
Requires:       python
3e8b7f
Requires:       xerces-j2
3e8b7f
Requires:       xml-commons-apis
3e8b7f
3e8b7f
Obsoletes:      %{name}-scripts < %{epoch}:%{version}-%{release}
3e8b7f
Provides:       %{name}-scripts = %{epoch}:%{version}-%{release}
3e8b7f
3e8b7f
BuildArch:      noarch
3e8b7f
3e8b7f
%description
3e8b7f
Ant is a platform-independent build tool for java. It's used by apache
3e8b7f
jakarta and xml projects.
3e8b7f
3e8b7f
%description -l fr
3e8b7f
Ant est un outil de compilation multi-plateformes pour java. Il est
3e8b7f
utilisé par les projets apache-jakarta et apache-xml.
3e8b7f
3e8b7f
%description -l it
3e8b7f
Ant e' un tool indipendente dalla piattaforma creato per faciltare la
3e8b7f
compilazione di programmi java.
3e8b7f
Allo stato attuale viene utilizzato dai progetti apache jakarta ed
3e8b7f
apache xml.
3e8b7f
3e8b7f
%package jmf
3e8b7f
Summary:        Optional jmf tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
3e8b7f
%description jmf
3e8b7f
Optional jmf tasks for %{name}.
3e8b7f
3e8b7f
%description jmf -l fr
3e8b7f
Taches jmf optionelles pour %{name}.
3e8b7f
3e8b7f
%package swing
3e8b7f
Summary:        Optional swing tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
3e8b7f
%description swing
3e8b7f
Optional swing tasks for %{name}.
3e8b7f
3e8b7f
%description swing -l fr
3e8b7f
Taches swing optionelles pour %{name}.
3e8b7f
3e8b7f
%package antlr
3e8b7f
Summary:        Optional antlr tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       antlr
3e8b7f
BuildRequires:  antlr
3e8b7f
3e8b7f
%description antlr
3e8b7f
Optional antlr tasks for %{name}.
3e8b7f
3e8b7f
%description antlr -l fr
3e8b7f
Taches antlr optionelles pour %{name}.
3e8b7f
3e8b7f
%package apache-bsf
3e8b7f
Summary:        Optional apache bsf tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       bsf
3e8b7f
BuildRequires:  bsf
3e8b7f
3e8b7f
%description apache-bsf
3e8b7f
Optional apache bsf tasks for %{name}.
3e8b7f
3e8b7f
%description apache-bsf -l fr
3e8b7f
Taches apache bsf optionelles pour %{name}.
3e8b7f
3e8b7f
%package apache-resolver
3e8b7f
Summary:        Optional apache resolver tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       xml-commons-resolver
3e8b7f
BuildRequires:  xml-commons-resolver
3e8b7f
3e8b7f
%description apache-resolver
3e8b7f
Optional apache resolver tasks for %{name}.
3e8b7f
3e8b7f
%description apache-resolver -l fr
3e8b7f
Taches apache resolver optionelles pour %{name}.
3e8b7f
3e8b7f
%package commons-logging
3e8b7f
Summary:        Optional commons logging tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       apache-commons-logging
3e8b7f
BuildRequires:  apache-commons-logging
3e8b7f
3e8b7f
%description commons-logging
3e8b7f
Optional commons logging tasks for %{name}.
3e8b7f
3e8b7f
%description commons-logging -l fr
3e8b7f
Taches commons logging optionelles pour %{name}.
3e8b7f
3e8b7f
%package commons-net
3e8b7f
Summary:        Optional commons net tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       apache-commons-net
3e8b7f
BuildRequires:  apache-commons-net
3e8b7f
3e8b7f
%description commons-net
3e8b7f
Optional commons net tasks for %{name}.
3e8b7f
3e8b7f
%description commons-net -l fr
3e8b7f
Taches commons net optionelles pour %{name}.
3e8b7f
3e8b7f
# Disable because we don't ship the dependencies
3e8b7f
%if 0
3e8b7f
%package jai
3e8b7f
Summary:        Optional jai tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       jai
3e8b7f
BuildRequires:  jai
3e8b7f
3e8b7f
%description jai
3e8b7f
Optional jai tasks for %{name}.
3e8b7f
3e8b7f
%description jai -l fr
3e8b7f
Taches jai optionelles pour %{name}.
3e8b7f
%endif
3e8b7f
3e8b7f
%package apache-bcel
3e8b7f
Summary:        Optional apache bcel tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       bcel
3e8b7f
BuildRequires:  bcel
3e8b7f
3e8b7f
%description apache-bcel
3e8b7f
Optional apache bcel tasks for %{name}.
3e8b7f
3e8b7f
%description apache-bcel -l fr
3e8b7f
Taches apache bcel optionelles pour %{name}.
3e8b7f
3e8b7f
%package apache-log4j
3e8b7f
Summary:        Optional apache log4j tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       log4j
3e8b7f
BuildRequires:  log4j
3e8b7f
3e8b7f
%description apache-log4j
3e8b7f
Optional apache log4j tasks for %{name}.
3e8b7f
3e8b7f
%description apache-log4j -l fr
3e8b7f
Taches apache log4j optionelles pour %{name}.
3e8b7f
3e8b7f
%package apache-oro
3e8b7f
Summary:        Optional apache oro tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       jakarta-oro
3e8b7f
BuildRequires:  jakarta-oro
3e8b7f
3e8b7f
%description apache-oro
3e8b7f
Optional apache oro tasks for %{name}.
3e8b7f
3e8b7f
%description apache-oro -l fr
3e8b7f
Taches apache oro optionelles pour %{name}.
3e8b7f
3e8b7f
%package apache-regexp
3e8b7f
Summary:        Optional apache regexp tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       regexp
3e8b7f
BuildRequires:  regexp
3e8b7f
3e8b7f
%description apache-regexp
3e8b7f
Optional apache regexp tasks for %{name}.
3e8b7f
3e8b7f
%description apache-regexp -l fr
3e8b7f
Taches apache regexp optionelles pour %{name}.
3e8b7f
3e8b7f
%package apache-xalan2
3e8b7f
Summary:        Optional apache xalan2 tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       regexp
3e8b7f
BuildRequires:  regexp
3e8b7f
Requires:       xalan-j2
3e8b7f
3e8b7f
%description apache-xalan2
3e8b7f
Optional apache xalan2 tasks for %{name}.
3e8b7f
3e8b7f
%description apache-xalan2 -l fr
3e8b7f
Taches apache xalan2 optionelles pour %{name}.
3e8b7f
3e8b7f
%package javamail
3e8b7f
Summary:        Optional javamail tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       javamail >= 0:1.2-5jpp
3e8b7f
BuildRequires:  javamail >= 0:1.2-5jpp
3e8b7f
3e8b7f
%description javamail
3e8b7f
Optional javamail tasks for %{name}.
3e8b7f
3e8b7f
%description javamail -l fr
3e8b7f
Taches javamail optionelles pour %{name}.
3e8b7f
3e8b7f
%package jdepend
3e8b7f
Summary:        Optional jdepend tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       jdepend
3e8b7f
BuildRequires:  jdepend
3e8b7f
3e8b7f
%description jdepend
3e8b7f
Optional jdepend tasks for %{name}.
3e8b7f
3e8b7f
%description jdepend -l fr
3e8b7f
Taches jdepend optionelles pour %{name}.
3e8b7f
3e8b7f
%package jsch
3e8b7f
Summary:        Optional jsch tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       jsch
3e8b7f
BuildRequires:  jsch
3e8b7f
3e8b7f
%description jsch
3e8b7f
Optional jsch tasks for %{name}.
3e8b7f
3e8b7f
%description jsch -l fr
3e8b7f
Taches jsch optionelles pour %{name}.
3e8b7f
3e8b7f
%package junit
3e8b7f
Summary:        Optional junit tasks for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       junit
3e8b7f
Requires:       xalan-j2
3e8b7f
3e8b7f
%description junit
3e8b7f
Optional junit tasks for %{name}.
3e8b7f
3e8b7f
%description junit -l fr
3e8b7f
Taches junit optionelles pour %{name}.
3e8b7f
3e8b7f
%package testutil
3e8b7f
Summary:        Test utility classes for %{name}
3e8b7f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3e8b7f
Requires:       junit
3e8b7f
3e8b7f
%description testutil
3e8b7f
Test utility tasks for %{name}.
3e8b7f
3e8b7f
%package manual
3e8b7f
Summary:        Manual for %{name}
d9d3d3
# tutorial-tasks-filesets-properties.zip contains ASL 1.1 files
d9d3d3
License:        ASL 2.0 and ASL 1.1
3e8b7f
3e8b7f
%description manual
3e8b7f
Documentation for %{name}.
3e8b7f
3e8b7f
%description manual -l it
3e8b7f
Documentazione di %{name}.
3e8b7f
3e8b7f
%description manual -l fr
3e8b7f
Documentation pour %{name}.
3e8b7f
3e8b7f
%package javadoc
3e8b7f
Summary:        Javadoc for %{name}
3e8b7f
3e8b7f
%description javadoc
3e8b7f
Javadoc for %{name}.
3e8b7f
3e8b7f
%description javadoc -l fr
3e8b7f
Javadoc pour %{name}.
3e8b7f
3e8b7f
# -----------------------------------------------------------------------------
3e8b7f
3e8b7f
%prep
3e8b7f
%setup -q -n apache-ant-%{version}
3e8b7f
#Fixup version
3e8b7f
find -name build.xml -o -name pom.xml | xargs sed -i -e s/-SNAPSHOT//
3e8b7f
f61726
%patch1 -p1
f61726
3e8b7f
# Fix class-path-in-manifest rpmlint warning
3e8b7f
%patch4
3e8b7f
3e8b7f
# clean jar files
3e8b7f
find . -name "*.jar" | %{_bindir}/xargs -t rm
3e8b7f
3e8b7f
# failing testcases. TODO see why
3e8b7f
rm src/tests/junit/org/apache/tools/ant/types/selectors/SignedSelectorTest.java \
3e8b7f
   src/tests/junit/org/apache/tools/ant/taskdefs/condition/IsFileSelectedTest.java \
3e8b7f
   src/tests/junit/org/apache/tools/ant/taskdefs/condition/IsSignedTest.java \
3e8b7f
   src/tests/junit/org/apache/tools/ant/taskdefs/JarTest.java \
3e8b7f
   src/tests/junit/org/apache/tools/mail/MailMessageTest.java
3e8b7f
3e8b7f
#install jars
3e8b7f
build-jar-repository -s -p lib/optional antlr bcel javamail/mailapi jdepend junit log4j oro regexp bsf commons-logging commons-net jsch xalan-j2 xml-commons-resolver xalan-j2-serializer xerces-j2 xml-commons-apis
3e8b7f
3e8b7f
# Fix file-not-utf8 rpmlint warning
3e8b7f
iconv KEYS -f iso-8859-1 -t utf-8 -o KEYS.utf8
3e8b7f
mv KEYS.utf8 KEYS
3e8b7f
iconv LICENSE -f iso-8859-1 -t utf-8 -o LICENSE.utf8
3e8b7f
mv LICENSE.utf8 LICENSE
3e8b7f
3e8b7f
%build
3e8b7f
%{ant} jars test-jar
3e8b7f
3e8b7f
%if %with javadoc
3e8b7f
export CLASSPATH=$(build-classpath antlr bcel javamail/mailapi jdepend junit log4j oro regexp bsf commons-logging commons-net jsch xalan-j2 xml-commons-resolver xerces-j2 xml-commons-apis)
3e8b7f
%{ant} javadocs
3e8b7f
%endif
3e8b7f
3e8b7f
#remove empty jai and netrexx jars. Due to missing dependencies they contain only manifests.
3e8b7f
rm -fr build/lib/ant-jai.jar build/lib/ant-netrexx.jar
3e8b7f
# -----------------------------------------------------------------------------
3e8b7f
3e8b7f
%install
3e8b7f
# ANT_HOME and subdirs
3e8b7f
mkdir -p $RPM_BUILD_ROOT%{ant_home}/{lib,etc,bin}
3e8b7f
3e8b7f
# jars
3e8b7f
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name}
3e8b7f
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
3e8b7f
3e8b7f
for jar in build/lib/*.jar
3e8b7f
do
3e8b7f
  # Make sure that installed JARs are not empty
3e8b7f
  jar tf ${jar} | egrep -q *.class
3e8b7f
3e8b7f
  jarname=$(basename $jar .jar)
3e8b7f
  pomname="JPP.%{name}-${jarname}.pom"
3e8b7f
3e8b7f
  #instal jar
3e8b7f
  install -m 644 ${jar} $RPM_BUILD_ROOT%{_javadir}/%{name}/${jarname}.jar
3e8b7f
  # jar aliases
3e8b7f
  ln -sf ../../java/%{name}/${jarname}.jar $RPM_BUILD_ROOT%{ant_home}/lib/${jarname}.jar
3e8b7f
3e8b7f
  #bootstrap does not have a pom
3e8b7f
  [ $jarname == ant-bootstrap ] && continue
3e8b7f
3e8b7f
  # add backward compatibility for nodeps jar that is now part of main
3e8b7f
  # jar
3e8b7f
  alias=
3e8b7f
  [ $jarname == ant ] && alias=org.apache.ant:ant-nodeps
3e8b7f
3e8b7f
  #install pom
3e8b7f
  install -p -m 644 src/etc/poms/${jarname}/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/${pomname}
3e8b7f
  %add_maven_depmap ${pomname} %{name}/${jarname}.jar -a "${alias}" -f ${jarname/ant-/}
3e8b7f
done
3e8b7f
3e8b7f
for mod in ant ant-bootstrap ant-launcher; do
3e8b7f
    ln -sf %{name}/${mod}.jar $RPM_BUILD_ROOT%{_javadir}
3e8b7f
done
3e8b7f
3e8b7f
#ant-parent pom
3e8b7f
install -p -m 644 src/etc/poms/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}-parent.pom
3e8b7f
%add_maven_depmap JPP-%{name}-parent.pom
3e8b7f
3e8b7f
# scripts: remove dos and os/2 scripts
3e8b7f
rm -f src/script/*.bat
3e8b7f
rm -f src/script/*.cmd
3e8b7f
3e8b7f
# XSLs
3e8b7f
cp -p src/etc/*.xsl $RPM_BUILD_ROOT%{ant_home}/etc
3e8b7f
3e8b7f
# install everything else
3e8b7f
mkdir -p $RPM_BUILD_ROOT%{_bindir}
3e8b7f
cp -p src/script/* $RPM_BUILD_ROOT%{_bindir}
3e8b7f
ln -sf %{_bindir}/ant $RPM_BUILD_ROOT%{ant_home}/bin/
3e8b7f
ln -sf %{_bindir}/antRun $RPM_BUILD_ROOT%{ant_home}/bin/
3e8b7f
3e8b7f
# default ant.conf
3e8b7f
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
3e8b7f
cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
3e8b7f
3e8b7f
# OPT_JAR_LIST fragments
3e8b7f
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d
3e8b7f
echo "ant/ant-jmf" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jmf
3e8b7f
echo "ant/ant-swing" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/swing
3e8b7f
echo "antlr ant/ant-antlr" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/antlr
3e8b7f
echo "bsf ant/ant-apache-bsf" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bsf
3e8b7f
echo "xml-commons-resolver ant/ant-apache-resolver" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-resolver
3e8b7f
echo "apache-commons-logging ant/ant-commons-logging" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/commons-logging
3e8b7f
echo "apache-commons-net ant/ant-commons-net" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/commons-net
3e8b7f
#echo "jai ant/ant-jai" > $RPM_BUILD_ROOT%%{_sysconfdir}/%%{name}.d/jai
3e8b7f
echo "bcel ant/ant-apache-bcel" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bcel
3e8b7f
echo "log4j ant/ant-apache-log4j" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-log4j
3e8b7f
echo "oro ant/ant-apache-oro" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-oro
3e8b7f
echo "regexp ant/ant-apache-regexp" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-regexp
3e8b7f
echo "xalan-j2 xalan-j2-serializer ant/ant-apache-xalan2" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-xalan2
3e8b7f
echo "javamail jaf ant/ant-javamail" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/javamail
3e8b7f
echo "jdepend ant/ant-jdepend" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jdepend
3e8b7f
echo "jsch ant/ant-jsch" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jsch
3e8b7f
echo "junit ant/ant-junit" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/junit
3e8b7f
echo "junit ant/ant-junit4" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/junit4
3e8b7f
echo "testutil ant/ant-testutil" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/testutil
3e8b7f
3e8b7f
%if %with javadoc
3e8b7f
# javadoc
3e8b7f
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
3e8b7f
cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
3e8b7f
%endif
3e8b7f
3e8b7f
# fix link between manual and javadoc
3e8b7f
(cd manual; ln -sf %{_javadocdir}/%{name} api)
3e8b7f
3e8b7f
%if %with tests
3e8b7f
%check
3e8b7f
%{ant} test
3e8b7f
%endif
3e8b7f
3e8b7f
%files -f .mfiles
3e8b7f
%files -f .mfiles-ant
3e8b7f
%files -f .mfiles-launcher
3e8b7f
%doc KEYS LICENSE NOTICE README WHATSNEW
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.conf
3e8b7f
%attr(0755,root,root) %{_bindir}/ant
3e8b7f
%attr(0755,root,root) %{_bindir}/antRun
3e8b7f
%attr(0755,root,root) %{_bindir}/*.pl
3e8b7f
%attr(0755,root,root) %{_bindir}/*.py*
3e8b7f
%{_javadir}/%{name}.jar
3e8b7f
%{_javadir}/%{name}-launcher.jar
3e8b7f
%{_javadir}/%{name}-bootstrap.jar
3e8b7f
%dir %{_javadir}/%{name}
3e8b7f
%{_javadir}/%{name}/%{name}-bootstrap.jar
3e8b7f
%dir %{ant_home}
3e8b7f
%dir %{ant_home}/bin
3e8b7f
%{ant_home}/bin/ant
3e8b7f
%{ant_home}/bin/antRun
3e8b7f
%dir %{ant_home}/etc
3e8b7f
%{ant_home}/etc/ant-update.xsl
3e8b7f
%{ant_home}/etc/changelog.xsl
3e8b7f
%{ant_home}/etc/coverage-frames.xsl
3e8b7f
%{ant_home}/etc/mmetrics-frames.xsl
3e8b7f
%{ant_home}/etc/log.xsl
3e8b7f
%{ant_home}/etc/tagdiff.xsl
3e8b7f
%{ant_home}/etc/junit-frames-xalan1.xsl
3e8b7f
%{ant_home}/etc/common2master.xsl
3e8b7f
%{ant_home}/etc/printFailingTests.xsl
3e8b7f
%dir %{ant_home}/lib
3e8b7f
%{ant_home}/lib/%{name}.jar
3e8b7f
%{ant_home}/lib/%{name}-launcher.jar
3e8b7f
%{ant_home}/lib/%{name}-bootstrap.jar
3e8b7f
%dir %{_sysconfdir}/%{name}.d
3e8b7f
3e8b7f
%files jmf -f .mfiles-jmf
3e8b7f
%{ant_home}/lib/%{name}-jmf.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/jmf
3e8b7f
3e8b7f
%files swing -f .mfiles-swing
3e8b7f
%{ant_home}/lib/%{name}-swing.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/swing
3e8b7f
3e8b7f
%files antlr -f .mfiles-antlr
3e8b7f
%{ant_home}/lib/%{name}-antlr.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/antlr
3e8b7f
3e8b7f
%files apache-bsf -f .mfiles-apache-bsf
3e8b7f
%{ant_home}/lib/%{name}-apache-bsf.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-bsf
3e8b7f
3e8b7f
%files apache-resolver -f .mfiles-apache-resolver
3e8b7f
%{ant_home}/lib/%{name}-apache-resolver.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-resolver
3e8b7f
3e8b7f
%files commons-logging -f .mfiles-commons-logging
3e8b7f
%defattr(-,root,root,-)
3e8b7f
%{ant_home}/lib/%{name}-commons-logging.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/commons-logging
3e8b7f
3e8b7f
%files commons-net -f .mfiles-commons-net
3e8b7f
%{ant_home}/lib/%{name}-commons-net.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/commons-net
3e8b7f
3e8b7f
# Disable as we dont ship the dependencies
3e8b7f
%if 0
3e8b7f
%files jai -f .mfiles-jai
3e8b7f
%{ant_home}/lib/%{name}-jai.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/jai
3e8b7f
%endif
3e8b7f
3e8b7f
%files apache-bcel -f .mfiles-apache-bcel
3e8b7f
%{ant_home}/lib/%{name}-apache-bcel.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-bcel
3e8b7f
3e8b7f
%files apache-log4j -f .mfiles-apache-log4j
3e8b7f
%{ant_home}/lib/%{name}-apache-log4j.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-log4j
3e8b7f
3e8b7f
%files apache-oro -f .mfiles-apache-oro
3e8b7f
%{ant_home}/lib/%{name}-apache-oro.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-oro
3e8b7f
%{ant_home}/etc/maudit-frames.xsl
3e8b7f
3e8b7f
%files apache-regexp -f .mfiles-apache-regexp
3e8b7f
%{ant_home}/lib/%{name}-apache-regexp.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-regexp
3e8b7f
3e8b7f
%files apache-xalan2 -f .mfiles-apache-xalan2
3e8b7f
%{ant_home}/lib/%{name}-apache-xalan2.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/apache-xalan2
3e8b7f
3e8b7f
%files javamail -f .mfiles-javamail
3e8b7f
%{ant_home}/lib/%{name}-javamail.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/javamail
3e8b7f
3e8b7f
%files jdepend -f .mfiles-jdepend
3e8b7f
%{ant_home}/lib/%{name}-jdepend.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/jdepend
3e8b7f
%{ant_home}/etc/jdepend.xsl
3e8b7f
%{ant_home}/etc/jdepend-frames.xsl
3e8b7f
3e8b7f
%files jsch -f .mfiles-jsch
3e8b7f
%{ant_home}/lib/%{name}-jsch.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/jsch
3e8b7f
3e8b7f
%files junit -f .mfiles-junit
3e8b7f
%files junit -f .mfiles-junit4
3e8b7f
%{ant_home}/lib/%{name}-junit.jar
3e8b7f
%{ant_home}/lib/%{name}-junit4.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/junit
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/junit4
3e8b7f
%{ant_home}/etc/junit-frames.xsl
3e8b7f
%{ant_home}/etc/junit-noframes.xsl
3e8b7f
3e8b7f
%files testutil -f .mfiles-testutil
3e8b7f
%{ant_home}/lib/%{name}-testutil.jar
3e8b7f
%config(noreplace) %{_sysconfdir}/%{name}.d/testutil
3e8b7f
3e8b7f
%files manual
3e8b7f
%doc LICENSE NOTICE
3e8b7f
%doc manual/*
3e8b7f
3e8b7f
%if %with javadoc
3e8b7f
%files javadoc
3e8b7f
%doc LICENSE NOTICE
3e8b7f
%{_javadocdir}/%{name}
3e8b7f
%endif
3e8b7f
3e8b7f
# -----------------------------------------------------------------------------
3e8b7f
3e8b7f
%changelog
f61726
* Tue Jun 26 2018 Michael Simacek <msimacek@redhat.com> - 0:1.9.4-2
f61726
- Backport fix for arbitrary file write vulnerability
f61726
- Resolves: rhbz#1584407
f61726
f61726
* Fri Jun 22 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.9.4-1
f61726
- Update to upstream version 1.9.4
f61726
d9d3d3
* Tue Jan 21 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.9.2-9
d9d3d3
- Fix license of manual subpackage
d9d3d3
- Resolves: rhbz#1055629
d9d3d3
d9d3d3
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 01.9.2-8
d9d3d3
- Mass rebuild 2013-12-27
d9d3d3
3e8b7f
* Thu Sep 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.9.2-7
3e8b7f
- Install Maven depmaps in appropriate subpackages
3e8b7f
- Resolves: rhbz#996062
3e8b7f
3e8b7f
* Fri Aug 30 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.9.2-6
3e8b7f
- Fix antRun script
3e8b7f
- Resolves: rhbz#675949
3e8b7f
3e8b7f
* Fri Aug 09 2013 Michal Srb <msrb@redhat.com> - 0:1.9.1-6
3e8b7f
- Add missing BR/R: xerces-j2, xml-commons-apis
3e8b7f
3e8b7f
* Thu Aug 08 2013 Michal Srb <msrb@redhat.com> - 0:1.9.2-5
3e8b7f
- xerces-j2 and xml-commons-apis should be in classpath (Resolves: rhbz#994556)
3e8b7f
3e8b7f
* Thu Aug 08 2013 Michal Srb <msrb@redhat.com> - 0:1.9.2-4
3e8b7f
- Temporarily add xerces-j2 and xml-commons-apis to classpath, see #994556
3e8b7f
3e8b7f
* Fri Jul 26 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.9.2-3
3e8b7f
- Rebuilt to regenerate depmap files
3e8b7f
- Resolves: rhbz#988797
3e8b7f
3e8b7f
* Thu Jul 25 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.9.2-2
3e8b7f
- Update license after removal of W3C content upstream
3e8b7f
3e8b7f
* Wed Jul 17 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.9.2-1
3e8b7f
- Update to upstream version 1.9.2
3e8b7f
- Remove usage of %%add_to_maven_depmap
3e8b7f
3e8b7f
* Tue Jul  2 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.9.1-3
3e8b7f
- Remove arch-specific patch as ant is noarch now
3e8b7f
- Remove bcond macro definitions (provided by rpm itself)
3e8b7f
- Remove Group tags
3e8b7f
- Update to current packaging guidelines
3e8b7f
- Run tests in %%check instead of %%build
3e8b7f
- Remove dependencies on xerces-j2 and xml-commons-apis, resolves: rhbz#838711
3e8b7f
- Convert %%global build_javadoc to conditional
3e8b7f
- Remove bootstrap code, resolves: rhbz#915437
3e8b7f
- Fail the build if any of JARs is empty
3e8b7f
- Skip running tests that fail on Koji, resolves: rhbz#979496
3e8b7f
- Merge scripts into main package, resolves: rhbz#798975
3e8b7f
3e8b7f
* Mon Jun 03 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.9.1-2
3e8b7f
- Enable unit tests
3e8b7f
3e8b7f
* Wed May 22 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.9.1-1
3e8b7f
- Update to upstream version 1.9.1
3e8b7f
3e8b7f
* Mon Apr 22 2013 Alexander Kurtakov <akurtako@redhat.com> 0:1.9.0-2
3e8b7f
- Drop a pile of old provider/requires/obsoletes that are no longer usable
3e8b7f
  and cause only problem if ant is scl-ized.
3e8b7f
3e8b7f
* Mon Mar 11 2013 Michal Srb <msrb@redhat.com> - 0:1.9.0-1
3e8b7f
- Update to upstream version 1.9.0
3e8b7f
3e8b7f
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.8.4-6
3e8b7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3e8b7f
3e8b7f
* Tue Nov 27 2012 Tomas Radej <tradej@redhat.com> - 0:1.8.4-5
3e8b7f
- Requires on jpackage-utils in javadoc
3e8b7f
- Added LICENSE and NOTICE in manual subpackage
3e8b7f
3e8b7f
* Thu Nov 22 2012 Jaromir Capik <jcapik@redhat.com> 0:1.8.4-4
3e8b7f
- Including LICENSE and NOTICE in the javadoc subpackage
3e8b7f
3e8b7f
* Thu Nov 22 2012 Jaromir Capik <jcapik@redhat.com> 0:1.8.4-3
3e8b7f
- Fixing the license tag
3e8b7f
3e8b7f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.8.4-2
3e8b7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3e8b7f
3e8b7f
* Fri Jun 15 2012 Alexander Kurtakov <akurtako@redhat.com> 0:1.8.4-1
3e8b7f
- Update to new upstream version.
3e8b7f
3e8b7f
* Wed May 2 2012 Alexander Kurtakov <akurtako@redhat.com> 0:1.8.3-2
3e8b7f
- Use apache-commons-* instead of jakarta-commons-*.
3e8b7f
- Drop xml-commons-apis-13 BR/R since it's no longer needed.
3e8b7f
3e8b7f
* Wed Feb 29 2012 Alexander Kurtakov <akurtako@redhat.com> 0:1.8.3-1
3e8b7f
- Update to upstream 1.8.3 release.
3e8b7f
- Drop old stuff. 
3e8b7f
3e8b7f
* Tue Feb 07 2012 Tomas Radej <tradej@redhat.com> - 0:1.8.2-9
3e8b7f
- Added patch
3e8b7f
3e8b7f
* Tue Feb 07 2012 Tomas Radej <tradej@redhat.com> - 0:1.8.2-8
3e8b7f
- Removed checking for classpath duplicates
3e8b7f
- Added ant-junit4.jar into %files and ant.d
3e8b7f
3e8b7f
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.8.2-7
3e8b7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3e8b7f
3e8b7f
* Wed Jul 6 2011 Alexander Kurtakov <akurtako@redhat.com> 0:1.8.2-6
3e8b7f
- Make scripts executable.
3e8b7f
- Adapt to current guidelines.
3e8b7f
3e8b7f
* Thu Mar 10 2011 Alexander Kurtakov <akurtako@redhat.com> 0:1.8.2-5
3e8b7f
- Fix xalan-j2 subpackage path.
3e8b7f
3e8b7f
* Tue Feb 22 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.8.2-4
3e8b7f
- Change oro to jakarta-oro in BR/R
3e8b7f
3e8b7f
* Wed Feb  9 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.8.2-3
3e8b7f
- Add backward compatible maven depmap for nodeps jar
3e8b7f
- Revert define->global change (different semantic in rpm 4.9.X)
3e8b7f
3e8b7f
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
3e8b7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3e8b7f
3e8b7f
* Mon Jan 3 2011 Alexander Kurtakov <akurtako@redhat.com> 0:1.8.2-1
3e8b7f
- Update to new upstream version.
3e8b7f
- Guidelines fixes.
3e8b7f
3e8b7f
* Sun Nov 28 2010 Ville Skyttä <ville.skytta@iki.fi> - 0:1.8.1-9
3e8b7f
- Install javadocs into unversioned dir (#657879).
3e8b7f
3e8b7f
* Tue Nov 23 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.8.1-8
3e8b7f
- Fix pom filename (Resolves rhbz#655787)
3e8b7f
3e8b7f
* Thu Oct 28 2010 Orion Poplawski <orion@cora.nwra.com> 0:1.8.1-7
3e8b7f
- Build and package ant-testutil
3e8b7f
3e8b7f
* Thu Oct 7 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.8.1-6
3e8b7f
- Remove jaf from the classpath.
3e8b7f
3e8b7f
* Thu Oct 7 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.8.1-5
3e8b7f
- Drop gcj support.
3e8b7f
- Drop jaf BR/R it is part of Java 5+.
3e8b7f
3e8b7f
* Fri Oct 1 2010 Orion Poplawski <orion@cora.nwra.com> 0:1.8.1-4
3e8b7f
- Move ant-trax Provides/Obsoletes to ant-nodeps
3e8b7f
3e8b7f
* Thu Aug 26 2010 Orion Poplawski <orion@cora.nwra.com> 0:1.8.1-3
3e8b7f
- Remove -SNAPSHOT from version
3e8b7f
3e8b7f
* Wed Aug 25 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.8.1-2
3e8b7f
- Use global instead of define.
3e8b7f
- Fix parent pom install.
3e8b7f
3e8b7f
* Mon Aug 16 2010 Orion Poplawski <orion@cora.nwra.com> 0:1.8.1-1
3e8b7f
- Update to ant 1.8.1
3e8b7f
- Update no-test-jar patch
3e8b7f
- Update class-path-in-manifest patch
3e8b7f
- Drop gnu-classpath patch
3e8b7f
- Retire trax subpackage no longer shipped
3e8b7f
- Add xalan2 subpackage and support for junitreport task
3e8b7f
- Drop old jakarta jar aliases
3e8b7f
3e8b7f
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.7.1-12
3e8b7f
- Fix compile with commons-net 2.0.
3e8b7f
3e8b7f
* Fri Aug  7 2009 Orion Poplawski <orion@cora.nwra.com> - 0:1.1.7-11
3e8b7f
- Add links to jar files into %%{ant_home} (Bug #179759)
3e8b7f
3e8b7f
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.7.1-10.2
3e8b7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3e8b7f
3e8b7f
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.7.1-9.2
3e8b7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3e8b7f
3e8b7f
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0:1.7.1-8.2
3e8b7f
- Rebuild for Python 2.6
3e8b7f
3e8b7f
* Wed Oct  1 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0:1.7.1-7.2
3e8b7f
- Exclude bogus perl(the) Requires
3e8b7f
- Exclude bogus perl(oata), perl(examples) Provides
3e8b7f
3e8b7f
* Fri Sep 26 2008 Permaine Cheung <pcheung@redhat.com> 0:1.7.1-7.1
3e8b7f
- Define with_gcj_support
3e8b7f
3e8b7f
* Tue Sep 23 2008 Permaine Cheung <pcheung@redhat.com> 0:1.7.1-7
3e8b7f
- Update to 1.7.1
3e8b7f
- Fix some rpmlint issues
3e8b7f
3e8b7f
* Tue Jul 15 2008 David Walluck <dwalluck@redhat.com> 0:1.7.1-7
3e8b7f
- enable non-bootstrap
3e8b7f
3e8b7f
* Tue Jul 15 2008 David Walluck <dwalluck@redhat.com> 0:1.7.1-6
3e8b7f
- add ant-bootstrap jar if bootstrap is enabled
3e8b7f
- enable jmf, swing, trax if bootstrap is enabled
3e8b7f
- BuildRequires: jaxp_transform_impl
3e8b7f
- BuildRequires: junit for non-bootstrap
3e8b7f
3e8b7f
* Tue Jul 15 2008 David Walluck <dwalluck@redhat.com> 0:1.7.1-5
3e8b7f
- enable ant-nodeps in bootstrap mode
3e8b7f
3e8b7f
* Tue Jul 15 2008 David Walluck <dwalluck@redhat.com> 0:1.7.1-4
3e8b7f
- remove junit for bootstrap
3e8b7f
3e8b7f
* Tue Jul 15 2008 David Walluck <dwalluck@redhat.com> 0:1.7.1-3
3e8b7f
- build as bootstrap
3e8b7f
3e8b7f
* Tue Jul 15 2008 David Walluck <dwalluck@redhat.com> 0:1.7.1-2
3e8b7f
- set rpm_mode=false by default
3e8b7f
3e8b7f
* Thu Jul 10 2008 David Walluck <dwalluck@redhat.com> 0:1.7.1-1
3e8b7f
- 1.7.1
3e8b7f
- update maven pom files
3e8b7f
- rediff apache-ant-jars.patch
3e8b7f
- rediff apache-ant-bz163689.patch
3e8b7f
- add apache-ant-gnu-classpath.patch
3e8b7f
- set rpm_mode=true in conf since the ant script handles the rest
3e8b7f
3e8b7f
* Thu Jul 10 2008 David Walluck <dwalluck@redhat.com> 0:1.7.0-3
3e8b7f
- add bootstrap mode
3e8b7f
- replace some alternatives/virtual requires by explicit requires
3e8b7f
- remove javadoc scriptlets
3e8b7f
- fix GCJ support
3e8b7f
- add workaround for xalan-j2 in %%{_sysconfdir}/%%{name}.d/trax
3e8b7f
- version Obsoletes and add Provides
3e8b7f
- remove Conflicts
3e8b7f
- mark files in %%{_sysconfdir} as %%config(noreplace)
3e8b7f
3e8b7f
* Thu Jul 03 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.7.0-2.jpp5
3e8b7f
- Add poms and depmap frags
3e8b7f
- (B)R jpackage-utils >= 0:1.7.5
3e8b7f
- BR java-devel = 0:1.5.0
3e8b7f
- R java >= 0:1.5.0
3e8b7f
3e8b7f
* Wed Jun 20 2007 Fernando Nasser <fnasser at redhat.com> - 0:1.7.0-1jpp
3e8b7f
- Upgrade to the final 1.7.0
3e8b7f
3e8b7f
* Thu Sep 21 2006 Will Tatam <will.tatam@red61.com> - 0:1.7.0-0.Beta1.1jpp
3e8b7f
- Upgraded to 1.7.0Beta1
3e8b7f
- removed the apache-ant-1.6.5-jvm1.5-detect.patch as merged upstream
3e8b7f
3e8b7f
* Fri Aug 11 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.6.5-2jpp
3e8b7f
- Added conditional native compilation
3e8b7f
- Added patch to fix jvm version detection
3e8b7f
- Add missing requirements
3e8b7f
- Synch with Fedora spec
3e8b7f
3e8b7f
* Wed Nov 09 2005 Fernando Nasser <fnasser at redhat.com> - 0:1.6.5-1jpp
3e8b7f
- Upgrade to 1.6.5
3e8b7f
- Incorporate the following changes:
3e8b7f
  From Gary Benson <gbenson at redhat.com>:
3e8b7f
- Allow subpackages not in Fedora to be installed from JPackage
3e8b7f
- Add NOTICE file as per Apache License version 2.0
3e8b7f
- Own /usr/share/java/ant
3e8b7f
  From Vadim Nasardinov <vadimn@redhat.com>
3e8b7f
- Removed apache-ant-1.6.2.patch.  Incorporated upstream.
3e8b7f
  From David Walluck <david@jpackage.org>
3e8b7f
- Add manifest-only package (mainly for eclipse)
3e8b7f
- Add conflicts on j2sdk for Mandriva
3e8b7f
3e8b7f
* Mon Nov  8 2004 Gary Benson <gbenson at redhat.com> - 0:1.6.2-3jpp
3e8b7f
- Build OPT_JAR_LIST from files in /etc/ant.d.
3e8b7f
3e8b7f
* Mon Sep 06 2004 Fernando Nasser <fnasser at redhat.com> - 0:1.6.2-2jpp
3e8b7f
- Fix to backward compatibility symbolic links.
3e8b7f
3e8b7f
* Wed Aug 17 2004 Fernando Nasser <fnasser at redhat.com> - 0:1.6.2-1jpp
3e8b7f
- Update to Ant 1.6.2
3e8b7f
3e8b7f
* Thu Aug 05 2004 Fernando Nasser <fnasser at redhat.com> - 0:1.6.1-2jpp
3e8b7f
- Remove incorrect noreplace option for ant.conf; it can't be used anymore
3e8b7f
  because the sub-packages update that file.
3e8b7f
- Add patch to fix temp directory used for file containing large
3e8b7f
  command strings (> 4k)
3e8b7f
3e8b7f
* Tue Jun 01 2004 Randy Watler <rwatler at finali.com> - 0:1.6.1-1jpp
3e8b7f
- Extend subpackage builds to update ant.conf
3e8b7f
3e8b7f
* Tue Mar 23 2004 Randy Watler <rwatler at finali.com> - 0:1.6.1-1jpp
3e8b7f
- Update to Ant 1.6.1
3e8b7f
- Change ant launch script to source instead of patch
3e8b7f
- Move optional components to ant subdirectory: %%{_javadir}/%%{name}
3e8b7f
- Remove os/2 scripts and set JAVA_HOME for build
3e8b7f
3e8b7f
* Wed Feb 11 2004 Randy Watler <rwatler at finali.com> - 0:1.6.0-1jpp
3e8b7f
- Update to Ant 1.6.0
3e8b7f
- Break out optional/optional-full components
3e8b7f
- Revise ant launch scripts and support ~/.ant/ant.conf configuration file
3e8b7f
- Use --noconfig flag to bootstrap ant build and override existing jpp config
3e8b7f
- Modify ant launcher to use ant.library.dir property to find extra jars
3e8b7f
- Port changes made in ant launch script for 1.6.2 back into patches
3e8b7f
3e8b7f
* Wed Aug 13 2003 Paul Nasrat <pauln at truemesh.com> - 0:1.5.4-2jpp
3e8b7f
- remove bogus NoSource entries
3e8b7f
3e8b7f
* Tue Aug 12 2003 Paul Nasrat <pauln at truemesh.com> - 0:1.5.4-1jpp
3e8b7f
- Update to 1.5.4
3e8b7f
- JavaCC task fixed using merged upstream patches from ant HEAD
3e8b7f
3e8b7f
* Mon May  5 2003 Ville Skyttä <ville.skytta@iki.fi> - 0:1.5.3-2jpp
3e8b7f
- Fix non-versioned javadoc symlinking.
3e8b7f
3e8b7f
* Tue Apr 22 2003 Ville Skyttä <ville.skytta@iki.fi> - 0:1.5.3-1jpp
3e8b7f
- Update to 1.5.3.
3e8b7f
- Remove runtime java-devel dependency.
3e8b7f
- Add Epochs in all Provides and Requires.
3e8b7f
- Include non-versioned javadoc symlink.
3e8b7f
- Build without dependencies that are partially or completely missing from
3e8b7f
  JPackage 1.5 (oldbsf, xalan-j1, stylebook1.0b3).
3e8b7f
- Add netcomponents to optional jar list in ant.conf.
3e8b7f
3e8b7f
* Tue Apr 01 2003 Nicolas Mailhot <Nicolas.Mailhot at JPackage.org> - 1.5.2-13jpp
3e8b7f
- ant-optional is optional (silly me)
3e8b7f
- jaxp_transform is optional , do not require it
3e8b7f
- epoch, correct jpackage-utils requires...
3e8b7f
3e8b7f
* Fri Mar 21 2003 Nicolas Mailhot <Nicolas.Mailhot at JPackage.org> - 1.5.2-11jpp
3e8b7f
- add an optional jar list as per Ville's suggestion
3e8b7f
3e8b7f
* Thu Mar 20 2003 Nicolas Mailhot <Nicolas.Mailhot at JPackage.org> - 1.5.2-10jpp
3e8b7f
- hopefully fix CLASSSPATH_OVERRIDE behaviour
3e8b7f
3e8b7f
* Tue Mar 18 2003 Nicolas Mailhot <Nicolas.Mailhot at JPackage.org> - 1.5.2-7jpp
3e8b7f
- for JPackage-utils 1.5
3e8b7f
3e8b7f
* Wed Mar 12 2003 Ville Skyttä <ville.skytta@iki.fi> - 1.5.2-5jpp
3e8b7f
- Move ANT_HOME to /usr/share/ant.
3e8b7f
- Don't special-case the lib dir for RPM layout any more, use ANT_HOME/lib.
3e8b7f
- Install XSLs into ANT_HOME/etc.
3e8b7f
- Call set_jvm by default in ant.conf.
3e8b7f
- Provide ant-optional-clean (versioned) in ant-optional.
3e8b7f
- Make ant-optional-full conflict with ant-optional-clean.
3e8b7f
- Add version info to ant-optional provision in ant-optional-full.
3e8b7f
- Built with Sun 1.4.1_02 javac (to get JDK 1.4 regex).
3e8b7f
3e8b7f
* Tue Mar 11 2003 Henri Gomez <hgomez@users.sourceforge.net> 1.5.2-4jp
3e8b7f
- changed provided /etc/ant.conf so that if usejikes is allready provided
3e8b7f
  it didn't set it. Which such modification if you want to disable
3e8b7f
  ant to use jikes even if jikes is set in /etc/ant.conf you'll just have
3e8b7f
  to do usejikes=false ant build.xml.
3e8b7f
3e8b7f
* Mon Mar 10 2003 Henri Gomez <hgomez@users.sourceforge.net> 1.5.2-3jp
3e8b7f
- rebuilt with IBM SDK 1.3.1 since there was zip corruption when built
3e8b7f
  with jikes 1.18 and IBM SDK 1.4.
3e8b7f
3e8b7f
* Wed Mar 05 2003 Henri Gomez <hgomez@users.sourceforge.net> 1.5.2-2jp
3e8b7f
- updated URL and source location
3e8b7f
3e8b7f
* Wed Mar 05 2003 Henri Gomez <hgomez@users.sourceforge.net> 1.5.2-1jp
3e8b7f
- 1.5.2
3e8b7f
- remove JDK 1.4 related patchs which are now included in ant 1.5.2
3e8b7f
- fix ant-optional-full pre/post install script (now remove correctly all
3e8b7f
  ant optional jars)
3e8b7f
- Built with jikes 1.18 and IBM SDK 1.4
3e8b7f
3e8b7f
* Sat Feb  1 2003 Ville Skyttä <ville.skytta@iki.fi> - 1.5.1-8jpp
3e8b7f
- Symlink a transformer into ANT_LIB for smoother experience on Java 1.3.
3e8b7f
- Requires jaxp_transform_impl.
3e8b7f
- Don't remove optional.jar symlinks on optional-full upgrade.
3e8b7f
- Include Sun's 1.4 JSSE and JCE jars in runtime path, see
3e8b7f
  <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16242>.
3e8b7f
- Use jpackage-utils for setting JAVA_HOME when building.
3e8b7f
- Built with Sun 1.4.1_01 javac.
3e8b7f
3e8b7f
* Mon Jan 20 2003 David Walluck <david@anti-microsoft.org> 1.5.1-7jpp
3e8b7f
- oldbsf
3e8b7f
3e8b7f
* Fri Dec 20 2002 Ville Skyttä <ville.skytta@iki.fi> - 1.5.1-6jpp
3e8b7f
- Really get rid of automatic dependencies for the -scripts package.
3e8b7f
3e8b7f
* Wed Dec 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.5.1-5jpp
3e8b7f
- scripts subpackages
3e8b7f
- file-based manual dependencies, as packages doesn't have the same name on RedHat and Mandrake
3e8b7f
3e8b7f
* Wed Dec 11 2002 Ville Skyttä <ville.skytta@iki.fi> - 1.5.1-4jpp
3e8b7f
- Patched to allow easier use with Jikes and IBM's 1.4.0, see
3e8b7f
  <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15289> for details.
3e8b7f
3e8b7f
* Mon Oct 07 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5.1-3jpp
3e8b7f
- new post script for optional-full since rpm didn't works as
3e8b7f
  expected and didn't set correct symlink for ant-optional.jar
3e8b7f
3e8b7f
* Thu Oct 03 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5.1-2jpp
3e8b7f
- really used JDK 1.4.1 to get JDK 1.4.x Regexp
3e8b7f
3e8b7f
* Thu Oct 03 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5.1-1jpp
3e8b7f
- ant 1.5.1
3e8b7f
3e8b7f
* Fri Jul 12 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5-5jpp
3e8b7f
- ant script standard behaviour restored, ie ant/lib jars are taken
3e8b7f
  before CLASSPATH. You should define CLASSPATH_OVERRIDE env var to have
3e8b7f
  CLASSPATH before ant/lib jars
3e8b7f
- applied ant script patch for cygwin (cygwin rpm users around ?)
3e8b7f
- remove conflict in ant-optional-full, just put provides
3e8b7f
3e8b7f
* Fri Jul 12 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5-4jpp
3e8b7f
- fix a problem in xerces-j2 build by changing the way CLASSPATH is constructed:
3e8b7f
  first add jars found in CLASSPATH, then add xml-commons-apis, jaxp_parser_impl,
3e8b7f
  ant, ant-optional and finish with jars found in ant/lib.
3e8b7f
- jpackage-utils is no more required (but recommanded :)
3e8b7f
- ant-optional-full provides ant-optional
3e8b7f
- fix link between manual and api (javadoc)
3e8b7f
3e8b7f
* Thu Jul 11 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5-3jpp
3e8b7f
- add missing symlink between optional-full.jar and optional.jar
3e8b7f
3e8b7f
* Wed Jul 10 2002 Ville Skyttä <ville.skytta@iki.fi> 1.5-2jpp
3e8b7f
- Requires jaxp_parser_impl, no longer jaxp_parser2
3e8b7f
  (jaxp_parser_impl already requires xml-commons-apis).
3e8b7f
- Use sed instead of bash 2 extension when symlinking.
3e8b7f
3e8b7f
* Wed Jul 10 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5-1jpp
3e8b7f
* ant 1.5
3e8b7f
3e8b7f
* Tue Jul 09 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5.Beta3-1jpp
3e8b7f
- ant 1.5 beta 3
3e8b7f
- added bcel as required
3e8b7f
3e8b7f
* Tue Jul 09 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.4.1-14jpp
3e8b7f
- added regexp to list of dependant packages
3e8b7f
3e8b7f
* Tue Jul 09 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.4.1-13jpp
3e8b7f
- added optional-full which include all ant tasks, even those without
3e8b7f
  matching package
3e8b7f
- added jdepend 2.2
3e8b7f
- remove require oro, since ant could works without it
3e8b7f
- ant lib is now in %%{_javadir}/%%{name}, put external jars here
3e8b7f
3e8b7f
* Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-12jpp
3e8b7f
- hardcoded distribution and vendor tag
3e8b7f
- group tag again
3e8b7f
3e8b7f
* Thu May 2 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-11jpp
3e8b7f
- no more jikes specific support in launch script
3e8b7f
- source user prefs before configuration in launch script
3e8b7f
- distribution tag
3e8b7f
- group tag
3e8b7f
- provided original script as documentation
3e8b7f
3e8b7f
* Fri Apr 05 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-10jpp
3e8b7f
- used xalan-j1 instead of xalan-j2-compat
3e8b7f
3e8b7f
* Mon Mar 11 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-9jpp
3e8b7f
- jaxp_parser2 support
3e8b7f
3e8b7f
* Wed Feb 06 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-8jpp
3e8b7f
- netcomponents support
3e8b7f
3e8b7f
* Sun Jan 27 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-7jpp
3e8b7f
- adaptation to new stylebook1.0b3 package
3e8b7f
- stylebook is a dependency of optional package
3e8b7f
- removed redundant dependencies
3e8b7f
- launch script correction
3e8b7f
3e8b7f
* Fri Jan 25 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-6jpp
3e8b7f
- cleaned manifest from class-path references
3e8b7f
- section macro
3e8b7f
3e8b7f
* Thu Jan 17 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-5jpp
3e8b7f
- versioned dir for javadoc
3e8b7f
- no dependencies for manual and javadoc packages
3e8b7f
- stricter dependency for optional package
3e8b7f
- additional sources in individual archives
3e8b7f
- upgraded launch script
3e8b7f
- no more javadoc cross-linking
3e8b7f
- additional requirement for optional package: xml-commons-apis, xalan-j2, xalan-j2-compat, jaf, javamail, & log4j
3e8b7f
3e8b7f
* Sat Dec 1 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-4jpp
3e8b7f
- removed conditional build
3e8b7f
- removed redundant BuildRequires
3e8b7f
- ant-optional.jar in ant-optional package
3e8b7f
- javadoc into javadoc package
3e8b7f
- new launch script using functions library
3e8b7f
3e8b7f
* Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 1.4.1-3jpp
3e8b7f
- readded Requires: oro junit stylebook-1.0b3 bsf rhino antlr to the main package
3e8b7f
- corrected changelog release 1jpp-> 2jpp
3e8b7f
3e8b7f
* Tue Nov 20 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 1.4.1-2jpp
3e8b7f
- conditional build
3e8b7f
- removed packager tag
3e8b7f
- new jpp extension
3e8b7f
- added xalan 2.2.D13 support
3e8b7f
- added BuildRequires: xalan-j2 >= 2.2.D13
3e8b7f
- removed Requires: oro junit stylebook-1.0b3 bsf rhino antlr
3e8b7f
3e8b7f
* Mon Oct 15 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4.1-1jpp
3e8b7f
- 1.4.1
3e8b7f
3e8b7f
* Sat Oct 6 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4-4jpp
3e8b7f
- used original tarball
3e8b7f
3e8b7f
* Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4-3jpp
3e8b7f
- more macros
3e8b7f
3e8b7f
* Wed Sep 26 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4-2jpp
3e8b7f
- first unified release
3e8b7f
- dropped explicit xalan-j2 requirement, as stylebook-1.0b3 already requires it
3e8b7f
- added missing xalan-j1 compatibility classes
3e8b7f
- s/jPackage/JPackage
3e8b7f
3e8b7f
* Wed Sep 05 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.4-1mdk
3e8b7f
- 1.4
3e8b7f
- added xalan-j2 antlr bsf rhino to buildrequires and requires
3e8b7f
- launch script cleanup
3e8b7f
3e8b7f
* Tue Jul 31 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.3-4mdk
3e8b7f
- jaxp_parser symlink is now jaxp_parser.jar
3e8b7f
3e8b7f
* Thu Jul 26 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.3-3mdk
3e8b7f
- used alternative jaxp_parser
3e8b7f
- updated launch script
3e8b7f
3e8b7f
* Sat Jun 23 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.3-2mdk
3e8b7f
- s/Copyright/License/
3e8b7f
- truncated description to 72 columns in spec
3e8b7f
- updated launch script
3e8b7f
3e8b7f
* Mon Jun 11 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.3-1mdk
3e8b7f
- 1.3
3e8b7f
- new versioning scheme
3e8b7f
- compiled with oro, junit and stylebook support
3e8b7f
- spec cleanup
3e8b7f
3e8b7f
* Sat Mar 10 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.2-9mdk
3e8b7f
- vendor tag
3e8b7f
- packager tag
3e8b7f
3e8b7f
* Sat Feb 17 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-8mdk
3e8b7f
- spec cleanup
3e8b7f
- corrected changelog
3e8b7f
- changed description
3e8b7f
3e8b7f
* Sun Feb 04 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-7mdk
3e8b7f
- launch script improvments (Christian Zoffoli <czoffoli@linux-mandrake.com>)
3e8b7f
- added french in spec
3e8b7f
- more macros
3e8b7f
3e8b7f
* Fri Feb 02 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-6mdk
3e8b7f
- corrected launch script
3e8b7f
3e8b7f
* Thu Feb 01 2001 Christian Zoffoli <czoffoli@linux-mandrake.com> 1.2-5mdk
3e8b7f
- more macros
3e8b7f
- added italian in spec
3e8b7f
3e8b7f
* Wed Jan 31 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-4mdk
3e8b7f
- merged with Henri Gomez <hgomez@users.sourceforge.net> specs:
3e8b7f
- changed name to ant
3e8b7f
- changed javadir to /usr/share/java
3e8b7f
- dropped jdk and jre requirement
3e8b7f
- corrected require to jaxp
3e8b7f
- added Jikes support
3e8b7f
- used our own bash script
3e8b7f
- dropped perl script
3e8b7f
- dropped ant home directory
3e8b7f
3e8b7f
* Sun Jan 14 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-3mdk
3e8b7f
- changed name to jakarta-ant
3e8b7f
- changed group to Development/Java
3e8b7f
3e8b7f
* Wed Jan 04 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-2mdk
3e8b7f
- new spec file
3e8b7f
- discarded ugly non-free Sun jaxp library from sources, and used pretty open-source xerces instead
3e8b7f
3e8b7f
* Wed Dec 20 2000 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-1mdk
3e8b7f
- first Mandrake release
3e8b7f
- used SRPMS from Henri Gomez <hgomez@users.sourceforge.net>