first commit
This commit is contained in:
parent
39a44808cf
commit
fd3e63b31b
BIN
jansi-native-1.7.tar.gz
Normal file
BIN
jansi-native-1.7.tar.gz
Normal file
Binary file not shown.
46
jansi-native.spec
Normal file
46
jansi-native.spec
Normal file
@ -0,0 +1,46 @@
|
||||
%global bits %{__isa_bits}
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: jansi-native
|
||||
Version: 1.7
|
||||
Release: 6
|
||||
Summary: Jansi Native implements the JNI Libraries used by the Jansi project
|
||||
License: ASL 2.0
|
||||
URL: http://jansi.fusesource.org/
|
||||
Source0: https://github.com/fusesource/jansi-native/archive/jansi-native-%{version}.tar.gz
|
||||
|
||||
BuildRequires: maven-local mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.fusesource:fusesource-pom:pom:)
|
||||
BuildRequires: mvn(org.fusesource.hawtjni:hawtjni-runtime) >= 1.9-2
|
||||
BuildRequires: mvn(org.fusesource.hawtjni:maven-hawtjni-plugin) >= 1.9-2
|
||||
|
||||
Provides: %{name}-javadoc = %{version}-%{release}
|
||||
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||
|
||||
%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.
|
||||
|
||||
%prep
|
||||
%setup -q -n jansi-native-jansi-native-%{version}
|
||||
%mvn_package :::linux%{bits}:
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc readme.md changelog.md
|
||||
%license license.txt
|
||||
%{_prefix}/lib/java/*
|
||||
%{_datadir}/javadoc/*
|
||||
%{_datadir}/maven-poms/*
|
||||
%{_datadir}/maven-metadata/*
|
||||
|
||||
%changelog
|
||||
* Sat Dec 7 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.7-6
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user