|
|
7dfc59b |
Name: aalto-xml
|
|
|
7dfc59b |
Version: 1.0.0
|
|
|
a9fc459 |
Release: 2%{?dist}
|
|
|
7dfc59b |
Summary: Ultra-high performance non-blocking XML processor (Stax/Stax2, SAX/SAX2)
|
|
|
7dfc59b |
# Source files without license headers https://github.com/FasterXML/aalto-xml/issues/38
|
|
|
7dfc59b |
# See https://github.com/FasterXML/jackson-modules-base/issues/18, from main developer:
|
|
|
7dfc59b |
# "To whoever it concerns: policy of the Jackson project is to only include licensing information as project
|
|
|
7dfc59b |
# level metadata (in repo, pom.xml, artifact within source and binary jars), and not as headers in source files.
|
|
|
7dfc59b |
# Licensing is Apache License 2.0, for Jackson 2.x as indicated by various artifacts, and we have no plans to change this."
|
|
|
7dfc59b |
License: ASL 2.0
|
|
|
7dfc59b |
URL: http://wiki.fasterxml.com/AaltoHome
|
|
|
7dfc59b |
Source0: https://github.com/FasterXML/aalto-xml/archive/%{name}-%{version}.tar.gz
|
|
|
7dfc59b |
|
|
|
7dfc59b |
BuildRequires: maven-local
|
|
|
7dfc59b |
BuildRequires: mvn(com.fasterxml:oss-parent:pom:)
|
|
|
7dfc59b |
BuildRequires: mvn(junit:junit)
|
|
|
7dfc59b |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
7dfc59b |
BuildRequires: mvn(org.codehaus.woodstox:stax2-api)
|
|
|
7dfc59b |
|
|
|
7dfc59b |
BuildArch: noarch
|
|
|
7dfc59b |
|
|
|
7dfc59b |
%description
|
|
|
7dfc59b |
The Aalto XML processor is a StAX XML processor implementation. It
|
|
|
7dfc59b |
is not directly related to other existing mature implementations
|
|
|
7dfc59b |
(such as Woodstox or Sun Java Streaming XML Parser), although it
|
|
|
7dfc59b |
did come about as a prototype for evaluating implementation strategies
|
|
|
7dfc59b |
that differ from those traditionally used for Java-based parsers.
|
|
|
7dfc59b |
|
|
|
7dfc59b |
Two main goals (above and beyond stock StAX/SAX API implementation) are:
|
|
|
7dfc59b |
|
|
|
7dfc59b |
° Ultra-high performance parsing by making the Common Case Fast
|
|
|
7dfc59b |
(similar to original RISC manifesto). This may mean limiting
|
|
|
7dfc59b |
functionality, but never compromising correctness. XML 1.0
|
|
|
7dfc59b |
compliance is not sacrificed for speed.
|
|
|
7dfc59b |
|
|
|
7dfc59b |
° Allowing non-block, asynchronous parsing: it should be possible to
|
|
|
7dfc59b |
"feed" more input and incrementally get more XML events out, without
|
|
|
7dfc59b |
forcing the current thread to block on I/O read operation.
|
|
|
7dfc59b |
|
|
|
7dfc59b |
%package javadoc
|
|
|
7dfc59b |
Summary: Javadoc for %{name}
|
|
|
7dfc59b |
|
|
|
7dfc59b |
%description javadoc
|
|
|
7dfc59b |
This package contains javadoc for %{name}.
|
|
|
7dfc59b |
|
|
|
7dfc59b |
%prep
|
|
|
7dfc59b |
%setup -q -n %{name}-%{name}-%{version}
|
|
|
7dfc59b |
# Cleanup
|
|
|
7dfc59b |
find -name "*.class" -print -delete
|
|
|
7dfc59b |
find -name "*.jar" -print -delete
|
|
|
7dfc59b |
|
|
|
7dfc59b |
sed -i 's/\r//' src/main/resources/META-INF/LICENSE
|
|
|
7dfc59b |
sed -i 's/\r//' release-notes/asl/*
|
|
|
7dfc59b |
mv release-notes/asl/ASL2.0 LICENSE
|
|
|
7dfc59b |
mv release-notes/asl/LICENSE NOTICE
|
|
|
7dfc59b |
|
|
|
7dfc59b |
%if %{?fedora} < 25
|
|
|
7dfc59b |
# use stax2-api 4.0.0 https://bugzilla.redhat.com/show_bug.cgi?id=1346421
|
|
|
7dfc59b |
sed -i "s|SingletonIterator.create|new SingletonIterator|" \
|
|
|
7dfc59b |
src/main/java/com/fasterxml/aalto/in/FixedNsContext.java
|
|
|
7dfc59b |
%endif
|
|
|
7dfc59b |
|
|
|
7dfc59b |
%mvn_file : %{name}
|
|
|
7dfc59b |
|
|
|
7dfc59b |
%build
|
|
|
7dfc59b |
|
|
|
7dfc59b |
%mvn_build
|
|
|
7dfc59b |
|
|
|
7dfc59b |
%install
|
|
|
7dfc59b |
%mvn_install
|
|
|
7dfc59b |
|
|
|
7dfc59b |
%files -f .mfiles
|
|
|
7dfc59b |
%doc README.md release-notes/*
|
|
|
7dfc59b |
%license LICENSE NOTICE
|
|
|
7dfc59b |
|
|
|
7dfc59b |
%files javadoc -f .mfiles-javadoc
|
|
|
7dfc59b |
%license LICENSE NOTICE
|
|
|
7dfc59b |
|
|
|
7dfc59b |
%changelog
|
|
|
a9fc459 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
|
a9fc459 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
a9fc459 |
|
|
|
7dfc59b |
* Thu Nov 17 2016 gil cattaneo <puntogil@libero.it> 1.0.0-1
|
|
|
7dfc59b |
- Update to 1.0.0
|
|
|
7dfc59b |
|
|
|
7dfc59b |
* Tue Jun 14 2016 gil cattaneo <puntogil@libero.it> 0.9.11-1
|
|
|
7dfc59b |
- initial rpm
|