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