[Jpackage-commits] dist/xmlbeans/devel .cvsignore, 1.1, 1.2 sources, 1.1, 1.2 xmlbeans-2.3.0.pom, NONE, 1.1 xmlbeans-qname-2.3.0.pom, NONE, 1.1 xmlbeans-xmlpublic-2.3.0.pom, NONE, 1.1 xmlbeans-xpath-2.3.0.pom, NONE, 1.1 xmlbeans.spec, NONE, 1.1

David Walluck david at ryu.zarb.org
Fri Feb 27 22:01:59 CET 2009


Update of /home/projects/jpackage/cvs/dist/xmlbeans/devel
In directory ryu.zarb.org:/tmp/cvs-serv22104/devel

Modified Files:
	.cvsignore sources 
Added Files:
	xmlbeans-2.3.0.pom xmlbeans-qname-2.3.0.pom 
	xmlbeans-xmlpublic-2.3.0.pom xmlbeans-xpath-2.3.0.pom 
	xmlbeans.spec 
Log Message:
- initial import

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/xmlbeans/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	27 Feb 2009 20:57:59 -0000	1.1
--- .cvsignore	27 Feb 2009 21:01:56 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ xmlbeans-2.3.0-src.tgz

--- NEW FILE: xmlbeans-2.3.0.pom ---
<project>
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.apache.xmlbeans</groupId>
    <artifactId>xmlbeans</artifactId>
    <version>2.3.0</version>

    <name>XmlBeans</name>
    <description>XmlBeans main jar</description>
    <url>http://xmlbeans.apache.org</url>

    <issueManagement>
        <system>jira</system>
        <url>http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10436</url>
    </issueManagement>

    <mailingLists>
        <mailingList>
            <name>XmlBeans User List</name>
            <subscribe>user-subscribe at xmlbeans.apache.org</subscribe>
            <unsubscribe>users-unsubscribe at xmlbeans.apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-user/</archive>
        </mailingList>
        <mailingList>
            <name>XmlBeans Developer List</name>
            <subscribe>dev-subscribe at xmlbeans.apache.org</subscribe>
            <unsubscribe>dev-unsubscribe at xmlbeans.apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-dev/</archive>
        </mailingList>
        <mailingList>
            <name>Source Control List</name>
            <subscribe>commits-subscribe at xmlbeans.apache.org</subscribe>
            <unsubscribe>commits-unsubscribe at xmlbeans.apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-commits/</archive>
        </mailingList>
    </mailingLists>

    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <scm>
        <connection>scm:svn:https://svn.apache.org/repos/asf/xmlbeans/</connection>
        <developerConnection>scm:svn:https://${maven.username}@svn.apache.org/repos/asf/xmlbeans/</developerConnection>
        <url>https://svn.apache.org/repos/asf/xmlbeans/</url>
    </scm>

    <organization>
        <name>XmlBeans</name>
        <url>http://xmlbeans.apache.org/</url>
    </organization>

    <developers>
        <developer>
            <name>Cezar Andrei</name>
            <id>cezar</id>
            <email>cezar.andrei at no#spam#!bea.com</email>
            <organization></organization>
        </developer>

        <developer>
            <name>David Bau</name>
            <id>dbau</id>
            <email>david.bau at no#spam.google.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Patrick Calahan</name>
            <id></id>
            <email>pcal at no#spam.bea.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Yana Kadiyska</name>
            <id></id>
            <email>ykadiysk at no#spam#!bea.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Ken Kress</name>
            <id></id>
            <email>ken at nos#pam.kress.org</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Kevin Krouse</name>
            <id></id>
            <email>kkrouse at n#osp#am.apache.org</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Laurence Moroney</name>
            <id></id>
            <email>laurence.moroney at nospa#m.reuters.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Radu Preotiuc</name>
            <id>radup</id>
            <email>radu.preotiuc-pietro at nos#pam.bea.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Cliff Schmidt</name>
            <id></id>
            <email>cliffschmidt at n#osp#am!gmail.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Dutta Satadip</name>
            <id></id>
            <email>s-dutta at no#spam.sbcglobal.net</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Eric Vasilik</name>
            <id></id>
            <email>eric at nos#pam.vasilik.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>David Waite</name>
            <id></id>
            <email>dwaite at no#spam.apache.org</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Scott Ziegler</name>
            <id></id>
            <email>scott.ziegler at n#ospam.bea.com</email>
            <organization></organization>
        </developer>

    </developers>

    <dependencies>
        <dependency>
            <groupId>stax</groupId>
            <artifactId>stax-api</artifactId>
            <version>1.0.1</version>
        </dependency>
    </dependencies>

