50 lines
1.5 KiB
RPMSpec
50 lines
1.5 KiB
RPMSpec
Name: jboss-logging-tools
|
|
Version: 2.2.1
|
|
Release: 1
|
|
Summary: Tool for create internationalized log statements and exceptions
|
|
License: ASL 2.0 and LGPLv2+
|
|
URL: https://github.com/jboss-logging/jboss-logging-tools
|
|
Source0: https://github.com/jboss-logging/jboss-logging-tools/archive/jboss-logging-tools-%{version}.Final.tar.gz
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: maven-local mvn(junit:junit) mvn(org.jboss:jboss-parent:pom:) mvn(org.jboss.jdeparser:jdeparser)
|
|
BuildRequires: mvn(org.jboss.logging:jboss-logging) mvn(org.jboss.logmanager:jboss-logmanager)
|
|
|
|
Provides: %{name}-javadoc
|
|
Obsoletes: %{name}-javadoc
|
|
|
|
%description
|
|
This pacakge contains JBoss Logging I18n Annotation Processor
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version}.Final
|
|
|
|
cp %{SOURCE1} .
|
|
# roaster is not packaged for openEuler, so:
|
|
# - Remove the dependency
|
|
# - Remove the test that requires it
|
|
%pom_remove_dep -r org.jboss.forge.roaster:
|
|
rm processor/src/test/java/org/jboss/logging/processor/generated/GeneratedSourceAnalysisTest.java
|
|
|
|
# Skip docs module
|
|
%pom_disable_module docs
|
|
|
|
%build
|
|
%mvn_build -f
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles -f .mfiles-javadoc
|
|
%license LICENSE-2.0.txt
|
|
|
|
%changelog
|
|
* Tue Jan 18 2022 SimpleUpdate Robot <tc@openeuler.org> - 2.2.1-1
|
|
- Upgrade to version 2.2.1
|
|
|
|
* Fri Dec 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.1-8
|
|
- Package init
|
|
|