44 lines
1.3 KiB
RPMSpec
44 lines
1.3 KiB
RPMSpec
%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
|