Fix build with both xmvn-mojo:javadoc and javadoc:aggregate OBS-URL: https://build.opensuse.org/request/show/1264733 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jooq-joox?expand=0&rev=3
72 lines
2.0 KiB
RPMSpec
72 lines
2.0 KiB
RPMSpec
#
|
||
# spec file for package jooq-joox
|
||
#
|
||
# 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: jooq-joox
|
||
Version: 2.0.0
|
||
Release: 0
|
||
Summary: The Power of jQuery Applied to W3C DOM
|
||
License: Apache-2.0
|
||
Group: Development/Libraries/Java
|
||
URL: https://www.jooq.org/products
|
||
Source0: https://github.com/jOOQ/jOOX/archive/refs/tags/version-%{version}.tar.gz
|
||
BuildRequires: dos2unix
|
||
BuildRequires: fdupes
|
||
BuildRequires: maven-local java-devel >= 9
|
||
BuildRequires: mvn(jakarta.xml.bind:jakarta.xml.bind-api)
|
||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||
BuildArch: noarch
|
||
|
||
%description
|
||
Like JDBC, DOM is a powerful, yet very verbose low-level API to manipulate XML.
|
||
The HTML DOM an be manipulated with the popular jQuery product, in JavaScript.
|
||
Why don’t we have jQuery in Java? jOOX is jQuery’s XML parts, applied to Java.
|
||
|
||
%package javadoc
|
||
Summary: API documentation for %{name}
|
||
Group: Documentation/HTML
|
||
|
||
%description javadoc
|
||
API documentation for %{name}.
|
||
|
||
%prep
|
||
%setup -q -n jOOX-version-%{version}
|
||
#dos2unix README.md
|
||
|
||
%{mvn_file} :{*} jooq/@1
|
||
|
||
%build
|
||
pushd jOOX
|
||
%{mvn_build} -f
|
||
popd
|
||
|
||
%install
|
||
pushd jOOX
|
||
%mvn_install
|
||
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
||
popd
|
||
|
||
%files -f jOOX/.mfiles
|
||
%license LICENSE.txt
|
||
%doc README.md
|
||
|
||
%files javadoc -f jOOX/.mfiles-javadoc
|
||
%license LICENSE.txt
|
||
|
||
%changelog
|