diff --git a/cli-parser-1.1.2.tar.gz b/cli-parser-1.1.2.tar.gz new file mode 100644 index 0000000..71885c3 Binary files /dev/null and b/cli-parser-1.1.2.tar.gz differ diff --git a/cli-parser.spec b/cli-parser.spec new file mode 100644 index 0000000..c5389bf --- /dev/null +++ b/cli-parser.spec @@ -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 - 1.1.2-1 +- package init diff --git a/cli-parser.yaml b/cli-parser.yaml new file mode 100644 index 0000000..33c4870 --- /dev/null +++ b/cli-parser.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/floatdrop/pinkie +version_control: github +src_repo: floatdrop/pinkie +tag_prefix: "^v" +seperator: "."