From 2287bf50214bc531c70ba07cabe61ec1a0c30fa6 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 03:27:04 +0000 Subject: auto-import changelog data from bcel-5.0-10.src.rpm Fri Sep 05 2003 Gary Benson 5.0-10 - Ensure we have a working javaconfig. Thu Sep 04 2003 Gary Benson - Remove workarounds used to support alpha releases. Fri Aug 15 2003 Gary Benson 5.0-9 - Rebuild with new compiler. Thu Aug 07 2003 Gary Benson 5.0-8 - Rebuild with new compiler. Fri Jul 25 2003 Gary Benson 5.0-7 - Clarify the -devel subpackage's summary and description. - Remove unnecessary -devel build-time dependencies (#99077). Mon Jun 30 2003 Gary Benson 5.0-6 - Rebuild with new compiler and enable ia64 build. Fri Jun 06 2003 Gary Benson 5.0-5 - Rebuild with new compiler. Thu Jun 05 2003 Gary Benson - Add build time dependency on C++ compiler. Thu May 29 2003 Gary Benson 5.0-4 - Rebuild with new compiler. Fri May 23 2003 Gary Benson 5.0-3 - Move unversioned library symlink into main package. Sat May 03 2003 Gary Benson 5.0-2 - Rebuild with new compiler. Sat Apr 26 2003 Gary Benson 5.0-1 - Initial Red Hat Linux build. Tue Nov 26 2002 Gary Benson - Upgraded to 5.0. - Added dependencies on gcc-java and libgcj. Sat Mar 02 2002 Anthony Green - Initial RHUG build. --- diff --git a/.cvsignore b/.cvsignore index e69de29..96ce071 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1,2 @@ +bcel-5.0-src.tar.gz +rhug-bcel-20030414.tar.bz2 diff --git a/bcel.spec b/bcel.spec new file mode 100644 index 0000000..2df9ffc --- /dev/null +++ b/bcel.spec @@ -0,0 +1,138 @@ +%define rhugversion 20030414 +%define rhugsource1 %{name}-%{version} upstream +%define rhugpatches 3 + +Summary: Bytecode Engineering Library +Name: bcel +Version: 5.0 +Release: 10 +URL: http://jakarta.apache.org/bcel/ +Source: rhug-%{name}-%{rhugversion}.tar.bz2 +Source1: %{name}-%{version}-src.tar.gz +Patch1: %{name}-5.0-release.patch +Patch2: %{name}-5.0-buildclasspath.patch +Patch3: %{name}-5.0-jdk14.patch +Patch4: %{name}-5.0-hammer.patch +License: Apache Software License +Group: System Environment/Libraries +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildPrereq: gcc-c++-ssa +BuildPrereq: gcc-java-ssa >= 3.5ssa-0.20030801.34 +BuildPrereq: jakarta-regexp >= 1.2-12 +Prereq: redhat-java-rpm-scripts >= 1.0.2-2 +Requires: libgcj-ssa >= 3.5ssa-0.20030801.34 +Requires: jakarta-regexp >= 1.2-12 +ExclusiveArch: i386 x86_64 ppc ia64 + +%description +The Byte Code Engineering Library (formerly known as JavaClass) is +intended to give users a convenient possibility to analyze, create, +and manipulate (binary) Java class files (those ending with +.class). Classes are represented by objects which contain all the +symbolic information of the given class: methods, fields and byte code +instructions, in particular. + +Such objects can be read from an existing file, be transformed by a +program (e.g. a class loader at run-time) and dumped to a file +again. An even more interesting application is the creation of classes +from scratch at run-time. The Byte Code Engineering Library (BCEL) may +be also useful if you want to learn about the Java Virtual Machine +(JVM) and the format of Java .class files. + +%package devel +Summary: CNI headers for developing BCEL applications +Group: Development/Libraries +Requires: bcel = %{version}-%{release} + +%description devel +The bcel-devel package contains the headers required to develop +Cygnus Native Interface (CNI) extensions that use BCEL. + +%prep +%setup -q -a 1 +mv %{rhugsource1} +%patch1 -p0 -b .release +%patch2 -p0 -b .buildclasspath +%patch3 -p1 -b .jdk14 +%patch4 -p0 -b .hammer +mv ChangeLog ChangeLog.rhug +mv TODO TODO.rhug + +%build +CC=gcc-ssa CXX=g++-ssa GCJ=gcj-ssa GCJH=gcjh-ssa \ +./configure --disable-static --prefix=%{_prefix} +make + +%install +rm -rf ${RPM_BUILD_ROOT} +%makeinstall +rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la +rm -f ${RPM_BUILD_ROOT}%{_libdir}/lib-org-apache-bcel.so + +%post +%{_sbindir}/javaconfig \ + %{_libdir}/lib-org-apache-bcel.so \ + %{_datadir}/java/bcel.jar + +%postun +%{_sbindir}/javaconfig \ + %{_libdir}/lib-org-apache-bcel.so \ + %{_datadir}/java/bcel.jar + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc *.rhug upstream/{LICENSE,README} upstream/docs +%{_libdir}/*.so +%{_datadir}/java/*.jar + +%files devel +%defattr(-,root,root) +%{_includedir}/org/apache/bcel + +%changelog +* Fri Sep 5 2003 Gary Benson 5.0-10 +- Ensure we have a working javaconfig. + +* Thu Sep 4 2003 Gary Benson +- Remove workarounds used to support alpha releases. + +* Fri Aug 15 2003 Gary Benson 5.0-9 +- Rebuild with new compiler. + +* Thu Aug 7 2003 Gary Benson 5.0-8 +- Rebuild with new compiler. + +* Fri Jul 25 2003 Gary Benson 5.0-7 +- Clarify the -devel subpackage's summary and description. +- Remove unnecessary -devel build-time dependencies (#99077). + +* Mon Jun 30 2003 Gary Benson 5.0-6 +- Rebuild with new compiler and enable ia64 build. + +* Fri Jun 6 2003 Gary Benson 5.0-5 +- Rebuild with new compiler. + +* Thu Jun 5 2003 Gary Benson +- Add build time dependency on C++ compiler. + +* Thu May 29 2003 Gary Benson 5.0-4 +- Rebuild with new compiler. + +* Fri May 23 2003 Gary Benson 5.0-3 +- Move unversioned library symlink into main package. + +* Sat May 3 2003 Gary Benson 5.0-2 +- Rebuild with new compiler. + +* Fri Apr 26 2003 Gary Benson 5.0-1 +- Initial Red Hat Linux build. + +* Tue Nov 26 2002 Gary Benson +- Upgraded to 5.0. +- Added dependencies on gcc-java and libgcj. + +* Sat Mar 2 2002 Anthony Green +- Initial RHUG build. diff --git a/sources b/sources index e69de29..24311ac 100644 --- a/sources +++ b/sources @@ -0,0 +1,2 @@ +90d777a81c4e8cdb24dc4487c2553d46 bcel-5.0-src.tar.gz +8db04dc05420372639b40c0aa9e7a087 rhug-bcel-20030414.tar.bz2