# # spec file for package esri-geometry-api-java # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: esri-geometry-api-java Version: 2.2.4 Release: 0 Summary: Esri Geometry API for Java License: Apache-2.0 Group: Development/Libraries/Java URL: https://github.com/Esri/geometry-api-java Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildRequires: java-devel >= 1.8 BuildRequires: maven-local BuildRequires: mvn(com.fasterxml.jackson.core:jackson-core) BuildArch: noarch %description The Esri Geometry API for Java can be used to enable spatial data processing in 3rd-party data-processing solutions. Developers of custom MapReduce-based applications for Hadoop can use this API for spatial processing of data in the Hadoop system. The API is also used by the Hive UDF’s and could be used by developers building geometry functions for 3rd-party applications such as Cassandra, HBase, Storm and many other Java-based “big data” applications. Features: • API methods to create simple geometries directly with the API, or by importing from supported formats: JSON, WKT, and Shape • API methods for spatial operations: union, difference, intersect, clip, cut, and buffer • API methods for topological relationship tests: equals, within, contains, crosses, and touches %package javadoc Summary: API documentation for %{name} Group: Documentation/HTML %description javadoc API documentation for %{name}. %prep %setup -q -n geometry-api-java-%{version} %pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin %pom_remove_plugin :maven-source-plugin %pom_remove_plugin :maven-javadoc-plugin %pom_xpath_set "pom:project/pom:properties/pom:java.source.version" "1.8" %pom_xpath_set "pom:project/pom:properties/pom:java.target.version" "1.8" %{mvn_file} : %{name} %build %{mvn_build} -f -- -Dsource=8 %install %mvn_install %files -f .mfiles %license license.txt %doc {README,CONTRIBUTING}.md %files javadoc -f .mfiles-javadoc %license license.txt %changelog