|
|
7073a5 |
%global pkg_name glassfish-jaxb-api
|
|
|
7073a5 |
%{?scl:%scl_package %{pkg_name}}
|
|
|
7073a5 |
%global oname jaxb-api
|
|
|
7073a5 |
%{?java_common_find_provides_and_requires}
|
|
|
7073a5 |
Name: %{?scl_prefix}glassfish-jaxb-api
|
|
|
7073a5 |
Version: 2.2.12
|
|
|
7073a5 |
Release: 3.2%{?dist}
|
|
|
7073a5 |
Summary: Java Architecture for XML Binding
|
|
|
7073a5 |
License: CDDL or GPLv2 with exception
|
|
|
7073a5 |
URL: http://jaxb.java.net/
|
|
|
7073a5 |
# jaxb api and impl have different version
|
|
|
7073a5 |
# svn export https://svn.java.net/svn/jaxb~version2/tags/jaxb-2_2_6/tools/lib/redist/jaxb-api-src.zip
|
|
|
7073a5 |
|
|
|
7073a5 |
Source0: http://repo1.maven.org/maven2/javax/xml/bind/%{oname}/%{version}/%{oname}-%{version}-b141001.1542-sources.jar
|
|
|
7073a5 |
Source1: http://repo1.maven.org/maven2/javax/xml/bind/%{oname}/%{version}/%{oname}-%{version}-b141001.1542.pom
|
|
|
7073a5 |
|
|
|
7073a5 |
BuildRequires: java-1.7.0-openjdk-devel
|
|
|
7073a5 |
BuildRequires: %{?scl_prefix_maven}jvnet-parent
|
|
|
7073a5 |
|
|
|
7073a5 |
BuildRequires: %{?scl_prefix_java_common}maven-local
|
|
|
7073a5 |
BuildRequires: %{?scl_prefix_maven}maven-enforcer-plugin
|
|
|
7073a5 |
BuildRequires: %{?scl_prefix_maven}maven-plugin-bundle
|
|
|
7073a5 |
BuildRequires: %{?scl_prefix_maven}maven-resources-plugin
|
|
|
7073a5 |
BuildArch: noarch
|
|
|
7073a5 |
|
|
|
7073a5 |
# The Fedora Packaging Committee granted openjdk a bundling exception to carry JAXP and
|
|
|
7073a5 |
# JAX-WS (glassfish doesn't need one, since it is the upstream for these files).
|
|
|
7073a5 |
# Reference: https://fedorahosted.org/fpc/ticket/292
|
|
|
7073a5 |
|
|
|
7073a5 |
%description
|
|
|
7073a5 |
Glassfish - JAXB (JSR 222) API.
|
|
|
7073a5 |
|
|
|
7073a5 |
%package javadoc
|
|
|
7073a5 |
Summary: Javadoc for %{oname}
|
|
|
7073a5 |
Requires: %{name} = %{version}-%{release}
|
|
|
7073a5 |
|
|
|
7073a5 |
%description javadoc
|
|
|
7073a5 |
Glassfish - JAXB (JSR 222) API.
|
|
|
7073a5 |
|
|
|
7073a5 |
This package contains javadoc for %{pkg_name}.
|
|
|
7073a5 |
|
|
|
7073a5 |
%prep
|
|
|
7073a5 |
|
|
|
7073a5 |
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
|
|
|
7073a5 |
%setup -T -q -c
|
|
|
7073a5 |
|
|
|
7073a5 |
# fixing incomplete source directory structure
|
|
|
7073a5 |
mkdir -p src/main/java
|
|
|
7073a5 |
|
|
|
7073a5 |
(
|
|
|
7073a5 |
cd src/main/java
|
|
|
7073a5 |
unzip -qq %{SOURCE0}
|
|
|
7073a5 |
rm -rf META-INF
|
|
|
7073a5 |
)
|
|
|
7073a5 |
|
|
|
7073a5 |
cp -p %{SOURCE1} pom.xml
|
|
|
7073a5 |
|
|
|
7073a5 |
%pom_remove_plugin org.codehaus.mojo:buildnumber-maven-plugin
|
|
|
7073a5 |
%pom_remove_plugin org.glassfish.copyright:glassfish-copyright-maven-plugin
|
|
|
7073a5 |
%pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin
|
|
|
7073a5 |
%pom_remove_plugin org.apache.maven.plugins:maven-gpg-plugin
|
|
|
7073a5 |
%pom_remove_plugin org.glassfish.build:gfnexus-maven-plugin
|
|
|
7073a5 |
|
|
|
7073a5 |
|
|
|
7073a5 |
sed -i 's|<location>${basedir}/offline-javadoc</location>|<location>%{_javadocdir}/java</location>|' pom.xml
|
|
|
7073a5 |
|
|
|
7073a5 |
%{?scl:EOF}
|
|
|
7073a5 |
|
|
|
7073a5 |
%build
|
|
|
7073a5 |
|
|
|
7073a5 |
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
|
|
|
7073a5 |
|
|
|
7073a5 |
%mvn_file :%{oname} %{oname}
|
|
|
7073a5 |
%mvn_build
|
|
|
7073a5 |
|
|
|
7073a5 |
%{?scl:EOF}
|
|
|
7073a5 |
|
|
|
7073a5 |
%install
|
|
|
7073a5 |
|
|
|
7073a5 |
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
|
|
|
7073a5 |
%mvn_install
|
|
|
7073a5 |
|
|
|
7073a5 |
mv %{buildroot}%{_javadocdir}/%{pkg_name} \
|
|
|
7073a5 |
%{buildroot}%{_javadocdir}/%{oname}
|
|
|
7073a5 |
|
|
|
7073a5 |
%{?scl:EOF}
|
|
|
7073a5 |
|
|
|
7073a5 |
%files -f .mfiles
|
|
|
7073a5 |
|
|
|
7073a5 |
%files javadoc
|
|
|
7073a5 |
%{_javadocdir}/%{oname}
|
|
|
7073a5 |
|
|
|
7073a5 |
%changelog
|
|
|
7073a5 |
* Thu Jul 16 2015 Mat Booth <mat.booth@redhat.com> - 2.2.12-3.2
|
|
|
7073a5 |
- Fix broken requires in javadoc package
|
|
|
7073a5 |
|
|
|
7073a5 |
* Tue Jul 07 2015 Roland Grunberg <rgrunber@redhat.com> - 2.2.12-3.1
|
|
|
7073a5 |
- SCL-ize.
|
|
|
7073a5 |
|
|
|
7073a5 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.12-3
|
|
|
7073a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7073a5 |
|
|
|
7073a5 |
* Tue Jan 20 2015 gil cattaneo <puntogil@libero.it> 2.2.12-2
|
|
|
7073a5 |
- Update to 2.2.12-b141001.1542
|
|
|
7073a5 |
|
|
|
7073a5 |
* Tue Jan 20 2015 gil cattaneo <puntogil@libero.it> 2.2.12-1
|
|
|
7073a5 |
- Update to 2.2.12
|
|
|
7073a5 |
|
|
|
7073a5 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.9-6
|
|
|
7073a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
7073a5 |
|
|
|
7073a5 |
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 2.2.9-5
|
|
|
7073a5 |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
7073a5 |
|
|
|
7073a5 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.9-4
|
|
|
7073a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
7073a5 |
|
|
|
7073a5 |
* Sat Jul 06 2013 gil cattaneo <puntogil@libero.it> 2.2.9-3
|
|
|
7073a5 |
- switch to XMvn
|
|
|
7073a5 |
- minor changes to adapt to current guideline
|
|
|
7073a5 |
|
|
|
7073a5 |
* Mon Jun 10 2013 Orion Poplawski <orion@cora.nwra.com> 2.2.9-2
|
|
|
7073a5 |
- Add requires jvnet-parent
|
|
|
7073a5 |
|
|
|
7073a5 |
* Thu May 02 2013 gil cattaneo <puntogil@libero.it> 2.2.9-1
|
|
|
7073a5 |
- update to 2.2.9
|
|
|
7073a5 |
|
|
|
7073a5 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.7-3
|
|
|
7073a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7073a5 |
|
|
|
7073a5 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.2.7-2
|
|
|
7073a5 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
7073a5 |
- Replace maven BuildRequires with maven-local
|
|
|
7073a5 |
|
|
|
7073a5 |
* Sat Aug 04 2012 gil cattaneo <puntogil@libero.it> 2.2.7-1
|
|
|
7073a5 |
- update to 2.2.7
|
|
|
7073a5 |
|
|
|
7073a5 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.6-2
|
|
|
7073a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
7073a5 |
|
|
|
7073a5 |
* Fri Apr 27 2012 gil cattaneo <puntogil@libero.it> 2.2.6-1
|
|
|
7073a5 |
- update to 2.2.6
|
|
|
7073a5 |
- remove Build/Requires: bea-stax-api
|
|
|
7073a5 |
|
|
|
7073a5 |
* Tue Jan 24 2012 gil cattaneo <puntogil@libero.it> 2.2.3-2
|
|
|
7073a5 |
- revert to 2.2.3 (stable release)
|
|
|
7073a5 |
- fix License field
|
|
|
7073a5 |
|
|
|
7073a5 |
* Fri Jul 22 2011 gil cattaneo <puntogil@libero.it> 2.2.3-1
|
|
|
7073a5 |
- initial rpm
|