Blame SPECS/ant.spec

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