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