auto-import changelog data from ant-1.5.2-28.src.rpm
Fri Jun 04 2004 Gary Benson <gbenson@redhat.com> 1.5.2-28 - Build with katana.
This commit is contained in:
parent
91949faf84
commit
2e9763f15f
@ -1,2 +1 @@
|
|||||||
apache-ant-1.5.2-src.tar.bz2
|
apache-ant-1.5.2-src.tar.bz2
|
||||||
rhug-jakarta-ant-20040524.tar.bz2
|
|
||||||
|
169
ant.spec
169
ant.spec
@ -1,47 +1,44 @@
|
|||||||
%define rhugversion 20040524
|
|
||||||
%define rhugsource1 apache-%{name}-%{version} upstream
|
|
||||||
%define rhugpatches 6 9 10
|
|
||||||
|
|
||||||
Summary: Build tool for Java applications
|
Summary: Build tool for Java applications
|
||||||
Name: ant
|
Name: ant
|
||||||
Version: 1.5.2
|
Version: 1.5.2
|
||||||
Release: 27
|
Release: 28
|
||||||
URL: http://ant.apache.org/
|
URL: http://ant.apache.org/
|
||||||
Source: rhug-jakarta-%{name}-%{rhugversion}.tar.bz2
|
Source: apache-%{name}-%{version}-src.tar.bz2
|
||||||
Source1: apache-%{name}-%{version}-src.tar.bz2
|
Source1: katana.omissions
|
||||||
Source2: ant.conf
|
Source2: ant.conf
|
||||||
Source3: README.anthome
|
Source3: README.anthome
|
||||||
Patch1: %{name}-rhjpp.patch
|
Source4: katana.executables
|
||||||
Patch6: %{name}-interpreter.patch
|
Patch6: %{name}-interpreter.patch
|
||||||
Patch7: %{name}-bz104986.patch
|
|
||||||
Patch8: %{name}-gcj34.patch
|
|
||||||
Patch9: %{name}-ecj.patch
|
Patch9: %{name}-ecj.patch
|
||||||
Patch10: %{name}-nag29020.patch
|
Patch10: %{name}-nag29020.patch
|
||||||
|
Patch11: %{name}-build.patch
|
||||||
License: Apache Software License
|
License: Apache Software License
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
BuildPrereq: gcc34-c++
|
BuildPrereq: katana-build
|
||||||
BuildPrereq: gcc34-java >= 3.4.0-1
|
BuildPrereq: gcc-java >= 3.4.0
|
||||||
BuildPrereq: xerces-j >= 2.2.1-16
|
BuildPrereq: bootstrap-ant
|
||||||
BuildPrereq: commons-logging >= 1.0.2-15
|
BuildPrereq: xerces-j >= 2.2.1-17
|
||||||
BuildPrereq: jakarta-regexp >= 1.2-15
|
BuildPrereq: commons-logging >= 1.0.2-16
|
||||||
BuildPrereq: xalan-j >= 2.4.1-14
|
BuildPrereq: jakarta-regexp >= 1.2-16
|
||||||
BuildPrereq: bcel >= 5.0-13
|
BuildPrereq: xalan-j >= 2.4.1-15
|
||||||
BuildPrereq: jaf >= 20030319-4
|
BuildPrereq: bcel >= 5.0-14
|
||||||
BuildPrereq: javamail >= 20031006-4
|
BuildPrereq: jaf >= 20030319-5
|
||||||
BuildPrereq: junit >= 3.8.1-4
|
BuildPrereq: javamail >= 20031006-5
|
||||||
BuildPrereq: ecj
|
BuildPrereq: junit >= 3.8.1-5
|
||||||
Requires: libgcj34 >= 3.4.0-1
|
BuildPrereq: ecj >= 2.1.3-2
|
||||||
Requires: xerces-j >= 2.2.1-16
|
Requires: libgcj >= 3.4.0
|
||||||
Requires: commons-logging >= 1.0.2-15
|
Requires: xerces-j >= 2.2.1-17
|
||||||
Requires: jakarta-regexp >= 1.2-15
|
Requires: commons-logging >= 1.0.2-16
|
||||||
Requires: xalan-j >= 2.4.1-14
|
Requires: jakarta-regexp >= 1.2-16
|
||||||
Requires: bcel >= 5.0-13
|
Requires: xalan-j >= 2.4.1-15
|
||||||
Requires: jaf >= 20030319-4
|
Requires: bcel >= 5.0-14
|
||||||
Requires: javamail >= 20031006-4
|
Requires: jaf >= 20030319-5
|
||||||
Requires: junit >= 3.8.1-4
|
Requires: javamail >= 20031006-5
|
||||||
Requires: ecj
|
Requires: junit >= 3.8.1-5
|
||||||
|
Requires: ecj >= 2.1.3-2
|
||||||
Requires: ant-core = %{version}-%{release}
|
Requires: ant-core = %{version}-%{release}
|
||||||
|
ExcludeArch: ppc64 ia64
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ant is a platform-independant build tool for Java applications that is
|
Ant is a platform-independant build tool for Java applications that is
|
||||||
@ -50,16 +47,16 @@ used by Apache Jakarta and XML projects.
|
|||||||
%package core
|
%package core
|
||||||
Summary: The core classes required by Ant
|
Summary: The core classes required by Ant
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Prereq: redhat-java-rpm-scripts >= 1.0.2-2
|
Prereq: katana
|
||||||
Requires: libgcj34 >= 3.4.0-1
|
Requires: libgcj >= 3.4.0
|
||||||
Requires: xerces-j >= 2.2.1-16
|
Requires: xerces-j >= 2.2.1-17
|
||||||
Requires: commons-logging >= 1.0.2-15
|
Requires: commons-logging >= 1.0.2-16
|
||||||
Requires: jakarta-regexp >= 1.2-15
|
Requires: jakarta-regexp >= 1.2-16
|
||||||
Requires: xalan-j >= 2.4.1-14
|
Requires: xalan-j >= 2.4.1-15
|
||||||
Requires: bcel >= 5.0-13
|
Requires: bcel >= 5.0-14
|
||||||
Requires: jaf >= 20030319-4
|
Requires: jaf >= 20030319-5
|
||||||
Requires: javamail >= 20031006-4
|
Requires: javamail >= 20031006-5
|
||||||
Requires: ecj
|
Requires: ecj >= 2.1.3-2
|
||||||
|
|
||||||
%description core
|
%description core
|
||||||
The core classes required by Ant.
|
The core classes required by Ant.
|
||||||
@ -67,11 +64,11 @@ The core classes required by Ant.
|
|||||||
%package optional
|
%package optional
|
||||||
Summary: Optional tasks for Ant
|
Summary: Optional tasks for Ant
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Prereq: redhat-java-rpm-scripts >= 1.0.2-2
|
Prereq: katana
|
||||||
Requires: libgcj34 >= 3.4.0-1
|
Requires: libgcj >= 3.4.0
|
||||||
Requires: xerces-j >= 2.2.1-16
|
Requires: xerces-j >= 2.2.1-17
|
||||||
Requires: xalan-j >= 2.4.1-14
|
Requires: xalan-j >= 2.4.1-15
|
||||||
Requires: junit >= 3.8.1-4
|
Requires: junit >= 3.8.1-5
|
||||||
Requires: ant-core = %{version}-%{release}
|
Requires: ant-core = %{version}-%{release}
|
||||||
|
|
||||||
%description optional
|
%description optional
|
||||||
@ -87,39 +84,50 @@ The ant-devel package contains the headers required to develop
|
|||||||
Cygnus Native Interface (CNI) extensions that use Ant.
|
Cygnus Native Interface (CNI) extensions that use Ant.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a 1
|
%setup -q -n apache-%{name}-%{version}
|
||||||
mv %{rhugsource1}
|
%patch6 -p1 -b .interpreter
|
||||||
%patch1 -p0 -b .rhjpp
|
%patch9 -p1 -b .ecj
|
||||||
%patch6 -p0 -b .interpreter
|
%patch10 -p1 -b .nag29020
|
||||||
%patch7 -p0 -b .bz104986
|
%patch11 -p1 -b .build
|
||||||
%patch8 -p0 -b .gcj34
|
katana prep
|
||||||
%patch9 -p0 -b .ecj
|
|
||||||
%patch10 -p0 -b .nag29020
|
|
||||||
mv ChangeLog ChangeLog.rhug
|
|
||||||
mv TODO TODO.rhug
|
|
||||||
for f in version.txt defaultManifest.mf; do
|
|
||||||
f=upstream/src/main/org/apache/tools/ant/$f
|
|
||||||
sed -e "s:@VERSION@:%{version}-%{release}:g"\
|
|
||||||
-e "s:@DATE@:`date '+%B %e %Y'`:g" \
|
|
||||||
< $f > $f.tmp && mv -f $f.tmp $f
|
|
||||||
done
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CC=gcc34 CXX=g++34 GCJ=gcj34 GCJH=gcjh34 \
|
# XXX hack ecj doesn't build this class correctly
|
||||||
./configure \
|
mkdir -p build/classes
|
||||||
--disable-static \
|
gcj -d build/classes \
|
||||||
--prefix=%{_prefix} \
|
-classpath %{_datadir}java/xmlParserAPIs.jar:src/main \
|
||||||
--libdir=%{_libdir}
|
-C src/main/org/apache/tools/ant/taskdefs/FixCRLF.java
|
||||||
make
|
# XXX end of hack
|
||||||
|
|
||||||
|
CLASSPATH=%{_datadir}/java/xmlParserAPIs.jar:%{_datadir}/java/xalan.jar:%{_datadir}/java/junit.jar:%{_datadir}/java/jakarta-regexp.jar:%{_datadir}/java/commons-logging-apis.jar:%{_datadir}/java/bcel.jar:%{_datadir}/java/activation.jar:%{_datadir}/java/mail.jar:%{_datadir}/java/ecj.jar bootstrap-ant
|
||||||
|
|
||||||
|
mkdir jar
|
||||||
|
(cd jar
|
||||||
|
jar xf ../build/lib/optional.jar
|
||||||
|
rm -f META-INF/LICENSE.txt
|
||||||
|
mv org/apache/tools/ant/taskdefs/optional/TraXLiaison.class ..
|
||||||
|
jar cf ../katana/%{name}-optional-%{version}.jar .
|
||||||
|
for i in taskdefs types util; do
|
||||||
|
jar cf ../katana/lib-org-apache-tools-ant-$i-optional.so_%{name}-optional-%{version}.jar org/apache/tools/ant/$i
|
||||||
|
done)
|
||||||
|
rm -Rf jar/*
|
||||||
|
(cd jar
|
||||||
|
jar xf ../build/lib/%{name}.jar
|
||||||
|
rm -f META-INF/LICENSE.txt images/ant_logo_large.gif
|
||||||
|
mkdir org/apache/tools/ant/taskdefs/optional
|
||||||
|
mv ../TraXLiaison.class $_
|
||||||
|
jar cf ../katana/%{name}-%{version}.jar .)
|
||||||
|
rm -Rf jar
|
||||||
|
katana build
|
||||||
|
|
||||||
|
mv src/main/org katana
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
katana install
|
||||||
%makeinstall
|
mv ${RPM_BUILD_ROOT}%{_bindir}/ant-%{version} ${RPM_BUILD_ROOT}%{_bindir}/ant
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
|
|
||||||
find ${RPM_BUILD_ROOT}%{_libdir} -type l | xargs rm -f
|
|
||||||
|
|
||||||
# Install stuff for classic-ant
|
# Install stuff for classic-ant
|
||||||
install -m 755 upstream/src/script/ant ${RPM_BUILD_ROOT}%{_bindir}/classic-ant
|
install -m 755 src/script/ant ${RPM_BUILD_ROOT}%{_bindir}/classic-ant
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}
|
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}
|
||||||
install -m 644 $RPM_SOURCE_DIR/ant.conf ${RPM_BUILD_ROOT}%{_sysconfdir}
|
install -m 644 $RPM_SOURCE_DIR/ant.conf ${RPM_BUILD_ROOT}%{_sysconfdir}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/ant/lib
|
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/ant/lib
|
||||||
@ -168,11 +176,11 @@ done
|
|||||||
%{_datadir}/java/ant-optional.jar
|
%{_datadir}/java/ant-optional.jar
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
katana clean
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc *.rhug upstream/{LICENSE,README,WHATSNEW,welcome.html,docs}
|
%doc LICENSE README WHATSNEW welcome.html docs
|
||||||
%config(noreplace) %{_sysconfdir}/ant.conf
|
%config(noreplace) %{_sysconfdir}/ant.conf
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_datadir}/ant
|
%{_datadir}/ant
|
||||||
@ -185,6 +193,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/lib-org-apache-tools-tar-%{version}.so
|
%{_libdir}/lib-org-apache-tools-tar-%{version}.so
|
||||||
%{_libdir}/lib-org-apache-tools-zip-%{version}.so
|
%{_libdir}/lib-org-apache-tools-zip-%{version}.so
|
||||||
%{_datadir}/java/ant-%{version}.jar
|
%{_datadir}/java/ant-%{version}.jar
|
||||||
|
%{_datadir}/katana/lib-org-apache-tools-ant-%{version}.cp
|
||||||
|
%{_datadir}/katana/lib-org-apache-tools-bzip2-%{version}.cp
|
||||||
|
%{_datadir}/katana/lib-org-apache-tools-mail-%{version}.cp
|
||||||
|
%{_datadir}/katana/lib-org-apache-tools-tar-%{version}.cp
|
||||||
|
%{_datadir}/katana/lib-org-apache-tools-zip-%{version}.cp
|
||||||
|
|
||||||
%files optional
|
%files optional
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -192,12 +205,18 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/lib-org-apache-tools-ant-types-optional-%{version}.so
|
%{_libdir}/lib-org-apache-tools-ant-types-optional-%{version}.so
|
||||||
%{_libdir}/lib-org-apache-tools-ant-util-optional-%{version}.so
|
%{_libdir}/lib-org-apache-tools-ant-util-optional-%{version}.so
|
||||||
%{_datadir}/java/ant-optional-%{version}.jar
|
%{_datadir}/java/ant-optional-%{version}.jar
|
||||||
|
%{_datadir}/katana/lib-org-apache-tools-ant-taskdefs-optional-%{version}.cp
|
||||||
|
%{_datadir}/katana/lib-org-apache-tools-ant-types-optional-%{version}.cp
|
||||||
|
%{_datadir}/katana/lib-org-apache-tools-ant-util-optional-%{version}.cp
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/org/apache/tools/*
|
%{_includedir}/org/apache/tools/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 4 2004 Gary Benson <gbenson@redhat.com> 1.5.2-28
|
||||||
|
- Build with katana.
|
||||||
|
|
||||||
* Tue May 25 2004 Gary Benson <gbenson@redhat.com> 1.5.2-27
|
* Tue May 25 2004 Gary Benson <gbenson@redhat.com> 1.5.2-27
|
||||||
- Use in-process ecj as the default compiler.
|
- Use in-process ecj as the default compiler.
|
||||||
- Fix broken links in classic-ant's libraries directory (#122416).
|
- Fix broken links in classic-ant's libraries directory (#122416).
|
||||||
|
Loading…
Reference in New Issue
Block a user