[Jpackage-commits] dist/openorb/devel .cvsignore, 1.1, 1.2 openorb-OpenORB-build.patch, NONE, 1.1 openorb-TransactionService-build.patch, NONE, 1.1 openorb.spec, NONE, 1.1 sources, 1.1, 1.2

jpackage jpackage at ryu.zarb.org
Wed May 28 21:24:15 CEST 2008


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

Modified Files:
	.cvsignore sources 
Added Files:
	openorb-OpenORB-build.patch 
	openorb-TransactionService-build.patch openorb.spec 
Log Message:
Import from JPP 5.0

--- NEW FILE: openorb-TransactionService-build.patch ---
--- TransactionService/src/build.xml.sav	2008-01-29 14:56:06.000000000 +0100
+++ TransactionService/src/build.xml	2008-01-29 14:57:06.000000000 +0100
@@ -440,7 +440,7 @@
   <target name="compile-idl" depends="compile-cos-idl,compile-openorb-idl"/>
 
   <target name="compile-cos-idl" depends="-init-build" >
-    <idl2java cachefile="${build.dir}/idl2java.cache"
+    <idl2java cachefile="../idl2java.cache"
               includepath="${idl.dir}"
               srcdir="${idl.dir}"
               destdir="${gensrc.dir}/main"
@@ -451,7 +451,7 @@
   </target>
 
   <target name="compile-openorb-idl" depends="-init-build" >
-    <idl2java cachefile="${build.dir}/idl2java.cache"
+    <idl2java cachefile="../idl2java.cache"
               includepath="${idl.dir}"
               srcdir="${idl.dir}"
               destdir="${gensrc.dir}/main"
@@ -545,22 +545,22 @@
 
     <!-- compile the IDL for all the examples -->
     <!-- examples requiring POA -->
-    <idl2java cachefile="${build.dir}/idl2java.cache"
+    <idl2java cachefile="../idl2java.cache"
               includepath="${idl.dir}"
               srcdir="${examples.dir}/org/openorb/ots/examples/subtrx"
               destdir="${gensrc.dir}/examples"
               includes="Bank.idl"/>
-    <idl2java cachefile="${build.dir}/idl2java.cache"
+    <idl2java cachefile="../idl2java.cache"
               includepath="${idl.dir}"
               srcdir="${examples.dir}/org/openorb/ots/examples/xa"
               destdir="${gensrc.dir}/examples"
               includes="Bank.idl"/>
-    <idl2java cachefile="${build.dir}/idl2java.cache"
+    <idl2java cachefile="../idl2java.cache"
               includepath="${idl.dir}"
               srcdir="${examples.dir}/org/openorb/ots/examples/withres"
               destdir="${gensrc.dir}/examples"
               includes="Bank.idl"/>
-    <idl2java cachefile="${build.dir}/idl2java.cache"
+    <idl2java cachefile="../idl2java.cache"
               includepath="${idl.dir}"
               srcdir="${examples.dir}/org/openorb/ots/examples/withoutres"
               destdir="${gensrc.dir}/examples"

Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/openorb/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	28 May 2008 19:21:06 -0000	1.1
--- sources	28 May 2008 19:24:13 -0000	1.2
***************
*** 0 ****
--- 1,16 ----
+ ef35a3ec165d00a137ad23e413ca4daf  ConcurrencyControlService-1.4.0-src.tgz
+ 3587e6adc7bc843a5d5bf25a66a87d52  EvaluatorUtility-1.4.0-src.tgz
+ bdec9852ca4611b6be4f5efc16e8fe5f  EventService-1.4.0-src.tgz
+ da484e9f014e658d941822a607d8430f  InterfaceRepository-1.4.0-src.tgz
+ 940652295b24694fb46b3cd74cff8242  ManagementBoard-1.4.0-src.tgz
+ 9e46ffabc1dab504e8cfaac7f3e0a88c  NamingService-1.4.0-src.tgz
+ af6844cdd3f3aca439ba2e73e505b238  NotificationService-1.4.0-src.tgz
+ 8bc84afa898e03068d4f911c70d93fd9  OpenORB-1.4.0-src.tgz
+ 835912dc5507fc745cd927f0da5a81e5  PersistentStateService-1.4.0-src.tgz
+ ac074a0bd106c2d9dd0a2ef2e2f59818  PropertyService-1.4.0-src.tgz
+ 35ce7f79e4c655f10c11c226a761c7a6  SSL-1.4.0-src.tgz
+ 8d402be1d2361054de067af2362cd603  TimeService-1.4.0-src.tgz
+ 08c3732ff3220899ad190914cedf176a  Tools-1.4.0-src.tgz
+ 277ab26ca2b75afc627b55740dc39d6f  TradingService-1.4.0-src.tgz
+ 9ce8024768200c3292778e9451564e80  TransactionService-1.4.0-src.tgz
+ bcb6765283f25e93c01ecb683cf981c7  openorb-1.4.0-poms.tar.gz

