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