Blame SPECS/bcel.spec

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