|
|
209ba3 |
# Copyright (c) 2000-2008, JPackage Project
|
|
|
209ba3 |
# All rights reserved.
|
|
|
209ba3 |
#
|
|
|
209ba3 |
# Redistribution and use in source and binary forms, with or without
|
|
|
209ba3 |
# modification, are permitted provided that the following conditions
|
|
|
209ba3 |
# are met:
|
|
|
209ba3 |
#
|
|
|
209ba3 |
# 1. Redistributions of source code must retain the above copyright
|
|
|
209ba3 |
# notice, this list of conditions and the following disclaimer.
|
|
|
209ba3 |
# 2. Redistributions in binary form must reproduce the above copyright
|
|
|
209ba3 |
# notice, this list of conditions and the following disclaimer in the
|
|
|
209ba3 |
# documentation and/or other materials provided with the
|
|
|
209ba3 |
# distribution.
|
|
|
209ba3 |
# 3. Neither the name of the JPackage Project nor the names of its
|
|
|
209ba3 |
# contributors may be used to endorse or promote products derived
|
|
|
209ba3 |
# from this software without specific prior written permission.
|
|
|
209ba3 |
#
|
|
|
209ba3 |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
209ba3 |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
209ba3 |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
209ba3 |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
209ba3 |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
209ba3 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
209ba3 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
209ba3 |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
209ba3 |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
209ba3 |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
209ba3 |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
209ba3 |
#
|
|
|
209ba3 |
|
|
|
209ba3 |
Name: objectweb-asm
|
|
|
209ba3 |
Version: 3.3.1
|
|
|
937363 |
Release: 9%{?dist}
|
|
|
209ba3 |
Epoch: 0
|
|
|
209ba3 |
Summary: A code manipulation tool to implement adaptable systems
|
|
|
209ba3 |
License: BSD
|
|
|
209ba3 |
URL: http://asm.objectweb.org/
|
|
|
209ba3 |
Group: Development/Libraries/Java
|
|
|
209ba3 |
Source0: http://download.forge.objectweb.org/asm/asm-3.3.1.tar.gz
|
|
|
209ba3 |
Source1: asm-MANIFEST.MF
|
|
|
209ba3 |
Patch0: objectweb-asm-no-classpath-in-manifest.patch
|
|
|
209ba3 |
# Needed by asm-xml.jar
|
|
|
209ba3 |
Requires: xml-commons-jaxp-1.3-apis
|
|
|
209ba3 |
Requires(post): jpackage-utils >= 0:1.7.4
|
|
|
209ba3 |
Requires(postun): jpackage-utils >= 0:1.7.4
|
|
|
209ba3 |
BuildRequires: jpackage-utils >= 0:1.7.4
|
|
|
209ba3 |
BuildRequires: java-devel >= 0:1.5.0
|
|
|
209ba3 |
BuildRequires: ant >= 0:1.6.5
|
|
|
209ba3 |
BuildRequires: objectweb-anttask
|
|
|
209ba3 |
BuildRequires: xml-commons-jaxp-1.3-apis
|
|
|
209ba3 |
BuildRequires: zip
|
|
|
209ba3 |
BuildArch: noarch
|
|
|
209ba3 |
|
|
|
209ba3 |
%description
|
|
|
209ba3 |
ASM is a code manipulation tool to implement adaptable systems.
|
|
|
209ba3 |
|
|
|
209ba3 |
%package javadoc
|
|
|
209ba3 |
Summary: Javadoc for %{name}
|
|
|
209ba3 |
Group: Documentation
|
|
|
209ba3 |
|
|
|
209ba3 |
%description javadoc
|
|
|
209ba3 |
Javadoc for %{name}.
|
|
|
209ba3 |
|
|
|
209ba3 |
%prep
|
|
|
209ba3 |
%setup -q -n asm-%{version}
|
|
|
209ba3 |
%patch0 -p1
|
|
|
209ba3 |
perl -pi -e 's/\r$//g' LICENSE.txt README.txt
|
|
|
209ba3 |
|
|
|
209ba3 |
mkdir META-INF
|
|
|
209ba3 |
cp -p %{SOURCE1} META-INF/MANIFEST.MF
|
|
|
209ba3 |
|
|
|
209ba3 |
%build
|
|
|
209ba3 |
ant -Dobjectweb.ant.tasks.path=$(build-classpath objectweb-anttask) jar jdoc
|
|
|
209ba3 |
|
|
|
209ba3 |
%install
|
|
|
209ba3 |
# jars
|
|
|
209ba3 |
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name}
|
|
|
209ba3 |
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
|
|
209ba3 |
|
|
|
209ba3 |
for jar in output/dist/lib/*.jar; do
|
|
|
209ba3 |
install -m 644 ${jar} \
|
|
|
209ba3 |
$RPM_BUILD_ROOT%{_javadir}/%{name}/`basename ${jar/-%{version}/}`
|
|
|
209ba3 |
done
|
|
|
209ba3 |
|
|
|
209ba3 |
touch META-INF/MANIFEST.MF
|
|
|
209ba3 |
zip -u output/dist/lib/all/asm-all-%{version}.jar META-INF/MANIFEST.MF
|
|
|
209ba3 |
|
|
|
209ba3 |
install -m 644 output/dist/lib/all/asm-all-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/asm-all.jar
|
|
|
209ba3 |
install -m 644 output/dist/lib/all/asm-all-%{version}.pom $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.objectweb-asm-asm-all.pom
|
|
|
209ba3 |
|
|
|
209ba3 |
# pom
|
|
|
209ba3 |
for pom in output/dist/lib/*.pom; do
|
|
|
209ba3 |
install -m 644 ${pom} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.objectweb-asm-`basename ${pom/-%{version}/}`
|
|
|
209ba3 |
done
|
|
|
209ba3 |
%add_maven_depmap JPP.objectweb-asm-asm.pom %{name}/asm.jar
|
|
|
209ba3 |
%add_maven_depmap JPP.objectweb-asm-asm-analysis.pom %{name}/asm-analysis.jar
|
|
|
209ba3 |
%add_maven_depmap JPP.objectweb-asm-asm-commons.pom %{name}/asm-commons.jar
|
|
|
209ba3 |
%add_maven_depmap JPP.objectweb-asm-asm-tree.pom %{name}/asm-tree.jar
|
|
|
209ba3 |
%add_maven_depmap JPP.objectweb-asm-asm-util.pom %{name}/asm-util.jar
|
|
|
209ba3 |
%add_maven_depmap JPP.objectweb-asm-asm-xml.pom %{name}/asm-xml.jar
|
|
|
209ba3 |
%add_maven_depmap JPP.objectweb-asm-asm-all.pom %{name}/asm-all.jar -a "org.eclipse.jetty.orbit:org.objectweb.asm"
|
|
|
209ba3 |
%add_maven_depmap JPP.objectweb-asm-asm-parent.pom
|
|
|
209ba3 |
|
|
|
209ba3 |
# javadoc
|
|
|
209ba3 |
install -p -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
209ba3 |
cp -pr output/dist/doc/javadoc/user/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
209ba3 |
|
|
|
209ba3 |
%files
|
|
|
209ba3 |
%doc LICENSE.txt README.txt
|
|
|
209ba3 |
%dir %{_javadir}/%{name}
|
|
|
209ba3 |
%{_javadir}/%{name}/*.jar
|
|
|
209ba3 |
%{_mavenpomdir}/*
|
|
|
209ba3 |
%{_mavendepmapfragdir}/*
|
|
|
209ba3 |
|
|
|
209ba3 |
%files javadoc
|
|
|
209ba3 |
%{_javadocdir}/%{name}
|
|
|
209ba3 |
|
|
|
209ba3 |
%changelog
|
|
|
937363 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 03.3.1-9
|
|
|
937363 |
- Mass rebuild 2013-12-27
|
|
|
937363 |
|
|
|
209ba3 |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.3.1-8
|
|
|
209ba3 |
- Rebuild to regenerate API documentation
|
|
|
209ba3 |
- Resolves: CVE-2013-1571
|
|
|
209ba3 |
|
|
|
209ba3 |
* Wed Mar 6 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.3.1-7
|
|
|
209ba3 |
- Make jetty orbit depmap point to asm-all jar
|
|
|
209ba3 |
- Resolves: rhbz#917625
|
|
|
209ba3 |
|
|
|
209ba3 |
* Mon Mar 4 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.3.1-6
|
|
|
209ba3 |
- Add depmap for org.eclipse.jetty.orbit
|
|
|
209ba3 |
- Resolves: rhbz#917625
|
|
|
209ba3 |
|
|
|
209ba3 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.3.1-5
|
|
|
209ba3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
209ba3 |
|
|
|
209ba3 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.3.1-4
|
|
|
209ba3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
209ba3 |
|
|
|
209ba3 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.3.1-3
|
|
|
209ba3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
209ba3 |
|
|
|
209ba3 |
* Fri Sep 16 2011 Alexander Kurtakov <akurtako@redhat.com> 0:3.3.1-2
|
|
|
209ba3 |
- Use poms produced by the build not foreign ones.
|
|
|
209ba3 |
- Adpat to current guidelines.
|
|
|
209ba3 |
|
|
|
209ba3 |
* Mon Apr 04 2011 Chris Aniszczyk <zx@redhat.com> 0:3.3.1
|
|
|
209ba3 |
- Upgrade to 3.3.1
|
|
|
209ba3 |
|
|
|
209ba3 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.2-3
|
|
|
209ba3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
209ba3 |
|
|
|
209ba3 |
* Tue Jul 13 2010 Orion Poplawski <orion@cora.nwra.com> 0:3.2.1-2
|
|
|
209ba3 |
- Change depmap parent id to asm (bug #606659)
|
|
|
209ba3 |
|
|
|
209ba3 |
* Thu Apr 15 2010 Fernando Nasser <fnasser@redhat.com> 0:3.2.1
|
|
|
209ba3 |
- Upgrade to 3.2
|
|
|
209ba3 |
|
|
|
209ba3 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.1-7.1
|
|
|
209ba3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
209ba3 |
|
|
|
209ba3 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.1-6.1
|
|
|
209ba3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
209ba3 |
|
|
|
209ba3 |
* Tue Oct 23 2008 David Walluck <dwalluck@redhat.com> 0:3.1-5.1
|
|
|
209ba3 |
- build for Fedora
|
|
|
209ba3 |
|
|
|
209ba3 |
* Tue Oct 23 2008 David Walluck <dwalluck@redhat.com> 0:3.1-5
|
|
|
209ba3 |
- add OSGi manifest (Alexander Kurtakov)
|
|
|
209ba3 |
|
|
|
209ba3 |
* Mon Oct 20 2008 David Walluck <dwalluck@redhat.com> 0:3.1-4
|
|
|
209ba3 |
- remove Class-Path from MANIFEST.MF
|
|
|
209ba3 |
- add unversioned javadoc symlink
|
|
|
209ba3 |
- remove javadoc scriptlets
|
|
|
209ba3 |
- fix directory ownership
|
|
|
209ba3 |
- remove build requirement on dos2unix
|
|
|
209ba3 |
|
|
|
209ba3 |
* Fri Feb 08 2008 Ralph Apel <r.apel@r-apel.de> - 0:3.1-3jpp
|
|
|
209ba3 |
- Add poms and depmap frags with groupId of org.objectweb.asm !
|
|
|
209ba3 |
- Add asm-all.jar
|
|
|
209ba3 |
- Add -javadoc Requires post and postun
|
|
|
209ba3 |
- Restore Vendor, Distribution
|
|
|
209ba3 |
|
|
|
209ba3 |
* Thu Nov 22 2007 Fernando Nasser <fnasser@redhat.com> - 0:3.1-2jpp
|
|
|
209ba3 |
- Fix EOL of txt files
|
|
|
209ba3 |
- Add dependency on jaxp
|
|
|
209ba3 |
|
|
|
209ba3 |
* Thu Nov 22 2007 Fernando Nasser <fnasser@redhat.com> - 0:3.1-1jpp
|
|
|
209ba3 |
- Upgrade to 3.1
|
|
|
209ba3 |
|
|
|
209ba3 |
* Wed Aug 22 2007 Fernando Nasser <fnasser@redhat.com> - 0:3.0-1jpp
|
|
|
209ba3 |
- Upgrade to 3.0
|
|
|
209ba3 |
- Rename to include objectweb- prefix as requested by ObjectWeb
|
|
|
209ba3 |
|
|
|
209ba3 |
* Thu Jan 05 2006 Fernando Nasser <fnasser@redhat.com> - 0:2.1-2jpp
|
|
|
209ba3 |
- First JPP 1.7 build
|
|
|
209ba3 |
|
|
|
209ba3 |
* Thu Oct 06 2005 Ralph Apel <r.apel at r-apel.de> 0:2.1-1jpp
|
|
|
209ba3 |
- Upgrade to 2.1
|
|
|
209ba3 |
|
|
|
209ba3 |
* Fri Mar 11 2005 Sebastiano Vigna <vigna at acm.org> 0:2.0.RC1-1jpp
|
|
|
209ba3 |
- First release of the 2.0 line.
|