diff --git a/ws-commons-util-1.0.2.tar.xz b/ws-commons-util-1.0.2.tar.xz new file mode 100644 index 0000000..19dcd79 Binary files /dev/null and b/ws-commons-util-1.0.2.tar.xz differ diff --git a/ws-commons-util.spec b/ws-commons-util.spec new file mode 100644 index 0000000..6f37266 --- /dev/null +++ b/ws-commons-util.spec @@ -0,0 +1,64 @@ +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 diff --git a/ws-commons-util.yaml b/ws-commons-util.yaml new file mode 100644 index 0000000..b74c9dd --- /dev/null +++ b/ws-commons-util.yaml @@ -0,0 +1,4 @@ +version_control: svn +src_repo: http://svn.apache.org/repos/asf/webservices/commons +tag_prefix: "^" +seperator: "."