[Jpackage-commits] rpms/free/atomikos-transactions-essentials atomikos-transactions-essentials-build.patch, NONE, 1.1.2.1 atomikos-transactions-essentials.spec, NONE, 1.1.2.1 atomikos-util-3.2.3.pom, NONE, 1.1.2.1 transactions-3.2.3.pom, NONE, 1.1.2.1 transactions-api-3.2.3.pom, NONE, 1.1.2.1 transactions-jta-3.2.3.pom, NONE, 1.1.2.1

jpackage jpackage at ryu.zarb.org
Sun Feb 1 16:18:36 CET 2009


Update of /home/projects/jpackage/cvs/rpms/free/atomikos-transactions-essentials
In directory ryu.zarb.org:/tmp/an1w05ahXz/rpms/free/atomikos-transactions-essentials

Added Files:
      Tag: JPACKAGE-5_0
	atomikos-transactions-essentials-build.patch 
	atomikos-transactions-essentials.spec atomikos-util-3.2.3.pom 
	transactions-3.2.3.pom transactions-api-3.2.3.pom 
	transactions-jta-3.2.3.pom 
Log Message:
3.2.3-1.jpp5

--- NEW FILE: transactions-3.2.3.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License.  You may obtain a copy of the License at
  ~
  ~   http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied.  See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->
  <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>
  <groupId>com.atomikos</groupId>
  <artifactId>transactions</artifactId>
  <version>3.2.3</version>
  <name>Atomikos Transactions</name>
  <url>http://www.atomikos.com/Main/AtomikosCommunity</url>

  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.atomikos.com/licenses/apache-license-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <organization>
    <name>The Apache Software Foundation</name>
    <url>http://www.atomikos.com</url>
  </organization>

  <dependencies>
  </dependencies>

</project>

--- NEW FILE: transactions-api-3.2.3.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License.  You may obtain a copy of the License at
  ~
  ~   http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied.  See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->
  <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>
  <groupId>com.atomikos</groupId>
  <artifactId>transactions-api</artifactId>
  <version>3.2.3</version>
  <name>Atomikos Transactions API</name>
  <url>http://www.atomikos.com/Main/AtomikosCommunity</url>

  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.atomikos.com/licenses/apache-license-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <organization>
    <name>The Apache Software Foundation</name>
    <url>http://www.atomikos.com</url>
  </organization>

  <dependencies>
  </dependencies>

</project>

--- NEW FILE: atomikos-transactions-essentials-build.patch ---
--- build.xml.sav0	2008-01-24 16:29:42.000000000 +0100
+++ build.xml	2008-09-03 17:49:46.000000000 +0200
@@ -26,13 +26,13 @@
     </target>
     
     <target name="-check-java">
-        <condition property="jdk1.4">
-            <equals arg1="${ant.java.version}" arg2="1.4"/>
+        <condition property="jdk1.5">
+            <equals arg1="${ant.java.version}" arg2="1.5"/>
         </condition>
     </target>
     
-    <target name="-warn" depends="-check-java" unless="jdk1.4">
-        <fail>PLEASE COMPILE WITH JDK 1.4 instead of ${ant.java.version}</fail>
+    <target name="-warn" depends="-check-java" unless="jdk1.5">
+        <fail>PLEASE COMPILE WITH JDK 1.5 instead of ${ant.java.version}</fail>
     </target>
     
     <target name="-warn-hibernate2" depends="-check-hibernate" unless="hibernate2.jar.present">
@@ -84,6 +84,7 @@
     </target>
     
     <target name="jars" description="(re)generates the jar files">
+<!--
         <input
             message="WARNING: about to overwrite jar files in folder ${jars.destination.dir} - continue?"
             validargs="y,n" addproperty="jars.overwrite"/>
@@ -91,6 +92,7 @@
             <equals arg1="n" arg2="${jars.overwrite}"/>
         </condition>
         <fail if="do.abort">Build aborted by user.</fail>
+-->
         <antcall target="clean"/>
         <antcall target="prepare"/>
         <antcall target="compile"/>

