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