|
Michal Srb |
9ff2f1 |
Name: args4j
|
|
Michael Simacek |
619b00 |
Version: 2.33
|
|
Michael Simacek |
b6f591 |
Release: 2%{?dist}
|
|
Michal Srb |
9ff2f1 |
Summary: Java command line arguments parser
|
|
Michal Srb |
9ff2f1 |
License: MIT
|
|
Michal Srb |
3e3006 |
URL: http://args4j.kohsuke.org
|
|
Michal Srb |
9ff2f1 |
Source0: https://github.com/kohsuke/%{name}/archive/%{name}-site-%{version}.tar.gz
|
|
Michal Srb |
9ff2f1 |
|
|
Michal Srb |
9ff2f1 |
BuildArch: noarch
|
|
Michal Srb |
9ff2f1 |
|
|
Michal Srb |
9ff2f1 |
BuildRequires: maven-local
|
|
Michal Srb |
9ff2f1 |
BuildRequires: mvn(com.sun:tools)
|
|
Michal Srb |
9ff2f1 |
BuildRequires: mvn(junit:junit)
|
|
Michal Srb |
9ff2f1 |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
Michal Srb |
9ff2f1 |
BuildRequires: mvn(org.kohsuke:pom:pom:)
|
|
Michal Srb |
9ff2f1 |
BuildRequires: mvn(org.mockito:mockito-all)
|
|
Jaromír Cápík |
404b2c |
|
|
Jaromír Cápík |
404b2c |
%description
|
|
Jaromír Cápík |
404b2c |
args4j is a small Java class library that makes it easy
|
|
Jaromír Cápík |
404b2c |
to parse command line options/arguments in your CUI application.
|
|
Michal Srb |
9ff2f1 |
- It makes the command line parsing very easy by using annotations
|
|
Michal Srb |
9ff2f1 |
- You can generate the usage screen very easily
|
|
Michal Srb |
9ff2f1 |
- You can generate HTML/XML that lists all options for your documentation
|
|
Michal Srb |
9ff2f1 |
- Fully supports localization
|
|
Jaromír Cápík |
404b2c |
- It is designed to parse javac like options (as opposed to GNU-style
|
|
Michal Srb |
9ff2f1 |
where ls -lR is considered to have two options l and R)
|
|
Jaromír Cápík |
404b2c |
|
|
Michal Srb |
80d176 |
%package tools
|
|
Michal Srb |
80d176 |
Summary: Development-time tool for generating additional artifacits
|
|
Michal Srb |
80d176 |
|
|
Michal Srb |
80d176 |
%description tools
|
|
Michal Srb |
80d176 |
This package contains args4j development-time tool for generating
|
|
Michal Srb |
80d176 |
additional artifacits.
|
|
Michal Srb |
80d176 |
|
|
Michal Srb |
80d176 |
%package parent
|
|
Michal Srb |
80d176 |
Summary: args4j parent POM
|
|
Michal Srb |
80d176 |
|
|
Michal Srb |
80d176 |
%description parent
|
|
Michal Srb |
80d176 |
This package contains parent POM for args4j project.
|
|
Michal Srb |
80d176 |
|
|
Jaromír Cápík |
404b2c |
%package javadoc
|
|
Michal Srb |
9ff2f1 |
Summary: API documentation for %{name}
|
|
Jaromír Cápík |
404b2c |
|
|
Jaromír Cápík |
404b2c |
%description javadoc
|
|
Jaromír Cápík |
404b2c |
This package contains the API documentation for %{name}.
|
|
Jaromír Cápík |
404b2c |
|
|
Jaromír Cápík |
404b2c |
%prep
|
|
Michal Srb |
9ff2f1 |
%setup -q -n %{name}-%{name}-site-%{version}
|
|
Jaromír Cápík |
404b2c |
|
|
Jaromír Cápík |
404b2c |
# removing classpath addition
|
|
Michal Srb |
9ff2f1 |
sed -i 's/<addClasspath>true/<addClasspath>false/g' %{name}-tools/pom.xml
|
|
Jaromír Cápík |
404b2c |
|
|
Mat Booth |
c2190c |
# fix ant group id
|
|
Michal Srb |
9ff2f1 |
sed -i 's/<groupId>ant/<groupId>org.apache.ant/g' %{name}-tools/pom.xml
|
|
Mat Booth |
c2190c |
|
|
Jaromír Cápík |
404b2c |
# removing bundled stuff
|
|
Mat Booth |
c2190c |
find -name '*.class' -exec rm -f '{}' \;
|
|
Mat Booth |
c2190c |
find -name '*.jar' -exec rm -f '{}' \;
|
|
Mat Booth |
c2190c |
|
|
Michael Simacek |
a73b2c |
%pom_remove_plugin :maven-shade-plugin %{name}-tools
|
|
Michael Simacek |
b6f591 |
%pom_remove_plugin -r :maven-site-plugin
|
|
Michael Simacek |
a73b2c |
|
|
Michal Srb |
9ff2f1 |
# XMvn cannot generate requires on dependecies with scope "system"
|
|
Michal Srb |
9ff2f1 |
%pom_xpath_remove "pom:profile[pom:id[text()='jdk-tools-jar']]" %{name}-tools
|
|
Michal Srb |
9ff2f1 |
%pom_add_dep com.sun:tools %{name}-tools
|
|
Michal Srb |
9ff2f1 |
|
|
Michal Srb |
9ff2f1 |
# we don't need these now
|
|
Michal Srb |
9ff2f1 |
%pom_disable_module args4j-maven-plugin
|
|
Michal Srb |
9ff2f1 |
%pom_disable_module args4j-maven-plugin-example
|
|
Michal Srb |
9ff2f1 |
|
|
Michal Srb |
80d176 |
# put args4j-tools and parent POM to separate subpackages
|
|
Michal Srb |
80d176 |
%mvn_package :args4j-tools::{}: %{name}-tools
|
|
Michal Srb |
80d176 |
%mvn_package :args4j-site::{}: %{name}-parent
|
|
Michal Srb |
80d176 |
|
|
Michal Srb |
9ff2f1 |
# install also compat symlinks
|
|
Michal Srb |
9ff2f1 |
%mvn_file ":{*}" %{name}/@1 @1
|
|
Jaromír Cápík |
404b2c |
|
|
Jaromír Cápík |
404b2c |
%build
|
|
Michal Srb |
9ff2f1 |
%mvn_build
|
|
Jaromír Cápík |
404b2c |
|
|
Jaromír Cápík |
404b2c |
%install
|
|
Michal Srb |
9ff2f1 |
%mvn_install
|
|
Michal Srb |
9ff2f1 |
|
|
Michal Srb |
9ff2f1 |
%files -f .mfiles
|
|
Michael Simacek |
619b00 |
%license %{name}/LICENSE.txt
|
|
Michal Srb |
9ff2f1 |
|
|
Michal Srb |
80d176 |
%files tools -f .mfiles-%{name}-tools
|
|
Michal Srb |
80d176 |
|
|
Michal Srb |
80d176 |
%files parent -f .mfiles-%{name}-parent
|
|
Michael Simacek |
619b00 |
%license %{name}/LICENSE.txt
|
|
Michal Srb |
80d176 |
|
|
Michal Srb |
9ff2f1 |
%files javadoc -f .mfiles-javadoc
|
|
Michael Simacek |
619b00 |
%license %{name}/LICENSE.txt
|
|
Jaromír Cápík |
404b2c |
|
|
Jaromír Cápík |
404b2c |
%changelog
|
|
Michael Simacek |
b6f591 |
* Mon Feb 06 2017 Michael Simacek <msimacek@redhat.com> - 2.33-2
|
|
Michael Simacek |
b6f591 |
- Remove BR on site-plugin
|
|
Michael Simacek |
b6f591 |
|
|
Michael Simacek |
619b00 |
* Tue Jul 19 2016 Michael Simacek <msimacek@redhat.com> - 2.33-1
|
|
Michael Simacek |
619b00 |
- Update to upstream version 2.33
|
|
Michael Simacek |
619b00 |
|
|
Dennis Gilmore |
91aa92 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.32-3
|
|
Dennis Gilmore |
91aa92 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
Dennis Gilmore |
91aa92 |
|
|
Michael Simacek |
a73b2c |
* Mon Aug 03 2015 Michael Simacek <msimacek@redhat.com> - 2.32-2
|
|
Michael Simacek |
a73b2c |
- Remove uberjar generation
|
|
Michael Simacek |
a73b2c |
|
|
Michal Srb |
3e3006 |
* Thu Jul 02 2015 Michal Srb <msrb@redhat.com> - 2.32-1
|
|
Michal Srb |
3e3006 |
- Update to upstream release 2.32
|
|
Michal Srb |
3e3006 |
|
|
Dennis Gilmore |
6fb4be |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.30-3
|
|
Dennis Gilmore |
6fb4be |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
Dennis Gilmore |
6fb4be |
|
|
Michal Srb |
80d176 |
* Mon Sep 22 2014 Michal Srb <msrb@redhat.com> - 2.0.30-2
|
|
Michal Srb |
80d176 |
- Move args4j-tools and parent POM into subpackages (Resolves: #1144991)
|
|
Michal Srb |
80d176 |
|
|
Michal Srb |
8c34a2 |
* Mon Sep 01 2014 Michal Srb <msrb@redhat.com> - 2.0.30-1
|
|
Michal Srb |
8c34a2 |
- Update to upstream version 2.0.30
|
|
Michal Srb |
8c34a2 |
|
|
Dennis Gilmore |
6f68a1 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.28-2
|
|
Dennis Gilmore |
6f68a1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
Dennis Gilmore |
6f68a1 |
|
|
Michal Srb |
cc6039 |
* Mon May 12 2014 Michal Srb <msrb@redhat.com> - 2.0.28-1
|
|
Michal Srb |
cc6039 |
- Update to upstream version 2.0.28
|
|
Michal Srb |
cc6039 |
|
|
Michal Srb |
85f960 |
* Wed May 07 2014 Michal Srb <msrb@redhat.com> - 2.0.27-1
|
|
Michal Srb |
85f960 |
- Update to upstream version 2.0.27
|
|
Michal Srb |
85f960 |
|
|
Michal Srb |
b35ea2 |
* Tue May 06 2014 Michal Srb <msrb@redhat.com> - 2.0.26-4
|
|
Michal Srb |
b35ea2 |
- Port to JSR-269
|
|
Michal Srb |
b35ea2 |
|
|
Stanislav Ochotnicky |
c07069 |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.0.26-3
|
|
Stanislav Ochotnicky |
c07069 |
- Use Requires: java-headless rebuild (#1067528)
|
|
Stanislav Ochotnicky |
c07069 |
|
|
Michal Srb |
9ff2f1 |
* Thu Feb 20 2014 Michal Srb <msrb@redhat.com> - 2.0.26-2
|
|
Michal Srb |
9ff2f1 |
- Adapt to current guidelines
|
|
Michal Srb |
9ff2f1 |
|
|
Michal Srb |
398215 |
* Thu Feb 20 2014 Michal Srb <msrb@redhat.com> - 2.0.26-1
|
|
Michal Srb |
398215 |
- Update to latest upstream 2.0.26
|
|
Michal Srb |
398215 |
|
|
Mat Booth |
e044ab |
* Sat Aug 10 2013 Mat Booth <fedora@matbooth.co.uk> - 2.0.25-1
|
|
Mat Booth |
e044ab |
- Update to latest upstream, fixes #981339
|
|
Mat Booth |
e044ab |
|
|
Dennis Gilmore |
bf662a |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.23-2
|
|
Dennis Gilmore |
bf662a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
Dennis Gilmore |
bf662a |
|
|
Mat Booth |
c2190c |
* Thu Jun 27 2013 Mat Booth <fedora@matbooth.co.uk> - 2.0.23-1
|
|
Mat Booth |
c2190c |
- Update to latest upstream, fixes #808703
|
|
Mat Booth |
c2190c |
- Also drop unneeded patches
|
|
Mat Booth |
c2190c |
|
|
Dennis Gilmore |
2d82af |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.16-11
|
|
Dennis Gilmore |
2d82af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
Dennis Gilmore |
2d82af |
|
|
Stanislav Ochotnicky |
248c19 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.0.16-10
|
|
Stanislav Ochotnicky |
248c19 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
Stanislav Ochotnicky |
248c19 |
- Replace maven BuildRequires with maven-local
|
|
Stanislav Ochotnicky |
248c19 |
|
|
Jaromir Capik |
019e0c |
* Thu Dec 13 2012 Roland Grunberg <rgrunber@redhat.com> - 2.0.16-9
|
|
Jaromir Capik |
019e0c |
- Update to conform with latest Java packaging guidelines.
|
|
Jaromir Capik |
019e0c |
|
|
Dennis Gilmore |
27b6a8 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.16-8
|
|
Dennis Gilmore |
27b6a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
Dennis Gilmore |
27b6a8 |
|
|
Ville Skyttä |
ff8d9b |
* Tue Jan 31 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.0.16-7
|
|
Ville Skyttä |
ac4a12 |
- Apply upstream source encoding patch to fix build with java 1.7.
|
|
Ville Skyttä |
ac4a12 |
|
|
Dennis Gilmore |
6aec02 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.16-5
|
|
Dennis Gilmore |
6aec02 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
Dennis Gilmore |
6aec02 |
|
|
Jaromír Cápík |
3a48ab |
* Mon Jun 13 2011 Jaromir Capik <jcapik@redhat.com> - 2.0.16-4
|
|
Jaromír Cápík |
3a48ab |
- OSGi metadata generated
|
|
Jaromír Cápík |
3a48ab |
|
|
Jaromír Cápík |
404b2c |
* Mon May 30 2011 Jaromir Capik <jcapik@redhat.com> - 2.0.16-3
|
|
Jaromír Cápík |
404b2c |
- Removal of bundled stuff in args4j/lib
|
|
Jaromír Cápík |
404b2c |
|
|
Jaromír Cápík |
404b2c |
* Wed May 25 2011 Jaromir Capik <jcapik@redhat.com> - 2.0.16-2
|
|
Jaromír Cápík |
404b2c |
- Removal of unused ant dependency
|
|
Jaromír Cápík |
404b2c |
|
|
Jaromír Cápík |
404b2c |
* Tue May 24 2011 Jaromir Capik <jcapik@redhat.com> - 2.0.16-1
|
|
Jaromír Cápík |
404b2c |
- Initial version of the package
|