diff --git a/neethi-3.0.3-source-release.zip b/neethi-3.0.3-source-release.zip new file mode 100644 index 0000000000000000000000000000000000000000..1612e44a23fce209d1c3c0bde8530cd9bf3a3cce Binary files /dev/null and b/neethi-3.0.3-source-release.zip differ diff --git a/neethi.spec b/neethi.spec new file mode 100644 index 0000000000000000000000000000000000000000..7ffdb1135c8557ac6b398ce846367af419f312fa --- /dev/null +++ b/neethi.spec @@ -0,0 +1,58 @@ +Name: neethi +Version: 3.0.3 +Release: 1 +Summary: Web Services Policy framework +License: ASL 2.0 +URL: http://ws.apache.org/neethi/ +Source0: http://archive.apache.org/dist/ws/neethi/%{version}/neethi-%{version}-source-release.zip +BuildArch: noarch + +BuildRequires: maven-local +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.apache:apache:pom:) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.apache.ws.commons.axiom:axiom-api) +BuildRequires: mvn(org.apache.ws.commons.axiom:axiom-dom) +BuildRequires: mvn(org.apache.ws.commons.axiom:axiom-impl) +BuildRequires: mvn(org.codehaus.woodstox:woodstox-core-asl) + +Requires: axiom >= 1.2.14 + +%description +Apache Neethi provides general framework for the programmers to +use WS Policy. It is compliant with latest WS Policy specification +which was published in March 2006. This framework is specifically +written to enable the Apache Web services stack to use WS Policy as +a way of expressing it's requirements and capabilities. + +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q -n %{name}-%{version} + +# These plugins are not needed for RPM builds +%pom_remove_plugin :apache-rat-plugin +%pom_remove_plugin :maven-source-plugin + +%mvn_file : %{name} + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc README.txt RELEASE-NOTE.txt +%license LICENSE NOTICE + +%files javadoc -f .mfiles-javadoc +%license LICENSE NOTICE + +%changelog +* Thu Dec 09 2021 douyan - 3.0.3-1 +- Initial package