!1 package init

Merge pull request !1 from wang_yue111/master
This commit is contained in:
openeuler-ci-bot 2020-08-24 09:33:29 +08:00 committed by Gitee
commit bb83d0a964
3 changed files with 45 additions and 0 deletions

BIN
cli-parser-1.1.2.tar.gz Normal file

Binary file not shown.

40
cli-parser.spec Normal file
View File

@ -0,0 +1,40 @@
Name: cli-parser
Version: 1.1.2
Release: 1
Summary: Command Line Interface Parser for Java
License: ASL 2.0
URL: https://github.com/spullara/cli-parser
Source0: https://github.com/spullara/cli-parser/archive/%{name}-%{version}.tar.gz
BuildRequires: mvn(junit:junit)
BuildRequires: maven-local
BuildArch: noarch
%description
An annotation-based command line interface parser.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q -n %{name}-%{name}-%{version}
find . -name "*.class" -print -delete
find . -name "*.jar" -print -delete
%pom_remove_plugin :maven-gpg-plugin
%mvn_file : %{name}
%build
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
%install
%mvn_install
%files -f .mfiles
%doc README.md
%files javadoc -f .mfiles-javadoc
%doc README.md
%changelog
* Mon Jul 27 2020 wangyue <wangyue92@huawei.com> - 1.1.2-1
- package init

5
cli-parser.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/spullara/cli-parser
version_control: github
src_repo: spullara/cli-parser
tag_prefix: "^cli-parser-"
seperator: "."