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