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