|
|
5b5280 |
%global pkg_name beust-jcommander
|
|
|
5b5280 |
%{?scl:%scl_package %{pkg_name}}
|
|
|
5b5280 |
%{?maven_find_provides_and_requires}
|
|
|
5b5280 |
|
|
|
5b5280 |
%global short_name jcommander
|
|
|
5b5280 |
|
|
|
5b5280 |
Name: %{?scl_prefix}%{pkg_name}
|
|
|
5b5280 |
Version: 1.30
|
|
|
5b5280 |
Release: 5.11%{?dist}
|
|
|
5b5280 |
Summary: Java framework for parsing command line parameters
|
|
|
5b5280 |
License: ASL 2.0
|
|
|
5b5280 |
URL: http://jcommander.org/
|
|
|
5b5280 |
Source0: https://github.com/cbeust/%{short_name}/archive/%{short_name}-%{version}.tar.gz
|
|
|
5b5280 |
BuildArch: noarch
|
|
|
5b5280 |
BuildRequires: %{?scl_prefix}maven-local
|
|
|
5b5280 |
BuildRequires: %{?scl_prefix}beust-jcommander
|
|
|
5b5280 |
|
|
|
5b5280 |
%description
|
|
|
5b5280 |
JCommander is a very small Java framework that makes it trivial to
|
|
|
5b5280 |
parse command line parameters (with annotations).
|
|
|
5b5280 |
|
|
|
5b5280 |
%package javadoc
|
|
|
5b5280 |
Summary: API documentation for %{pkg_name}
|
|
|
5b5280 |
|
|
|
5b5280 |
%description javadoc
|
|
|
5b5280 |
This package contains the %{summary}.
|
|
|
5b5280 |
|
|
|
5b5280 |
%prep
|
|
|
5b5280 |
%setup -q -n %{short_name}-%{short_name}-%{version}
|
|
|
5b5280 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
5b5280 |
set -e -x
|
|
|
5b5280 |
chmod -x license.txt
|
|
|
5b5280 |
%{?scl:EOF}
|
|
|
5b5280 |
|
|
|
5b5280 |
%build
|
|
|
5b5280 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
5b5280 |
set -e -x
|
|
|
5b5280 |
%mvn_file : %{pkg_name}
|
|
|
5b5280 |
%mvn_build -f
|
|
|
5b5280 |
%{?scl:EOF}
|
|
|
5b5280 |
|
|
|
5b5280 |
%install
|
|
|
5b5280 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
5b5280 |
set -e -x
|
|
|
5b5280 |
%mvn_install
|
|
|
5b5280 |
%{?scl:EOF}
|
|
|
5b5280 |
|
|
|
5b5280 |
%files -f .mfiles
|
|
|
5b5280 |
%doc license.txt notice.md README.markdown
|
|
|
5b5280 |
|
|
|
5b5280 |
%files javadoc -f .mfiles-javadoc
|
|
|
5b5280 |
%doc license.txt notice.md
|
|
|
5b5280 |
|
|
|
5b5280 |
%changelog
|
|
|
5b5280 |
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 1.30-5.11
|
|
|
5b5280 |
- Fix BR on maven-local & co.
|
|
|
5b5280 |
|
|
|
5b5280 |
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 1.30-5.10
|
|
|
5b5280 |
- maven33 rebuild #2
|
|
|
5b5280 |
|
|
|
5b5280 |
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 1.30-5.9
|
|
|
5b5280 |
- maven33 rebuild
|
|
|
5b5280 |
|
|
|
5b5280 |
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 1.30-5.8
|
|
|
5b5280 |
- Mass rebuild 2015-01-13
|
|
|
5b5280 |
|
|
|
5b5280 |
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 1.30-5.7
|
|
|
5b5280 |
- Mass rebuild 2015-01-06
|
|
|
5b5280 |
|
|
|
5b5280 |
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.30-5.6
|
|
|
5b5280 |
- Mass rebuild 2014-05-26
|
|
|
5b5280 |
|
|
|
5b5280 |
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.30-5.5
|
|
|
5b5280 |
- Mass rebuild 2014-02-19
|
|
|
5b5280 |
|
|
|
5b5280 |
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.30-5.4
|
|
|
5b5280 |
- Mass rebuild 2014-02-18
|
|
|
5b5280 |
|
|
|
5b5280 |
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.30-5.3
|
|
|
5b5280 |
- SCL-ize build-requires
|
|
|
5b5280 |
|
|
|
5b5280 |
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.30-5.2
|
|
|
5b5280 |
- Rebuild to regenerate auto-requires
|
|
|
5b5280 |
|
|
|
5b5280 |
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.30-5.1
|
|
|
5b5280 |
- First maven30 software collection build
|
|
|
5b5280 |
|
|
|
5b5280 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.30-5
|
|
|
5b5280 |
- Mass rebuild 2013-12-27
|
|
|
5b5280 |
|
|
|
5b5280 |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.30-4
|
|
|
5b5280 |
- Rebuild to regenerate API documentation
|
|
|
5b5280 |
- Resolves: CVE-2013-1571
|
|
|
5b5280 |
|
|
|
5b5280 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.30-3
|
|
|
5b5280 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
5b5280 |
- Replace maven BuildRequires with maven-local
|
|
|
5b5280 |
|
|
|
5b5280 |
* Wed Feb 6 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.30-2
|
|
|
5b5280 |
- Replace BR: xmvn with maven-local
|
|
|
5b5280 |
|
|
|
5b5280 |
* Thu Jan 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.30-1
|
|
|
5b5280 |
- Update to upstream version 1.30
|
|
|
5b5280 |
- Build with xmvn
|
|
|
5b5280 |
|
|
|
5b5280 |
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.17-6
|
|
|
5b5280 |
- Install NOTICE files
|
|
|
5b5280 |
|
|
|
5b5280 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-5
|
|
|
5b5280 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
5b5280 |
|
|
|
5b5280 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-4
|
|
|
5b5280 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
5b5280 |
|
|
|
5b5280 |
* Wed Nov 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.17-3
|
|
|
5b5280 |
- Use the new maven macro.
|
|
|
5b5280 |
|
|
|
5b5280 |
* Mon May 16 2011 Jaromir Capik <jcapik@redhat.com> - 1.17-2
|
|
|
5b5280 |
- Unwanted comment removal
|
|
|
5b5280 |
- Target javadoc:jar replaced with javadoc:aggregate
|
|
|
5b5280 |
|
|
|
5b5280 |
* Fri May 13 2011 Jaromir Capik <jcapik@redhat.com> - 1.17-1
|
|
|
5b5280 |
- Initial version of the package
|