39 lines
1.0 KiB
RPMSpec
39 lines
1.0 KiB
RPMSpec
%global namedreltag .Final
|
|
%global namedversion %{version}%{?namedreltag}
|
|
Name: jul-to-slf4j-stub
|
|
Version: 1.0.1
|
|
Release: 1
|
|
Summary: JUL log records SLF4J bridge
|
|
License: LGPLv2+ and MIT
|
|
URL: http://www.jboss.org/
|
|
Source0: https://github.com/jboss-logging/jul-to-slf4j-stub/archive/%{namedversion}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: maven-local maven-compiler-plugin maven-install-plugin maven-jar-plugin
|
|
BuildRequires: maven-javadoc-plugin maven-enforcer-plugin jboss-parent slf4j
|
|
%description
|
|
Helper to Bridge/route all JUL log records to the SLF4J API
|
|
|
|
%package javadoc
|
|
Summary: Javadocs for %{name}
|
|
|
|
%description javadoc
|
|
This package contains the API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{namedversion}
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%dir %{_javadir}/%{name}
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%changelog
|
|
* Mon Aug 24 2020 wangyue <wangyue92@huawei.com> - 1.0.1-1
|
|
- package init
|