auto-import changelog data from ant-1.5.2-24.1.src.rpm
Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Gary Benson <gbenson@redhat.com> 1.5.2-24 - Rebuild for Fedora. Tue Feb 17 2004 Gary Benson <gbenson@redhat.com> - Move the 'interpreter is gij' logic deeper (#113699). Mon Feb 02 2004 Gary Benson <gbenson@redhat.com> - Pick up xerces-j's XML libraries from their new location. Mon Dec 22 2003 Gary Benson <gbenson@redhat.com> - Split ant-libs into -core and -optional subpackages. Mon Dec 15 2003 Gary Benson <gbenson@redhat.com> - Apply hammer multilib fix to all multilib archs. - Correctly link local libraries on hammer. Fri Dec 12 2003 Gary Benson <gbenson@redhat.com> - Upgraded to fluorinated RHUG tarball. - Moved all optional stuff from lib-org-apache-tools-ant.so. - Moved TraXLiaison from ant-optional.jar to ant.jar.
This commit is contained in:
parent
d103cf2d52
commit
059e3cda1a
@ -1,2 +1,2 @@
|
|||||||
apache-ant-1.5.2-src.tar.bz2
|
apache-ant-1.5.2-src.tar.bz2
|
||||||
rhug-jakarta-ant-20031111.tar.bz2
|
rhug-jakarta-ant-20031215.tar.bz2
|
||||||
|
195
ant.spec
195
ant.spec
@ -1,73 +1,81 @@
|
|||||||
%define rhugversion 20031111
|
%define rhugversion 20031215
|
||||||
%define rhugsource1 apache-%{name}-%{version} upstream
|
%define rhugsource1 apache-%{name}-%{version} upstream
|
||||||
%define rhugpatches 6
|
%define rhugpatches 6
|
||||||
|
|
||||||
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: 23
|
Release: 24.1
|
||||||
URL: http://ant.apache.org/
|
URL: http://ant.apache.org/
|
||||||
Source: rhug-jakarta-%{name}-%{rhugversion}.tar.bz2
|
Source: rhug-jakarta-%{name}-%{rhugversion}.tar.bz2
|
||||||
Source1: apache-%{name}-%{version}-src.tar.bz2
|
Source1: apache-%{name}-%{version}-src.tar.bz2
|
||||||
Source2: ant.conf
|
Source2: ant.conf
|
||||||
Source3: README.anthome
|
Source3: README.anthome
|
||||||
Patch1: %{name}-1.5.2-release.patch
|
Patch1: %{name}-rhjpp.patch
|
||||||
Patch2: %{name}-1.5.2-buildclasspath.patch
|
Patch6: %{name}-interpreter.patch
|
||||||
Patch3: %{name}-1.5.2-jarname.patch
|
Patch7: %{name}-bz104986.patch
|
||||||
Patch5: %{name}-1.5.2-hammer.patch
|
Patch8: %{name}-gcj34.patch
|
||||||
Patch6: %{name}-1.5.2-interpreter.patch
|
|
||||||
Patch7: %{name}-1.5.2-bz104986.patch
|
|
||||||
Patch8: %{name}-1.5.2-gcj-ssa.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: gcc-c++-ssa
|
BuildPrereq: gcc34-c++
|
||||||
BuildPrereq: gcc-java-ssa >= 3.5ssa-0.20030801.34
|
BuildPrereq: gcc34-java
|
||||||
BuildPrereq: xerces-j >= 2.2.1-10
|
BuildPrereq: xerces-j >= 2.2.1-12
|
||||||
BuildPrereq: commons-logging >= 1.0.2-12
|
BuildPrereq: commons-logging >= 1.0.2-13
|
||||||
BuildPrereq: jakarta-regexp >= 1.2-12
|
BuildPrereq: jakarta-regexp >= 1.2-13
|
||||||
BuildPrereq: xalan-j >= 2.4.1-9
|
BuildPrereq: xalan-j >= 2.4.1-12
|
||||||
BuildPrereq: bcel >= 5.0-10
|
BuildPrereq: bcel >= 5.0-11
|
||||||
BuildPrereq: jaf
|
BuildPrereq: jaf >= 20030319-2
|
||||||
BuildPrereq: javamail
|
BuildPrereq: javamail >= 20031006-2
|
||||||
BuildPrereq: junit
|
BuildPrereq: junit >= 3.8.1-2
|
||||||
Requires: gcc-java-ssa >= 3.5ssa-0.20030801.34
|
Requires: gcc34-java
|
||||||
Requires: xerces-j >= 2.2.1-10
|
Requires: xerces-j >= 2.2.1-12
|
||||||
Requires: commons-logging >= 1.0.2-12
|
Requires: commons-logging >= 1.0.2-13
|
||||||
Requires: jakarta-regexp >= 1.2-12
|
Requires: jakarta-regexp >= 1.2-13
|
||||||
Requires: xalan-j >= 2.4.1-9
|
Requires: xalan-j >= 2.4.1-12
|
||||||
Requires: bcel >= 5.0-10
|
Requires: bcel >= 5.0-11
|
||||||
Requires: jaf
|
Requires: jaf >= 20030319-2
|
||||||
Requires: javamail
|
Requires: javamail >= 20031006-2
|
||||||
Requires: junit
|
Requires: junit >= 3.8.1-2
|
||||||
Requires: ant-libs = %{version}-%{release}
|
Requires: ant-core = %{version}-%{release}
|
||||||
ExclusiveArch: i386 x86_64 ppc 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
|
||||||
used by Apache Jakarta and XML projects.
|
used by Apache Jakarta and XML projects.
|
||||||
|
|
||||||
%package libs
|
%package core
|
||||||
Summary: The shared libraries used 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: redhat-java-rpm-scripts >= 1.0.2-2
|
||||||
Requires: libgcj-ssa >= 3.5ssa-0.20030801.34
|
Requires: libgcj34
|
||||||
Requires: xerces-j >= 2.2.1-10
|
Requires: xerces-j >= 2.2.1-12
|
||||||
Requires: commons-logging >= 1.0.2-12
|
Requires: commons-logging >= 1.0.2-13
|
||||||
Requires: jakarta-regexp >= 1.2-12
|
Requires: jakarta-regexp >= 1.2-13
|
||||||
Requires: xalan-j >= 2.4.1-9
|
Requires: xalan-j >= 2.4.1-12
|
||||||
Requires: bcel >= 5.0-10
|
Requires: bcel >= 5.0-11
|
||||||
Requires: jaf
|
Requires: jaf >= 20030319-2
|
||||||
Requires: javamail
|
Requires: javamail >= 20031006-2
|
||||||
Requires: junit
|
|
||||||
|
|
||||||
%description libs
|
%description core
|
||||||
The ant-libs package contains the libraries required by Ant.
|
The core classes required by Ant.
|
||||||
|
|
||||||
|
%package optional
|
||||||
|
Summary: Optional tasks for Ant
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Prereq: redhat-java-rpm-scripts >= 1.0.2-2
|
||||||
|
Requires: libgcj34
|
||||||
|
Requires: xerces-j >= 2.2.1-12
|
||||||
|
Requires: xalan-j >= 2.4.1-12
|
||||||
|
Requires: junit >= 3.8.1-2
|
||||||
|
Requires: ant-core = %{version}-%{release}
|
||||||
|
|
||||||
|
%description optional
|
||||||
|
Optional tasks for Ant.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: CNI headers for developing Ant applications
|
Summary: CNI headers for developing Ant applications
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: ant-libs = %{version}-%{release}
|
Requires: ant-core = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The ant-devel package contains the headers required to develop
|
The ant-devel package contains the headers required to develop
|
||||||
@ -76,13 +84,10 @@ Cygnus Native Interface (CNI) extensions that use Ant.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -a 1
|
%setup -q -a 1
|
||||||
mv %{rhugsource1}
|
mv %{rhugsource1}
|
||||||
%patch1 -p0 -b .release
|
%patch1 -p0 -b .rhjpp
|
||||||
%patch2 -p0 -b .buildclasspath
|
%patch6 -p0 -b .interpreter
|
||||||
%patch3 -p0 -b .jarname
|
|
||||||
%patch5 -p0 -b .hammer
|
|
||||||
%patch6 -p1 -b .interpreter
|
|
||||||
%patch7 -p0 -b .bz104986
|
%patch7 -p0 -b .bz104986
|
||||||
%patch8 -p0 -b .gcj-ssa
|
%patch8 -p0 -b .gcj34
|
||||||
mv ChangeLog ChangeLog.rhug
|
mv ChangeLog ChangeLog.rhug
|
||||||
mv TODO TODO.rhug
|
mv TODO TODO.rhug
|
||||||
for f in version.txt defaultManifest.mf; do
|
for f in version.txt defaultManifest.mf; do
|
||||||
@ -93,19 +98,11 @@ for f in version.txt defaultManifest.mf; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch x86_64 ia64
|
CC=gcc34 CXX=g++34 GCJ=gcj34 GCJH=gcjh34 \
|
||||||
# HACK: These three files cause gcj-ssa to ICE on 64-bit boxes when
|
./configure \
|
||||||
# -O2 is used, so we build them separately with optimisation disabled.
|
--disable-static \
|
||||||
CC=gcc-ssa CXX=g++-ssa GCJ=gcj-ssa GCJH=gcjh-ssa GCJFLAGS="-g -O0" \
|
--prefix=%{_prefix} \
|
||||||
./configure --disable-static --prefix=%{_prefix} --libdir=%{_libdir}
|
--libdir=%{_libdir}
|
||||||
make upstream/src/main/org/apache/tools/ant/taskdefs/Checksum.lo \
|
|
||||||
upstream/src/main/org/apache/tools/ant/taskdefs/Expand.lo \
|
|
||||||
upstream/src/main/org/apache/tools/ant/taskdefs/FixCRLF.lo \
|
|
||||||
upstream/src/main/org/apache/tools/ant/taskdefs/optional/sitraka/bytecode/ClassPathLoader.lo
|
|
||||||
# End of Hack
|
|
||||||
%endif
|
|
||||||
CC=gcc-ssa CXX=g++-ssa GCJ=gcj-ssa GCJH=gcjh-ssa \
|
|
||||||
./configure --disable-static --prefix=%{_prefix} --libdir=%{_libdir}
|
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -131,36 +128,37 @@ for i in activation bcel commons-logging jakarta-regexp \
|
|||||||
${RPM_BUILD_ROOT}%{_datadir}/ant/lib/$i.jar
|
${RPM_BUILD_ROOT}%{_datadir}/ant/lib/$i.jar
|
||||||
done
|
done
|
||||||
|
|
||||||
%post -n ant-libs
|
%post core
|
||||||
%{_sbindir}/javaconfig \
|
%{_sbindir}/javaconfig \
|
||||||
%{_libdir}/lib-org-apache-tools-ant.so \
|
%{_libdir}/lib-org-apache-tools-ant.so \
|
||||||
%{_libdir}/lib-org-apache-tools-ant-taskdefs-optional.so \
|
|
||||||
%{_libdir}/lib-org-apache-tools-bzip2.so \
|
%{_libdir}/lib-org-apache-tools-bzip2.so \
|
||||||
%{_libdir}/lib-org-apache-tools-mail.so \
|
%{_libdir}/lib-org-apache-tools-mail.so \
|
||||||
%{_libdir}/lib-org-apache-tools-tar.so \
|
%{_libdir}/lib-org-apache-tools-tar.so \
|
||||||
%{_libdir}/lib-org-apache-tools-zip.so \
|
%{_libdir}/lib-org-apache-tools-zip.so \
|
||||||
%{_datadir}/java/ant.jar \
|
%{_datadir}/java/ant.jar
|
||||||
%{_datadir}/java/ant-optional.jar
|
|
||||||
|
|
||||||
%postun -n ant-libs
|
%postun core
|
||||||
%{_sbindir}/javaconfig \
|
%{_sbindir}/javaconfig \
|
||||||
%{_libdir}/lib-org-apache-tools-ant.so \
|
%{_libdir}/lib-org-apache-tools-ant.so \
|
||||||
%{_libdir}/lib-org-apache-tools-ant-taskdefs-optional.so \
|
|
||||||
%{_libdir}/lib-org-apache-tools-bzip2.so \
|
%{_libdir}/lib-org-apache-tools-bzip2.so \
|
||||||
%{_libdir}/lib-org-apache-tools-mail.so \
|
%{_libdir}/lib-org-apache-tools-mail.so \
|
||||||
%{_libdir}/lib-org-apache-tools-tar.so \
|
%{_libdir}/lib-org-apache-tools-tar.so \
|
||||||
%{_libdir}/lib-org-apache-tools-zip.so \
|
%{_libdir}/lib-org-apache-tools-zip.so \
|
||||||
%{_datadir}/java/ant.jar \
|
%{_datadir}/java/ant.jar
|
||||||
|
|
||||||
|
%post optional
|
||||||
|
%{_sbindir}/javaconfig \
|
||||||
|
%{_libdir}/lib-org-apache-tools-ant-taskdefs-optional.so \
|
||||||
|
%{_libdir}/lib-org-apache-tools-ant-types-optional.so \
|
||||||
|
%{_libdir}/lib-org-apache-tools-ant-util-optional.so \
|
||||||
%{_datadir}/java/ant-optional.jar
|
%{_datadir}/java/ant-optional.jar
|
||||||
|
|
||||||
# Prior to 1.5.2-20, %{_bindir}/ant was a symbolic link managed by
|
%postun optional
|
||||||
# javaconfig. This pair of trigger scripts stops older ant's %postun
|
%{_sbindir}/javaconfig \
|
||||||
# scripts from choking on the new non-symbolic-link binary.
|
%{_libdir}/lib-org-apache-tools-ant-taskdefs-optional.so \
|
||||||
%triggerun -- ant < 1.5.2-20
|
%{_libdir}/lib-org-apache-tools-ant-types-optional.so \
|
||||||
mv -f %{_bindir}/ant %{_bindir}/ant.tmp
|
%{_libdir}/lib-org-apache-tools-ant-util-optional.so \
|
||||||
|
%{_datadir}/java/ant-optional.jar
|
||||||
%triggerpostun -- ant < 1.5.2-20
|
|
||||||
mv -f %{_bindir}/ant.tmp %{_bindir}/ant
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -172,16 +170,51 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_datadir}/ant
|
%{_datadir}/ant
|
||||||
|
|
||||||
%files libs
|
%files core
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so
|
%{_libdir}/lib-org-apache-tools-ant-%{version}.so
|
||||||
%{_datadir}/java/*.jar
|
%{_libdir}/lib-org-apache-tools-bzip2-%{version}.so
|
||||||
|
%{_libdir}/lib-org-apache-tools-mail-%{version}.so
|
||||||
|
%{_libdir}/lib-org-apache-tools-tar-%{version}.so
|
||||||
|
%{_libdir}/lib-org-apache-tools-zip-%{version}.so
|
||||||
|
%{_datadir}/java/ant-%{version}.jar
|
||||||
|
|
||||||
|
%files optional
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/lib-org-apache-tools-ant-taskdefs-optional-%{version}.so
|
||||||
|
%{_libdir}/lib-org-apache-tools-ant-types-optional-%{version}.so
|
||||||
|
%{_libdir}/lib-org-apache-tools-ant-util-optional-%{version}.so
|
||||||
|
%{_datadir}/java/ant-optional-%{version}.jar
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/org/apache/tools/*
|
%{_includedir}/org/apache/tools/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Wed Feb 18 2004 Gary Benson <gbenson@redhat.com> 1.5.2-24
|
||||||
|
- Rebuild for Fedora.
|
||||||
|
|
||||||
|
* Tue Feb 17 2004 Gary Benson <gbenson@redhat.com>
|
||||||
|
- Move the 'interpreter is gij' logic deeper (#113699).
|
||||||
|
|
||||||
|
* Mon Feb 2 2004 Gary Benson <gbenson@redhat.com>
|
||||||
|
- Pick up xerces-j's XML libraries from their new location.
|
||||||
|
|
||||||
|
* Mon Dec 22 2003 Gary Benson <gbenson@redhat.com>
|
||||||
|
- Split ant-libs into -core and -optional subpackages.
|
||||||
|
|
||||||
|
* Mon Dec 15 2003 Gary Benson <gbenson@redhat.com>
|
||||||
|
- Apply hammer multilib fix to all multilib archs.
|
||||||
|
- Correctly link local libraries on hammer.
|
||||||
|
|
||||||
|
* Fri Dec 12 2003 Gary Benson <gbenson@redhat.com>
|
||||||
|
- Upgraded to fluorinated RHUG tarball.
|
||||||
|
- Moved all optional stuff from lib-org-apache-tools-ant.so.
|
||||||
|
- Moved TraXLiaison from ant-optional.jar to ant.jar.
|
||||||
|
|
||||||
* Wed Nov 12 2003 Gary Benson <gbenson@redhat.com> 1.5.2-23
|
* Wed Nov 12 2003 Gary Benson <gbenson@redhat.com> 1.5.2-23
|
||||||
- Rebuild to fix linking on hammer.
|
- Rebuild to fix linking on hammer.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user