--- NEW FILE: atomikos-transactions-essentials.spec ---
# Copyright (c) 2000-2009, 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:           atomikos-transactions-essentials
Version:        3.2.3
Release:        1%{dist}
Epoch:          0
Summary:        Atomikos JTA/XA Kernel

Group:          Development/Libraries/Java
License:        ASL 2.0
URL:            http://www.atomikos.com/Main/AtomikosCommunity
Source0:        http://www.atomikos-support.com/downloads/transactions-essentials/3.2.3/AtomikosTransactionsEssentials-3.2.3.zip
Source1:        atomikos-util-%{version}.pom
Source2:        transactions-%{version}.pom
Source3:        transactions-api-%{version}.pom
Source4:        transactions-jta-%{version}.pom

Patch0:         atomikos-transactions-essentials-build.patch

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  jpackage-utils >= 0:1.7.5
BuildRequires:  java-devel >= 0:1.5.0
BuildRequires:  ant >= 0:1.6.5
BuildRequires:  ant-junit
BuildRequires:  ant-nodeps
BuildRequires:  ant-trax
BuildRequires:  hibernate2
BuildRequires:  hibernate3
BuildRequires:  j2ee_connector_1_5_api
BuildRequires:  jms_1_1_api
BuildRequires:  jta_1_0_1B_api
BuildRequires:  junit
BuildRequires:  servlet_2_3_api

Requires:  java >= 0:1.5.0
Requires:  j2ee_connector_1_5_api
Requires:  jms_1_1_api
Requires:  jta_1_0_1B_api
Requires:  servlet_2_3_api

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

%description
This is a free, open-source core subset of ExtremeTransactions(TM)
ideal for community purposes; only basic functionality is included.

%package        hibernate2
Summary:        Hibernate2 module for %{name}
Group:          Development/Libraries/Java
Requires:       %{name} = %{epoch}:%{version}-%{release}
Requires:       hibernate2

%description    hibernate2
%{summary}.

%package        hibernate3
Summary:        Hibernate3 module for %{name}
Group:          Development/Libraries/Java
Requires:       %{name} = %{epoch}:%{version}-%{release}
Requires:       hibernate3

%description    hibernate3
%{summary}.

%package        javadoc
Summary:        Javadoc for %{name}
Group:          Development/Documentation

%description    javadoc
%{summary}.


%prep
%setup -q -n AtomikosTransactionsEssentials-%{version}
for j in $(find . -name "*.jar"); do
    mv $j $j.no
done

%patch0 -b .sav0

ln -sf $(build-classpath j2ee_connector_1_5_api) lib/jca.jar
#BUILD/AtomikosTransactionsEssentials-3.1.1/lib/jca.jar.no
#BUILD/AtomikosTransactionsEssentials-3.1.1/lib/jmx.jar.no
ln -sf $(build-classpath jms_1_1_api) lib/jms.jar
#BUILD/AtomikosTransactionsEssentials-3.1.1/lib/jms.jar.no
ln -sf $(build-classpath jta_1_0_1B_api) lib/jta.jar
#BUILD/AtomikosTransactionsEssentials-3.1.1/lib/jta.jar.no
mv lib/ojdbc14.jar.no lib/ojdbc14.jar
#BUILD/AtomikosTransactionsEssentials-3.1.1/lib/ojdbc14.jar.no
ln -sf $(build-classpath servlet_2_3_api) lib/servlet-2.3.jar
#BUILD/AtomikosTransactionsEssentials-3.1.1/lib/servlet-2.3.jar.no
ln -sf $(build-classpath hibernate2) lib
ln -sf $(build-classpath hibernate3) lib


%build
ant 


%install
rm -rf $RPM_BUILD_ROOT

# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/atomikos
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms

install -m 644 dist/atomikos-util.jar \
  $RPM_BUILD_ROOT%{_javadir}/atomikos/atomikos-util-%{version}.jar
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.atomikos-atomikos-util.pom
%add_to_maven_depmap com.atomikos atomikos-util %{version} JPP/atomikos atomikos-util

