|
|
0b67d1 |
Name: jaxb
|
|
|
0b67d1 |
Version: 4.0.2
|
|
|
0b67d1 |
Release: 1%{?dist}
|
|
|
0b67d1 |
Summary: JAXB Reference Implementation
|
|
|
0b67d1 |
# EDL-1.0 license is BSD-3-clause
|
|
|
0b67d1 |
License: BSD
|
|
|
0b67d1 |
URL: https://github.com/eclipse-ee4j/jaxb-ri
|
|
|
0b67d1 |
BuildArch: noarch
|
|
|
0b67d1 |
|
|
|
0b67d1 |
Source0: %{url}/archive/%{version}-RI/%{name}-%{version}.tar.gz
|
|
|
0b67d1 |
|
|
|
0b67d1 |
BuildRequires: maven-local
|
|
|
0b67d1 |
BuildRequires: mvn(com.sun.istack:istack-commons-runtime)
|
|
|
0b67d1 |
BuildRequires: mvn(com.sun.istack:istack-commons-tools)
|
|
|
0b67d1 |
BuildRequires: mvn(com.sun.xml.dtd-parser:dtd-parser)
|
|
|
0b67d1 |
BuildRequires: mvn(com.sun.xml.fastinfoset:FastInfoset)
|
|
|
0b67d1 |
BuildRequires: mvn(jakarta.activation:jakarta.activation-api:2.1.0)
|
|
|
0b67d1 |
BuildRequires: mvn(jakarta.xml.bind:jakarta.xml.bind-api:4.0.0)
|
|
|
0b67d1 |
BuildRequires: mvn(org.apache.ant:ant)
|
|
|
0b67d1 |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
0b67d1 |
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
|
|
0b67d1 |
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
|
|
|
0b67d1 |
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
|
|
0b67d1 |
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
|
0b67d1 |
BuildRequires: mvn(org.jvnet.staxex:stax-ex)
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%description
|
|
|
0b67d1 |
GlassFish JAXB Reference Implementation.
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%package codemodel
|
|
|
0b67d1 |
Summary: Codemodel Core
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%description codemodel
|
|
|
0b67d1 |
The core functionality of the CodeModel java source code generation library.
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%package codemodel-annotation-compiler
|
|
|
0b67d1 |
Summary: Codemodel Annotation Compiler
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%description codemodel-annotation-compiler
|
|
|
0b67d1 |
The annotation compiler ant task for the CodeModel java source code generation
|
|
|
0b67d1 |
library.
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%package relaxng-datatype
|
|
|
0b67d1 |
Summary: RelaxNG Datatype
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%description relaxng-datatype
|
|
|
0b67d1 |
RelaxNG Datatype library.
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%package xsom
|
|
|
0b67d1 |
Summary: XML Schema Object Model
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%description xsom
|
|
|
0b67d1 |
XML Schema Object Model (XSOM) is a Java library that allows applications to
|
|
|
0b67d1 |
easily parse XML Schema documents and inspect information in them. It is
|
|
|
0b67d1 |
expected to be useful for applications that need to take XML Schema as an
|
|
|
0b67d1 |
input.
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%package core
|
|
|
0b67d1 |
Summary: JAXB Core
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%description core
|
|
|
0b67d1 |
JAXB Core module. Contains sources required by XJC, JXC and Runtime modules.
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%package rngom
|
|
|
0b67d1 |
# pom.xml and module-info.java are under BSD, rest is MIT
|
|
|
0b67d1 |
License: MIT and BSD
|
|
|
0b67d1 |
Summary: RELAX NG Object Model/Parser
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%description rngom
|
|
|
0b67d1 |
This package contains RELAX NG Object Model/Parser.
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%package runtime
|
|
|
0b67d1 |
Summary: JAXB Runtime
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%description runtime
|
|
|
0b67d1 |
JAXB (JSR 222) Reference Implementation
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%package txw2
|
|
|
0b67d1 |
Summary: TXW2 Runtime
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%description txw2
|
|
|
0b67d1 |
TXW is a library that allows you to write XML documents.
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%package xjc
|
|
|
0b67d1 |
# jaxb-ri/xjc/src/main/java/com/sun/tools/xjc/reader/internalizer/NamespaceContextImpl.java is under ASL 2.0
|
|
|
0b67d1 |
License: BSD and ASL 2.0
|
|
|
0b67d1 |
Summary: JAXB XJC
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%description xjc
|
|
|
0b67d1 |
JAXB Binding Compiler. Contains source code needed for binding customization
|
|
|
0b67d1 |
files into java sources. In other words: the tool to generate java classes for
|
|
|
0b67d1 |
the given xml representation.
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%package txwc2
|
|
|
0b67d1 |
Summary: TXW2 Compiler
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%description txwc2
|
|
|
0b67d1 |
JAXB schema generator. The tool to generate XML schema based on java classes.
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%prep
|
|
|
0b67d1 |
%setup -q -n jaxb-ri-%{version}-RI
|
|
|
0b67d1 |
|
|
|
0b67d1 |
pushd jaxb-ri
|
|
|
0b67d1 |
|
|
|
0b67d1 |
find -name 'module-info.java' -type f -delete
|
|
|
0b67d1 |
|
|
|
0b67d1 |
# Remove ee4j parent
|
|
|
0b67d1 |
%pom_remove_parent boms/bom codemodel external xsom
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%pom_remove_plugin -r :buildnumber-maven-plugin
|
|
|
0b67d1 |
%pom_remove_plugin -r :maven-enforcer-plugin
|
|
|
0b67d1 |
|
|
|
0b67d1 |
# Skip docs generation because of missing dependencies
|
|
|
0b67d1 |
%pom_xpath_remove "pom:profiles/pom:profile[pom:id='default-profile']/pom:modules"
|
|
|
0b67d1 |
|
|
|
0b67d1 |
# Disable unneeded extra OSGi bundles
|
|
|
0b67d1 |
%pom_disable_module bundles
|
|
|
0b67d1 |
|
|
|
0b67d1 |
# Missing dependency on org.checkerframework:compiler
|
|
|
0b67d1 |
%pom_disable_module jxc
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%pom_remove_dep org.eclipse.angus:angus-activation core
|
|
|
0b67d1 |
|
|
|
0b67d1 |
# Don't install aggregator and parent poms
|
|
|
0b67d1 |
%mvn_package :jaxb-bom __noinstall
|
|
|
0b67d1 |
%mvn_package :jaxb-bom-ext __noinstall
|
|
|
0b67d1 |
%mvn_package :jaxb-bundles __noinstall
|
|
|
0b67d1 |
%mvn_package :jaxb-codemodel-parent __noinstall
|
|
|
0b67d1 |
%mvn_package :jaxb-docs-parent __noinstall
|
|
|
0b67d1 |
%mvn_package :jaxb-external-parent __noinstall
|
|
|
0b67d1 |
%mvn_package :jaxb-parent __noinstall
|
|
|
0b67d1 |
%mvn_package :jaxb-runtime-parent __noinstall
|
|
|
0b67d1 |
%mvn_package :jaxb-samples __noinstall
|
|
|
0b67d1 |
%mvn_package :jaxb-txw-parent __noinstall
|
|
|
0b67d1 |
%mvn_package :jaxb-www __noinstall
|
|
|
0b67d1 |
popd
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%build
|
|
|
0b67d1 |
pushd jaxb-ri
|
|
|
0b67d1 |
%mvn_build -s -f -j
|
|
|
0b67d1 |
popd
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%install
|
|
|
0b67d1 |
pushd jaxb-ri
|
|
|
0b67d1 |
%mvn_install
|
|
|
0b67d1 |
popd
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%files codemodel -f jaxb-ri/.mfiles-codemodel
|
|
|
0b67d1 |
%license LICENSE.md NOTICE.md
|
|
|
0b67d1 |
%files codemodel-annotation-compiler -f jaxb-ri/.mfiles-codemodel-annotation-compiler
|
|
|
0b67d1 |
%files relaxng-datatype -f jaxb-ri/.mfiles-relaxng-datatype
|
|
|
0b67d1 |
%license LICENSE.md NOTICE.md
|
|
|
0b67d1 |
%files xsom -f jaxb-ri/.mfiles-xsom
|
|
|
0b67d1 |
%files core -f jaxb-ri/.mfiles-jaxb-core
|
|
|
0b67d1 |
%files rngom -f jaxb-ri/.mfiles-rngom
|
|
|
0b67d1 |
%files runtime -f jaxb-ri/.mfiles-jaxb-runtime
|
|
|
0b67d1 |
%files txw2 -f jaxb-ri/.mfiles-txw2
|
|
|
0b67d1 |
%license LICENSE.md NOTICE.md
|
|
|
0b67d1 |
%files txwc2 -f jaxb-ri/.mfiles-txwc2
|
|
|
0b67d1 |
%files xjc -f jaxb-ri/.mfiles-jaxb-xjc
|
|
|
0b67d1 |
|
|
|
0b67d1 |
%changelog
|
|
|
0b67d1 |
* Tue Feb 07 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.2-1
|
|
|
0b67d1 |
- Update to upstream version 4.0.2
|
|
|
0b67d1 |
|
|
|
0b67d1 |
* Tue Jan 17 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.1-1
|
|
|
0b67d1 |
- Initial build
|