|
|
de034c |
%global base_name cli
|
|
|
de034c |
%global short_name commons-%{base_name}
|
|
|
de034c |
|
|
|
de034c |
Name: apache-%{short_name}
|
|
|
de034c |
Version: 1.2
|
|
|
de034c |
Release: 12%{?dist}
|
|
|
de034c |
Summary: Command Line Interface Library for Java
|
|
|
de034c |
Group: Development/Libraries
|
|
|
de034c |
License: ASL 2.0
|
|
|
de034c |
URL: http://commons.apache.org/%{base_name}/
|
|
|
de034c |
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
|
|
de034c |
BuildArch: noarch
|
|
|
de034c |
|
|
|
de034c |
BuildRequires: java-devel >= 1:1.6.0
|
|
|
de034c |
BuildRequires: jpackage-utils
|
|
|
de034c |
BuildRequires: maven-local
|
|
|
de034c |
BuildRequires: apache-commons-parent >= 26-7
|
|
|
de034c |
|
|
|
de034c |
# This should go away with F-17
|
|
|
de034c |
Provides: jakarta-%{short_name} = 0:%{version}-%{release}
|
|
|
de034c |
Obsoletes: jakarta-%{short_name} < 0:1.1-6
|
|
|
de034c |
|
|
|
de034c |
%description
|
|
|
de034c |
The CLI library provides a simple and easy to use API for working with the
|
|
|
de034c |
command line arguments and options.
|
|
|
de034c |
|
|
|
de034c |
%package javadoc
|
|
|
de034c |
Summary: Javadoc for %{name}
|
|
|
de034c |
Group: Documentation
|
|
|
de034c |
# This should go away with F-17
|
|
|
de034c |
Obsoletes: jakarta-%{short_name}-javadoc < 0:1.1-6
|
|
|
de034c |
|
|
|
de034c |
%description javadoc
|
|
|
de034c |
This package contains the API documentation for %{name}.
|
|
|
de034c |
|
|
|
de034c |
%prep
|
|
|
de034c |
%setup -q -n %{short_name}-%{version}-src
|
|
|
de034c |
|
|
|
de034c |
# Compatibility links
|
|
|
de034c |
%mvn_alias "%{short_name}:%{short_name}" "org.apache.commons:%{short_name}"
|
|
|
de034c |
%mvn_file :commons-cli %{short_name} %{name}
|
|
|
de034c |
|
|
|
de034c |
%build
|
|
|
de034c |
%mvn_build
|
|
|
de034c |
|
|
|
de034c |
%install
|
|
|
de034c |
%mvn_install
|
|
|
de034c |
|
|
|
de034c |
%files -f .mfiles
|
|
|
de034c |
%doc LICENSE.txt NOTICE.txt README.txt RELEASE-NOTES.txt
|
|
|
de034c |
|
|
|
de034c |
%files javadoc -f .mfiles-javadoc
|
|
|
de034c |
%doc LICENSE.txt NOTICE.txt
|
|
|
de034c |
|
|
|
de034c |
|
|
|
de034c |
%changelog
|
|
|
de034c |
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-12
|
|
|
de034c |
- Add BuildRequires on apache-commons-parent >= 26-7
|
|
|
de034c |
|
|
|
de034c |
* Thu Aug 22 2013 Michal Srb <msrb@redhat.com> - 1.2-11
|
|
|
de034c |
- Migrate away from mvn-rpmbuild (Resolves: #997473)
|
|
|
de034c |
|
|
|
de034c |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-10
|
|
|
de034c |
- Rebuild to regenerate API documentation
|
|
|
de034c |
- Resolves: CVE-2013-1571
|
|
|
de034c |
|
|
|
de034c |
* Tue Feb 19 2013 Mat Booth <fedora@matbooth.co.uk> - 1.2-9
|
|
|
de034c |
- Add missing maven-local BuildRequires
|
|
|
de034c |
|
|
|
de034c |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
|
|
|
de034c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
de034c |
|
|
|
de034c |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
|
|
|
de034c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
de034c |
|
|
|
de034c |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
|
|
|
de034c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
de034c |
|
|
|
de034c |
* Wed Nov 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.2-5
|
|
|
de034c |
- Build with maven 3.
|
|
|
de034c |
- Adapt to current guidelines.
|
|
|
de034c |
|
|
|
de034c |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
|
|
|
de034c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
de034c |
|
|
|
de034c |
* Tue Nov 9 2010 Chris Spike <chris.spike@arcor.de> 1.2-3
|
|
|
de034c |
- Removed maven* BRs in favour of apache-commons-parent
|
|
|
de034c |
- Added deprecated groupId to depmap for compatibility reasons
|
|
|
de034c |
|
|
|
de034c |
* Mon Oct 18 2010 Chris Spike <chris.spike@arcor.de> 1.2-2
|
|
|
de034c |
- Removed Epoch
|
|
|
de034c |
|
|
|
de034c |
* Sun Oct 3 2010 Chris Spike <chris.spike@arcor.de> 1.2-1
|
|
|
de034c |
- Rename and rebase from jakarta-commons-cli
|