Blame SPECS/jaxb-api4.spec

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