package init

This commit is contained in:
yaokai13 2020-08-18 20:25:30 +08:00
parent 438e846a4e
commit 359d3e7165
3 changed files with 52 additions and 0 deletions

Binary file not shown.

48
jboss-remoting.spec Normal file
View File

@ -0,0 +1,48 @@
%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

4
jboss-remoting.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: https://github.com/jboss-remoting/jboss-remoting
tag_pattern: "(.*?).Final"
seperator: "."