2014-05-01 13:51:40 +00:00
|
|
|
%{?scl:%scl_package objectweb-asm}
|
|
|
|
%{!?scl:%global pkg_name %{name}}
|
|
|
|
|
|
|
|
Name: %{?scl_prefix}objectweb-asm
|
2015-08-06 19:05:42 +00:00
|
|
|
Version: 5.0.4
|
|
|
|
Release: 1%{?dist}
|
2013-11-11 16:31:56 +00:00
|
|
|
Summary: Java bytecode manipulation and analysis framework
|
2007-12-04 20:43:37 +00:00
|
|
|
License: BSD
|
2013-11-11 16:31:56 +00:00
|
|
|
URL: http://asm.ow2.org/
|
2007-12-04 20:43:37 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2014-03-24 11:06:06 +00:00
|
|
|
Source0: http://download.forge.ow2.org/asm/asm-%{version}.tar.gz
|
2013-11-11 16:31:56 +00:00
|
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
|
|
|
|
BuildRequires: ant
|
|
|
|
BuildRequires: aqute-bnd
|
|
|
|
BuildRequires: maven-local
|
2014-05-01 13:51:40 +00:00
|
|
|
%{?scl:Requires: %scl_runtime}
|
2013-11-11 16:31:56 +00:00
|
|
|
|
2014-05-01 13:51:40 +00:00
|
|
|
Obsoletes: %{?scl_prefix}objectweb-asm4 < 5
|
|
|
|
Provides: %{?scl_prefix}objectweb-asm4 = %{version}-%{release}
|
2013-11-11 16:31:56 +00:00
|
|
|
|
2007-12-04 20:43:37 +00:00
|
|
|
%description
|
2013-11-11 16:31:56 +00:00
|
|
|
ASM is an all purpose Java bytecode manipulation and analysis
|
|
|
|
framework. It can be used to modify existing classes or dynamically
|
|
|
|
generate classes, directly in binary form. Provided common
|
|
|
|
transformations and analysis algorithms allow to easily assemble
|
|
|
|
custom complex transformations and code analysis tools.
|
2007-12-04 20:43:37 +00:00
|
|
|
|
|
|
|
%package javadoc
|
2014-05-01 13:51:40 +00:00
|
|
|
Summary: API documentation for %{pkg_name}
|
2007-12-04 20:43:37 +00:00
|
|
|
|
|
|
|
%description javadoc
|
2013-11-11 16:31:56 +00:00
|
|
|
This package provides %{summary}.
|
2007-12-04 20:43:37 +00:00
|
|
|
|
|
|
|
%prep
|
2014-03-24 11:06:06 +00:00
|
|
|
%setup -q -n asm-%{version}
|
2013-11-11 16:31:56 +00:00
|
|
|
find -name *.jar -delete
|
2008-10-23 19:08:19 +00:00
|
|
|
|
2013-11-11 16:31:56 +00:00
|
|
|
sed -i /Class-Path/d archive/*.bnd
|
|
|
|
sed -i "s/Import-Package:/&org.objectweb.asm,org.objectweb.asm.util,/" archive/asm-xml.bnd
|
|
|
|
sed -i "s|\${config}/biz.aQute.bnd.jar|`build-classpath aqute-bnd`|" archive/*.xml
|
|
|
|
sed -i -e '/kind="lib"/d' -e 's|output/eclipse|output/build|' .classpath
|
2007-12-04 20:43:37 +00:00
|
|
|
|
|
|
|
%build
|
2013-11-11 16:31:56 +00:00
|
|
|
%ant -Dobjectweb.ant.tasks.path= jar jdoc
|
2007-12-04 20:43:37 +00:00
|
|
|
|
|
|
|
%install
|
2014-05-01 13:51:40 +00:00
|
|
|
%{?scl:scl enable %{scl} - <<"EOF"}
|
2014-03-24 11:06:06 +00:00
|
|
|
%mvn_artifact output/dist/lib/asm-parent-%{version}.pom
|
2014-03-19 12:01:50 +00:00
|
|
|
for m in asm asm-analysis asm-commons asm-tree asm-util asm-xml all/asm-all all/asm-debug-all; do
|
2014-03-24 11:06:06 +00:00
|
|
|
%mvn_artifact output/dist/lib/${m}-%{version}.pom \
|
|
|
|
output/dist/lib/${m}-%{version}.jar
|
2007-12-04 20:43:37 +00:00
|
|
|
done
|
2013-11-11 16:31:56 +00:00
|
|
|
%mvn_install -J output/dist/doc/javadoc/user
|
2014-05-01 13:51:40 +00:00
|
|
|
%{?scl:EOF}
|
2007-12-04 20:43:37 +00:00
|
|
|
|
2014-05-01 13:51:40 +00:00
|
|
|
%jpackage_script org.objectweb.asm.xml.Processor "" "" %{pkg_name}/asm:%{pkg_name}/asm-attrs:%{pkg_name}/asm-util:%{pkg_name}/asm-xml %{pkg_name}-processor true
|
2008-07-14 15:58:46 +00:00
|
|
|
|
2013-11-11 16:31:56 +00:00
|
|
|
%files -f .mfiles
|
2008-10-23 19:08:19 +00:00
|
|
|
%doc LICENSE.txt README.txt
|
2014-05-01 13:51:40 +00:00
|
|
|
%{_bindir}/%{pkg_name}-processor
|
|
|
|
%dir %{_javadir}/%{pkg_name}
|
2007-12-04 20:43:37 +00:00
|
|
|
|
2013-11-11 16:31:56 +00:00
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%doc LICENSE.txt
|
2007-12-04 20:43:37 +00:00
|
|
|
|
|
|
|
%changelog
|
2015-08-06 19:05:42 +00:00
|
|
|
* Thu Aug 06 2015 Michael Simacek <msimacek@redhat.com> - 5.0.4-1
|
|
|
|
- Update to upstream version 5.0.4
|
|
|
|
|
2015-06-17 23:31:05 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-07-20 08:18:04 +00:00
|
|
|
* Sun Jul 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.0.3-1
|
|
|
|
- Update to upstream version 5.0.3
|
|
|
|
|
2014-06-07 15:26:14 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-05 06:44:39 +00:00
|
|
|
* Mon May 5 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.0.2-1
|
|
|
|
- Update to upstream version 5.0.2
|
|
|
|
|
2014-05-01 13:51:40 +00:00
|
|
|
* Mon Apr 14 2014 Mat Booth <mat.booth@redhat.com> - 5.0.1-2
|
|
|
|
- SCL-ize package.
|
|
|
|
- Fix bogus dates in changelog.
|
|
|
|
|
2014-03-24 11:06:06 +00:00
|
|
|
* Mon Mar 24 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.0.1-1
|
|
|
|
- Update to upstream version 5.0.1
|
|
|
|
|
2014-03-19 12:01:50 +00:00
|
|
|
* Wed Mar 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.0-0.3.beta
|
|
|
|
- Enable asm-debug-all module
|
|
|
|
|
2014-01-20 07:46:31 +00:00
|
|
|
* Mon Jan 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.0-0.2.beta
|
|
|
|
- Remove Eclipse Orbit alias
|
|
|
|
|
2013-11-11 16:31:56 +00:00
|
|
|
* Tue Dec 3 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.0-0.1.beta
|
|
|
|
- Update to 5.0 beta
|
|
|
|
|
2013-08-03 14:43:50 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.3.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-03-06 16:17:34 +00:00
|
|
|
* Wed Mar 6 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.3.1-7
|
|
|
|
- Make jetty orbit depmap point to asm-all jar
|
|
|
|
- Resolves: rhbz#917625
|
|
|
|
|
2013-03-04 12:31:17 +00:00
|
|
|
* Mon Mar 4 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.3.1-6
|
|
|
|
- Add depmap for org.eclipse.jetty.orbit
|
|
|
|
- Resolves: rhbz#917625
|
|
|
|
|
2013-02-14 08:52:46 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.3.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 05:46:33 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.3.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 11:24:19 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.3.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-09-16 14:11:05 +00:00
|
|
|
* Fri Sep 16 2011 Alexander Kurtakov <akurtako@redhat.com> 0:3.3.1-2
|
|
|
|
- Use poms produced by the build not foreign ones.
|
|
|
|
- Adpat to current guidelines.
|
|
|
|
|
2011-04-04 19:18:06 +00:00
|
|
|
* Mon Apr 04 2011 Chris Aniszczyk <zx@redhat.com> 0:3.3.1
|
|
|
|
- Upgrade to 3.3.1
|
|
|
|
|
2011-02-09 01:32:53 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-07-13 16:21:32 +00:00
|
|
|
* Tue Jul 13 2010 Orion Poplawski <orion@cora.nwra.com> 0:3.2.1-2
|
|
|
|
- Change depmap parent id to asm (bug #606659)
|
|
|
|
|
2010-04-15 22:06:40 +00:00
|
|
|
* Thu Apr 15 2010 Fernando Nasser <fnasser@redhat.com> 0:3.2.1
|
|
|
|
- Upgrade to 3.2
|
|
|
|
|
2009-07-25 19:48:39 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.1-7.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 06:41:44 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.1-6.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2014-05-01 13:51:40 +00:00
|
|
|
* Thu Oct 23 2008 David Walluck <dwalluck@redhat.com> 0:3.1-5.1
|
2008-10-23 19:08:19 +00:00
|
|
|
- build for Fedora
|
|
|
|
|
2014-05-01 13:51:40 +00:00
|
|
|
* Thu Oct 23 2008 David Walluck <dwalluck@redhat.com> 0:3.1-5
|
2008-10-23 19:08:19 +00:00
|
|
|
- add OSGi manifest (Alexander Kurtakov)
|
|
|
|
|
|
|
|
* Mon Oct 20 2008 David Walluck <dwalluck@redhat.com> 0:3.1-4
|
|
|
|
- remove Class-Path from MANIFEST.MF
|
|
|
|
- add unversioned javadoc symlink
|
|
|
|
- remove javadoc scriptlets
|
|
|
|
- fix directory ownership
|
|
|
|
- remove build requirement on dos2unix
|
|
|
|
|
|
|
|
* Fri Feb 08 2008 Ralph Apel <r.apel@r-apel.de> - 0:3.1-3jpp
|
|
|
|
- Add poms and depmap frags with groupId of org.objectweb.asm !
|
|
|
|
- Add asm-all.jar
|
|
|
|
- Add -javadoc Requires post and postun
|
|
|
|
- Restore Vendor, Distribution
|
2007-12-04 20:48:22 +00:00
|
|
|
|
2007-12-04 20:43:37 +00:00
|
|
|
* Thu Nov 22 2007 Fernando Nasser <fnasser@redhat.com> - 0:3.1-2jpp
|
|
|
|
- Fix EOL of txt files
|
|
|
|
- Add dependency on jaxp
|
|
|
|
|
|
|
|
* Thu Nov 22 2007 Fernando Nasser <fnasser@redhat.com> - 0:3.1-1jpp
|
|
|
|
- Upgrade to 3.1
|
|
|
|
|
|
|
|
* Wed Aug 22 2007 Fernando Nasser <fnasser@redhat.com> - 0:3.0-1jpp
|
|
|
|
- Upgrade to 3.0
|
|
|
|
- Rename to include objectweb- prefix as requested by ObjectWeb
|
|
|
|
|
|
|
|
* Thu Jan 05 2006 Fernando Nasser <fnasser@redhat.com> - 0:2.1-2jpp
|
|
|
|
- First JPP 1.7 build
|
|
|
|
|
|
|
|
* Thu Oct 06 2005 Ralph Apel <r.apel at r-apel.de> 0:2.1-1jpp
|
|
|
|
- Upgrade to 2.1
|
|
|
|
|
|
|
|
* Fri Mar 11 2005 Sebastiano Vigna <vigna at acm.org> 0:2.0.RC1-1jpp
|
|
|
|
- First release of the 2.0 line.
|