--- NEW FILE: openorb.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}}}

%define section free

Name:           openorb
Version:        1.4.0
Release:        3jpp
Epoch:          0
Summary:        Java CORBA Object Request Broker
License:        BSD
Group:          Development/Java
Distribution:   JPackage
Vendor:         JPackage Project
Source0:        http://downloads.sourceforge.net/openorb/ConcurrencyControlService-1.4.0-src.tgz
Source1:        http://downloads.sourceforge.net/openorb/EvaluatorUtility-1.4.0-src.tgz
Source2:        http://downloads.sourceforge.net/openorb/EventService-1.4.0-src.tgz
Source3:        http://downloads.sourceforge.net/openorb/InterfaceRepository-1.4.0-src.tgz
Source4:        http://downloads.sourceforge.net/openorb/ManagementBoard-1.4.0-src.tgz
Source5:        http://downloads.sourceforge.net/openorb/NamingService-1.4.0-src.tgz
Source6:        http://downloads.sourceforge.net/openorb/NotificationService-1.4.0-src.tgz
Source7:        http://downloads.sourceforge.net/openorb/OpenORB-1.4.0-src.tgz
Source8:        http://downloads.sourceforge.net/openorb/PersistentStateService-1.4.0-src.tgz
Source9:        http://downloads.sourceforge.net/openorb/PropertyService-1.4.0-src.tgz
Source10:       http://downloads.sourceforge.net/openorb/SSL-1.4.0-src.tgz
Source11:       http://downloads.sourceforge.net/openorb/TimeService-1.4.0-src.tgz
Source12:       http://downloads.sourceforge.net/openorb/Tools-1.4.0-src.tgz
Source13:       http://downloads.sourceforge.net/openorb/TradingService-1.4.0-src.tgz
Source14:       http://downloads.sourceforge.net/openorb/TransactionService-1.4.0-src.tgz
Source15:       openorb-1.4.0-poms.tar.gz

Patch0:         %{name}-OpenORB-build.patch
Patch1:         %{name}-TransactionService-build.patch
Url:            http://openorb.sourceforge.net/
BuildRequires:  jpackage-utils >= 0:1.7.4
BuildRequires:  java-devel = 0:1.5.0
BuildRequires:  ant >= 0:1.6.5
BuildRequires:  junit
BuildRequires:  avalon-framework
BuildRequires:  avalon-logkit
BuildRequires:  checkstyle
BuildRequires:  excalibur-configuration
BuildRequires:  fop
BuildRequires:  hsqldb
BuildRequires:  jakarta-commons-cli
BuildRequires:  javahelp2
BuildRequires:  jta_1_0_1B_api
BuildRequires:  xalan-j2
BuildRequires:  xerces-j2
BuildRequires:  xml-commons-jaxp-1.3-apis
Requires:  excalibur-avalon-framework-api
Requires:  excalibur-avalon-framework-impl
Requires:  excalibur-avalon-logkit
Requires:  excalibur-configuration
Requires:  jakarta-commons-cli
Requires:  jta_1_0_1B_api
%if %{gcj_support}
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}-buildroot

%description
OpenORB is a CORBA Object Request Broker fully developed in
Java. It fully complies with the CORBA 2.4.2 specification and 
provides a lot of features, services and extensions.


%package ccs
Group:          Development/Java
Summary:        %{name} Concurrency Control Service
Requires:       %{name} = %{epoch}:%{version}-%{release}
Requires:       %{name}-ots = %{epoch}:%{version}-%{release}

%description ccs
%{summary}.

%package evaluator
Group:          Development/Java
Summary:        %{name} Evaluator Utility
Requires:       %{name} = %{epoch}:%{version}-%{release}

%description evaluator
%{summary}.

%package event
Group:          Development/Java
Summary:        %{name} Event Service
Requires:       %{name} = %{epoch}:%{version}-%{release}

%description event
%{summary}.

%package ir
Group:          Development/Java
Summary:        %{name} Interface Repository
Requires:       %{name} = %{epoch}:%{version}-%{release}
Requires:       %{name}-ots = %{epoch}:%{version}-%{release}
Requires:       %{name}-pss = %{epoch}:%{version}-%{release}

