c40475
Name:          stax-ex
c40475
Version:       1.7.7
c40475
Release:       8%{?dist}
c40475
Summary:       StAX API extensions
13bbbd
License:       CDDL-1.1 or GPLv2
c40475
Url:           https://stax-ex.dev.java.net
c40475
# svn export https://svn.java.net/svn/stax-ex~svn/tags/stax-ex-1.7.7/ stax-ex-1.7.7
c40475
# find stax-ex-1.7.7/ -name '*.jar' -delete
c40475
# tar czf stax-ex-1.7.7.tar.gz stax-ex-1.7.7
c40475
Source0:       %{name}-%{version}.tar.gz
c40475
c40475
BuildRequires: dos2unix
c40475
BuildRequires: maven-local
c40475
BuildRequires: mvn(javax.xml.stream:stax-api)
c40475
BuildRequires: mvn(junit:junit)
c40475
BuildRequires: mvn(net.java:jvnet-parent:pom:)
c40475
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
c40475
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
c40475
c40475
BuildArch:     noarch
c40475
c40475
%description
c40475
This project develops a few extensions to complement JSR-173 StAX API in the
c40475
following area.
c40475
c40475
* Enable parser instance reuse (which is important in the
c40475
  high-performance environment like JAXB and JAX-WS)
c40475
* Improve the support for reading from non-text XML infoset,
c40475
  such as FastInfoset.
c40475
* Improve the namespace support.
c40475
c40475
%package javadoc
c40475
Summary:       Javadoc for %{name}
c40475
c40475
%description javadoc
c40475
This package contains javadoc for %{name}.
c40475
c40475
%prep
c40475
%setup -q
c40475
c40475
%pom_remove_dep javax.activation:activation
c40475
%pom_remove_plugin org.codehaus.mojo:buildnumber-maven-plugin
c40475
%pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin
c40475
%pom_remove_plugin org.glassfish.copyright:glassfish-copyright-maven-plugin
c40475
%pom_remove_plugin org.apache.maven.plugins:maven-deploy-plugin
c40475
c40475
# Convert the license to UTF-8:
c40475
mv LICENSE.txt LICENSE.txt.tmp
c40475
iconv -f ISO-8859-1 -t UTF-8 LICENSE.txt.tmp > LICENSE.txt
c40475
dos2unix LICENSE.txt
c40475
c40475
%mvn_file :stax-ex %{name}
c40475
c40475
%build
c40475
c40475
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
c40475
c40475
%install
c40475
%mvn_install
c40475
c40475
%files -f .mfiles
c40475
%license LICENSE.txt
c40475
c40475
%files javadoc -f .mfiles-javadoc
c40475
%license LICENSE.txt
c40475
c40475
%changelog
c40475
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.7-8
c40475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c40475
c40475
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.7-7
c40475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c40475
c40475
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.7-6
c40475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c40475
c40475
* Wed Jun 22 2016 gil cattaneo <puntogil@libero.it> 1.7.7-5
c40475
- regenerate build-requires
c40475
c40475
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.7-4
c40475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c40475
c40475
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.7-3
c40475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c40475
c40475
* Thu Feb 12 2015 gil cattaneo <puntogil@libero.it> 1.7.7-2
c40475
- introduce license macro
c40475
c40475
* Wed Jan 21 2015 gil cattaneo <puntogil@libero.it> 1.7.7-1
c40475
- update to 1.7.7
c40475
c40475
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1-8
c40475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c40475
c40475
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.7.1-7
c40475
- Use Requires: java-headless rebuild (#1067528)
c40475
c40475
* Mon Aug 05 2013 gil cattaneo <puntogil@libero.it> 1.7.1-6
c40475
- rebuilt FTBFS in rawhide
c40475
- swith to Xmvn
c40475
- adapt to new guideline
c40475
c40475
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1-5
c40475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c40475
c40475
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1-4
c40475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c40475
c40475
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.7.1-3
c40475
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
c40475
- Replace maven BuildRequires with maven-local
c40475
c40475
* Tue Oct 30 2012 Marek Goldmann <mgoldman@redhat.com> - 1.7.1-2
c40475
- Added maven-enforcer-plugin BR
c40475
c40475
* Tue Aug 28 2012 gil cattaneo <puntogil@libero.it> 1.7.1-1
c40475
- Updated to upstream version 1.7.1
c40475
c40475
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-2
c40475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c40475
c40475
* Fri Mar 9 2012 Juan Hernandez <juan.hernandez@redhat.com> 1.7-1
c40475
- Updated to upstream version 1.7
c40475
c40475
* Fri Mar 9 2012 Juan Hernandez <juan.hernandez@redhat.com> 1.4-2
c40475
- Cleanup of the spec file
c40475
c40475
* Sat Jan 21 2012 Marek Goldmann <mgoldman@redhat.com> 1.4-1
c40475
- Initial packaging