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