%description ir
%{summary}.

%package board
Group:          Development/Java
Summary:        %{name} Management Board
Requires:       %{name} = %{epoch}:%{version}-%{release}
Requires:       %{name}-ins = %{epoch}:%{version}-%{release}
Requires:       %{name}-tns = %{epoch}:%{version}-%{release}
Requires:       %{name}-evaluator = %{epoch}:%{version}-%{release}
Requires:       %{name}-pss = %{epoch}:%{version}-%{release}
Requires:       %{name}-ots = %{epoch}:%{version}-%{release}
Requires:       %{name}-ir = %{epoch}:%{version}-%{release}
Requires:       %{name}-notify = %{epoch}:%{version}-%{release}
Requires:       %{name}-trader = %{epoch}:%{version}-%{release}
Requires:       javahelp2
Requires:       jlfgr

%description board
%{summary}.

%package ins
Group:          Development/Java
Summary:        %{name} Interoperable Naming Service
Requires:       %{name} = %{epoch}:%{version}-%{release}
Requires:       %{name}-pss = %{epoch}:%{version}-%{release}
Requires:       %{name}-ots = %{epoch}:%{version}-%{release}

%description ins
%{summary}.

%package tns
Group:          Development/Java
Summary:        %{name} Transient Service
Requires:       %{name} = %{epoch}:%{version}-%{release}

%description tns
%{summary}.

%package notify
Group:          Development/Java
Summary:        %{name} Notification Service
Requires:       %{name} = %{epoch}:%{version}-%{release}
Requires:       %{name}-ots = %{epoch}:%{version}-%{release}
Requires:       %{name}-pss = %{epoch}:%{version}-%{release}

%description notify
%{summary}.

%package pss
Group:          Development/Java
Summary:        %{name} Persistent State Service
Requires:       %{name} = %{epoch}:%{version}-%{release}
Requires:       %{name}-ots = %{epoch}:%{version}-%{release}

%description pss
%{summary}.

%package property
Group:          Development/Java
Summary:        %{name} Property Service
Requires:       %{name} = %{epoch}:%{version}-%{release}

%description property
%{summary}.

%package ssl
Group:          Development/Java
Summary:        %{name} SSL
Requires:       %{name} = %{epoch}:%{version}-%{release}
Requires:       jsse

%description ssl
%{summary}.

%package time
Group:          Development/Java
Summary:        %{name} Time Service
Requires:       %{name} = %{epoch}:%{version}-%{release}
Requires:       %{name}-event = %{epoch}:%{version}-%{release}

%description time
%{summary}.

%package trader
Group:          Development/Java
Summary:        %{name} Trading Service
Requires:       %{name} = %{epoch}:%{version}-%{release}
Requires:       %{name}-pss = %{epoch}:%{version}-%{release}

%description trader
%{summary}.

%package ots
Group:          Development/Java
Summary:        %{name} Transaction Service
Requires:       %{name} = %{epoch}:%{version}-%{release}

%description ots
%{summary}.

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

%description javadoc
%{summary}.

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

%description manual
%{summary}.

%prep
%setup -q -c
gzip -dc %{SOURCE0} | tar xf -
gzip -dc %{SOURCE1} | tar xf -
gzip -dc %{SOURCE2} | tar xf -
gzip -dc %{SOURCE3} | tar xf -
gzip -dc %{SOURCE4} | tar xf -
gzip -dc %{SOURCE5} | tar xf -
gzip -dc %{SOURCE6} | tar xf -
gzip -dc %{SOURCE7} | tar xf -
gzip -dc %{SOURCE8} | tar xf -
gzip -dc %{SOURCE9} | tar xf -
gzip -dc %{SOURCE10} | tar xf -
gzip -dc %{SOURCE11} | tar xf -
gzip -dc %{SOURCE12} | tar xf -
gzip -dc %{SOURCE13} | tar xf -
gzip -dc %{SOURCE14} | tar xf -
# poms
gzip -dc %{SOURCE15} | tar xf -
%patch0 -b .sav0
%patch1 -b .sav1
# remove all binary libs
for j in $(find . -name "*.jar"); do
    mv $j $j.no
done

