Name: pyrolite Version: 4.9 Release: 1%{?dist} Summary: Java interface to Python's pickle and Pyro protocols License: MIT URL: https://github.com/irmen/Pyrolite Source0: https://github.com/irmen/Pyrolite/archive/v%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(net.razorvine:serpent) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildArch: noarch # Unavailable deps for build .NET stuff %description This library allows your Java program to interface very easily with the Python world. It uses the Pyro protocol to call methods on remote objects. (See https://github.com/irmen/Pyro4). To that end, it also contains and uses a feature complete pickle protocol implementation -read and write- to exchange data with Pyro/Python. Pyrolite only implements part of the client side Pyro library, hence its name 'lite'... But because Pyrolite has no dependencies, it is a much lighter way to use Pyro from Java than a solution with jython+pyro or IronPython+Pyro would provide. So if you don't need Pyro's full feature set, and don't require your Java code to host Pyro objects itself, Pyrolite may be a good choice to connect java and python. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n Pyrolite-%{version} find . -name "*.class" -print -delete find . -name "*.jar" -print -delete find . -name "*.dll" -print -delete find . -name "*.exe" -print -delete %mvn_file : %{name} %build %mvn_build %install %mvn_install %files -f .mfiles %doc README.txt %license LICENSE %files javadoc -f .mfiles-javadoc %license LICENSE %changelog * Fri Jul 31 2015 gil cattaneo 4.9-1 - initial rpm