package init
This commit is contained in:
parent
3be90eff7c
commit
5e0b7ef66b
13
jboss-rmi-1.0-api-fix-fsf-address.patch
Normal file
13
jboss-rmi-1.0-api-fix-fsf-address.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/main/resources/LICENSE b/src/main/resources/LICENSE
|
||||
index b40a0f4..c508b29 100644
|
||||
--- a/src/main/resources/LICENSE
|
||||
+++ b/src/main/resources/LICENSE
|
||||
@@ -3,7 +3,7 @@ The GNU General Public License (GPL)
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
-59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies of this license
|
||||
document, but changing it is not allowed.
|
||||
43
jboss-rmi-1.0-api.spec
Normal file
43
jboss-rmi-1.0-api.spec
Normal file
@ -0,0 +1,43 @@
|
||||
%define namedreltag .Final
|
||||
%define namedversion %{version}%{?namedreltag}
|
||||
Name: jboss-rmi-1.0-api
|
||||
Version: 1.0.4
|
||||
Release: 1
|
||||
Summary: Java Remote Method Invocation 1.0 API
|
||||
License: GPLv2+
|
||||
URL: https://github.com/jboss/jboss-rmi-api_spec
|
||||
Source0: https://github.com/jboss/jboss-rmi-api_spec/archive/refs/tags/jboss-rmi-api_1.0_spec-%{namedversion}.tar.gz
|
||||
Patch0: %{name}-fix-fsf-address.patch
|
||||
BuildRequires: maven-local mvn(jacorb:jacorb) >= 2.3.1-3.20120215git
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
|
||||
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
|
||||
BuildArch: noarch
|
||||
%description
|
||||
Java Remote Method Invocation 1.0 API classes.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
%description javadoc
|
||||
This package contains the API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n jboss-rmi-api_spec-jboss-rmi-api_1.0_spec-%{namedversion}
|
||||
%patch0 -p1
|
||||
%pom_xpath_remove "pom:dependency[pom:groupId = 'jacorb']/pom:scope"
|
||||
%mvn_file : %{name}
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%license src/main/resources/LICENSE
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license src/main/resources/LICENSE
|
||||
|
||||
%changelog
|
||||
* Wed May 12 2021 caodongxia <caodongxia@huawei.com> - 1.0.4-1
|
||||
- package init
|
||||
4
jboss-rmi-1.0-api.yaml
Normal file
4
jboss-rmi-1.0-api.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: jboss/jboss-rmi-api_spec
|
||||
tag_prefix: "jboss-rmi-api_1.0_spec-"
|
||||
separator: "."
|
||||
BIN
jboss-rmi-api_1.0_spec-1.0.4.Final.tar.gz
Normal file
BIN
jboss-rmi-api_1.0_spec-1.0.4.Final.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user