%build
export CLASSPATH=
ln -sf $(build-classpath javahelp2) tools/lib/ext
#BUILD/openorb-1.4.0/tools/lib/ext/avalon-framework.jar.no
ln -sf $(build-classpath avalon-framework) tools/lib/ext
#BUILD/openorb-1.4.0/tools/lib/ext/build/ant.jar.no
ln -sf $(build-classpath ant) tools/lib/ext/build
#BUILD/openorb-1.4.0/tools/lib/ext/build/ant-launcher.jar.no
ln -sf $(build-classpath ant-launcher) tools/lib/ext/build
#BUILD/openorb-1.4.0/tools/lib/ext/build/batik.jar.no
#
#BUILD/openorb-1.4.0/tools/lib/ext/build/checkstyle-all.jar.no
ln -sf $(build-classpath checkstyle) tools/lib/ext/build
#BUILD/openorb-1.4.0/tools/lib/ext/build/fop.jar.no
ln -sf $(build-classpath fop) tools/lib/ext/build
#BUILD/openorb-1.4.0/tools/lib/ext/build/jfor.jar.no
#
#BUILD/openorb-1.4.0/tools/lib/ext/build/jimi.jar.no
#
#BUILD/openorb-1.4.0/tools/lib/ext/build/junit.jar.no
ln -sf $(build-classpath junit) tools/lib/ext/build
#BUILD/openorb-1.4.0/tools/lib/ext/build/xalan.jar.no
ln -sf $(build-classpath xalan-j2) tools/lib/ext/build/xalan.jar
ln -sf $(build-classpath xalan-j2-serializer) tools/lib/ext/build
#BUILD/openorb-1.4.0/tools/lib/ext/commons-cli.jar.no
ln -sf $(build-classpath commons-cli) tools/lib/ext
#BUILD/openorb-1.4.0/tools/lib/ext/excalibur-configuration.jar.no
ln -sf $(build-classpath excalibur/excalibur-configuration) tools/lib/ext
#BUILD/openorb-1.4.0/tools/lib/ext/hsqldb.jar.no
ln -sf $(build-classpath hsqldb) tools/lib/ext
#BUILD/openorb-1.4.0/tools/lib/ext/logkit.jar.no
ln -sf $(build-classpath avalon-logkit) tools/lib/ext/logkit.jar
#BUILD/openorb-1.4.0/tools/lib/ext/xercesImpl.jar.no
ln -sf $(build-classpath xerces-j2) tools/lib/ext/xercesImpl.jar
#BUILD/openorb-1.4.0/tools/lib/ext/xml-apis.jar.no
ln -sf $(build-classpath xml-commons-jaxp-1.3-apis) tools/lib/ext/xml-apis.jar
#BUILD/openorb-1.4.0/tools/lib/launcher.jar.no
#
#BUILD/openorb-1.4.0/tools/lib/openorb_native.jar.no
#
#BUILD/openorb-1.4.0/tools/lib/tools_test-1.4.0.jar.no
#
#BUILD/openorb-1.4.0/TransactionService/lib/ext/jdbc.jar.no
#
#BUILD/openorb-1.4.0/TransactionService/lib/ext/jta_1.0.1.jar.no
ln -sf $(build-classpath jta_1_0_1B_api) tools/lib/ext/jta_1.0.1.jar
#BUILD/openorb-1.4.0/TransactionService/lib/ext/savepoint.jar.no
#
export CLASSPATH=$(build-classpath xalan-j2)
pushd OpenORB
ant \
    -DVERSION_MAJOR=1 \
    -DVERSION_MINOR=4 \
    -DVERSION_MINOR_CHANGE=0 \
    -buildfile src/build.xml \
    jar doc
popd
pushd TransactionService
ant \
    -DVERSION_MAJOR=1 \
    -DVERSION_MINOR=4 \
    -DVERSION_MINOR_CHANGE=0 \
    -buildfile src/build.xml \
    jar doc
popd
pushd PersistentStateService
ant \
    -DVERSION_MAJOR=1 \
    -DVERSION_MINOR=4 \
    -DVERSION_MINOR_CHANGE=0 \
    -buildfile src/build.xml \
    jar doc
popd
pushd NamingService
ant \
    -DVERSION_MAJOR=1 \
    -DVERSION_MINOR=4 \
    -DVERSION_MINOR_CHANGE=0 \
    -buildfile src/build.xml \
    jar doc
popd
pushd ConcurrencyControlService
ant \
    -DVERSION_MAJOR=1 \
    -DVERSION_MINOR=4 \
    -DVERSION_MINOR_CHANGE=0 \
    -buildfile src/build.xml \
    jar doc
