Files
proj4j/proj4j.spec

71 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package proj4j
#
# Copyright (c) 2025 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: proj4j
Version: 1.4.1
Release: 0
Summary: Java port of the Proj.4 library for coordinate reprojection
# FIXME: Apache-2.0 AND EPSG
License: Apache-2.0
Group: Development/Libraries/Java
URL: https://github.com/locationtech/%{name}
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.opengis:geoapi)
BuildArch: noarch
%description
Proj4J is a Java library for converting coordinates between different
geospatial coordinate reference systems. It is designed to be compatible with
proj.4 parameters and derives some of its implementation from the proj.4
sources.
Proj4J is a project in the LocationTech working group of the Eclipse
Foundation.
%package javadoc
Summary: API documentation for %{name}
Group: Documentation/HTML
%description javadoc
API documentation for %{name}.
%prep
%autosetup
rm -rf .mvn/
%pom_remove_plugin -r :maven-source-plugin
%pom_remove_plugin -r :maven-javadoc-plugin
%build
%{mvn_build} -f
%install
%mvn_install
%files -f .mfiles
%license LICENSE* {about,notice}.md
%doc {CHANGELOG,README}.md
%files javadoc -f .mfiles-javadoc
%license LICENSE* {about,notice}.md
%changelog