Import rpm: c8s

This commit is contained in:
Johnny Hughes 2023-04-19 15:14:45 +00:00
commit b5a92365b0
3 changed files with 60 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
SOURCES/jaxb-api-4.0.0.tar.gz
/jaxb-api-4.0.0.tar.gz

57
jaxb-api4.spec Normal file
View File

@ -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 <mkoncek@redhat.com> - 4.0.0-2
- Add major compat version
* Tue Jan 17 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.0-1
- Initial build

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (jaxb-api-4.0.0.tar.gz) = eb4eab396b894ab801433e0e31f93a4980f3913176a1960591a69e4fd55f10f316a7edb712df323c59f7dc9ca6cebacb7257be06aec72446059dd8b93c6de175