popd
pushd EventService
ant \
    -DVERSION_MAJOR=1 \
    -DVERSION_MINOR=4 \
    -DVERSION_MINOR_CHANGE=0 \
    -buildfile src/build.xml \
    jar doc
popd
pushd NotificationService
ant \
    -DVERSION_MAJOR=1 \
    -DVERSION_MINOR=4 \
    -DVERSION_MINOR_CHANGE=0 \
    -buildfile src/build.xml \
    jar doc
popd
pushd PropertyService
ant \
    -DVERSION_MAJOR=1 \
    -DVERSION_MINOR=4 \
    -DVERSION_MINOR_CHANGE=0 \
    -buildfile src/build.xml \
    jar doc
popd
pushd TimeService
ant \
    -DVERSION_MAJOR=1 \
    -DVERSION_MINOR=4 \
    -DVERSION_MINOR_CHANGE=0 \
    -buildfile src/build.xml \
    jar doc
popd
pushd TradingService
ant \
    -DVERSION_MAJOR=1 \
    -DVERSION_MINOR=4 \
    -DVERSION_MINOR_CHANGE=0 \
    -buildfile src/build.xml \
    jar doc
popd
pushd EvaluatorUtility
ant \
    -DVERSION_MAJOR=1 \
    -DVERSION_MINOR=4 \
    -DVERSION_MINOR_CHANGE=0 \
    -buildfile src/build.xml \
    jar doc
popd
pushd InterfaceRepository
ant \
    -DVERSION_MAJOR=1 \
    -DVERSION_MINOR=4 \
    -DVERSION_MINOR_CHANGE=0 \
    -buildfile src/build.xml \
    jar doc
popd
pushd ManagementBoard
ant \
    -DVERSION_MAJOR=1 \
    -DVERSION_MINOR=4 \
    -DVERSION_MINOR_CHANGE=0 \
    -buildfile src/build.xml \
    jar doc
popd
pushd SSL
ant \
    -DVERSION_MAJOR=1 \
    -DVERSION_MINOR=4 \
    -DVERSION_MINOR_CHANGE=0 \
    -Djhall-jar=$(build-classpath javahelp2) \
    -buildfile src/build.xml \
    jar doc
popd

%install
rm -rf $RPM_BUILD_ROOT
# jar
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name}
# with compat symlink
install -m 644 OpenORB/lib/%{name}_orb-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/orb-%{version}.jar
ln -sf %{name}/orb-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
%add_to_maven_depmap %{name} %{name}-orb %{version} JPP/%{name} orb
install -m 644 OpenORB/lib/%{name}_orb_tools-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/orb-tools-%{version}.jar
ln -sf %{name}/orb-tools-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-tools-%{version}.jar
%add_to_maven_depmap %{name} %{name}-orb-tools %{version} JPP/%{name} orb-tools
install -m 644 OpenORB/lib/endorsed/%{name}_orb_omg-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/orb-omg-%{version}.jar
ln -sf %{name}/orb-omg-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-omg-%{version}.jar
%add_to_maven_depmap %{name} %{name}-orb-omg %{version} JPP/%{name} orb-omg
install -m 644 tools/lib/tools-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/tools-%{version}.jar
ln -sf %{name}/tools-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/tools-%{name}-%{version}.jar
%add_to_maven_depmap %{name} %{name}-tools %{version} JPP/%{name} tools

# new, without compat symlink
install -m 644 ConcurrencyControlService/lib/%{name}_ccs-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/ccs-%{version}.jar
%add_to_maven_depmap %{name} %{name}-ccs %{version} JPP/%{name} ccs
install -m 644 EvaluatorUtility/lib/%{name}_evaluator-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/evaluator-%{version}.jar
%add_to_maven_depmap %{name} %{name}-evaluator %{version} JPP/%{name} evaluator
install -m 644 EventService/lib/%{name}_event-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/event-%{version}.jar
%add_to_maven_depmap %{name} %{name}-event %{version} JPP/%{name} event
install -m 644 InterfaceRepository/lib/%{name}_ir-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/ir-%{version}.jar
%add_to_maven_depmap %{name} %{name}-ir %{version} JPP/%{name} ir
install -m 644 ManagementBoard/lib/%{name}_board-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/board-%{version}.jar
%add_to_maven_depmap %{name} %{name}-board %{version} JPP/%{name} board
install -m 644 NamingService/lib/%{name}_ins-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/ins-%{version}.jar
%add_to_maven_depmap %{name} %{name}-ins %{version} JPP/%{name} ins
install -m 644 NamingService/lib/%{name}_tns-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/tns-%{version}.jar
%add_to_maven_depmap %{name} %{name}-tns %{version} JPP/%{name} tns
install -m 644 NotificationService/lib/%{name}_notify-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/notify-%{version}.jar
%add_to_maven_depmap %{name} %{name}-notify %{version} JPP/%{name} notify
install -m 644 PersistentStateService/lib/%{name}_pss-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/pss-%{version}.jar
%add_to_maven_depmap %{name} %{name}-pss %{version} JPP/%{name} pss
install -m 644 PropertyService/lib/%{name}_property-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/property-%{version}.jar
%add_to_maven_depmap %{name} %{name}-property %{version} JPP/%{name} property
install -m 644 SSL/lib/%{name}_ssl-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/ssl-%{version}.jar
%add_to_maven_depmap %{name} %{name}-ssl %{version} JPP/%{name} ssl
install -m 644 TimeService/lib/%{name}_time-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/time-%{version}.jar
%add_to_maven_depmap %{name} %{name}-time %{version} JPP/%{name} time
install -m 644 TradingService/lib/%{name}_trader-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/trader-%{version}.jar
%add_to_maven_depmap %{name} %{name}-trader %{version} JPP/%{name} trader