</project>

--- NEW FILE: xmlbeans-qname-2.3.0.pom ---
<project>
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.apache.xmlbeans</groupId>
    <artifactId>xmlbeans-qname</artifactId>
    <version>2.3.0</version>

    <name>XmlBeans</name>
    <description>Jar that enables XmlBeans to run under JDK 1.4</description>
    <url>http://xmlbeans.apache.org</url>

    <issueManagement>
        <system>jira</system>
        <url>http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10436</url>
    </issueManagement>

    <mailingLists>
        <mailingList>
            <name>XmlBeans User List</name>
            <subscribe>user-subscribe at xmlbeans.apache.org</subscribe>
            <unsubscribe>users-unsubscribe at xmlbeans.apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-user/</archive>
        </mailingList>
        <mailingList>
            <name>XmlBeans Developer List</name>
            <subscribe>dev-subscribe at xmlbeans.apache.org</subscribe>
            <unsubscribe>dev-unsubscribe at xmlbeans.apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-dev/</archive>
        </mailingList>
        <mailingList>
            <name>Source Control List</name>
            <subscribe>commits-subscribe at xmlbeans.apache.org</subscribe>
            <unsubscribe>commits-unsubscribe at xmlbeans.apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-commits/</archive>
        </mailingList>
    </mailingLists>

    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <scm>
        <connection>scm:svn:https://svn.apache.org/repos/asf/xmlbeans/</connection>
        <developerConnection>scm:svn:https://${maven.username}@svn.apache.org/repos/asf/xmlbeans/</developerConnection>
        <url>https://svn.apache.org/repos/asf/xmlbeans/</url>
    </scm>

    <organization>
        <name>XmlBeans</name>
        <url>http://xmlbeans.apache.org/</url>
    </organization>

    <developers>
        <developer>
            <name>Cezar Andrei</name>
            <id>cezar</id>
            <email>cezar.andrei at no#spam#!bea.com</email>
            <organization></organization>
        </developer>

        <developer>
            <name>David Bau</name>
            <id>dbau</id>
            <email>david.bau at no#spam.google.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Patrick Calahan</name>
            <id></id>
            <email>pcal at no#spam.bea.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Yana Kadiyska</name>
            <id></id>
            <email>ykadiysk at no#spam#!bea.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Ken Kress</name>
            <id></id>
            <email>ken at nos#pam.kress.org</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Kevin Krouse</name>
            <id></id>
            <email>kkrouse at n#osp#am.apache.org</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Laurence Moroney</name>
            <id></id>
            <email>laurence.moroney at nospa#m.reuters.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Radu Preotiuc</name>
            <id>radup</id>
            <email>radu.preotiuc-pietro at nos#pam.bea.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Cliff Schmidt</name>
            <id></id>
            <email>cliffschmidt at n#osp#am!gmail.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Dutta Satadip</name>
            <id></id>
            <email>s-dutta at no#spam.sbcglobal.net</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Eric Vasilik</name>
            <id></id>
            <email>eric at nos#pam.vasilik.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>David Waite</name>
            <id></id>
            <email>dwaite at no#spam.apache.org</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Scott Ziegler</name>
            <id></id>
            <email>scott.ziegler at n#ospam.bea.com</email>
            <organization></organization>
        </developer>

    </developers>

    <dependencies>
    </dependencies>

</project>

Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/xmlbeans/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	27 Feb 2009 20:57:59 -0000	1.1
--- sources	27 Feb 2009 21:01:56 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ fa4a02f4d0ebd616eecb7995931ed5eb  xmlbeans-2.3.0-src.tgz

