package init
This commit is contained in:
parent
775a00c2c6
commit
c75fbc786d
BIN
cli-parser-1.1.2.tar.gz
Normal file
BIN
cli-parser-1.1.2.tar.gz
Normal file
Binary file not shown.
40
cli-parser.spec
Normal file
40
cli-parser.spec
Normal 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
|
||||||
|
* Fri Aug 21 2020 wangyue <wangyue92@huawei.com> - 1.1.2-1
|
||||||
|
- package init
|
||||||
5
cli-parser.yaml
Normal file
5
cli-parser.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://github.com/floatdrop/pinkie
|
||||||
|
version_control: github
|
||||||
|
src_repo: floatdrop/pinkie
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user