33f0d7
%global short_name   jcommander
33f0d7
33f0d7
Name:             beust-%{short_name}
33f0d7
Version:          1.30
33f0d7
Release:          4%{?dist}
33f0d7
Summary:          Java framework for parsing command line parameters
33f0d7
License:          ASL 2.0
33f0d7
Group:            Development/Libraries
33f0d7
URL:              http://jcommander.org/
33f0d7
Source0:          https://github.com/cbeust/%{short_name}/archive/%{short_name}-%{version}.tar.gz
33f0d7
BuildArch:        noarch
33f0d7
BuildRequires:    maven-local
33f0d7
BuildRequires:    beust-jcommander
33f0d7
33f0d7
%description
33f0d7
JCommander is a very small Java framework that makes it trivial to
33f0d7
parse command line parameters (with annotations).
33f0d7
33f0d7
%package javadoc
33f0d7
Summary:          API documentation for %{name}
33f0d7
Group:            Documentation
33f0d7
33f0d7
%description javadoc
33f0d7
This package contains the %{summary}.
33f0d7
33f0d7
%prep
33f0d7
%setup -q -n %{short_name}-%{short_name}-%{version}
33f0d7
chmod -x license.txt
33f0d7
33f0d7
%build
33f0d7
%mvn_file : %{name}
33f0d7
%mvn_build -f
33f0d7
33f0d7
%install
33f0d7
%mvn_install
33f0d7
33f0d7
%files -f .mfiles
33f0d7
%doc license.txt notice.md README.markdown
33f0d7
33f0d7
%files javadoc -f .mfiles-javadoc
33f0d7
%doc license.txt notice.md
33f0d7
33f0d7
%changelog
33f0d7
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.30-4
33f0d7
- Rebuild to regenerate API documentation
33f0d7
- Resolves: CVE-2013-1571
33f0d7
33f0d7
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.30-3
33f0d7
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
33f0d7
- Replace maven BuildRequires with maven-local
33f0d7
33f0d7
* Wed Feb  6 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.30-2
33f0d7
- Replace BR: xmvn with maven-local
33f0d7
33f0d7
* Thu Jan 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.30-1
33f0d7
- Update to upstream version 1.30
33f0d7
- Build with xmvn
33f0d7
33f0d7
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.17-6
33f0d7
- Install NOTICE files
33f0d7
33f0d7
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-5
33f0d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
33f0d7
33f0d7
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-4
33f0d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
33f0d7
33f0d7
* Wed Nov 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.17-3
33f0d7
- Use the new maven macro.
33f0d7
33f0d7
* Mon May 16 2011 Jaromir Capik <jcapik@redhat.com> - 1.17-2
33f0d7
- Unwanted comment removal
33f0d7
- Target javadoc:jar replaced with javadoc:aggregate
33f0d7
33f0d7
* Fri May 13 2011 Jaromir Capik <jcapik@redhat.com> - 1.17-1
33f0d7
- Initial version of the package