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