From 395dcd49806942b9bd8a42816d779aecb9808663 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Feb 18 2023 01:16:03 +0000 Subject: import jaxb-api4-4.0.0-2.module+el8.8.0+18042+89a504d5 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1468136 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jaxb-api-4.0.0.tar.gz diff --git a/.jaxb-api4.metadata b/.jaxb-api4.metadata new file mode 100644 index 0000000..298b800 --- /dev/null +++ b/.jaxb-api4.metadata @@ -0,0 +1 @@ +6df19ff85cedba43f56e46fce38ce2c5f896b646 SOURCES/jaxb-api-4.0.0.tar.gz diff --git a/SPECS/jaxb-api4.spec b/SPECS/jaxb-api4.spec new file mode 100644 index 0000000..ead096e --- /dev/null +++ b/SPECS/jaxb-api4.spec @@ -0,0 +1,57 @@ +Name: jaxb-api4 +Version: 4.0.0 +Release: 2%{?dist} +Summary: Jakarta XML Binding API +License: BSD +URL: https://github.com/eclipse-ee4j/jaxb-api +BuildArch: noarch + +Source0: %{url}/archive/%{version}/jaxb-api-%{version}.tar.gz + +BuildRequires: maven-local +BuildRequires: mvn(jakarta.activation:jakarta.activation-api:2.1.0) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) + +%description +The Jakarta XML Binding provides an API and tools that automate the mapping +between XML documents and Java objects. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains javadoc for %{name}. + +%prep +%setup -q -n jaxb-api-%{version} + +find -name 'module-info.java' -type f -delete + +# Remove unnecessary dependency on parent POM +%pom_remove_parent + +%pom_remove_plugin -r :buildnumber-maven-plugin +%pom_remove_plugin -r :glassfish-copyright-maven-plugin +%pom_remove_plugin -r :maven-enforcer-plugin + +%mvn_compat_version jakarta*: 4 %{version} + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE.md NOTICE.md + +%files javadoc -f .mfiles-javadoc +%license LICENSE.md NOTICE.md + +%changelog +* Tue Jan 31 2023 Marian Koncek - 4.0.0-2 +- Add major compat version + +* Tue Jan 17 2023 Marian Koncek - 4.0.0-1 +- Initial build