install -m 644 dist/transactions-api.jar \
  $RPM_BUILD_ROOT%{_javadir}/atomikos/transactions-api-%{version}.jar
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.atomikos-transactions-api.pom
%add_to_maven_depmap com.atomikos transactions-api %{version} JPP/atomikos transactions-api

install -m 644 dist/transactions-hibernate2.jar \
  $RPM_BUILD_ROOT%{_javadir}/atomikos/transactions-hibernate2-%{version}.jar
install -m 644 dist/transactions-hibernate3.jar \
  $RPM_BUILD_ROOT%{_javadir}/atomikos/transactions-hibernate3-%{version}.jar

install -m 644 dist/transactions.jar \
  $RPM_BUILD_ROOT%{_javadir}/atomikos/transactions-%{version}.jar
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.atomikos-transactions.pom
%add_to_maven_depmap com.atomikos transactions %{version} JPP/atomikos transactions

install -m 644 dist/transactions-jta.jar \
  $RPM_BUILD_ROOT%{_javadir}/atomikos/transactions-jta-%{version}.jar
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.atomikos-transactions-jta.pom
%add_to_maven_depmap com.atomikos transactions-jta %{version} JPP/atomikos transactions-jta

install -m 644 dist/transactions-essentials-all.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}-all-%{version}.jar

(cd $RPM_BUILD_ROOT%{_javadir}/atomikos && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed  "s|-%{version}||g"`; done)
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed  "s|-%{version}||g"`; done)

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

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_maven_depmap

%postun
%update_maven_depmap


%files
%defattr(-,root,root,-)
%{_javadir}/*.jar
%dir %{_javadir}/atomikos
%{_javadir}/atomikos/atomikos-util*.jar
%{_javadir}/atomikos/transactions-api*.jar
%{_javadir}/atomikos/transactions-jta*.jar
%{_javadir}/atomikos/transactions-%{version}.jar
%{_javadir}/atomikos/transactions.jar
%doc license.txt
%{_datadir}/maven2/poms/*
%{_mavendepmapfragdir}/*

%files hibernate2
%defattr(-,root,root,-)
%{_javadir}/atomikos/transactions-hibernate2*.jar

%files hibernate3
%defattr(-,root,root,-)
%{_javadir}/atomikos/transactions-hibernate3*.jar

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


%changelog
* Thu Jan 08 2009 Ralph Apel <r.apel at r-apel.de> - 0:3.2.3-1.jpp5
- First release
 

--- NEW FILE: atomikos-util-3.2.3.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License.  You may obtain a copy of the License at
  ~
  ~   http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied.  See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->
  <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>
  <groupId>com.atomikos</groupId>
  <artifactId>atomikos-util</artifactId>
  <version>3.2.3</version>
  <name>Atomikos Util</name>
  <url>http://www.atomikos.com/Main/AtomikosCommunity</url>

  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.atomikos.com/licenses/apache-license-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <organization>
    <name>The Apache Software Foundation</name>
    <url>http://www.atomikos.com</url>
  </organization>

  <dependencies>
  </dependencies>

</project>

--- NEW FILE: transactions-jta-3.2.3.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License.  You may obtain a copy of the License at
  ~
  ~   http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied.  See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->
  <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>
  <groupId>com.atomikos</groupId>
  <artifactId>transactions-jta</artifactId>
  <version>3.2.3</version>
  <name>Atomikos Transactions JTA</name>
  <url>http://www.atomikos.com/Main/AtomikosCommunity</url>

  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.atomikos.com/licenses/apache-license-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <organization>
    <name>The Apache Software Foundation</name>
    <url>http://www.atomikos.com</url>
  </organization>

  <dependencies>
    <dependency>
      <groupId>com.atomikos</groupId>
      <artifactId>transactions-api</artifactId>
      <version>3.2.3</version>
    </dependency>
    <dependency>
      <groupId>com.atomikos</groupId>
      <artifactId>transactions</artifactId>
      <version>3.2.3</version>
    </dependency>
    <dependency>
      <groupId>com.atomikos</groupId>
      <artifactId>atomikos-util</artifactId>
      <version>3.2.3</version>
    </dependency>
  </dependencies>

</project>




More information about the JPackage-commits mailing list