64df276
%bcond_without tests
64df276
637ba22
Name:           univocity-parsers
efd9df4
Version:        2.9.0
efd9df4
Release:        1%{?dist}
637ba22
Summary:        Collection of parsers for Java
637ba22
License:        ASL 2.0
2f92198
637ba22
URL:            https://github.com/uniVocity/univocity-parsers
2f92198
Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
637ba22
2f92198
BuildArch:      noarch
637ba22
637ba22
BuildRequires:  maven-local
637ba22
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
637ba22
BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
64df276
%if %{with tests}
64df276
BuildRequires:  mvn(com.univocity:univocity-output-tester)
2f92198
BuildRequires:  mvn(org.hsqldb:hsqldb)
2f92198
BuildRequires:  mvn(org.testng:testng)
64df276
%endif
637ba22
637ba22
%description
637ba22
uniVocity-parsers is a suite of extremely fast and reliable parsers
637ba22
for Java.  It provides a consistent interface for handling different
637ba22
file formats, and a solid framework for the development of new
637ba22
parsers.
637ba22
637ba22
%package javadoc
637ba22
Summary:        Javadoc for %{name}
637ba22
637ba22
%description javadoc
637ba22
API documentation for %{name}.
637ba22
637ba22
%prep
637ba22
%setup -q
637ba22
637ba22
%pom_remove_plugin :nexus-staging-maven-plugin
a285d9b
%pom_remove_plugin :maven-javadoc-plugin
637ba22
637ba22
%build
64df276
%if %{with tests}
2f92198
%mvn_build
64df276
%else
64df276
%mvn_build -f
64df276
%endif
637ba22
637ba22
%install
637ba22
%mvn_install
637ba22
637ba22
%files -f .mfiles
637ba22
%license LICENSE-2.0.html
637ba22
637ba22
%files javadoc -f .mfiles-javadoc
637ba22
%license LICENSE-2.0.html
637ba22
637ba22
%changelog
efd9df4
* Fri Aug 28 2020 Fabio Valentini <decathorpe@gmail.com> - 2.9.0-1
efd9df4
- Update to version 2.9.0.
efd9df4
d832d5c
* Thu Aug 13 2020 Mat Booth <mat.booth@redhat.com> - 2.8.4-5
d832d5c
- Make OSGi requirement on com.googlecode.openbeans optional
d832d5c
dc0d861
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.4-4
dc0d861
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
dc0d861
64df276
* Tue Jul 14 2020 Mat Booth <mat.booth@redhat.com> - 2.8.4-3
64df276
- Allow building without tests
64df276
d0a5b3b
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 2.8.4-2
d0a5b3b
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
d0a5b3b
1ce0da6
* Thu Feb 13 2020 Fabio Valentini <decathorpe@gmail.com> - 2.8.4-1
1ce0da6
- Update to version 2.8.4.
1ce0da6
8c79722
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.3-2
8c79722
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
8c79722
2f92198
* Sun Oct 06 2019 Fabio Valentini <decathorpe@gmail.com> - 2.8.3-1
2f92198
- Update to version 2.8.3.
2f92198
5feb9dd
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.5-6
5feb9dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5feb9dd
dbb0a30
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.5-5
dbb0a30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
dbb0a30
a285d9b
* Tue Aug 21 2018 Mat Booth <mat.booth@redhat.com> - 2.5.5-4
a285d9b
- Remove unnecessary javadoc invocation
a285d9b
dd0c843
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.5-3
dd0c843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
dd0c843
f9bc579
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.5-2
f9bc579
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f9bc579
637ba22
* Thu Sep 14 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.5-1
637ba22
- Initial packaging