Jaromir Capik f8cca73
%global base_name woodstox
Jaromir Capik f8cca73
a23fec2
Name:           woodstox-core
1393f0c
Summary:        High-performance XML processor
7847b4f
Version:        6.0.2
7847b4f
Release:        1%{?dist}
0a40a56
License:        ASL 2.0 or LGPLv2+ or BSD
a23fec2
c92e39f
URL:            https://github.com/FasterXML/woodstox
a23fec2
Source0:        %{url}/archive/%{name}-%{version}.tar.gz
1393f0c
454dc8f
Patch0: 0001-Allow-building-against-OSGi-APIs-newer-than-R4.patch
454dc8f
a23fec2
BuildArch:      noarch
1393f0c
1393f0c
BuildRequires:  maven-local
c92e39f
BuildRequires:  mvn(com.fasterxml:oss-parent:pom:)
c92e39f
BuildRequires:  mvn(junit:junit)
1393f0c
BuildRequires:  mvn(net.java.dev.msv:msv-core)
1393f0c
BuildRequires:  mvn(net.java.dev.msv:xsdlib)
c92e39f
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
591b42f
BuildRequires:  mvn(org.apache.maven.plugins:maven-shade-plugin)
1393f0c
BuildRequires:  mvn(org.codehaus.woodstox:stax2-api)
7847b4f
BuildRequires:  mvn(org.osgi:osgi.core)
591b42f
BuildRequires:  mvn(relaxngDatatype:relaxngDatatype)
Jaromir Capik f8cca73
Jaromir Capik f8cca73
%description
Jaromir Capik f8cca73
Woodstox is a high-performance validating namespace-aware StAX-compliant
Jaromir Capik f8cca73
(JSR-173) Open Source XML-processor written in Java.
Jaromir Capik f8cca73
XML processor means that it handles both input (== parsing)
Jaromir Capik f8cca73
and output (== writing, serialization)), as well as supporting tasks
Jaromir Capik f8cca73
such as validation.
Jaromir Capik f8cca73
Jaromir Capik f8cca73
a23fec2
%package        javadoc
a23fec2
Summary:        API documentation for %{name}
a23fec2
a23fec2
%description    javadoc
Jaromir Capik f8cca73
This package contains the API documentation for %{name}.
Jaromir Capik f8cca73
a23fec2
Jaromir Capik f8cca73
%prep
c92e39f
%setup -q -n %{base_name}-%{name}-%{version}
c92e39f
454dc8f
%patch0 -p1
454dc8f
7847b4f
%pom_remove_plugin :nexus-staging-maven-plugin
7847b4f
591b42f
# we don't care about Java 9 modules (yet)
591b42f
%pom_remove_plugin :moditect-maven-plugin
591b42f
591b42f
# replace felix-osgi-core with osgi-core
591b42f
%pom_change_dep -r :org.osgi.core org.osgi:osgi.core
591b42f
ddcad6f
%mvn_alias ":{woodstox-core}" :@1-lgpl :@1-asl :wstx-asl :wstx-lgpl \
ddcad6f
    org.codehaus.woodstox:@1 org.codehaus.woodstox:@1-asl \
ddcad6f
    org.codehaus.woodstox:@1-lgpl org.codehaus.woodstox:wstx-lgpl \
ddcad6f
    org.codehaus.woodstox:wstx-asl
a23fec2
1393f0c
%mvn_file : %{name}{,-asl,-lgpl}
Jaromir Capik f8cca73
ddcad6f
Jaromir Capik f8cca73
%build
ddcad6f
%mvn_build
Jaromir Capik f8cca73
a23fec2
Jaromir Capik f8cca73
%install
1393f0c
%mvn_install
Jaromir Capik f8cca73
a23fec2
1393f0c
%files -f .mfiles
c92e39f
%doc README.md
a23fec2
%license LICENSE
Jaromir Capik f8cca73
1393f0c
%files javadoc -f .mfiles-javadoc
Jaromir Capik f8cca73
a23fec2
Jaromir Capik f8cca73
%changelog
7847b4f
* Wed Oct 16 2019 Fabio Valentini <decathorpe@gmail.com> - 6.0.2-1
7847b4f
- Update to version 6.0.2.
7847b4f
454dc8f
* Wed Sep 18 2019 Mat Booth <mat.booth@redhat.com> - 6.0.1-2
454dc8f
- Port to newer OSGi API
454dc8f
591b42f
* Wed Sep 18 2019 Fabio Valentini <decathorpe@gmail.com> - 6.0.1-1
591b42f
- Update to version 6.0.1.
591b42f
a23fec2
* Thu Aug 01 2019 Fabio Valentini <decathorpe@gmail.com> - 5.2.1-1
a23fec2
- Update to version 5.2.1.
a23fec2
b8447c3
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-7
b8447c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b8447c3
5748365
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-6
5748365
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5748365
f4af338
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-5
f4af338
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f4af338
8596362
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-4
8596362
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8596362
6c887d6
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-3
6c887d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6c887d6
2226940
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-2
2226940
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2226940
c1f0bab
* Tue Sep 20 2016 Michael Simacek <msimacek@redhat.com> - 5.0.3-1
c1f0bab
- Update to upstream version 5.0.3
c1f0bab
7851359
* Mon Jul 04 2016 Michael Simacek <msimacek@redhat.com> - 5.0.2-1
7851359
- Update to upstream version 5.0.2
7851359
6b1941d
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-2
6b1941d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6b1941d
ff5deeb
* Mon Sep 28 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.0.1-1
ff5deeb
- Update to upstream version 5.0.1
ff5deeb
81b4458
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.0-3
81b4458
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
81b4458
ddcad6f
* Mon Mar 23 2015 Michael Simacek <msimacek@redhat.com> - 5.0.0-2
ddcad6f
- Fix missing classes and aliases
ddcad6f
- Enable tests
ddcad6f
c92e39f
* Mon Mar 23 2015 Michael Simacek <msimacek@redhat.com> - 5.0.0-1
c92e39f
- Update to upstream version 5.0.0
c92e39f
48b04d3
* Mon Aug  4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.0-6
48b04d3
- Remove build-requires on jvnet-parent
48b04d3
0f8d4c2
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.0-5
0f8d4c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0f8d4c2
e0f252a
* Fri Jan 24 2014 Michal Srb <msrb@redhat.com> - 4.2.0-4
e0f252a
- Add aliases: ":wstx-asl" ":wstx-lgpl"
e0f252a
5f0e40f
* Thu Oct  3 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.0-3
5f0e40f
- Fix usage of %%mvn_alias
5f0e40f
7d7e3a5
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.0-2
7d7e3a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7d7e3a5
0a40a56
* Thu Jun 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.0-1
0a40a56
- Update to upstream version 4.2.0
0a40a56
1393f0c
* Thu Jun 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.1.2-6
1393f0c
- Install NOTICE file with javadoc package
1393f0c
- Update to current packaging guidelines
1393f0c
efbee73
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-5
efbee73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
efbee73
Stanislav Ochotnicky f230f94
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 4.1.2-4
Stanislav Ochotnicky f230f94
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky f230f94
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky f230f94
e1504fc
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-3
e1504fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e1504fc
b72e220
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-2
b72e220
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b72e220
Jaromir Capik f8cca73
* Tue Sep 13 2011 Jaromir Capik <jcapik@redhat.com> - 4.1.2-1
Jaromir Capik f8cca73
- Initial version
a23fec2