4ace0d
%bcond_with bootstrap
4ace0d
4ace0d
Name:           apache-commons-cli
4ace0d
Version:        1.5.0
4ace0d
Release:        4%{?dist}
4ace0d
Summary:        Command Line Interface Library for Java
4ace0d
License:        ASL 2.0
4ace0d
URL:            http://commons.apache.org/cli/
4ace0d
BuildArch:      noarch
4ace0d
ExclusiveArch:  %{java_arches} noarch
4ace0d
4ace0d
Source0:        http://www.apache.org/dist/commons/cli/source/commons-cli-%{version}-src.tar.gz
4ace0d
4ace0d
%if %{with bootstrap}
4ace0d
BuildRequires:  javapackages-bootstrap
4ace0d
%else
4ace0d
BuildRequires:  maven-local
4ace0d
BuildRequires:  mvn(junit:junit)
4ace0d
BuildRequires:  mvn(org.apache.commons:commons-parent:pom:)
4ace0d
%endif
4ace0d
4ace0d
%description
4ace0d
The CLI library provides a simple and easy to use API for working with the
4ace0d
command line arguments and options.
4ace0d
4ace0d
%{?javadoc_package}
4ace0d
4ace0d
%prep
4ace0d
%autosetup -p1 -n commons-cli-%{version}-src
4ace0d
4ace0d
# Compatibility links
4ace0d
%mvn_alias : org.apache.commons:commons-cli
4ace0d
%mvn_file : commons-cli %{name}
4ace0d
4ace0d
%build
4ace0d
%mvn_build
4ace0d
4ace0d
%install
4ace0d
%mvn_install
4ace0d
4ace0d
%files -f .mfiles
4ace0d
%license LICENSE.txt NOTICE.txt
4ace0d
%doc README.md RELEASE-NOTES.txt
4ace0d
4ace0d
%changelog
4ace0d
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
4ace0d
4ace0d
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.5.0-3
4ace0d
- Rebuilt for java-17-openjdk as system jdk
4ace0d
4ace0d
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
4ace0d
4ace0d
* Thu Nov 4 2021 Christian Schuermann <spike@fedoraproject.org> 1.5.0-1
4ace0d
- Update to upstream version 1.5.0
4ace0d
4ace0d
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-14
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
4ace0d
4ace0d
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-13
4ace0d
- Bootstrap build
4ace0d
- Non-bootstrap build
4ace0d
4ace0d
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-12
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4ace0d
4ace0d
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-11
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4ace0d
4ace0d
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.4-10
4ace0d
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
4ace0d
4ace0d
* Wed Jun 24 2020 Alexander Kurtakov <akurtako@redhat.com> 1.4-9
4ace0d
- Fix build with Java 11
4ace0d
4ace0d
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-8
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4ace0d
4ace0d
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-7
4ace0d
- Build with OpenJDK 8
4ace0d
4ace0d
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-6
4ace0d
- Mass rebuild for javapackages-tools 201902
4ace0d
4ace0d
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-7
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4ace0d
4ace0d
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-5
4ace0d
- Mass rebuild for javapackages-tools 201901
4ace0d
4ace0d
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-6
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4ace0d
4ace0d
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-5
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4ace0d
4ace0d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4ace0d
4ace0d
* Mon Jan 29 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-3
4ace0d
- Cleanup spec file
4ace0d
4ace0d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4ace0d
4ace0d
* Tue Apr 11 2017 Michael Simacek <msimacek@redhat.com> - 1.4-1
4ace0d
- Update to upstream version 1.4
4ace0d
4ace0d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-6
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4ace0d
4ace0d
* Wed Feb 01 2017 Michael Simacek <msimacek@redhat.com> - 1.3.1-5
4ace0d
- Remove BR on jacoco
4ace0d
4ace0d
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.1-4
4ace0d
- Regenerate build-requires
4ace0d
4ace0d
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4ace0d
4ace0d
* Tue Jun 23 2015 Michal Srb <msrb@redhat.com> - 1.3.1-2
4ace0d
- Add workaround for CLI-253
4ace0d
4ace0d
* Wed Jun 17 2015 Michal Srb <msrb@redhat.com> - 1.3.1-1
4ace0d
- Update to upstream version 1.3.1
4ace0d
4ace0d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4ace0d
4ace0d
* Wed Jun  3 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-1
4ace0d
- Update to upstream version 1.3
4ace0d
4ace0d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-13
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4ace0d
4ace0d
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.2-12
4ace0d
- Use Requires: java-headless rebuild (#1067528)
4ace0d
4ace0d
* Mon Aug 05 2013 Mat Booth <fedora@matbooth.co.uk> - 1.2-11
4ace0d
- Update for newer guidelines
4ace0d
- Drop ancient obsoletes/provides on old jakarta name
4ace0d
4ace0d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-10
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4ace0d
4ace0d
* Tue Feb 19 2013 Mat Booth <fedora@matbooth.co.uk> - 1.2-9
4ace0d
- Add missing maven-local BuildRequires
4ace0d
4ace0d
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4ace0d
4ace0d
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4ace0d
4ace0d
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4ace0d
4ace0d
* Wed Nov 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.2-5
4ace0d
- Build with maven 3.
4ace0d
- Adapt to current guidelines.
4ace0d
4ace0d
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
4ace0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4ace0d
4ace0d
* Tue Nov 9 2010 Chris Spike <chris.spike@arcor.de> 1.2-3
4ace0d
- Removed maven* BRs in favour of apache-commons-parent
4ace0d
- Added deprecated groupId to depmap for compatibility reasons
4ace0d
4ace0d
* Mon Oct 18 2010 Chris Spike <chris.spike@arcor.de> 1.2-2
4ace0d
- Removed Epoch
4ace0d
4ace0d
* Sun Oct 3 2010 Chris Spike <chris.spike@arcor.de> 1.2-1
4ace0d
- Rename and rebase from jakarta-commons-cli