--- NEW FILE: xmlbeans-xpath-2.3.0.pom ---
<project>
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.apache.xmlbeans</groupId>
    <artifactId>xmlbeans-xpath</artifactId>
    <version>2.3.0</version>

    <name>XmlBeansXPath</name>
    <description>XmlBeans extended XPath and XQuery support</description>
    <url>http://xmlbeans.apache.org</url>

    <issueManagement>
        <system>jira</system>
        <url>http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10436</url>
    </issueManagement>

    <mailingLists>
        <mailingList>
            <name>XmlBeans User List</name>
            <subscribe>user-subscribe at xmlbeans.apache.org</subscribe>
            <unsubscribe>users-unsubscribe at xmlbeans.apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-user/</archive>
        </mailingList>
        <mailingList>
            <name>XmlBeans Developer List</name>
            <subscribe>dev-subscribe at xmlbeans.apache.org</subscribe>
            <unsubscribe>dev-unsubscribe at xmlbeans.apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-dev/</archive>
        </mailingList>
        <mailingList>
            <name>Source Control List</name>
            <subscribe>commits-subscribe at xmlbeans.apache.org</subscribe>
            <unsubscribe>commits-unsubscribe at xmlbeans.apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-commits/</archive>
        </mailingList>
    </mailingLists>

    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <scm>
        <connection>scm:svn:https://svn.apache.org/repos/asf/xmlbeans/</connection>
        <developerConnection>scm:svn:https://${maven.username}@svn.apache.org/repos/asf/xmlbeans/</developerConnection>
        <url>https://svn.apache.org/repos/asf/xmlbeans/</url>
    </scm>

    <organization>
        <name>XmlBeans</name>
        <url>http://xmlbeans.apache.org/</url>
    </organization>

    <developers>
        <developer>
            <name>Cezar Andrei</name>
            <id>cezar</id>
            <email>cezar.andrei at no#spam#!bea.com</email>
            <organization></organization>
        </developer>

        <developer>
            <name>David Bau</name>
            <id>dbau</id>
            <email>david.bau at no#spam.google.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Patrick Calahan</name>
            <id></id>
            <email>pcal at no#spam.bea.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Yana Kadiyska</name>
            <id></id>
            <email>ykadiysk at no#spam#!bea.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Ken Kress</name>
            <id></id>
            <email>ken at nos#pam.kress.org</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Kevin Krouse</name>
            <id></id>
            <email>kkrouse at n#osp#am.apache.org</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Laurence Moroney</name>
            <id></id>
            <email>laurence.moroney at nospa#m.reuters.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Radu Preotiuc</name>
            <id>radup</id>
            <email>radu.preotiuc-pietro at nos#pam.bea.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Cliff Schmidt</name>
            <id></id>
            <email>cliffschmidt at n#osp#am!gmail.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Dutta Satadip</name>
            <id></id>
            <email>s-dutta at no#spam.sbcglobal.net</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Eric Vasilik</name>
            <id></id>
            <email>eric at nos#pam.vasilik.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>David Waite</name>
            <id></id>
            <email>dwaite at no#spam.apache.org</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Scott Ziegler</name>
            <id></id>
            <email>scott.ziegler at n#ospam.bea.com</email>
            <organization></organization>
        </developer>

    </developers>

    <dependencies>
        <dependency>
            <groupId>org.apache.xmlbeans</groupId>
            <artifactId>xmlbeans</artifactId>
            <version>2.3.0</version>
        </dependency>
        <dependency>
            <groupId>net.sf.saxon</groupId>
            <artifactId>saxon</artifactId>
            <version>8.7</version>
        </dependency>
    </dependencies>

</project>

