Mat Booth a8e8d6
%global short_name      commons-cli
spike 325e9e
spike 325e9e
Name:             apache-%{short_name}
Mikolaj Izdebski 034406
Version:          1.3
Mikolaj Izdebski 034406
Release:          1%{?dist}
spike 325e9e
Summary:          Command Line Interface Library for Java
spike 325e9e
Group:            Development/Libraries
spike 325e9e
License:          ASL 2.0
Mat Booth a8e8d6
URL:              http://commons.apache.org/cli/
Mat Booth a8e8d6
Source0:          http://www.apache.org/dist/commons/cli/source/%{short_name}-%{version}-src.tar.gz
spike 325e9e
BuildArch:        noarch
spike 325e9e
spike 325e9e
BuildRequires:    java-devel >= 1:1.6.0
spike 325e9e
BuildRequires:    jpackage-utils
Mat Booth 31f9aa
BuildRequires:    maven-local
Mikolaj Izdebski 034406
BuildRequires:    jacoco-maven-plugin
spike 325e9e
Stanislav Ochotnicky 4da6dc
Requires:         java-headless >= 1:1.6.0
spike 325e9e
Requires:         jpackage-utils
spike 325e9e
spike 325e9e
%description
spike 325e9e
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
Group:            Documentation
spike 325e9e
Requires:         jpackage-utils
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
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
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