!1 package init

Merge pull request !1 from ultra_planet/add
This commit is contained in:
openeuler-ci-bot 2019-12-05 14:54:01 +08:00 committed by Gitee
commit f5f9da777b
2 changed files with 55 additions and 0 deletions

BIN
jansi-project-1.17.1.tar.gz Normal file

Binary file not shown.

55
jansi.spec Normal file
View File

@ -0,0 +1,55 @@
Name: jansi
Version: 1.17.1
Release: 2
Summary: Jansi is a java library for generating and interpreting ANSI escape sequences
License: ASL 2.0
URL: http://fusesource.github.io/jansi/
Source0: https://github.com/fusesource/jansi/archive/jansi-project-%{version}.tar.gz
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.fusesource:fusesource-pom:pom:) mvn(org.fusesource.hawtjni:hawtjni-runtime)
BuildRequires: mvn(org.fusesource.jansi:jansi-native)
BuildArch: noarch
%description
Jansi is a small ASl 2.0 licensed Java library that allows you to use ANSI escape sequences to format
your console output which works even on windows.
%package help
Summary: Help package for jansi
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description help
This package contains the API help documentation for jansi.
%prep
%autosetup -n jansi-jansi-project-%{version} -p1
%pom_disable_module example
%pom_xpath_remove "pom:build/pom:extensions"
%pom_remove_plugin -r :maven-site-plugin
%pom_remove_plugin -r :maven-uberize-plugin
%pom_remove_plugin -r :maven-javadoc-plugin
cd jansi
%pom_remove_dep :jansi-windows32
%pom_remove_dep :jansi-windows64
%pom_remove_dep :jansi-osx
%pom_remove_dep :jansi-freebsd32
%pom_remove_dep :jansi-freebsd64
%pom_remove_dep :jansi-linux32
%pom_remove_dep :jansi-linux64
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc license.txt readme.md changelog.md
%files help -f .mfiles-javadoc
%changelog
* Thu Dec 5 2019 lingsheng <lingsheng@huawei.com> - 1.17.1-2
- Package init