|
|
f20102 |
Name: args4j
|
|
|
52fb2b |
Version: 2.0.16
|
|
|
f20102 |
Release: 13%{?dist}
|
|
|
52fb2b |
Summary: Small Java lib that makes it easy to parse command line options/args in CUI apps
|
|
|
52fb2b |
License: MIT and BSD
|
|
|
52fb2b |
# http://args4j.java.net/
|
|
|
52fb2b |
URL: http://%{name}.java.net/
|
|
|
52fb2b |
# Upload Your personal ssh key to java.net (otherwise the export fails)
|
|
|
52fb2b |
# svn export https://svn.java.net/svn/args4j~svn/tags/args4j-site-2_0_16 args4j-2.0.16
|
|
|
52fb2b |
# tar caf args4j-2.0.16.tar.xz args4j-2.0.16
|
|
|
52fb2b |
Source0: %{name}-%{version}.tar.xz
|
|
|
52fb2b |
|
|
|
52fb2b |
Patch0: %{name}-wagon-svn-removal.patch
|
|
|
52fb2b |
Patch1: %{name}-ant-removal.patch
|
|
|
52fb2b |
Patch2: %{name}-osgi.patch
|
|
|
52fb2b |
# https://github.com/kohsuke/args4j/commit/fc85e79 + some additions
|
|
|
52fb2b |
Patch3: %{name}-srcencoding.patch
|
|
|
52fb2b |
|
|
|
52fb2b |
BuildArch: noarch
|
|
|
52fb2b |
|
|
|
52fb2b |
BuildRequires: maven-local
|
|
|
52fb2b |
|
|
|
52fb2b |
%description
|
|
|
52fb2b |
args4j is a small Java class library that makes it easy
|
|
|
52fb2b |
to parse command line options/arguments in your CUI application.
|
|
|
52fb2b |
- It makes the command line parsing very easy by using annotations.
|
|
|
52fb2b |
- You can generate the usage screen very easily.
|
|
|
52fb2b |
- You can generate HTML/XML that lists all options for your documentation.
|
|
|
52fb2b |
- Fully supports localization.
|
|
|
52fb2b |
- It is designed to parse javac like options (as opposed to GNU-style
|
|
|
52fb2b |
where ls -lR is considered to have two options l and R.)
|
|
|
52fb2b |
|
|
|
52fb2b |
args4j-tools are development-time tools for generating additional artifacits.
|
|
|
52fb2b |
|
|
|
52fb2b |
%package javadoc
|
|
|
52fb2b |
Summary: API documentation for %{name}
|
|
|
52fb2b |
|
|
|
52fb2b |
%description javadoc
|
|
|
52fb2b |
This package contains the API documentation for %{name}.
|
|
|
52fb2b |
|
|
|
52fb2b |
%prep
|
|
|
52fb2b |
%setup -q
|
|
|
52fb2b |
|
|
|
52fb2b |
%patch0 -p1
|
|
|
52fb2b |
%patch1 -p1
|
|
|
52fb2b |
%patch2 -p1
|
|
|
52fb2b |
%patch3 -p1
|
|
|
52fb2b |
|
|
|
52fb2b |
# removing classpath addition
|
|
|
f20102 |
sed -i 's/<addClasspath>true/<addClasspath>false/g' %{name}-tools/pom.xml
|
|
|
52fb2b |
|
|
|
52fb2b |
# removing bundled stuff
|
|
|
52fb2b |
rm -rf repo
|
|
|
52fb2b |
rm -rf www
|
|
|
52fb2b |
rm -rf %{name}/lib
|
|
|
52fb2b |
|
|
|
f20102 |
# Remove system-scoped dependency on tools.jar
|
|
|
f20102 |
%pom_remove_dep jdk:tools args4j-tools
|
|
|
f20102 |
%pom_add_dep com.sun:tools args4j-tools
|
|
|
f20102 |
|
|
|
f20102 |
%mvn_file ":{*}" @1
|
|
|
f20102 |
|
|
|
52fb2b |
%build
|
|
|
f20102 |
%mvn_build
|
|
|
52fb2b |
|
|
|
52fb2b |
%install
|
|
|
f20102 |
%mvn_install
|
|
|
f20102 |
|
|
|
f20102 |
%files -f .mfiles
|
|
|
52fb2b |
%doc %{name}/LICENSE.txt
|
|
|
f20102 |
|
|
|
f20102 |
%files javadoc -f .mfiles-javadoc
|
|
|
52fb2b |
%doc %{name}/LICENSE.txt
|
|
|
52fb2b |
|
|
|
52fb2b |
%changelog
|
|
|
f20102 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.0.16-13
|
|
|
f20102 |
- Mass rebuild 2013-12-27
|
|
|
f20102 |
|
|
|
f20102 |
* Wed Nov 13 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.16-12
|
|
|
f20102 |
- Build with XMvn
|
|
|
f20102 |
- Remove system-scoped dependency on tools.jar
|
|
|
f20102 |
- Update to current packaging guidelines
|
|
|
f20102 |
|
|
|
52fb2b |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.16-11
|
|
|
52fb2b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
52fb2b |
|
|
|
52fb2b |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.0.16-10
|
|
|
52fb2b |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
52fb2b |
- Replace maven BuildRequires with maven-local
|
|
|
52fb2b |
|
|
|
52fb2b |
* Thu Dec 13 2012 Roland Grunberg <rgrunber@redhat.com> - 2.0.16-9
|
|
|
52fb2b |
- Update to conform with latest Java packaging guidelines.
|
|
|
52fb2b |
|
|
|
52fb2b |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.16-8
|
|
|
52fb2b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
52fb2b |
|
|
|
52fb2b |
* Tue Jan 31 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.0.16-7
|
|
|
52fb2b |
- Apply upstream source encoding patch to fix build with java 1.7.
|
|
|
52fb2b |
|
|
|
52fb2b |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.16-5
|
|
|
52fb2b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
52fb2b |
|
|
|
52fb2b |
* Mon Jun 13 2011 Jaromir Capik <jcapik@redhat.com> - 2.0.16-4
|
|
|
52fb2b |
- OSGi metadata generated
|
|
|
52fb2b |
|
|
|
52fb2b |
* Mon May 30 2011 Jaromir Capik <jcapik@redhat.com> - 2.0.16-3
|
|
|
52fb2b |
- Removal of bundled stuff in args4j/lib
|
|
|
52fb2b |
|
|
|
52fb2b |
* Wed May 25 2011 Jaromir Capik <jcapik@redhat.com> - 2.0.16-2
|
|
|
52fb2b |
- Removal of unused ant dependency
|
|
|
52fb2b |
|
|
|
52fb2b |
* Tue May 24 2011 Jaromir Capik <jcapik@redhat.com> - 2.0.16-1
|
|
|
52fb2b |
- Initial version of the package
|