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