packages java-jonathan-core.spec
      Pages: < 1 >  DOWNLOAD      
Name:          java-jonathan-core
Version:       4.1
Release:       2mamba
Summary:       Distributed Object Platform (DOP) written entirely in Java
Group:         Development/Libraries/Java
Vendor:        openmamba
Distribution:  openmamba
Packager:      gil <puntogil@...>
URL:           http://jonathan.ow2.org/
# cvs -d:pserver:anonymous@...:/cvsroot/jonathan login
# cvs -z3 -d:pserver:anonymous@...:/cvsroot/jonathan export -r JONATHAN_CORE_4_1 jonathancore
Source0:       jonathancore-%{version}-src-cvs.tar.gz
Source1:       java-jonathan-core-%{version}.pom
License:       LGPL
BuildRequires: apache-ant
BuildRequires: java-kilim1
BuildRequires: java-monolog
BuildRequires: java-nanoxml-lite
BuildRequires: jpackage-utils
BuildRequires: objectweb-anttask
Requires:      java-kilim1
Requires:      java-monolog
Requires:      java-nanoxml-lite
Requires:      jpackage-utils
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

%description
Jonathan is a Distributed Object Platform (DOP) written entirely in
Java. Jonathan was developed originally at the research labs of France
Telecom in the context of the European project ReTINA, whose aim was to
define an architecture for telecommunications distributed environments.
Telecommunications applications such as multimedia services have
stringent requirements in terms of scalability, adaptability and
realtime. Jonathan's response to this is through its "openness" in the
sense that contrary to standard DOPs (and in particular, most CORBA
ORBs), the abstractions that make up its internal machinery are
accessible by an application programmer and may be specialized to meet
specific requirements.

Jonathan is organised around a very small kernel (namely Kilim) that
essentially lets the infrastructure components communicate. Currently,
these components consist of a number of independently developed
protocols, marshallers, stub factories, etc.

Different personalities can be built using these components. A
personality is a set of normalized Application Programming Interfaces:
Java RMI is a personality, CORBA is another, COM still another...
Jonathan provides two personnalities:

   * David is a CORBA ORB implementation. David lacks a number of CORBA
     features (POA, interface repository, Dynamic Any,...) and provides only
     a naive naming service implementation. However, our ambition is to fill
     these gaps and to provide a reference CORBA implementation.

   * Jeremie provides an RMI-like programming style.

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

%description javadoc
Distributed Object Platform (DOP) written entirely in Java.

This package contains javadoc for %{name}.

%prep

%setup -q -n jonathancore

for j in $(find . -name "*.jar"); do
	mv $j $j.no
done

pushd config
	ln -sf $(build-classpath kilim1-tools) kilim-tools.jar
	ln -sf $(build-classpath objectweb-anttask) ow_util_ant_tasks.jar
	ln -sf $(build-classpath nanoxml-lite) nanoxml-lite-2.2.1.jar
popd
pushd externals
	ln -sf $(build-classpath kilim1) kilim.jar
	ln -sf $(build-classpath monolog/ow_monolog) ow_monolog.jar
popd

%build

export CLASSPATH=$(build-classpath kilim1 kilim1-tools monolog/ow_monolog nanoxml-lite objectweb-anttask)
ant jar jdoc

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

mkdir -p %{buildroot}%{_javadir}
mkdir -p %{buildroot}%{_datadir}/maven2/poms

install -pm 644 output/dist/lib/jonathan-core.jar \
	%{buildroot}%{_javadir}/jonathan-core-%{version}.jar

install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/maven2/poms/JPP-jonathan-core.pom
%add_to_maven_depmap org.objectweb.jonathan jonathan %{version} JPP jonathan-core

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

mkdir -p %{buildroot}%{_javadocdir}/jonathan-core-%{version}
cp -pr output/dist/doc/javadoc/* %{buildroot}%{_javadocdir}/jonathan-core-%{version}
ln -sf jonathan-core-%{version} %{buildroot}%{_javadocdir}/jonathan-core

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%{_javadir}/jonathan-core-%{version}.jar
%{_javadir}/jonathan-core.jar
%{_datadir}/maven2/poms
%{_mavendepmapfragdir}
%doc README.txt

%files javadoc
%defattr(-,root,root)
%{_javadocdir}/jonathan-core-%{version}
%{_javadocdir}/jonathan-core

%changelog
* Thu Nov 25 2010 gil <puntogil@...> 4.1-2mamba
- rebuilt devel

* Fri Oct 09 2009 gil <puntogil@...> 4.1-1mamba
- package created by autospec