8cdf884
Name:           glassfish-jaxb
8cdf884
Version:        2.2.11
b74817e
Release:        8%{?dist}
8cdf884
Summary:        JAXB Reference Implementation
8cdf884
e6b5828
License:        CDDL-1.1 and GPLv2 with exceptions
8cdf884
URL:            http://jaxb.java.net
8cdf884
8cdf884
Source0:        https://jaxb.java.net/%{version}/jaxb-ri-%{version}.src.zip
2819a7d
Patch0:         txw2-args4j.patch
8cdf884
8cdf884
BuildRequires:  maven-local
a017526
BuildRequires:  mvn(args4j:args4j)
a017526
BuildRequires:  mvn(com.google.code.javaparser:javaparser)
a017526
BuildRequires:  mvn(com.sun.istack:istack-commons-runtime)
a017526
BuildRequires:  mvn(com.sun.istack:istack-commons-tools)
a017526
BuildRequires:  mvn(com.sun:tools)
a017526
BuildRequires:  mvn(com.sun.xml.dtd-parser:dtd-parser)
a017526
BuildRequires:  mvn(com.sun.xml.fastinfoset:FastInfoset)
a017526
BuildRequires:  mvn(com.sun.xsom:xsom)
653ae1c
BuildRequires:  mvn(javax.xml.bind:jaxb-api)
a017526
BuildRequires:  mvn(junit:junit)
a017526
BuildRequires:  mvn(net.java.dev.msv:msv-core)
a017526
BuildRequires:  mvn(net.java:jvnet-parent:pom:)
a017526
BuildRequires:  mvn(org.apache.ant:ant)
a017526
BuildRequires:  mvn(org.apache.maven.plugins:maven-dependency-plugin)
a017526
BuildRequires:  mvn(org.apache.maven.plugins:maven-deploy-plugin)
a017526
BuildRequires:  mvn(org.apache.maven.plugins:maven-enforcer-plugin)
a017526
BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
a017526
BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin)
a017526
BuildRequires:  mvn(org.codehaus.mojo:buildnumber-maven-plugin)
a017526
BuildRequires:  mvn(org.jvnet.staxex:stax-ex)
a017526
BuildRequires:  mvn(relaxngDatatype:relaxngDatatype)
a017526
BuildRequires:  mvn(xmlunit:xmlunit)
8cdf884
2819a7d
Requires:       glassfish-jaxb1-impl                  = %{version}-%{release}
2819a7d
Requires:       %{name}-bom                           = %{version}-%{release}
2819a7d
Requires:       %{name}-bom-ext                       = %{version}-%{release}
2819a7d
Requires:       %{name}-codemodel                     = %{version}-%{release}
2819a7d
Requires:       %{name}-codemodel-annotation-compiler = %{version}-%{release}
2819a7d
Requires:       %{name}-codemodel-parent              = %{version}-%{release}
2819a7d
Requires:       %{name}-core                          = %{version}-%{release}
2819a7d
Requires:       %{name}-external-parent               = %{version}-%{release}
2819a7d
Requires:       %{name}-jxc                           = %{version}-%{release}
2819a7d
Requires:       %{name}-parent                        = %{version}-%{release}
2819a7d
Requires:       %{name}-rngom                         = %{version}-%{release}
2819a7d
Requires:       %{name}-runtime                       = %{version}-%{release}
2819a7d
Requires:       %{name}-runtime-parent                = %{version}-%{release}
2819a7d
Requires:       %{name}-txw2                          = %{version}-%{release}
2819a7d
Requires:       %{name}-txwc2                         = %{version}-%{release}
2819a7d
Requires:       %{name}-txw-parent                    = %{version}-%{release}
2819a7d
Requires:       %{name}-xjc                           = %{version}-%{release}
2819a7d
8cdf884
BuildArch:      noarch
Juan Hernandez 313bef3
Juan Hernandez 313bef3
%description
Juan Hernandez 313bef3
GlassFish JAXB Reference Implementation.
Juan Hernandez 313bef3
2819a7d
%package codemodel
2819a7d
Summary:        Codemodel Core
2819a7d
2819a7d
%description codemodel
2819a7d
The core functionality of the CodeModel java source code generation
2819a7d
library.
2819a7d
2819a7d
%package codemodel-annotation-compiler
2819a7d
Summary:        Codemodel Annotation Compiler
2819a7d
2819a7d
%description codemodel-annotation-compiler
2819a7d
The annotation compiler ant task for the CodeModel java source code
2819a7d
generation library.
2819a7d
2819a7d
%package -n glassfish-jaxb1-impl
2819a7d
Summary:        JAXB1 Runtime
2819a7d
2819a7d
%description -n glassfish-jaxb1-impl
2819a7d
Runtime classes for JAXB1 runtime implementation.
2819a7d
2819a7d
%package bom
2819a7d
Summary:        JAXB BOM
2819a7d
2819a7d
%description bom
2819a7d
JAXB Bill of Materials (BOM)
2819a7d
2819a7d
%package bom-ext
2819a7d
Summary:        JAXB BOM with all dependencies
2819a7d
2819a7d
%description bom-ext
2819a7d
JAXB Bill of Materials (BOM) with all dependencies.
2819a7d
2819a7d
%package codemodel-parent
2819a7d
Summary:        Codemodel parent POM
2819a7d
2819a7d
%description codemodel-parent
2819a7d
This package contains codemodel parent POM.
2819a7d
2819a7d
%package core
2819a7d
Summary:        JAXB Core
2819a7d
2819a7d
%description core
2819a7d
JAXB Core module. Contains sources required by XJC, JXC and Runtime
2819a7d
modules.
2819a7d
2819a7d
%package external-parent
2819a7d
Summary:        JAXB External parent POM
2819a7d
2819a7d
%description external-parent
2819a7d
JAXB External parent POM.
2819a7d
2819a7d
%package jxc
2819a7d
Summary:        JAXB schema generator
2819a7d
2819a7d
%description jxc
2819a7d
The tool to generate XML schema based on java classes.
2819a7d
2819a7d
%package parent
2819a7d
Summary:        JAXB parent POM
2819a7d
2819a7d
%description parent
2819a7d
This package contains parent POM.
2819a7d
2819a7d
%package runtime
2819a7d
Summary:        JAXB Runtime
2819a7d
2819a7d
%description runtime
2819a7d
JAXB (JSR 222) Reference Implementation
2819a7d
2819a7d
%package runtime-parent
2819a7d
Summary:        JAXB Runtime parent POM
2819a7d
2819a7d
%description runtime-parent
2819a7d
This package contains Runtime parent POM.
2819a7d
2819a7d
%package txw-parent
2819a7d
Summary:        JAXB TXW parent POM
2819a7d
2819a7d
%description txw-parent
2819a7d
This package contains TXW parent POM.
2819a7d
2819a7d
%package xjc
2819a7d
Summary:        JAXB XJC
2819a7d
2819a7d
%description xjc
2819a7d
JAXB Binding Compiler. Contains source code needed for binding
2819a7d
customization files into java sources. In other words: the tool to
2819a7d
generate java classes for the given xml representation.
2819a7d
2819a7d
%package rngom
2819a7d
Summary:        RELAX NG Object Model/Parser
2819a7d
2819a7d
%description rngom
2819a7d
This package contains RELAX NG Object Model/Parser.
2819a7d
2819a7d
%package txw2
2819a7d
Summary:        TXW2 Runtime
2819a7d
2819a7d
%description txw2
2819a7d
TXW is a library that allows you to write XML documents.
2819a7d
2819a7d
%package txwc2
2819a7d
Summary:        TXW2 Compiler
2819a7d
2819a7d
%description txwc2
2819a7d
JAXB schema generator. The tool to generate XML schema based on java
2819a7d
classes.
2819a7d
Juan Hernandez 313bef3
%package javadoc
8cdf884
Summary:        Javadocs for %{name}
Juan Hernandez 313bef3
Juan Hernandez 313bef3
%description javadoc
Juan Hernandez 313bef3
This package contains the API documentation for %{name}.
Juan Hernandez 313bef3
Juan Hernandez 313bef3
%prep
8cdf884
%setup -q -c
2819a7d
2819a7d
%patch0 -p1
2819a7d
a017526
%pom_disable_module bundles
Juan Hernandez 313bef3
8cdf884
%pom_remove_dep com.sun:tools
8cdf884
%pom_add_dep_mgmt com.sun:tools
8cdf884
%pom_remove_dep com.sun:tools jxc
8cdf884
%pom_add_dep com.sun:tools jxc
Juan Hernandez 313bef3
8cdf884
%pom_remove_dep com.sun.xml.bind:jaxb-release-documentation bundles/ri
8cdf884
%pom_remove_dep com.sun.xml.bind:jaxb-samples bundles/ri
8cdf884
8cdf884
%pom_remove_plugin :gfnexus-maven-plugin
8cdf884
%pom_remove_plugin :maven-site-plugin
Juan Hernandez 313bef3
a017526
%mvn_alias org.glassfish.jaxb:jaxb-runtime "com.sun.xml.bind:jaxb-impl"
a017526
%mvn_alias org.glassfish.jaxb:jaxb-xjc "com.sun.xml.bind:jaxb-xjc"
Juan Hernandez 313bef3
8cdf884
%build
2819a7d
%mvn_build -f -s -- -Ddev
Juan Hernandez 313bef3
Juan Hernandez 313bef3
%install
8cdf884
%mvn_install
Juan Hernandez 313bef3
2819a7d
%files
2819a7d
%doc License.txt licenceheader.txt License.html
2819a7d
2819a7d
%files codemodel -f .mfiles-codemodel
2819a7d
%dir %{_javadir}/%{name}
2819a7d
%doc License.txt licenceheader.txt License.html
2819a7d
2819a7d
%files codemodel-annotation-compiler -f .mfiles-codemodel-annotation-compiler
2819a7d
%dir %{_javadir}/%{name}
2819a7d
2819a7d
%files -n glassfish-jaxb1-impl -f .mfiles-jaxb1-impl
2819a7d
%dir %{_javadir}/%{name}
2819a7d
2819a7d
%files bom -f .mfiles-jaxb-bom
2819a7d
%doc License.txt licenceheader.txt License.html
2819a7d
2819a7d
%files bom-ext -f .mfiles-jaxb-bom-ext
2819a7d
2819a7d
%files codemodel-parent -f .mfiles-jaxb-codemodel-parent
2819a7d
2819a7d
%files core -f .mfiles-jaxb-core
2819a7d
%dir %{_javadir}/%{name}
2819a7d
%doc License.txt licenceheader.txt License.html
2819a7d
2819a7d
%files external-parent -f .mfiles-jaxb-external-parent
2819a7d
2819a7d
%files jxc -f .mfiles-jaxb-jxc
2819a7d
%dir %{_javadir}/%{name}
2819a7d
%doc License.txt licenceheader.txt License.html
2819a7d
2819a7d
%files parent -f .mfiles-jaxb-parent
2819a7d
2819a7d
%files runtime -f .mfiles-jaxb-runtime
2819a7d
%dir %{_javadir}/%{name}
2819a7d
%doc License.txt licenceheader.txt License.html
2819a7d
2819a7d
%files runtime-parent -f .mfiles-jaxb-runtime-parent
2819a7d
2819a7d
%files txw-parent -f .mfiles-jaxb-txw-parent
2819a7d
2819a7d
%files xjc -f .mfiles-jaxb-xjc
2819a7d
%dir %{_javadir}/%{name}
2819a7d
2819a7d
%files rngom -f .mfiles-rngom
2819a7d
%dir %{_javadir}/%{name}
2819a7d
%doc License.txt licenceheader.txt License.html
2819a7d
2819a7d
%files txw2 -f .mfiles-txw2
2819a7d
%dir %{_javadir}/%{name}
2819a7d
%doc License.txt licenceheader.txt License.html
2819a7d
2819a7d
%files txwc2 -f .mfiles-txwc2
2819a7d
%dir %{_javadir}/%{name}
8cdf884
%doc License.txt licenceheader.txt License.html
Juan Hernandez 313bef3
3662b2d
%files javadoc -f .mfiles-javadoc
8cdf884
%doc License.txt licenceheader.txt License.html
Juan Hernandez 313bef3
Juan Hernandez 313bef3
Juan Hernandez 313bef3
%changelog
b74817e
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.11-8
b74817e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b74817e
e6b5828
* Thu Nov 09 2017 Michael Simacek <msimacek@redhat.com> - 2.2.11-7
e6b5828
- Specify CDDL license version
e6b5828
a61af9a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.11-6
a61af9a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a61af9a
cf27d2b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.11-5
cf27d2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cf27d2b
f5a152f
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.11-4
f5a152f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f5a152f
427b4b8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.11-3
427b4b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
427b4b8
2819a7d
* Fri Mar 20 2015 Michal Srb <msrb@redhat.com> - 2.2.11-2
2819a7d
- Split into subpackages (Resolves: rhbz#1204187)
2819a7d
8cdf884
* Mon Jan 19 2015 Michal Srb <msrb@redhat.com> - 2.2.11-1
8cdf884
- Update to upstream version 2.2.11
8cdf884
3662b2d
* Mon Oct 27 2014 Michal Srb <msrb@redhat.com> - 2.2.5-8
3662b2d
- Fix FTBFS (Resolves: rhbz#1106636)
3662b2d
- Adapt to current packaging guidelines
82881b6
- Remove R, add BR: javapackages-local (for %%mvn_artifact macro)
3662b2d
bfb16eb
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-7
bfb16eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
bfb16eb
5d97894
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 2.2.5-6
5d97894
- Use Requires: java-headless rebuild (#1067528)
5d97894
638e5b3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-5
638e5b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
638e5b3
edc0b78
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-4
edc0b78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
edc0b78
359d43c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-3
359d43c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
359d43c
Juan Hernandez 4b7818c
* Tue Mar 13 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.2.5-2
Juan Hernandez 4b7818c
- Add missing xsom and rngom dependencies to the POM files
Juan Hernandez 4b7818c
Juan Hernandez 313bef3
* Sat Mar 10 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.2.5-1
Juan Hernandez 313bef3
- Updated to upstream version 2.2.5
Juan Hernandez 313bef3
- Removed classpath from manifest files
Juan Hernandez 313bef3
Juan Hernandez 313bef3
* Wed Mar 7 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.2.4u1-4
Juan Hernandez 313bef3
- Updated to reflect the change from glassfish-fi to glassfish-fastinfoset
Juan Hernandez 313bef3
Juan Hernandez 313bef3
* Wed Feb 22 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.2.4u1-3
Juan Hernandez 313bef3
- Updated to reflect the changes of the jar names in txw2
Juan Hernandez 313bef3
Juan Hernandez 313bef3
* Wed Feb 22 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.2.4u1-2
Juan Hernandez 313bef3
- Cleanup of the spec file
Juan Hernandez 313bef3
Juan Hernandez 313bef3
* Sat Jan 21 2012 Marek Goldmann <mgoldman@redhat.com> 2.2.4u1-1
Juan Hernandez 313bef3
- Initial packaging
Juan Hernandez 313bef3