--- NEW FILE: xmlbeans-xmlpublic-2.3.0.pom ---
<project>
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.apache.xmlbeans</groupId>
    <artifactId>xmlbeans-xmlpublic</artifactId>
    <version>2.3.0</version>

    <name>XmlPublic</name>
    <description>XmlBeans Public interfaces</description>
    <url>http://xmlbeans.apache.org</url>

    <issueManagement>
        <system>jira</system>
        <url>http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10436</url>
    </issueManagement>

    <mailingLists>
        <mailingList>
            <name>XmlBeans User List</name>
            <subscribe>user-subscribe at xmlbeans.apache.org</subscribe>
            <unsubscribe>users-unsubscribe at xmlbeans.apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-user/</archive>
        </mailingList>
        <mailingList>
            <name>XmlBeans Developer List</name>
            <subscribe>dev-subscribe at xmlbeans.apache.org</subscribe>
            <unsubscribe>dev-unsubscribe at xmlbeans.apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-dev/</archive>
        </mailingList>
        <mailingList>
            <name>Source Control List</name>
            <subscribe>commits-subscribe at xmlbeans.apache.org</subscribe>
            <unsubscribe>commits-unsubscribe at xmlbeans.apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-commits/</archive>
        </mailingList>
    </mailingLists>

    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <scm>
        <connection>scm:svn:https://svn.apache.org/repos/asf/xmlbeans/</connection>
        <developerConnection>scm:svn:https://${maven.username}@svn.apache.org/repos/asf/xmlbeans/</developerConnection>
        <url>https://svn.apache.org/repos/asf/xmlbeans/</url>
    </scm>

    <organization>
        <name>XmlBeans</name>
        <url>http://xmlbeans.apache.org/</url>
    </organization>

    <developers>
        <developer>
            <name>Cezar Andrei</name>
            <id>cezar</id>
            <email>cezar.andrei at no#spam#!bea.com</email>
            <organization></organization>
        </developer>

        <developer>
            <name>David Bau</name>
            <id>dbau</id>
            <email>david.bau at no#spam.google.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Patrick Calahan</name>
            <id></id>
            <email>pcal at no#spam.bea.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Yana Kadiyska</name>
            <id></id>
            <email>ykadiysk at no#spam#!bea.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Ken Kress</name>
            <id></id>
            <email>ken at nos#pam.kress.org</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Kevin Krouse</name>
            <id></id>
            <email>kkrouse at n#osp#am.apache.org</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Laurence Moroney</name>
            <id></id>
            <email>laurence.moroney at nospa#m.reuters.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Radu Preotiuc</name>
            <id>radup</id>
            <email>radu.preotiuc-pietro at nos#pam.bea.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Cliff Schmidt</name>
            <id></id>
            <email>cliffschmidt at n#osp#am!gmail.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Dutta Satadip</name>
            <id></id>
            <email>s-dutta at no#spam.sbcglobal.net</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Eric Vasilik</name>
            <id></id>
            <email>eric at nos#pam.vasilik.com</email>
            <organization></organization>
        </developer>
        <developer>
            <name>David Waite</name>
            <id></id>
            <email>dwaite at no#spam.apache.org</email>
            <organization></organization>
        </developer>
        <developer>
            <name>Scott Ziegler</name>
            <id></id>
            <email>scott.ziegler at n#ospam.bea.com</email>
            <organization></organization>
        </developer>

    </developers>

    <dependencies>
        <dependency>
            <groupId>stax</groupId>
            <artifactId>stax-api</artifactId>
            <version>1.0.1</version>
        </dependency>
    </dependencies>

</project>

--- NEW FILE: xmlbeans.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 gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}

# If you don't want to build maven plugin
# give rpmbuild option '--without maven'

%define with_maven %{!?_without_maven:1}%{?_without_maven:0}
%define without_maven %{?_without_maven:1}%{!?_without_maven:0}

%define section         free
%define source_top      %{name}-%{cvs_version}

Summary:        XML-Java binding tool
URL:            http://xmlbeans.apache.org
Source0:        xmlbeans-2.3.0-src.tgz
# svn export http://svn.apache.org/repos/asf/xmlbeans/tags/2.1.0
Source1:        http://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.pom
Source2:        http://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans-xpath/2.3.0/xmlbeans-xpath-2.3.0.pom
Source3:        http://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans-xmlpublic/2.3.0/xmlbeans-xmlpublic-2.3.0.pom
Source4:        http://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans-qname/2.3.0/xmlbeans-qname-2.3.0.pom

