jboss-jms-2.0-api/jboss-jms-2.0-api.spec
2022-05-26 15:46:47 +08:00

50 lines
1.5 KiB
RPMSpec

%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-jms-2.0-api
Version: 1.0.2
Release: 1
Summary: JBoss JMS API 2.0 Spec
License: CDDL-1.0 or GPL-2.0-with-classpath-exception
Url: http://www.jboss.org
Source0: https://github.com/jboss/jboss-jms-api_spec/archive/jboss-jms-api_2.0_spec-%{namedversion}.tar.gz
Source1: http://repository.jboss.org/licenses/cddl.txt
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
BuildArch: noarch
%description
The Java Messaging Service 2.0 API classes
%package javadoc
Summary: Javadocs for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n jboss-jms-api_spec-jboss-jms-api_2.0_spec-%{namedversion}
%pom_remove_plugin :maven-source-plugin
cp %{SOURCE1} .
sed -i "s,59 Temple Place,51 Franklin Street,;s,Suite 330,Fifth Floor,;s,02111-1307,02110-1301," LICENSE
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%dir %{_javadir}/%{name}
%license LICENSE cddl.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE cddl.txt
%changelog
* Thu May 26 2022 yangping<yangping69@h-partners.com> - 1.0.2-1
- Update to v1.0.2
* Wed May 11 2022 wangkai <wangkai385@h-partners.com> - 1.0.0-2
- License compliance rectification
* Thu Jul 30 2020 yaokai <yaokai13@huawei.com> - 1.0.0-1
- package init