Name: ws-commons-util Version: 1.0.2 Release: 1 Summary: Common utilities from the Apache Web Services Project License: ASL 2.0 URL: http://ws.apache.org/commons/util # svn checkout http://svn.apache.org/repos/asf/webservices/commons/tags/util/1.0.2/ ws-commons-util-1.0.2 # tar cJf ws-commons-util-1.0.2.tar.xz ws-commons-util-1.0.2 Source0: ws-commons-util-1.0.2.tar.xz BuildArch: noarch BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin) %description This is version 1.0.2 of the common utilities from the Apache Web Services Project. %package javadoc Summary: Javadoc for %{name} %description javadoc %{summary}. %prep %setup -q -n %{name}-%{version} %mvn_file : %{name} %mvn_alias org.apache.ws.commons:ws-commons-util org.apache.ws.commons.util:ws-commons-util %pom_xpath_inject "pom:project" "bundle" %pom_add_plugin org.apache.felix:maven-bundle-plugin . ' true org.apache.ws.commons.util ${project.name} plugin ${project.version} bundle-manifest process-classes manifest ' %pom_remove_dep "xml-apis:xml-apis" %pom_xpath_inject 'pom:dependency[pom:artifactId="junit"]' "test" %build %mvn_build %install %mvn_install %files -f .mfiles %license LICENSE.txt %files javadoc -f .mfiles-javadoc %license LICENSE.txt %changelog * Wed Aug 12 2020 leiju - 1.0.2-1 - Package init