Files
jooq-jool/jooq-jool.spec

76 lines
2.1 KiB
RPMSpec
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# 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 Groups focus was
elsewhere. It adds tuple support, function support, and a lot of additional
functionality around sequential Streams.
The JDK 8s 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