aesh/aesh.spec
2019-12-21 17:02:29 +08:00

48 lines
1.3 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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