Name: serpent Version: 1.11.2 Release: 1%{?dist} Summary: Serializer for literal Python expressions, also Java License: MIT URL: https://github.com/irmen/Serpent Source0: https://github.com/irmen/Serpent/archive/v1.11.2.tar.gz BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildArch: noarch %description Serpent serializes an object tree into a Python ast.literal_eval() compatible literal expression. It is safe to send serpent data to other machines over the network for instance (because only 'safe' literals are encoded). There is also a deserializer or parse provided that turns such a literal expression back into the appropriate Java object tree. It is an alternative to JSON to provide easy data integration between Java and Python. Serpent is more expressive as JSON (it supports more data types). %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n Serpent-%{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 # Not available license file # Reported @ https://github.com/irmen/Serpent/issues/11 #%%license %files javadoc -f .mfiles-javadoc #%%license %changelog * Fri Jul 31 2015 gil cattaneo 1.11.2-1 - initial rpm