2013-08-05 10:20:49 +00:00
|
|
|
%global short_name commons-cli
|
2010-10-19 15:41:55 +00:00
|
|
|
|
|
|
|
Name: apache-%{short_name}
|
2015-06-17 21:38:14 +00:00
|
|
|
Version: 1.3.1
|
2015-06-23 12:06:24 +00:00
|
|
|
Release: 2%{?dist}
|
2010-10-19 15:41:55 +00:00
|
|
|
Summary: Command Line Interface Library for Java
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: ASL 2.0
|
2013-08-05 10:20:49 +00:00
|
|
|
URL: http://commons.apache.org/cli/
|
|
|
|
Source0: http://www.apache.org/dist/commons/cli/source/%{short_name}-%{version}-src.tar.gz
|
2015-06-23 12:06:24 +00:00
|
|
|
# workaround for https://issues.apache.org/jira/browse/CLI-253
|
|
|
|
Patch0: CLI-253-workaround.patch
|
2010-10-19 15:41:55 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: java-devel >= 1:1.6.0
|
|
|
|
BuildRequires: jpackage-utils
|
2013-02-19 13:43:26 +00:00
|
|
|
BuildRequires: maven-local
|
2015-06-03 08:23:32 +00:00
|
|
|
BuildRequires: jacoco-maven-plugin
|
2010-10-19 15:41:55 +00:00
|
|
|
|
2014-03-04 08:05:18 +00:00
|
|
|
Requires: java-headless >= 1:1.6.0
|
2010-10-19 15:41:55 +00:00
|
|
|
Requires: jpackage-utils
|
|
|
|
|
|
|
|
%description
|
|
|
|
The CLI library provides a simple and easy to use API for working with the
|
|
|
|
command line arguments and options.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
Group: Documentation
|
|
|
|
Requires: jpackage-utils
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
This package contains the API documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{short_name}-%{version}-src
|
|
|
|
|
2015-06-23 12:06:24 +00:00
|
|
|
%patch0 -p1
|
|
|
|
|
2013-08-05 10:20:49 +00:00
|
|
|
# Compatibility links
|
|
|
|
%mvn_alias "%{short_name}:%{short_name}" "org.apache.commons:%{short_name}"
|
|
|
|
%mvn_file :commons-cli %{short_name} %{name}
|
|
|
|
|
2010-10-19 15:41:55 +00:00
|
|
|
%build
|
2013-08-05 10:20:49 +00:00
|
|
|
%mvn_build
|
2010-10-19 15:41:55 +00:00
|
|
|
|
|
|
|
%install
|
2013-08-05 10:20:49 +00:00
|
|
|
%mvn_install
|
2010-11-09 08:37:01 +00:00
|
|
|
|
2013-08-05 10:20:49 +00:00
|
|
|
%files -f .mfiles
|
2015-06-03 08:23:32 +00:00
|
|
|
%doc LICENSE.txt NOTICE.txt README.md RELEASE-NOTES.txt
|
2010-10-19 15:41:55 +00:00
|
|
|
|
2013-08-05 10:20:49 +00:00
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%doc LICENSE.txt NOTICE.txt
|
2010-10-19 15:41:55 +00:00
|
|
|
|
|
|
|
%changelog
|
2015-06-23 12:06:24 +00:00
|
|
|
* Tue Jun 23 2015 Michal Srb <msrb@redhat.com> - 1.3.1-2
|
|
|
|
- Add workaround for CLI-253
|
|
|
|
|
2015-06-17 21:38:14 +00:00
|
|
|
* Wed Jun 17 2015 Michal Srb <msrb@redhat.com> - 1.3.1-1
|
|
|
|
- Update to upstream version 1.3.1
|
|
|
|
|
2015-06-17 00:00:21 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-03 08:23:32 +00:00
|
|
|
* Wed Jun 3 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-1
|
|
|
|
- Update to upstream version 1.3
|
|
|
|
|
2014-06-07 00:51:17 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-04 08:05:18 +00:00
|
|
|
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.2-12
|
|
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
|
2013-08-05 10:20:49 +00:00
|
|
|
* Mon Aug 05 2013 Mat Booth <fedora@matbooth.co.uk> - 1.2-11
|
|
|
|
- Update for newer guidelines
|
|
|
|
- Drop ancient obsoletes/provides on old jakarta name
|
|
|
|
|
2013-08-03 00:57:34 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-19 13:43:26 +00:00
|
|
|
* Tue Feb 19 2013 Mat Booth <fedora@matbooth.co.uk> - 1.2-9
|
|
|
|
- Add missing maven-local BuildRequires
|
|
|
|
|
2013-02-13 16:41:09 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-18 16:10:40 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-12 21:20:54 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-30 11:40:41 +00:00
|
|
|
* Wed Nov 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.2-5
|
|
|
|
- Build with maven 3.
|
|
|
|
- Adapt to current guidelines.
|
|
|
|
|
2011-02-08 01:23:59 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-09 08:37:01 +00:00
|
|
|
* Tue Nov 9 2010 Chris Spike <chris.spike@arcor.de> 1.2-3
|
|
|
|
- Removed maven* BRs in favour of apache-commons-parent
|
|
|
|
- Added deprecated groupId to depmap for compatibility reasons
|
|
|
|
|
2010-10-19 15:41:55 +00:00
|
|
|
* Mon Oct 18 2010 Chris Spike <chris.spike@arcor.de> 1.2-2
|
|
|
|
- Removed Epoch
|
|
|
|
|
|
|
|
* Sun Oct 3 2010 Chris Spike <chris.spike@arcor.de> 1.2-1
|
|
|
|
- Rename and rebase from jakarta-commons-cli
|