Name: jboss-marshalling Version: 1.4.11 Release: 6 Summary: A serialization API that fixes many of the problems found in the JDK serialization API License: ASL 2.0 and LGPLv2+ URL: http://jbossmarshalling.jboss.org/ Source0: https://github.com/jboss-remoting/jboss-marshalling/archive/%{version}.Final/%{name}-%{version}.Final.tar.gz BuildArch: noarch BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin) mvn(org.jboss:jboss-parent:pom:) BuildRequires: mvn(org.jboss.maven.plugins:maven-injection-plugin) mvn(org.jboss.modules:jboss-modules) BuildRequires: mvn(org.testng:testng) mvn(jdepend:jdepend) mvn(org.jboss.apiviz:apiviz) Provides: %{name}-osgi = %{version}-%{release} Obsoletes: %{name}-osgi < %{version}-%{release} %description JBoss Marshalling is an alternative serialization API that fixes many of the problems found in the JDK serialization API while remaining fully compatible with java.io.Serializable and its relatives, and adds several new tunable parameters and additional features, all of which are pluggable via factory configuration (externalizers, class/instance lookup tables, class resolution, and object replacement, to name a few). %package help Summary: Help documents for jboss-marshalling Provides: %{name}-javadoc = %{version}-%{release} Obsoletes: %{name}-javadoc < %{version}-%{release} %description help Manauals of API and other help documents for %{name}. %prep %autosetup -n %{name}-%{version}.Final -p1 %pom_remove_plugin -r :maven-shade-plugin %pom_disable_module tests %pom_remove_plugin :maven-javadoc-plugin %mvn_package :jboss-marshalling-osgi osgi %build %mvn_build %install %mvn_install %files %license LICENSE.txt %_javadir/%{name} %{_datadir}/maven*/* %files help %_javadocdir/%{name} %changelog * Fri Dec 20 2019 zhouyihang - 1.4.11-6 - Package init