Blame SPECS/objectweb-asm.spec

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