%global namedreltag .Final %global namedversion %{version}%{?namedreltag} Name: jboss-jaxws-2.2-api Version: 2.0.3 Release: 2 Summary: Java API for XML-Based Web Services 2.2 License: CDDL-1.0 or GPLv2+ URL: http://www.jboss.org/ Source0: https://github.com/jboss/jboss-jaxws-api_spec/archive/jboss-jaxws-api_2.2_spec-%{namedversion}.tar.gz BuildArch: noarch BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.jboss:jboss-parent:pom:) %description Java API for XML-Based Web Services 2.2 classes. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n jboss-jaxws-api_spec-jboss-jaxws-api_2.2_spec-%{namedversion} %pom_remove_plugin :maven-source-plugin %build %mvn_build %install %mvn_install %files -f .mfiles %license src/main/resources/LICENSE.txt %doc src/main/resources/NOTE.txt %files javadoc -f .mfiles-javadoc %license src/main/resources/LICENSE.txt %doc src/main/resources/NOTE.txt %changelog * Thu Jun 13 2024 wulei - 2.0.3-2 - Regulate license information * Wed May 12 2021 caodongxia - 2.0.3-1 - package init