Fix build with both xmvn-mojo:javadoc and javadoc:aggregate OBS-URL: https://build.opensuse.org/request/show/1264729 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jooq-jool?expand=0&rev=3
76 lines
2.1 KiB
RPMSpec
76 lines
2.1 KiB
RPMSpec
#
|
||
# spec file for package jooq-jool
|
||
#
|
||
# 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: jooq-jool
|
||
Version: 0.9.15
|
||
Release: 0
|
||
Summary: The Missing Parts in Java 8
|
||
License: Apache-2.0
|
||
Group: Development/Libraries/Java
|
||
URL: https://www.jooq.org/products
|
||
Source0: https://github.com/jOOQ/jOOL/archive/refs/tags/version-%{version}.tar.gz
|
||
BuildRequires: dos2unix
|
||
BuildRequires: fdupes
|
||
BuildRequires: java-devel >= 9
|
||
BuildRequires: maven-local
|
||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||
BuildArch: noarch
|
||
|
||
%description
|
||
jOOλ improves the JDK libraries in areas where the Expert Group’s focus was
|
||
elsewhere. It adds tuple support, function support, and a lot of additional
|
||
functionality around sequential Streams.
|
||
|
||
The JDK 8’s main efforts (default methods, lambdas, and the Stream API) were
|
||
focused around maintaining backwards compatibility and implementing a
|
||
functional API for parallelism.
|
||
|
||
%package javadoc
|
||
Summary: API documentation for %{name}
|
||
Group: Documentation/HTML
|
||
|
||
%description javadoc
|
||
API documentation for %{name}.
|
||
|
||
%prep
|
||
%setup -q -n jOOL-version-%{version}
|
||
dos2unix README.md
|
||
|
||
%{mvn_file} :{*} jooq/@1
|
||
|
||
%build
|
||
pushd jOOL
|
||
%{mvn_build} -f
|
||
popd
|
||
|
||
%install
|
||
pushd jOOL
|
||
%mvn_install
|
||
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
||
popd
|
||
|
||
%files -f jOOL/.mfiles
|
||
%license LICENSE.txt
|
||
%doc README.md
|
||
|
||
%files javadoc -f jOOL/.mfiles-javadoc
|
||
%license LICENSE.txt
|
||
|
||
%changelog
|