Blame SPECS/univocity-parsers.spec

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