[Jpackage-commits] dist/objectweb-asm/devel .cvsignore, 1.1, 1.2 asm-3.1.pom, NONE, 1.1 asm-all-3.1.pom, NONE, 1.1 asm-analysis-3.1.pom, NONE, 1.1 asm-commons-3.1.pom, NONE, 1.1 asm-parent-3.1.pom, NONE, 1.1 asm-tree-3.1.pom, NONE, 1.1 asm-util-3.1.pom, NONE, 1.1 asm-xml-3.1.pom, NONE, 1.1 objectweb-asm.spec, NONE, 1.1 sources, 1.1, 1.2

jpackage jpackage at ryu.zarb.org
Wed May 28 21:20:11 CEST 2008


Update of /home/projects/jpackage/cvs/dist/objectweb-asm/devel
In directory ryu.zarb.org:/tmp/cvs-serv21260/devel

Modified Files:
	.cvsignore sources 
Added Files:
	asm-3.1.pom asm-all-3.1.pom asm-analysis-3.1.pom 
	asm-commons-3.1.pom asm-parent-3.1.pom asm-tree-3.1.pom 
	asm-util-3.1.pom asm-xml-3.1.pom objectweb-asm.spec 
Log Message:
Import from JPP 5.0

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/objectweb-asm/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	28 May 2008 19:19:49 -0000	1.1
--- .cvsignore	28 May 2008 19:20:09 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ asm-3.1.tar.gz

--- NEW FILE: asm-parent-3.1.pom ---
<project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                        http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <artifactId>asm-parent</artifactId>
  <groupId>org.objectweb.asm</groupId>
  <version>3.1</version>
  <packaging>pom</packaging>

  <name>ASM</name>
  <description>A very small and fast Java bytecode manipulation framework</description>
  <url>http://asm.objectweb.org/</url>
  
  <organization>
    <name>ObjectWeb</name>
    <url>http://www.objectweb.org/</url>
  </organization>
  <inceptionYear>2000</inceptionYear>

  <developers>
    <developer>
      <name>Eric Bruneton</name>
      <id>ebruneton</id>
      <email>Eric.Bruneton at rd.francetelecom.com</email>
      <roles>
        <role>Creator</role>
        <role>Java Developer</role>
      </roles>
    </developer>
    <developer>
      <name>Eugene Kuleshov</name>
      <id>eu</id>
      <email>eu at javatx.org</email>
      <roles>
        <role>Java Developer</role>
      </roles>
    </developer>
  </developers>

  <scm>
    <connection>scm:cvs:pserver:anonymous at cvs.forge.objectweb.org:/cvsroot/asm:asm</connection>
    <developerConnection>scm:cvs:ext:${maven.username}@cvs.forge.objectweb.org:/cvsroot/asm:asm</developerConnection>
    <url>http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/asm/asm/</url>
  </scm>
  
  <issueManagement>
    <url>http://forge.objectweb.org/tracker/?group_id=23</url>
  </issueManagement>

  <dependencyManagement>
    <dependencies>

      <dependency>
        <artifactId>asm</artifactId>
        <groupId>${project.groupId}</groupId>
        <version>${project.version}</version>
      </dependency>

      <dependency>
        <artifactId>asm-tree</artifactId>
        <groupId>${project.groupId}</groupId>
        <version>${project.version}</version>
      </dependency>

      <dependency>
        <artifactId>asm-analysis</artifactId>
        <groupId>${project.groupId}</groupId>
        <version>${project.version}</version>
      </dependency>

      <dependency>
        <artifactId>asm-commons</artifactId>
        <groupId>${project.groupId}</groupId>
        <version>${project.version}</version>
      </dependency>

      <dependency>
        <artifactId>asm-util</artifactId>
        <groupId>${project.groupId}</groupId>
        <version>${project.version}</version>
      </dependency>

      <dependency>
        <artifactId>asm-xml</artifactId>
        <groupId>${project.groupId}</groupId>
        <version>${project.version}</version>
      </dependency>

    </dependencies>
  </dependencyManagement>

  <mailingLists>
    <mailingList>
      <name>ASM Users List</name>
      <subscribe>sympa at ow2.org?subject=subscribe%20asm</subscribe>
      <unsubscribe>sympa at ow2.org?subject=unsubscribe%20asm</unsubscribe>
      <post>asm at ow2.org</post>
      <archive>http://www.ow2.org/wws/arc/asm</archive>
    </mailingList>
    <mailingList>
      <name>ASM Team List</name>
      <subscribe>sympa at ow2.org?subject=subscribe%20asm-team</subscribe>
      <unsubscribe>sympa at ow2.org?subject=unsubscribe%20asm-team</unsubscribe>
      <post>asm-team at ow2.org</post>
      <archive>http://www.ow2.org/wws/arc/asm-team</archive>
    </mailingList>
  </mailingLists>

  <distributionManagement>
    <downloadUrl>http://mojo.codehaus.org/my-project</downloadUrl>
    <repository>
      <id>objectweb</id>
      <uniqueVersion>false</uniqueVersion>
      <name>ObjectWeb Maven 2.0 Repository</name>
      <url>dav:https://maven.forge.objectweb.org:8002/maven2/</url>
      <layout>default</layout>
    </repository>
    <snapshotRepository>
      <id>objectweb.snapshots</id>
      <uniqueVersion>false</uniqueVersion>
      <name>ObjectWeb Maven 2.0 Snapshot Repository</name>
      <url>dav:https://maven.forge.objectweb.org:8002/maven2-snapshot/</url>
      <layout>default</layout>
    </snapshotRepository>
  </distributionManagement>

