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