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