Name:           xmlbeans
Version:        2.3.0
Release:        1%{dist}
Epoch:          0
License:        Apache Software License 2
Group:          Development/Libraries/Java
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
BuildRequires:  jpackage-utils >= 0:1.7.5
BuildRequires:  ant >= 0:1.6.5
BuildRequires:  ant-junit
BuildRequires:  ant-nodeps
#BuildRequires:  ant-contrib
BuildRequires:  junit
BuildRequires:  xml-commons-resolver11
BuildRequires:  stax_1_0_api
BuildRequires:  saxon8
BuildRequires:  saxon8-dom
BuildRequires:  saxon8-xpath
Requires:  jpackage-utils >= 0:1.7.5
Requires:  stax_1_0_api
Requires(post):   jpackage-utils >= 0:1.7.5
Requires(postun): jpackage-utils >= 0:1.7.5

%if %{gcj_support}
BuildRequires:          gnu-crypto
BuildRequires:          java-gcj-compat-devel
Requires(post):         java-gcj-compat
Requires(postun):       java-gcj-compat
%endif
%if ! %{gcj_support}
BuildArch:      noarch
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
XMLBeans is a tool that allows you to access the full power 
of XML in a Java friendly way. It is an XML-Java binding tool. 
The idea is that you can take advantage the richness and 
features of XML and XML Schema and have these features mapped 
as naturally as possible to the equivalent Java language and 
typing constructs. XMLBeans uses XML Schema to compile Java 
interfaces and classes that you can then use to access and 
modify XML instance data. Using XMLBeans is similar to using 
any other Java interface/class, you will see things like 
getFoo or setFoo just as you would expect when working with 
Java. While a major use of XMLBeans is to access your XML 
instance data with strongly typed Java classes there are also 
API's that allow you access to the full XML infoset (XMLBeans 
keeps full XML Infoset fidelity) as well as to allow you to 
reflect into the XML schema itself through an XML Schema 
Object model.

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

%description javadoc
%{summary}.

%package manual
Summary:        Documents for %{name}
Group:          Development/Documentation

%description manual
%{summary}.

%package scripts
Summary:        Scripts for %{name}
Group:          Development/Tools
Requires:       %{name} = %{epoch}:%{version}

%description scripts
%{summary}.

%prep
%setup -q -n %{name}-%{version}
chmod -R go=u-w *
for j in $(find . -name "*.jar"); do
    jj=$(basename $j)
    m=$(expr $jj : '\(piccolo_apache_dist\).*') || :
    n=$(expr $jj : '\(jam-\).*') || :
    if [ "$m" != "piccolo_apache_dist" -a "$n" != "jam-" ]; then
       mv $j $j.no
    fi
done
mkdir -p build/lib
pushd build/lib
ln -sf $(build-classpath xml-commons-resolver) resolver.jar
ln -sf $(build-classpath stax_1_0_api) jsr173_1.0_api.jar
popd


pushd external/lib
mv oldxbean.jar.no oldxbean.jar
ln -sf $(build-classpath stax_1_0_api) jsr173_1.0_api_bundle.jar
mkdir -p xcresolver.zipexternal/lib/
touch xcresolver.zipexternal/lib/xcresolver.zip
popd


%build
export XMLBEANS_EXTERNALS=/usr/share/java
export XMLBEANS_HOME=`pwd`
ant default docs 

%install
rm -rf $RPM_BUILD_ROOT

# jar
install -d -m 0755 $RPM_BUILD_ROOT%{_javadir}/%{name}
install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms

install -m 0644 build/lib/xmlbeans-qname.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/xmlbeans-qname-%{version}.jar
install -m 0644 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-xmlbeans-qname.pom
%add_to_maven_depmap org.apache.xmlbeans xmlbeans-qname %{version} JPP/%{name} xmlbeans-qname