# with compat symlink
install -m 644 TransactionService/lib/%{name}_ots-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/ots-%{version}.jar
ln -sf %{name}/ots-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-ots-%{version}.jar
%add_to_maven_depmap %{name} %{name}-ots %{version} JPP/%{name} ots

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

# poms provisional
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
install -m 644 %{name}-board-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-board.pom
install -m 644 %{name}-ccs-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-ccs.pom
install -m 644 %{name}-evaluator-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-evaluator.pom
install -m 644 %{name}-event-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-event.pom
install -m 644 %{name}-ins-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-ins.pom
install -m 644 %{name}-ir-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-ir.pom
install -m 644 %{name}-notify-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-notify.pom
install -m 644 %{name}-orb-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-orb.pom
install -m 644 %{name}-orb-omg-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-orb-omg.pom
install -m 644 %{name}-orb-tools-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-orb-tools.pom
install -m 644 %{name}-ots-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-ots.pom
install -m 644 %{name}-property-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-property.pom
install -m 644 %{name}-pss-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-pss.pom
install -m 644 %{name}-ssl-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-ssl.pom
install -m 644 %{name}-time-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-time.pom
install -m 644 %{name}-tns-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-tns.pom
install -m 644 %{name}-tools-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-tools.pom
install -m 644 %{name}-trader-%{version}.pom \
        $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-trader.pom


# javadoc
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/OpenORB/omg
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/OpenORB/test
cp -pr OpenORB/doc/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/OpenORB
cp -pr OpenORB/doc/javadoc-omg/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/OpenORB/omg
cp -pr OpenORB/doc/javadoc-test/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/OpenORB/test

for module in ConcurrencyControlService \
              EvaluatorUtility \
              EventService \
              InterfaceRepository \
              ManagementBoard \
              NamingService \
              NotificationService \
              PersistentStateService \
              PropertyService \
              SSL \
              TimeService \
              TradingService \
              TransactionService \
              ; do
    install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/$module
    cp -pr $module/doc/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/$module
done

ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink

