diff --git a/aesh-0.66.8.tar.gz b/aesh-0.66.8.tar.gz new file mode 100644 index 0000000..a214bc3 Binary files /dev/null and b/aesh-0.66.8.tar.gz differ diff --git a/aesh.spec b/aesh.spec new file mode 100644 index 0000000..a54cafd --- /dev/null +++ b/aesh.spec @@ -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 it’s 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 - 0.66.8-7 +- initial rpm