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