41 lines
1.0 KiB
RPMSpec
41 lines
1.0 KiB
RPMSpec
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
|