a974b6
Name:           bcel
a974b6
Version:        5.2
a974b6
Release:        18%{?dist}
a974b6
Epoch:          0
a974b6
Summary:        Byte Code Engineering Library
a974b6
License:        ASL 2.0
a974b6
URL:            http://commons.apache.org/proper/commons-bcel/
a974b6
Source0:        http://archive.apache.org/dist/commons/bcel/source/bcel-5.2-src.tar.gz
a974b6
# Upstream uses Maven 1, which is not available in Fedora.
a974b6
# The following is upstream project.xml converted to Maven 2/3.
a974b6
Source1:        %{name}-pom.xml
a974b6
BuildArch:      noarch
a974b6
a974b6
BuildRequires:  maven-local
a974b6
BuildRequires:  mvn(regexp:regexp)
a974b6
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
a974b6
a974b6
%description
a974b6
The Byte Code Engineering Library (formerly known as JavaClass) is
a974b6
intended to give users a convenient possibility to analyze, create, and
a974b6
manipulate (binary) Java class files (those ending with .class). Classes
a974b6
are represented by objects which contain all the symbolic information of
a974b6
the given class: methods, fields and byte code instructions, in
a974b6
particular.  Such objects can be read from an existing file, be
a974b6
transformed by a program (e.g. a class loader at run-time) and dumped to
a974b6
a file again. An even more interesting application is the creation of
a974b6
classes from scratch at run-time. The Byte Code Engineering Library
a974b6
(BCEL) may be also useful if you want to learn about the Java Virtual
a974b6
Machine (JVM) and the format of Java .class files.  BCEL is already
a974b6
being used successfully in several projects such as compilers,
a974b6
optimizers, obsfuscators and analysis tools, the most popular probably
a974b6
being the Xalan XSLT processor at Apache.
a974b6
a974b6
%package javadoc
a974b6
Summary:        API documentation for %{name}
a974b6
Obsoletes:      %{name}-manual < %{version}-%{release}
a974b6
a974b6
%description javadoc
a974b6
This package provides %{summary}.
a974b6
a974b6
%prep
a974b6
%setup -q
a974b6
cp -p %{SOURCE1} pom.xml
a974b6
%mvn_alias : bcel:
a974b6
%mvn_file : %{name}
a974b6
a974b6
%build
a974b6
%mvn_build
a974b6
a974b6
%install
a974b6
%mvn_install
a974b6
a974b6
%files -f .mfiles
a974b6
%doc README.txt
a974b6
%doc LICENSE.txt NOTICE.txt
a974b6
a974b6
%files javadoc -f .mfiles-javadoc
a974b6
%doc LICENSE.txt NOTICE.txt
a974b6
a974b6
%changelog
a974b6
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 05.2-18
a974b6
- Mass rebuild 2013-12-27
a974b6
a974b6
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:5.2-17
a974b6
- Rebuild to regenerate API documentation
a974b6
- Resolves: CVE-2013-1571
a974b6
a974b6
* Fri Jun 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:5.2-16
a974b6
- Complete spec file rewrite
a974b6
- Build with Maven instead of Ant
a974b6
- Remove manual subpackage
a974b6
a974b6
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:5.2-15
a974b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a974b6
a974b6
* Tue Nov 13 2012 Tom Callaway <spot@fedoraproject.org> - 0:5.2-14
a974b6
- Package NOTICE.txt
a974b6
a974b6
* Tue Aug 21 2012 Andy Grimm <agrimm@gmail.com> - 0:5.2-13
a974b6
- This package should not own _mavendepmapfragdir (RHBZ#850005)
a974b6
- Build with maven, and clean up deprecated spec constructs
a974b6
- Fix pom file (See http://jira.codehaus.org/browse/MEV-592)
a974b6
a974b6
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:5.2-12
a974b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a974b6
a974b6
* Sun Jun 24 2012 Gerard Ryan <galileo@fedoraproject.org> - 0:5.2-11
a974b6
- Inject OSGI Manifest.
a974b6
a974b6
* Wed Jan 11 2012 Ville Skyttä <ville.skytta@iki.fi> - 0:5.2-10
a974b6
- Specify explicit source encoding to fix build with Java 7.
a974b6
- Install jar and javadocs unversioned.
a974b6
- Crosslink with JDK javadocs.
a974b6
a974b6
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:5.2-9
a974b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a974b6
a974b6
* Tue Jul 13 2010 Alexander Kurtakov <akurtako@redhat.com> 0:5.2-8
a974b6
- Use global.
a974b6
- Drop gcj_support.
a974b6
- Fix groups.
a974b6
- Fix build.
a974b6
a974b6
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:5.2-7.1
a974b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a974b6
a974b6
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:5.2-6.1
a974b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a974b6
a974b6
* Thu Dec 04 2008 Permaine Cheung <pcheung at redhat.com> 0:5.2-5.1
a974b6
- Do not install poms in /usr/share/maven2/default_poms
a974b6
a974b6
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:5.2-5
a974b6
- drop repotag
a974b6
a974b6
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:5.2-4jpp.2
a974b6
- Autorebuild for GCC 4.3
a974b6
a974b6
* Tue Jan 22 2008 Permaine Cheung <pcheung at redhat.com> 0:5.2-3jpp.1
a974b6
- Merge with upstream
a974b6
a974b6
* Mon Jan 07 2008 Permaine Cheung <pcheung at redhat.com> 0:5.2-2jpp.2
a974b6
- Fixed unowned directory (Bugzilla 246185)
a974b6
a974b6
* Fri Nov 16 2007 Ralph Apel <r.apel@r-apel.de> 0:5.2-3jpp
a974b6
- Install poms unconditionally
a974b6
- Add pom in ./maven2/default_poms
a974b6
- Add org.apache.bcel:bcel depmap frag
a974b6
a974b6
* Wed Sep 19 2007 Permaine Cheung <pcheung at redhat.com> 0:5.2-2jpp.1
a974b6
- Update to 5.2 in Fedora
a974b6
a974b6
* Mon Sep  4 2007 Jason Corley <jason.corley@gmail.com> 0:5.2-2jpp
a974b6
- use official 5.2 release tarballs and location
a974b6
- change vendor and distribution to macros
a974b6
- add missing requires on and maven-plugin-test, maven-plugins-base, and
a974b6
  maven-plugin-xdoc 
a974b6
- macro bracket fixes
a974b6
- remove demo subpackage (examples are not included in the distribution tarball)
a974b6
- build in mock
a974b6
a974b6
* Wed Jun 27 2007 Ralph Apel <r.apel@r-apel.de> 0:5.2-1jpp
a974b6
- Upgrade to 5.2
a974b6
- Drop bootstrap option: not necessary any more
a974b6
- Add pom and depmap frags
a974b6
a974b6
* Fri Feb 09 2007 Ralph Apel <r.apel@r-apel.de> 0:5.1-10jpp
a974b6
- Fix empty-%%post and empty-%%postun
a974b6
- Fix no-cleaning-of-buildroot
a974b6
a974b6
* Fri Feb 09 2007 Ralph Apel <r.apel@r-apel.de> 0:5.1-9jpp
a974b6
- Optionally build without maven
a974b6
- Add bootstrap option
a974b6
a974b6
* Thu Aug 10 2006 Matt Wringe <mwringe at redhat.com> 0:5.1-8jpp
a974b6
- Add missing requires for Javadoc task
a974b6
a974b6
* Sun Jul 23 2006 Matt Wringe <mwringe at redhat.com> 0:5.1-7jpp
a974b6
- Add conditional native compilation
a974b6
- Change spec file encoding from ISO-8859-1 to UTF-8
a974b6
- Add missing BR werken.xpath and ant-apache-regexp
a974b6
a974b6
* Tue Apr 11 2006 Ralph Apel <r.apel@r-apel.de> 0:5.1-6jpp
a974b6
- First JPP-1.7 release
a974b6
- Use tidyed sources from svn
a974b6
- Add resources to build the manual
a974b6
- Add examples to -demo subpackage
a974b6
- Build with maven by default
a974b6
- Add option to build with straight ant
a974b6
a974b6
* Fri Nov 19 2004 David Walluck <david@jpackage.org> 0:5.1-5jpp
a974b6
- rebuild to fix packager
a974b6
a974b6
* Sat Nov 06 2004 David Walluck <david@jpackage.org> 0:5.1-4jpp
a974b6
- rebuild with javac 1.4.2
a974b6
a974b6
* Sat Oct 16 2004 David Walluck <david@jpackage.org> 0:5.1-3jpp
a974b6
- rebuild for JPackage 1.6
a974b6
a974b6
* Fri Aug 20 2004 Ralph Apel <r.apel at r-apel.de> 0:5.1-2jpp
a974b6
- Build with ant-1.6.2
a974b6
a974b6
* Sun May 11 2003 David Walluck <david@anti-microsoft.org> 0:5.1-1jpp
a974b6
- 5.1
a974b6
- update for JPackage 1.5
a974b6
a974b6
* Mon Mar 24 2003 Nicolas Mailhot <Nicolas.Mailhot (at) JPackage.org> - 5.0-6jpp
a974b6
- For jpackage-utils 1.5
a974b6
a974b6
* Tue Feb 25 2003 Ville Skyttä <ville.skytta@iki.fi> - 5.0-5jpp
a974b6
- Rebuild to get docdir right on modern distros.
a974b6
- Fix License tag and source file perms.
a974b6
- Built with IBM's 1.3.1SR3 (doesn't build with Sun's 1.4.1_01).
a974b6
a974b6
* Tue Jun 11 2002 Henri Gomez <hgomez@slib.fr> 5.0-4jpp
a974b6
- use sed instead of bash 2.x extension in link area to make spec compatible
a974b6
  with distro using bash 1.1x
a974b6
a974b6
* Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 5.0-3jpp 
a974b6
- vendor, distribution, group tags
a974b6
a974b6
* Wed Jan 23 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 5.0-2jpp 
a974b6
- section macro
a974b6
- no dependencies for manual and javadoc package
a974b6
a974b6
* Tue Jan 22 2002 Henri Gomez <hgomez@slib.fr> 5.0-1jpp
a974b6
- bcel is now a jakarta apache project
a974b6
- dependency on jakarta-regexp instead of gnu.regexp 
a974b6
- created manual package
a974b6
a974b6
* Sat Dec 8 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 4.4.1-2jpp
a974b6
- javadoc into javadoc package
a974b6
- Requires: and BuildRequires: gnu.regexp
a974b6
a974b6
* Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 4.4.1-1jpp
a974b6
- removed packager tag
a974b6
- new jpp extension
a974b6
- 4.4.1
a974b6
a974b6
* Thu Oct 11 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 4.4.0-2jpp
a974b6
- first unified release
a974b6
- used lower case for name
a974b6
- used original tarball
a974b6
- s/jPackage/JPackage
a974b6
a974b6
* Mon Aug 27 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 4.4.0-1mdk
a974b6
- first Mandrake release