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