49 lines
1.7 KiB
RPMSpec
49 lines
1.7 KiB
RPMSpec
%global namedreltag .Final
|
|
%global namedversion %{version}%{?namedreltag}
|
|
Name: jboss-remoting
|
|
Version: 4.0.21
|
|
Release: 1
|
|
Summary: JBoss Remoting
|
|
License: LGPLv2+
|
|
URL: http://www.jboss.org/jbossremoting
|
|
# git clone git://github.com/jboss-remoting/jboss-remoting.git
|
|
# cd jboss-remoting && git checkout 4.0.21.Final && git checkout-index -f -a --prefix=jboss-remoting-4.0.21.Final/
|
|
# rm jboss-remoting-4.0.21.Final/src/test/resources/test-content.bin
|
|
# tar -cJf jboss-remoting-4.0.21.Final-CLEAN.tar.xz jboss-remoting-4.0.21.Final
|
|
Source0: jboss-remoting-%{namedversion}-CLEAN.tar.xz
|
|
BuildArch: noarch
|
|
BuildRequires: maven-local mvn(jdepend:jdepend) mvn(junit:junit)
|
|
BuildRequires: mvn(org.jboss:jboss-parent:pom:) mvn(org.jboss.apiviz:apiviz)
|
|
BuildRequires: mvn(org.jboss.logging:jboss-logging)
|
|
BuildRequires: mvn(org.jboss.logging:jboss-logging-processor) mvn(org.jboss.xnio:xnio-api)
|
|
BuildRequires: mvn(org.jboss.xnio:xnio-nio)
|
|
%description
|
|
The purpose of JBoss Remoting is to provide a general purpose framework
|
|
for symmetric and asymmetric communication over a network. It supports
|
|
various modes of interaction, including invocations, one way messaging,
|
|
and asynchronous callbacks.
|
|
|
|
%package javadoc
|
|
Summary: Javadoc for %{name}
|
|
%description javadoc
|
|
This package contains the API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n jboss-remoting-%{namedversion}
|
|
|
|
%build
|
|
%mvn_build -f
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%license COPYING.txt
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license COPYING.txt
|
|
|
|
%changelog
|
|
* Mon Aug 17 2020 yaokai <yaokai13@huawei.com> - 4.0.21-1
|
|
- package init
|