install -m 0644 build/lib/xmlpublic.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/xmlpublic-%{version}.jar
install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-xmlpublic.pom
%add_to_maven_depmap org.apache.xmlbeans xmlbeans-xmlpublic %{version} JPP/%{name} xmlpublic

install -m 0644 build/lib/xbean_xpath.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/xbean_xpath-%{version}.jar
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-xbean_xpath.pom
%add_to_maven_depmap org.apache.xmlbeans xmlbeans-xpath %{version} JPP/%{name} xbean_xpath

install -m 0644 build/lib/xbean.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/xbean-%{version}.jar
install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-xbean.pom
%add_to_maven_depmap org.apache.xmlbeans xmlbeans %{version} JPP/%{name} xbean

ln -s xmlbeans-qname-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/xmlbeans-qname.jar
ln -s xmlpublic-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/xmlpublic.jar
ln -s xbean_xpath-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/xbean_xpath.jar
ln -s xbean-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/xbean.jar


# bin
install -d -m 0755 $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/dumpxsb   $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/inst2xsd  $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/scomp     $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/sdownload $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/sfactor   $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/svalidate $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/validate  $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/xpretty   $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/xsd2inst  $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/xsdtree   $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 bin/xstc      $RPM_BUILD_ROOT%{_bindir}


# javadoc
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr build/docs/reference/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
rm -rf build/docs/reference

# manual
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
cp -pr build/docs/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
cp LICENSE.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}

%if %{gcj_support}
export CLASSPATH=$(build-classpath gnu-crypto)
%{_bindir}/aot-compile-rpm
%endif

%clean
rm -rf $RPM_BUILD_ROOT

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

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

%post
%update_maven_depmap
%if %{gcj_support}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
  %{_bindir}/rebuild-gcj-db
fi
%endif

%postun
%update_maven_depmap
%if %{gcj_support}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
  %{_bindir}/rebuild-gcj-db
fi
%endif

%files
%defattr(-,root,root,-)
%{_docdir}/%{name}-%{version}/LICENSE.txt
%dir %{_javadir}/%{name}
%{_javadir}/%{name}/*.jar
%{_datadir}/maven2/poms
%{_mavendepmapfragdir}
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/x*-%{version}.jar.*
%endif

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

%files manual
%defattr(0644,root,root,0755)
%{_docdir}/%{name}-%{version}

%files scripts
%defattr(0644,root,root,0755)
%attr(0755,root,root) %{_bindir}/*


%changelog
* Tue Jun 17 2008 Ralph Apel <r.apel at r-apel.de> 0:2.3.0-1.jpp5
- 2.3.0
- Drop ant-contrib BR
- Add saxon8-dom BR

* Thu Mar 01 2007 Ralph Apel <r.apel at r-apel.de> 0:2.1.0-4jpp
- Optionally omit build of maven plugin while bootstrapping

* Wed Sep 06 2006 Ralph Apel <r.apel at r-apel.de> 0:2.1.0-3jpp
- BuildRequire saxon8 instead of saxonb8
- (B)Require bea-stax-api instead of bea-stax
- Patch maven-plugin's project.xml for bea-stax-api instead of stax-bea-api
- Patch XbeanXQuery to saxon 8.7
- Add gcj_support option
- Add post/postun Requires for javadoc

* Wed Feb 01 2006 Ralph Apel <r.apel at r-apel.de> 0:2.1.0-2jpp
- Install plugin to /usr/share/maven/repository/JPP/plugins

* Mon Jan 30 2006 Ralph Apel <r.apel at r-apel.de> 0:2.1.0-1jpp
- Upgrade to 2.1.0
- Add -maven-plugin subpackage

* Fri Jun 03 2005 Fernando Nasser <fnasser at redhat.com> 0:1.0.4-2jpp
- Add missing build requires for jaxen

* Fri Jun 03 2005 Fernando Nasser <fnasser at redhat.com> 0:1.0.4-1jpp
- Upgrade to 1.0.4

* Thu Sep 30 2004 Ralph Apel <r.apel at r-apel.de> 0:1.0.3-1jpp
- First JPackage build 





More information about the JPackage-commits mailing list