# manual
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
cp -p OpenORB/LICENSE.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
cp -p OpenORB/README $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
for module in OpenORB \
              ConcurrencyControlService \
              EvaluatorUtility \
              EventService \
              InterfaceRepository \
              ManagementBoard \
              NamingService \
              NotificationService \
              PersistentStateService \
              PropertyService \
              SSL \
              TimeService \
              TradingService \
              TransactionService \
              ; do
    install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/$module
    [ -f $module/doc/*.html ] && cp -p $module/doc/*.html $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/$module
    [ -d $module/doc/html_img ] && cp -pr $module/doc/html_img $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/$module
done

%if %{gcj_support}
%{_bindir}/aot-compile-rpm
%endif

%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
%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(0664,root,root,0755)
%doc %{_docdir}/%{name}-%{version}/LICENSE.txt
%doc %{_docdir}/%{name}-%{version}/README
%dir %{_javadir}/%{name}
%{_javadir}/%{name}.jar
%{_javadir}/%{name}-%{version}.jar
%{_javadir}/%{name}-tools*.jar
%{_javadir}/tools-%{name}*.jar
%{_javadir}/%{name}-omg*.jar
%{_javadir}/%{name}/orb-%{version}.jar
%{_javadir}/%{name}/orb.jar
%{_javadir}/%{name}/orb-tools-%{version}.jar
%{_javadir}/%{name}/orb-tools.jar
%{_javadir}/%{name}/orb-omg-%{version}.jar
%{_javadir}/%{name}/orb-omg.jar
%{_javadir}/%{name}/tools-%{version}.jar
%{_javadir}/%{name}/tools.jar
%{_datadir}/maven2/poms/*
%{_mavendepmapfragdir}
%if %{gcj_support}
%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-%{version}.jar.*
%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-tools-%{version}.jar.*
%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-omg-%{version}.jar.*
%attr(-,root,root) %{_libdir}/gcj/%{name}/tools-%{name}-%{version}.jar.*
%endif

%files ccs
%defattr(0664,root,root,0755)
%{_javadir}/%{name}/ccs*.jar

%files evaluator
%defattr(0664,root,root,0755)
%{_javadir}/%{name}/evaluator*.jar

%files event
%defattr(0664,root,root,0755)
%{_javadir}/%{name}/event*.jar

%files ir
%defattr(0664,root,root,0755)
%{_javadir}/%{name}/ir*.jar

%files board
%defattr(0664,root,root,0755)
%{_javadir}/%{name}/board*.jar

%files ins
%defattr(0664,root,root,0755)
%{_javadir}/%{name}/ins*.jar

%files tns
%defattr(0664,root,root,0755)
%{_javadir}/%{name}/tns*.jar

%files notify
%defattr(0664,root,root,0755)
%{_javadir}/%{name}/notify*.jar

%files pss
%defattr(0664,root,root,0755)
%{_javadir}/%{name}/pss*.jar

%files property
%defattr(0664,root,root,0755)
%{_javadir}/%{name}/property*.jar

%files ssl
%defattr(0664,root,root,0755)
%{_javadir}/%{name}/ssl*.jar

%files time
%defattr(0664,root,root,0755)
%{_javadir}/%{name}/time*.jar

%files trader
%defattr(0664,root,root,0755)
%{_javadir}/%{name}/trader*.jar

%files ots
%defattr(0664,root,root,0755)
%{_javadir}/%{name}-ots*.jar
%{_javadir}/%{name}/ots*.jar

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

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

%changelog
* Tue Jan 29 2008 Ralph Apel <r.apel at r-apel.de> 0:1.4.0-3jpp
- Extend with all modules

* Fri Nov 17 2006 Ralph Apel <r.apel at r-apel.de> 0:1.4.0-2jpp
- Add tools/lib/tools.jar as tools-openorb.jar
- Add aot bits

* Mon Jun 19 2006 Ralph Apel <r.apel at r-apel.de> 0:1.4.0-1jpp
- First JPP-1.7 release
- Upgrade to 1.4.0

* Tue Aug 24 2004 Fernando Nasser <fnasser at redhat.com> 0:1.2.0-3jpp
- Rebuild with Ant 1.6.2

* Tue May 06 2003 David Walluck <david at anti-microsoft.org> 0:1.2.0-2jpp
- update for JPackage 1.5

* Wed Feb 06 2002 Guillaume Rousse <guillomovitch at users.sourceforge.net> 1.2.0-1jpp 
- first jpp release

--- NEW FILE: openorb-OpenORB-build.patch ---
--- OpenORB/src/build.xml.sav	2005-03-28 14:17:33.000000000 +0200
+++ OpenORB/src/build.xml	2008-01-29 14:54:45.000000000 +0100
@@ -135,6 +135,7 @@
     <path refid="project.class.path" />
     <fileset dir="${tools.dir}">
       <include name="lib/ext/build/**/*.jar"/>
+      <include name="lib/*.jar"/>
     </fileset>
   </path>
 
@@ -663,7 +664,7 @@
 -->
 
   <target name="compile-interop-idl" depends="-compiler-taskdef" >
-    <idl2java cachefile="${build.dir}/idl2java.cache"
+    <idl2java cachefile="../idl2java.cache"
               srcdir="${idl.dir}"
               destdir="${gensrc.dir}/omg"
               portablehelper="true"
@@ -672,7 +673,7 @@
   </target>
 
   <target name="compile-misc-idl" depends="-compiler-taskdef" >
-    <idl2java cachefile="${build.dir}/idl2java.cache"
+    <idl2java cachefile="../idl2java.cache"
               includepath="${idl.dir};${idl.dir}/test"
               generateall="true"
               srcdir="${idl.dir}"
@@ -683,7 +684,7 @@
   </target>
 
   <target name="compile-orb-idl" depends="-compiler-taskdef" >
-    <idl2java cachefile="${build.dir}/idl2java.cache"
+    <idl2java cachefile="../idl2java.cache"
               includepath="${idl.dir};${idl.dir}/test"
               generateall="true"
               srcdir="${idl.dir}"
@@ -694,7 +695,7 @@
   </target>
 
   <target name="compile-openorb-idl" depends="-compiler-taskdef" >
-    <idl2java cachefile="${build.dir}/idl2java.cache"
+    <idl2java cachefile="../idl2java.cache"
               includepath="${idl.dir};${idl.dir}/test"
               generateall="true"
               srcdir="${idl.dir}"
@@ -832,7 +833,7 @@
   <target name="special-test" depends="jar,jar-test,run-special-test"/>
 
   <target name="compile-test-idl"  depends="-compiler-taskdef" >
-    <idl2java cachefile="${build.dir}/idl2java.cache"
+    <idl2java cachefile="../idl2java.cache"
               srcdir="${idl.dir}/test"
               includes="test.idl"
               generateall="true"
@@ -847,7 +848,7 @@
            optimize="${build.optimize}" >
       <classpath refid="build.class.path" />
     </javac>
-    <java2idl cachefile="${build.dir}/java2idl.cache"
+    <java2idl cachefile="../java2idl.cache"
               includes="org/openorb/orb/test/rmi/complex/RemoteComplex.class,org/openorb/orb/test/rmi/primitive/RemoteEcho.class,org/openorb/orb/test/rmi/exceptions/ExceptionTestRemote.class"
               destdir="${gensrc.dir}/test"
               generateidl="false"
@@ -874,7 +875,7 @@
            optimize="${build.optimize}" >
       <classpath refid="build.class.path" />
     </javac>
-    <java2idl cachefile="${build.dir}/java2idl.cache"
+    <java2idl cachefile="../java2idl.cache"
               includes="org/openorb/rmi/test/complex/RemoteComplex.class,org/openorb/rmi/test/primitive/RemoteEcho.class,org/openorb/rmi/test/exceptions/ExceptionTestRemote.class"
               destdir="${gensrc.dir}/test"
               generateidl="false"
@@ -982,7 +983,7 @@
     <!-- compile the IDL for all the examples -->
     <!-- examples requiring BOA -->
     <echo message="Building BOA examples"/>
-    <idl2java cachefile="${build.dir}/idl2java.cache"
+    <idl2java cachefile="../idl2java.cache"
               srcdir="${examples.dir}"
               includepath="${idl.dir}"
               destdir="${gensrc.dir}/examples"
@@ -991,7 +992,7 @@
               includeorbidl="false" />
     <!-- examples requiring POA -->
     <echo message="Building POA examples"/>
-    <idl2java cachefile="${build.dir}/idl2java.cache"
+    <idl2java cachefile="../idl2java.cache"
               includepath="${idl.dir}"
               destdir="${gensrc.dir}/examples"
               srcdir="${examples.dir}"
@@ -1030,7 +1031,7 @@
     </java2idl>
 
 <!--
-    <idl2java cachefile="${build.dir}/idl2java.cache"
+    <idl2java cachefile="../idl2java.cache"
               includepath="${idl.dir}" destdir="${gensrc.dir}/examples"
               srcdir="${gensrc.dir}/examples" includeorbidl="false">
       <include name="org/openorb/orb/examples/rmi/hello/RemoteHello.idl" />

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/openorb/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	28 May 2008 19:21:06 -0000	1.1
--- .cvsignore	28 May 2008 19:24:13 -0000	1.2
***************
*** 0 ****
--- 1,16 ----
+ ConcurrencyControlService-1.4.0-src.tgz
+ EvaluatorUtility-1.4.0-src.tgz
+ EventService-1.4.0-src.tgz
+ InterfaceRepository-1.4.0-src.tgz
+ ManagementBoard-1.4.0-src.tgz
+ NamingService-1.4.0-src.tgz
+ NotificationService-1.4.0-src.tgz
+ OpenORB-1.4.0-src.tgz
+ PersistentStateService-1.4.0-src.tgz
+ PropertyService-1.4.0-src.tgz
+ SSL-1.4.0-src.tgz
+ TimeService-1.4.0-src.tgz
+ Tools-1.4.0-src.tgz
+ TradingService-1.4.0-src.tgz
+ TransactionService-1.4.0-src.tgz
+ openorb-1.4.0-poms.tar.gz




More information about the JPackage-commits mailing list