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