File jdo-api.spec of Package jdo-api
#
# spec file for package jdo-api
#
# 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: jdo-api
Version: 3.2.1
Release: 0
Summary: JDO 3.2 API
License: Apache-2.0
Group: Development/Libraries/Java
URL: https://db.apache.org/jdo/
Source0: https://github.com/datanucleus/javax.jdo/archive/refs/tags/javax.jdo-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: mvn(javax.transaction:javax.transaction-api)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.datanucleus:datanucleus-maven-parent:pom:)
BuildRequires: mvn(org.glassfish.corba:glassfish-corba-omgapi)
BuildArch: noarch
%description
The Java Data Objects (JDO) API is a standard interface
based Java model abstraction of persistence, developed as
Java Specification Requests (JSR 12 and 243) under the
auspices of the Java Community Process.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q -n javax.jdo-javax.jdo-%{version}
%{mvn_file} :javax.jdo %{name}
%{mvn_alias} :javax.jdo javax.jdo:jdo-api
%build
%{mvn_build} -f -- -Dmaven.compiler.release=8
%install
%mvn_install
%fdupes -s %{buildroot}%{_javadocdir}
%files -f .mfiles
%doc README.md
%license src/main/resources/META-INF/LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license src/main/resources/META-INF/LICENSE.txt
%changelog