Blame aalto-xml.spec

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