47 lines
1.3 KiB
RPMSpec
47 lines
1.3 KiB
RPMSpec
%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
|