Blame SPECS/jaxb-api4.spec

d73e0b
Name:           jaxb-api4
d73e0b
Version:        4.0.0
d73e0b
Release:        1%{?dist}
d73e0b
Summary:        Jakarta XML Binding API
d73e0b
License:        BSD
d73e0b
URL:            https://github.com/eclipse-ee4j/jaxb-api
d73e0b
BuildArch:      noarch
d73e0b
d73e0b
Source0:        %{url}/archive/%{version}/jaxb-api-%{version}.tar.gz
d73e0b
d73e0b
BuildRequires:  maven-local
d73e0b
BuildRequires:  mvn(jakarta.activation:jakarta.activation-api:2.1.0)
d73e0b
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
d73e0b
BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin)
d73e0b
d73e0b
%description
d73e0b
The Jakarta XML Binding provides an API and tools that automate the mapping
d73e0b
between XML documents and Java objects.
d73e0b
d73e0b
%package javadoc
d73e0b
Summary:        Javadoc for %{name}
d73e0b
d73e0b
%description javadoc
d73e0b
This package contains javadoc for %{name}.
d73e0b
d73e0b
%prep
d73e0b
%setup -q -n jaxb-api-%{version}
d73e0b
d73e0b
find -name 'module-info.java' -type f -delete
d73e0b
d73e0b
# Remove unnecessary dependency on parent POM
d73e0b
%pom_remove_parent
d73e0b
d73e0b
%pom_remove_plugin -r :buildnumber-maven-plugin
d73e0b
%pom_remove_plugin -r :glassfish-copyright-maven-plugin
d73e0b
%pom_remove_plugin -r :maven-enforcer-plugin
d73e0b
d73e0b
%mvn_compat_version jakarta*: 4 %{version}
d73e0b
d73e0b
%build
d73e0b
%mvn_build
d73e0b
d73e0b
%install
d73e0b
%mvn_install
d73e0b
d73e0b
%files -f .mfiles
d73e0b
%license LICENSE.md NOTICE.md
d73e0b
d73e0b
%files javadoc -f .mfiles-javadoc
d73e0b
%license LICENSE.md NOTICE.md
d73e0b
d73e0b
%changelog
d73e0b
* Tue Jan 17 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.0-1
d73e0b
- Initial build