Blame SPECS/stax-ex.spec

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