</project>

--- NEW FILE: asm-xml-3.1.pom ---
<project>
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <artifactId>asm-parent</artifactId>
    <groupId>org.objectweb.asm</groupId>
    <version>3.1</version>
  </parent>

  <name>ASM XML</name>
  <artifactId>asm-xml</artifactId>
  <packaging>jar</packaging>
  
  <dependencies>
    <dependency>
      <artifactId>asm-util</artifactId>
      <groupId>org.objectweb.asm</groupId>
    </dependency>
  </dependencies>

</project>

--- NEW FILE: asm-analysis-3.1.pom ---
<project>
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <artifactId>asm-parent</artifactId>
    <groupId>org.objectweb.asm</groupId>
    <version>3.1</version>
  </parent>

  <name>ASM Analysis</name>
  <artifactId>asm-analysis</artifactId>
  <packaging>jar</packaging>
  
  <dependencies>
    <dependency>
      <artifactId>asm-tree</artifactId>
      <groupId>org.objectweb.asm</groupId>
    </dependency>
  </dependencies>

</project>

--- NEW FILE: asm-util-3.1.pom ---
<project>
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <artifactId>asm-parent</artifactId>
    <groupId>org.objectweb.asm</groupId>
    <version>3.1</version>
  </parent>

  <name>ASM Util</name>
  <artifactId>asm-util</artifactId>
  <packaging>jar</packaging>
  
  <dependencies>
    <dependency>
      <artifactId>asm-tree</artifactId>
      <groupId>org.objectweb.asm</groupId>
    </dependency>
  </dependencies>

</project>

Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/objectweb-asm/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	28 May 2008 19:19:49 -0000	1.1
--- sources	28 May 2008 19:20:09 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ 961fe444550b328dff3cc9c8224349fd  asm-3.1.tar.gz

--- NEW FILE: objectweb-asm.spec ---
# Copyright (c) 2000-2008, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the
#    distribution.
# 3. Neither the name of the JPackage Project nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

%define section free

Name:           objectweb-asm
Version:        3.1
Release:        3jpp
Epoch:          0
Summary:        A code manipulation tool to implement adaptable systems
License:        BSD
URL:            http://asm.objectweb.org/
Group:          Development/Libraries/Java
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}

Source0:        http://download.forge.objectweb.org/asm/asm-3.1.tar.gz
Source1:        http://repo1.maven.org/maven2/asm/asm/3.1/asm-3.1.pom
Source2:        http://repo1.maven.org/maven2/asm/asm-analysis/3.1/asm-analysis-3.1.pom
Source3:        http://repo1.maven.org/maven2/asm/asm-commons/3.1/asm-commons-3.1.pom
Source4:        http://repo1.maven.org/maven2/asm/asm-tree/3.1/asm-tree-3.1.pom
Source5:        http://repo1.maven.org/maven2/asm/asm-util/3.1/asm-util-3.1.pom
Source6:        http://repo1.maven.org/maven2/asm/asm-xml/3.1/asm-xml-3.1.pom
Source7:        http://repo1.maven.org/maven2/asm/asm-all/3.1/asm-all-3.1.pom
Source8:        http://repo1.maven.org/maven2/asm/asm-parent/3.1/asm-parent-3.1.pom

BuildRequires:  jpackage-utils >= 0:1.7.4
BuildRequires:  java-devel = 0:1.5.0
BuildRequires:  ant >= 0:1.6.5
BuildRequires:  dos2unix
BuildRequires:  objectweb-anttask
BuildRequires:  xml-commons-jaxp-1.3-apis
# Needed by asm-xml.jar
Requires:       xml-commons-jaxp-1.3-apis

BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot

Requires(post):    jpackage-utils >= 0:1.7.4
Requires(postun):  jpackage-utils >= 0:1.7.4


%description
ASM is a code manipulation tool to implement adaptable systems.

%package        javadoc
Summary:        Javadoc for %{name}
Group:          Development/Documentation
Requires(post):   /bin/rm,/bin/ln
Requires(postun): /bin/rm

%description    javadoc
Javadoc for %{name}.

%prep
%setup -q -n asm-%{version}
find . -name "*.jar" -exec rm -f {} \;

%build
ant -Dobjectweb.ant.tasks.path=$(build-classpath objectweb-anttask) jar jdoc

