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