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