!1 add Packages

Merge pull request !1 from wanjk19/Add
This commit is contained in:
openeuler-ci-bot 2019-12-21 17:26:03 +08:00 committed by Gitee
commit 076ec1b427
2 changed files with 47 additions and 0 deletions

BIN
aesh-0.66.8.tar.gz Normal file

Binary file not shown.

47
aesh.spec Normal file
View File

@ -0,0 +1,47 @@
Name: aesh
Version: 0.66.8
Release: 7
Summary: Extendable shell
License: ASL 2.0
URL: http://aeshell.github.io/
Source0: https://github.com/aeshell/aesh/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: maven-local mvn(junit:junit) mvn(org.fusesource.jansi:jansi)
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
BuildArch: noarch
%description
Aesh is a Java library to easily create commands through a well defined API.
Aesh will take care of all the parsing and injection for your commands. Aesh
uses the project 'aesh-readline' for its terminal/readline integration.
%package help
Summary: API help documentation for aesh
Provides: aesh-javadoc = %{version}-%{release}
Obsoletes: aesh-javadoc < %{version}-%{release}
%description help
This package contains the API help documentation for aesh.
%prep
%autosetup -n %{name}-%{version} -p1
rm -r *gradle*
%pom_xpath_set pom:addClasspath false
find src/test/java/org/jboss/aesh/parser/ -name ParserTest.java -delete
%build
%mvn_build -- -Dmaven.test.failure.ignore=true
%install
%mvn_install
%files -f .mfiles
%doc README.asciidoc
%license LICENSE
%files help -f .mfiles-javadoc
%changelog
* Fri Dec 20 2019 wanjiankang <wanjiankang@huawei.com> - 0.66.8-7
- initial rpm