c373f3
Name: stax-ex
c373f3
Version: 1.7.1
c373f3
Release: 6%{?dist}
c373f3
Summary: StAX API extensions
c373f3
Group: Development/Libraries
c373f3
License: CDDL or GPLv2
c373f3
Url: https://stax-ex.dev.java.net
c373f3
c373f3
# svn export https://svn.java.net/svn/stax-ex~svn/tags/stax-ex-1.7.1 stax-ex-1.7.1
c373f3
# find stax-ex-1.7.1/ -name '*.jar' -delete
c373f3
# tar czf stax-ex-1.7.1.tar.gz stax-ex-1.7.1
c373f3
Source0: %{name}-%{version}.tar.gz
c373f3
c373f3
BuildRequires: bea-stax
c373f3
BuildRequires: dos2unix
c373f3
BuildRequires: java-devel
c373f3
BuildRequires: jpackage-utils
c373f3
BuildRequires: junit
c373f3
BuildRequires: jvnet-parent
c373f3
BuildRequires: maven-local
c373f3
BuildRequires: maven-enforcer-plugin
c373f3
c373f3
Requires: bea-stax
c373f3
Requires: jpackage-utils
c373f3
c373f3
BuildArch: noarch
c373f3
c373f3
c373f3
%description
c373f3
This project develops a few extensions to complement JSR-173 StAX API in the
c373f3
following area.
c373f3
c373f3
* Enable parser instance reuse (which is important in the
c373f3
  high-performance environment like JAXB and JAX-WS)
c373f3
* Improve the support for reading from non-text XML infoset,
c373f3
  such as FastInfoset.
c373f3
* Improve the namespace support.
c373f3
c373f3
c373f3
%package javadoc
c373f3
Group: Documentation
c373f3
Summary: Javadoc for %{name}
c373f3
Requires: jpackage-utils
c373f3
c373f3
c373f3
%description javadoc
c373f3
This package contains javadoc for %{name}.
c373f3
c373f3
c373f3
%prep
c373f3
%setup -q
c373f3
%pom_remove_dep javax.activation:activation
c373f3
c373f3
# Convert the license to UTF-8:
c373f3
mv LICENSE.txt LICENSE.txt.tmp
c373f3
iconv -f ISO-8859-1 -t UTF-8 LICENSE.txt.tmp > LICENSE.txt
c373f3
dos2unix LICENSE.txt
c373f3
c373f3
%mvn_file : %{name}
c373f3
c373f3
c373f3
%build
c373f3
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
c373f3
c373f3
c373f3
%install
c373f3
%mvn_install
c373f3
c373f3
c373f3
%files -f .mfiles
c373f3
%doc LICENSE.txt
c373f3
c373f3
c373f3
%files javadoc -f .mfiles-javadoc
c373f3
%doc LICENSE.txt
c373f3
c373f3
c373f3
%changelog
c373f3
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.7.1-6
c373f3
- Mass rebuild 2013-12-27
c373f3
c373f3
* Wed Nov 13 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7.1-5
c373f3
- Update to current packaging guidelines
c373f3
c373f3
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1-4
c373f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c373f3
c373f3
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.7.1-3
c373f3
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
c373f3
- Replace maven BuildRequires with maven-local
c373f3
c373f3
* Tue Oct 30 2012 Marek Goldmann <mgoldman@redhat.com> - 1.7.1-2
c373f3
- Added maven-enforcer-plugin BR
c373f3
c373f3
* Tue Aug 28 2012 gil cattaneo <puntogil@libero.it> 1.7.1-1
c373f3
- Updated to upstream version 1.7.1
c373f3
c373f3
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-2
c373f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c373f3
c373f3
* Fri Mar 9 2012 Juan Hernandez <juan.hernandez@redhat.com> 1.7-1
c373f3
- Updated to upstream version 1.7
c373f3
c373f3
* Fri Mar 9 2012 Juan Hernandez <juan.hernandez@redhat.com> 1.4-2
c373f3
- Cleanup of the spec file
c373f3
c373f3
* Sat Jan 21 2012 Marek Goldmann <mgoldman@redhat.com> 1.4-1
c373f3
- Initial packaging