52 lines
1.6 KiB
RPMSpec
52 lines
1.6 KiB
RPMSpec
Name: wildfly-common
|
|
Version: 1.1.0
|
|
Release: 7
|
|
Summary: WildFly common utilities
|
|
License: ASL 2.0
|
|
URL: http://wildfly.org/
|
|
Source0: https://github.com/wildfly/wildfly-common/archive/%{version}.Final.tar.gz
|
|
BuildRequires: graphviz maven-local mvn(com.intellij:annotations) mvn(jdepend:jdepend)
|
|
BuildRequires: mvn(org.jboss:jboss-parent:pom:) mvn(org.jboss.apiviz:apiviz) mvn(org.jboss.logging:jboss-logging)
|
|
BuildRequires: mvn(org.jboss.logging:jboss-logging-annotations) mvn(org.jboss.logging:jboss-logging-processor)
|
|
BuildArch: noarch
|
|
%description
|
|
WildFly is a powerful, modular, & lightweight application server that helps you build amazing applications.
|
|
|
|
|
|
%package help
|
|
Summary: Documents for %{name}
|
|
Buildarch: noarch
|
|
Requires: man info
|
|
Provides: %{name}-javadoc = %{version}-%{release}
|
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
|
%description help
|
|
Man pages and other related documents for %{name}.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{name}-%{version}.Final
|
|
%pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-javadoc-plugin' ]/pom:configuration" '
|
|
<sourceFileExcludes>
|
|
<exclude>**/CommonMessages_*.java</exclude>
|
|
<exclude>**/Log_*.java</exclude>
|
|
</sourceFileExcludes>'
|
|
%mvn_file org.wildfly.common:%{name} %{name}
|
|
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE
|
|
|
|
%files help -f .mfiles-javadoc
|
|
|
|
|
|
%changelog
|
|
* Fri Dec 20 2019 Shuaishuai Song <songshuaishuai2@huawei.com> - 1.1.0-7
|
|
- package init
|