File jandex.spec of Package jandex
#
# spec file for package jandex
#
# 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: jandex
Version: 3.3.2
Release: 0
Summary: Java Annotation Indexer
License: Apache-2.0
Group: Development/Libraries/Java
URL: https://github.com/smallrye/jandex
Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: mvn(org.apache.ant:ant)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(org.apache.maven:maven-core:3)
BuildRequires: mvn(org.apache.maven:maven-plugin-api:3)
BuildRequires: mvn(org.codehaus.mojo:exec-maven-plugin)
BuildRequires: mvn(org.jboss.bridger:bridger)
BuildRequires: mvn(org.moditect:moditect-maven-plugin)
BuildArch: noarch
%description
This package contains Java Annotation Indexer
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%autosetup
%pom_remove_parent
%pom_disable_module benchmarks
%pom_disable_module test-data
%{mvn_alias} io.smallrye:%{name} org.jboss:
%{mvn_alias} io.smallrye:%{name}-maven-plugin org.jboss.jandex:
%build
%{mvn_build} -f -- \
-Dsource=8 -Dversion.maven=3
%install
%mvn_install
%fdupes -s %{buildroot}%{_javadocdir}
%files -f .mfiles
%doc README.md
%license LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog