Add core module, fix dependencies
This commit is contained in:
parent
c495d16a84
commit
8bdf223a57
33
jaxb.spec
33
jaxb.spec
@ -1,4 +1,4 @@
|
|||||||
%bcond_without bootstrap
|
%bcond_with bootstrap
|
||||||
|
|
||||||
Name: jaxb
|
Name: jaxb
|
||||||
Version: 4.0.1
|
Version: 4.0.1
|
||||||
@ -20,7 +20,6 @@ BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
||||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
BuildRequires: mvn(com.sun.activation:jakarta.activation)
|
|
||||||
BuildRequires: mvn(com.sun.istack:istack-commons-runtime)
|
BuildRequires: mvn(com.sun.istack:istack-commons-runtime)
|
||||||
BuildRequires: mvn(com.sun.istack:istack-commons-tools)
|
BuildRequires: mvn(com.sun.istack:istack-commons-tools)
|
||||||
BuildRequires: mvn(com.sun.xml.dtd-parser:dtd-parser)
|
BuildRequires: mvn(com.sun.xml.dtd-parser:dtd-parser)
|
||||||
@ -38,15 +37,14 @@ GlassFish JAXB Reference Implementation.
|
|||||||
Summary: Codemodel Core
|
Summary: Codemodel Core
|
||||||
|
|
||||||
%description codemodel
|
%description codemodel
|
||||||
The core functionality of the CodeModel java source code generation
|
The core functionality of the CodeModel java source code generation library.
|
||||||
library.
|
|
||||||
|
|
||||||
%package codemodel-annotation-compiler
|
%package codemodel-annotation-compiler
|
||||||
Summary: Codemodel Annotation Compiler
|
Summary: Codemodel Annotation Compiler
|
||||||
|
|
||||||
%description codemodel-annotation-compiler
|
%description codemodel-annotation-compiler
|
||||||
The annotation compiler ant task for the CodeModel java source code
|
The annotation compiler ant task for the CodeModel java source code generation
|
||||||
generation library.
|
library.
|
||||||
|
|
||||||
%package relaxng-datatype
|
%package relaxng-datatype
|
||||||
Summary: RelaxNG Datatype
|
Summary: RelaxNG Datatype
|
||||||
@ -64,6 +62,12 @@ expected to be useful for applications that need to take XML Schema as an
|
|||||||
input.
|
input.
|
||||||
|
|
||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
|
%package core
|
||||||
|
Summary: JAXB Core
|
||||||
|
|
||||||
|
%description core
|
||||||
|
JAXB Core module. Contains sources required by XJC, JXC and Runtime modules.
|
||||||
|
|
||||||
%package rngom
|
%package rngom
|
||||||
Summary: RELAX NG Object Model/Parser
|
Summary: RELAX NG Object Model/Parser
|
||||||
|
|
||||||
@ -86,16 +90,15 @@ TXW is a library that allows you to write XML documents.
|
|||||||
Summary: JAXB XJC
|
Summary: JAXB XJC
|
||||||
|
|
||||||
%description xjc
|
%description xjc
|
||||||
JAXB Binding Compiler. Contains source code needed for binding
|
JAXB Binding Compiler. Contains source code needed for binding customization
|
||||||
customization files into java sources. In other words: the tool to
|
files into java sources. In other words: the tool to generate java classes for
|
||||||
generate java classes for the given xml representation.
|
the given xml representation.
|
||||||
|
|
||||||
%package txwc2
|
%package txwc2
|
||||||
Summary: TXW2 Compiler
|
Summary: TXW2 Compiler
|
||||||
|
|
||||||
%description txwc2
|
%description txwc2
|
||||||
JAXB schema generator. The tool to generate XML schema based on java
|
JAXB schema generator. The tool to generate XML schema based on java classes.
|
||||||
classes.
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -128,11 +131,7 @@ pushd jaxb-ri
|
|||||||
# Missing dependency on org.checkerframework:compiler
|
# Missing dependency on org.checkerframework:compiler
|
||||||
%pom_disable_module jxc
|
%pom_disable_module jxc
|
||||||
|
|
||||||
# Fix dep on xml resolver
|
%pom_remove_dep org.eclipse.angus:angus-activation core
|
||||||
%pom_change_dep com.sun.org.apache.xml.internal:resolver xml-resolver:xml-resolver:1.2 xjc
|
|
||||||
sed -i -e 's/com\.sun\.org\.apache\.xml\.internal\.resolver/org.apache.xml.resolver/' xjc/src/main/java/com/sun/tools/xjc/CatalogUtil.java
|
|
||||||
|
|
||||||
%pom_remove_dep -r com.sun.org.apache.xml.internal:resolver
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Compatibility
|
# Compatibility
|
||||||
@ -174,6 +173,8 @@ popd
|
|||||||
%files xsom -f jaxb-ri/.mfiles-xsom
|
%files xsom -f jaxb-ri/.mfiles-xsom
|
||||||
%license LICENSE.md NOTICE.md
|
%license LICENSE.md NOTICE.md
|
||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
|
%files core -f jaxb-ri/.mfiles-jaxb-core
|
||||||
|
%license LICENSE.md NOTICE.md
|
||||||
%files rngom -f jaxb-ri/.mfiles-rngom
|
%files rngom -f jaxb-ri/.mfiles-rngom
|
||||||
%license LICENSE.md NOTICE.md
|
%license LICENSE.md NOTICE.md
|
||||||
%files runtime -f jaxb-ri/.mfiles-jaxb-runtime
|
%files runtime -f jaxb-ri/.mfiles-jaxb-runtime
|
||||||
|
Loading…
Reference in New Issue
Block a user