%install
rm -rf $RPM_BUILD_ROOT

# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name}

for jar in output/dist/lib/*.jar; do
install -m 644 ${jar} \
$RPM_BUILD_ROOT%{_javadir}/%{name}/`basename ${jar}`
done
install -m 644 output/dist/lib/all/asm-all-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/

(cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for jar in *-%{version}*; do \
ln -sf ${jar} ${jar/-%{version}/}; done)


# pom
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.objectweb-asm-asm.pom
%add_to_maven_depmap org.objectweb.asm asm %{version} JPP/objectweb-asm asm
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.objectweb-asm-asm-analysis.pom
%add_to_maven_depmap org.objectweb.asm asm-analysis %{version} JPP/objectweb-asm asm-analysis
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.objectweb-asm-asm-commons.pom
%add_to_maven_depmap org.objectweb.asm asm-commons %{version} JPP/objectweb-asm asm-commons
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.objectweb-asm-asm-tree.pom
%add_to_maven_depmap org.objectweb.asm asm-tree %{version} JPP/objectweb-asm asm-tree
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.objectweb-asm-asm-util.pom
%add_to_maven_depmap org.objectweb.asm asm-util %{version} JPP/objectweb-asm asm-util
install -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.objectweb-asm-asm-xml.pom
%add_to_maven_depmap org.objectweb.asm asm-xml %{version} JPP/objectweb-asm asm-xml
install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.objectweb-asm-asm-all.pom
%add_to_maven_depmap org.objectweb.asm asm-all %{version} JPP/objectweb-asm asm-all
install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.objectweb-asm-asm-parent.pom
%add_to_maven_depmap org.objectweb.asm asm-parent %{version} JPP/objectweb-asm asm-parent

# javadoc
install -p -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr output/dist/doc/javadoc/user/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}

#Fix EOL
dos2unix README.txt
dos2unix LICENSE.txt

%clean
rm -rf $RPM_BUILD_ROOT

%post javadoc
rm -f %{_javadocdir}/%{name}
ln -s %{name}-%{version} %{_javadocdir}/%{name}

%postun javadoc
if [ "$1" = "0" ]; then
  rm -f %{_javadocdir}/%{name}
fi

%post
%update_maven_depmap

%postun
%update_maven_depmap

%files
%defattr(0644,root,root,0755)
%doc README.txt LICENSE.txt
%dir %{_javadir}/%{name}
%{_javadir}/%{name}/*.jar
%{_datadir}/maven2
%{_mavendepmapfragdir}

%files javadoc
%defattr(0644,root,root,0755)
%dir %{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}-%{version}/*

%changelog
* Fri Feb 08 2008 Ralph Apel <r.apel at 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

* Thu Nov 22 2007 Fernando Nasser <fnasser at redhat.com> - 0:3.1-2jpp
- Fix EOL of txt files
- Add dependency on jaxp 

* Thu Nov 22 2007 Fernando Nasser <fnasser at redhat.com> - 0:3.1-1jpp
- Upgrade to 3.1

* Wed Aug 22 2007 Fernando Nasser <fnasser at 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 at 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.

--- NEW FILE: asm-all-3.1.pom ---
<project>
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.objectweb.asm</groupId>
    <artifactId>asm-parent</artifactId>
    <version>3.1</version>
  </parent>

  <name>ASM All</name>
  <groupId>org.objectweb.asm</groupId>
  <artifactId>asm-all</artifactId>
  <packaging>jar</packaging>
  
</project>

--- NEW FILE: asm-tree-3.1.pom ---
<project>
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <artifactId>asm-parent</artifactId>
    <groupId>org.objectweb.asm</groupId>
    <version>3.1</version>
  </parent>

  <name>ASM Tree</name>
  <artifactId>asm-tree</artifactId>
  <packaging>jar</packaging>
  
  <dependencies>
    <dependency>
      <artifactId>asm</artifactId>
      <groupId>org.objectweb.asm</groupId>
    </dependency>
  </dependencies>

</project>

--- NEW FILE: asm-3.1.pom ---
<project>
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <artifactId>asm-parent</artifactId>
    <groupId>org.objectweb.asm</groupId>
    <version>3.1</version>
  </parent>

  <name>ASM Core</name>
  <artifactId>asm</artifactId>
  <packaging>jar</packaging>
  
</project>

--- NEW FILE: asm-commons-3.1.pom ---
<project>
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <artifactId>asm-parent</artifactId>
    <groupId>org.objectweb.asm</groupId>
    <version>3.1</version>
  </parent>

  <name>ASM Commons</name>
  <artifactId>asm-commons</artifactId>
  <packaging>jar</packaging>
  
  <dependencies>
    <dependency>
      <artifactId>asm-tree</artifactId>
      <groupId>org.objectweb.asm</groupId>
    </dependency>
  </dependencies>

</project>




More information about the JPackage-commits mailing list