130 lines
4.0 KiB
RPMSpec
130 lines
4.0 KiB
RPMSpec
Name: glassfish-jaxb
|
|
Version: 2.2.11
|
|
Release: 1%{?dist}
|
|
Summary: JAXB Reference Implementation
|
|
|
|
License: CDDL and GPLv2 with exceptions
|
|
URL: http://jaxb.java.net
|
|
|
|
Source0: https://jaxb.java.net/%{version}/jaxb-ri-%{version}.src.zip
|
|
|
|
BuildRequires: maven-local
|
|
BuildRequires: codemodel
|
|
BuildRequires: istack-commons
|
|
BuildRequires: relaxngcc
|
|
BuildRequires: xml-commons-resolver
|
|
BuildRequires: txw2
|
|
BuildRequires: relaxngDatatype
|
|
BuildRequires: glassfish-dtd-parser
|
|
BuildRequires: glassfish-jaxb-api
|
|
BuildRequires: glassfish-fastinfoset
|
|
BuildRequires: jing
|
|
BuildRequires: stax-ex
|
|
BuildRequires: isorelax
|
|
BuildRequires: xsom
|
|
BuildRequires: rngom
|
|
BuildRequires: javaparser
|
|
BuildRequires: args4j
|
|
BuildRequires: args4j-tools
|
|
BuildRequires: maven-site-plugin
|
|
BuildRequires: maven-dependency-plugin
|
|
BuildRequires: maven-shade-plugin
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
GlassFish JAXB Reference Implementation.
|
|
|
|
%package javadoc
|
|
Summary: Javadocs for %{name}
|
|
|
|
%description javadoc
|
|
This package contains the API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -c
|
|
|
|
# uses very old args4j
|
|
%pom_disable_module compiler txw
|
|
|
|
%pom_remove_dep com.sun:tools
|
|
%pom_add_dep_mgmt com.sun:tools
|
|
%pom_remove_dep com.sun:tools jxc
|
|
%pom_add_dep com.sun:tools jxc
|
|
|
|
%pom_remove_dep com.sun.xml.bind:jaxb-release-documentation bundles/ri
|
|
%pom_remove_dep com.sun.xml.bind:jaxb-samples bundles/ri
|
|
|
|
%pom_remove_plugin :gfnexus-maven-plugin
|
|
%pom_remove_plugin :maven-site-plugin
|
|
|
|
%pom_remove_dep org.glassfish.jaxb:jaxb-runtime bundles/runtime
|
|
%pom_remove_dep org.glassfish.jaxb:jaxb-jxc bundles/jxc
|
|
|
|
%mvn_alias com.sun.xml.bind:jaxb-impl org.glassfish.jaxb:jaxb-runtime
|
|
%mvn_alias com.sun.xml.bind:jaxb-jxc org.glassfish.jaxb:jaxb-jxc
|
|
|
|
%build
|
|
%mvn_build -f -i -- -Ddev
|
|
|
|
%install
|
|
%mvn_artifact boms/bom/pom.xml
|
|
%mvn_artifact boms/bom-ext/pom.xml
|
|
%mvn_artifact pom.xml
|
|
%mvn_artifact bundles/pom.xml
|
|
%mvn_artifact bundles/runtime/pom.xml bundles/runtime/target/jaxb-impl-%{version}.jar
|
|
%mvn_artifact bundles/jxc/pom.xml bundles/jxc/target/jaxb-jxc-%{version}.jar
|
|
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc License.txt licenceheader.txt License.html
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%doc License.txt licenceheader.txt License.html
|
|
|
|
|
|
%changelog
|
|
* Mon Jan 19 2015 Michal Srb <msrb@redhat.com> - 2.2.11-1
|
|
- Update to upstream version 2.2.11
|
|
|
|
* Mon Oct 27 2014 Michal Srb <msrb@redhat.com> - 2.2.5-8
|
|
- Fix FTBFS (Resolves: rhbz#1106636)
|
|
- Adapt to current packaging guidelines
|
|
- Remove R, add BR: javapackages-local (for %%mvn_artifact macro)
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 2.2.5-6
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Tue Mar 13 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.2.5-2
|
|
- Add missing xsom and rngom dependencies to the POM files
|
|
|
|
* Sat Mar 10 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.2.5-1
|
|
- Updated to upstream version 2.2.5
|
|
- Removed classpath from manifest files
|
|
|
|
* Wed Mar 7 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.2.4u1-4
|
|
- Updated to reflect the change from glassfish-fi to glassfish-fastinfoset
|
|
|
|
* Wed Feb 22 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.2.4u1-3
|
|
- Updated to reflect the changes of the jar names in txw2
|
|
|
|
* Wed Feb 22 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.2.4u1-2
|
|
- Cleanup of the spec file
|
|
|
|
* Sat Jan 21 2012 Marek Goldmann <mgoldman@redhat.com> 2.2.4u1-1
|
|
- Initial packaging
|
|
|