# Unavailable deps # https://bugzilla.redhat.com/show_bug.cgi?id=1369227 %bcond_with pcollections Name: jackson-datatypes-collections Version: 2.7.6 Release: 1%{?dist} Summary: Jackson datatypes: collections # Source files without license headers https://github.com/FasterXML/jackson-datatypes-collections/issues/10 License: ASL 2.0 URL: https://github.com/FasterXML/jackson-datatypes-collections Source0: https://github.com/FasterXML/jackson-datatypes-collections/archive/%{name}-%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(com.carrotsearch:hppc) BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:) BuildRequires: mvn(com.fasterxml.jackson.core:jackson-core) BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind) BuildRequires: mvn(com.google.guava:guava) >= 15.0 BuildRequires: mvn(com.google.code.maven-replacer-plugin:replacer) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) %if %{with pcollections} BuildRequires: mvn(org.pcollections:pcollections) %endif BuildArch: noarch %description This is a multi-module umbrella project for various Jackson Data-type modules to support 3rd party Collection libraries. Currently included are: * Guava data-type * HPPC data-type * PCollections data-type %package -n jackson-datatype-guava Summary: Add-on module for Jackson which handles Guava data-types %description -n jackson-datatype-guava Add-on datatype-support module for Jackson that handles Guava types (currently mostly just collection ones). %package -n jackson-datatype-hppc Summary: Add-on module for Jackson to support HPPC data-types %description -n jackson-datatype-hppc Jackson data-type module to support JSON serialization and deserialization of High-Performance Primitive Collections data-types. %package -n jackson-datatype-pcollections Summary: Add-on module for Jackson to support PCollections data-types %description -n jackson-datatype-pcollections Jackson data-type module to support JSON serialization and deserialization of PCollections data-types. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} sed -i 's/\r//' hppc/src/main/resources/META-INF/LICENSE cp -p hppc/src/main/resources/META-INF/LICENSE . %if %{without pcollections} %pom_disable_module pcollections %endif %build %mvn_build -s %install %mvn_install %files -f .mfiles-jackson-datatypes-collections %doc README.md release-notes %license LICENSE %files -n jackson-datatype-guava -f .mfiles-jackson-datatype-guava %doc guava/README.md guava/release-notes %license LICENSE %files -n jackson-datatype-hppc -f .mfiles-jackson-datatype-hppc %doc hppc/README.md hppc/release-notes %license LICENSE %if %{with pcollections} %files -n jackson-datatype-pcollections -f .mfiles-jackson-datatype-pcollections %doc pcollections/README.md pcollections/release-notes %license LICENSE %endif %files javadoc -f .mfiles-javadoc %license LICENSE %changelog * Mon Aug 22 2016 gil cattaneo 2.7.6-1 - initial rpm