40 lines
1.1 KiB
RPMSpec
40 lines
1.1 KiB
RPMSpec
%global namedreltag .Final
|
|
%global namedversion %{version}%{?namedreltag}
|
|
Name: jboss-logmanager
|
|
Version: 2.0.4
|
|
Release: 1
|
|
Summary: JBoss Log Manager
|
|
License: ASL 2.0
|
|
URL: https://github.com/jboss-logging/jboss-logmanager
|
|
Source0: https://github.com/jboss-logging/jboss-logmanager/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: mvn(org.jboss:jboss-parent:pom:) mvn(org.jboss.modules:jboss-modules)
|
|
%description
|
|
This package contains the JBoss Log Manager
|
|
|
|
%package javadoc
|
|
Summary: Javadoc for %{name}
|
|
%description javadoc
|
|
This package contains the API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{namedversion}
|
|
%pom_remove_plugin :maven-source-plugin
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE.txt
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE.txt
|
|
|
|
%changelog
|
|
* Wed Aug 26 2020 Shaoqiang Kang <kangshaoqiang1@huawei.com> - 2.0.4-1
|
|
- Package init
|