4d92a4
Name:           beust-jcommander
4d92a4
Version:        1.78
4d92a4
Release:        2%{?dist}
4d92a4
Summary:        Java framework for parsing command line parameters
4d92a4
License:        ASL 2.0
4d92a4
URL:            http://jcommander.org/
4d92a4
BuildArch:      noarch
4d92a4
4d92a4
# ./generate-tarball.sh
4d92a4
Source0:        %{name}-%{version}.tar.gz
4d92a4
# Adapted from earlier version that still shipped poms. It uses kobalt for building now
4d92a4
Source1:        %{name}.pom
4d92a4
# Cleaned up bundled jars whose licensing cannot be easily verified
4d92a4
Source2:        generate-tarball.sh
4d92a4
4d92a4
Patch0:         0001-ParseValues-NullPointerException-patch.patch
4d92a4
4d92a4
BuildRequires:  maven-local
4d92a4
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
4d92a4
BuildRequires:  mvn(org.sonatype.oss:oss-parent:pom:)
4d92a4
BuildRequires:  mvn(org.testng:testng)
4d92a4
4d92a4
%description
4d92a4
JCommander is a very small Java framework that makes it trivial to
4d92a4
parse command line parameters (with annotations).
4d92a4
4d92a4
%package javadoc
4d92a4
Summary:        API documentation for %{name}
4d92a4
4d92a4
%description javadoc
4d92a4
This package contains the %{summary}.
4d92a4
4d92a4
%prep
4d92a4
%setup -q
4d92a4
%patch0 -p1
4d92a4
4d92a4
chmod -x license.txt
4d92a4
cp -p %SOURCE1 pom.xml
4d92a4
sed -i 's/@VERSION@/%{version}/g' pom.xml
4d92a4
4d92a4
%build
4d92a4
%mvn_file : %{name}
4d92a4
%mvn_build
4d92a4
4d92a4
%install
4d92a4
%mvn_install
4d92a4
4d92a4
%files -f .mfiles
4d92a4
%doc license.txt notice.md README.markdown
4d92a4
4d92a4
%files javadoc -f .mfiles-javadoc
4d92a4
%doc license.txt notice.md
4d92a4
4d92a4
%changelog
4d92a4
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.78-2
4d92a4
- Mass rebuild for javapackages-tools 201902
4d92a4
4d92a4
* Mon Sep 02 2019 Marian Koncek <mkoncek@redhat.com> - 1.78-1
4d92a4
- Update to upstream version 1.78
4d92a4
4d92a4
* Thu Aug 15 2019 Marian Koncek <mkoncek@redhat.com> - 1.75-1
4d92a4
- Update to upstream version 1.75
4d92a4
4d92a4
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.71-6
4d92a4
- Mass rebuild for javapackages-tools 201901
4d92a4
4d92a4
* Mon Jul 30 2018 Michael Simacek <msimacek@redhat.com> - 1.71-5
4d92a4
- Repack the tarball without binaries
4d92a4
4d92a4
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-4
4d92a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4d92a4
4d92a4
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-3
4d92a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4d92a4
4d92a4
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-2
4d92a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4d92a4
4d92a4
* Tue Jun 13 2017 Roman Vais <rvais@redhat.com> - 1.71-1
4d92a4
- Update to upstream version 1.71
4d92a4
- Add patch for issue https://github.com/cbeust/jcommander/issues/367
4d92a4
4d92a4
* Fri Mar 10 2017 Roman Vais <rvais@redhat.com> - 1.66-1
4d92a4
- Update to upstream version 1.66
4d92a4
4d92a4
* Fri Feb 17 2017 Roman Vais <rvais@redhat.com> - 1.65-1
4d92a4
- Update to upstream version 1.65
4d92a4
4d92a4
* Thu Jan 26 2017 Roman Vais <rvais@redhat.com> - 1.62-1
4d92a4
- Update to upstream version 1.62
4d92a4
4d92a4
* Wed Dec 14 2016 Michael Simacek <msimacek@redhat.com> - 1.60-1
4d92a4
- Update to upstream version 1.60
4d92a4
4d92a4
* Tue Nov 01 2016 Roman Vais <rvais@redhat.com> - 1.58-1
4d92a4
- Update to upstream version 1.58
4d92a4
4d92a4
* Fri Sep 30 2016 Roman Vais <rvais@redhat.com> - 1.57-1
4d92a4
- Update to upstream version 1.57
4d92a4
- Correct directory setup in prep section
4d92a4
- Change of tarball name in source url to correspond to upstream
4d92a4
4d92a4
* Tue Sep 27 2016 Roman Vais <rvais@redhat.com> - 1.56-1
4d92a4
- New version release.
4d92a4
4d92a4
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.47-3
4d92a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4d92a4
4d92a4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.47-2
4d92a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4d92a4
4d92a4
* Wed Jan 28 2015 Michael Simacek <msimacek@redhat.com> - 1.47-1
4d92a4
- Update to upstream version 1.47
4d92a4
- Enable tests
4d92a4
4d92a4
* Mon Oct 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.45-1
4d92a4
- Update to upstream version 1.45
4d92a4
4d92a4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.35-2
4d92a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4d92a4
4d92a4
* Wed Feb 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.35-1
4d92a4
- Update to upstream version 1.35
4d92a4
4d92a4
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-4
4d92a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4d92a4
4d92a4
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.30-3
4d92a4
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
4d92a4
- Replace maven BuildRequires with maven-local
4d92a4
4d92a4
* Wed Feb  6 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.30-2
4d92a4
- Replace BR: xmvn with maven-local
4d92a4
4d92a4
* Thu Jan 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.30-1
4d92a4
- Update to upstream version 1.30
4d92a4
- Build with xmvn
4d92a4
4d92a4
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.17-6
4d92a4
- Install NOTICE files
4d92a4
4d92a4
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-5
4d92a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4d92a4
4d92a4
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-4
4d92a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4d92a4
4d92a4
* Wed Nov 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.17-3
4d92a4
- Use the new maven macro.
4d92a4
4d92a4
* Mon May 16 2011 Jaromir Capik <jcapik@redhat.com> - 1.17-2
4d92a4
- Unwanted comment removal
4d92a4
- Target javadoc:jar replaced with javadoc:aggregate
4d92a4
4d92a4
* Fri May 13 2011 Jaromir Capik <jcapik@redhat.com> - 1.17-1
4d92a4
- Initial version of the package