[neethi] Initial package

Andy Grimm arg at fedoraproject.org
Mon Mar 12 12:31:24 UTC 2012


commit 00aff6200ffccc0f6a41d88a4449f24738fe2eba
Author: Andy Grimm <agrimm at gmail.com>
Date:   Mon Mar 12 08:30:07 2012 -0400

    Initial package

 .gitignore               |    1 +
 neethi-disable-rat.patch |   33 +++++++++++++++++++++
 neethi.spec              |   71 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 4 files changed, 106 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ca4e484 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/neethi-3.0.1.tar.xz
diff --git a/neethi-disable-rat.patch b/neethi-disable-rat.patch
new file mode 100644
index 0000000..2239dc3
--- /dev/null
+++ b/neethi-disable-rat.patch
@@ -0,0 +1,33 @@
+--- neethi-3.0.1.orig/pom.xml	2011-07-11 12:05:52.000000000 -0400
++++ neethi-3.0.1/pom.xml	2012-02-16 08:46:48.551120861 -0500
+@@ -184,30 +184,6 @@
+                     </instructions>
+                 </configuration>
+             </plugin>
+-            <plugin>
+-                <groupId>org.apache.rat</groupId>
+-                <artifactId>apache-rat-plugin</artifactId>
+-                <executions>
+-                    <execution>
+-                        <phase>verify</phase>
+-                        <goals>
+-                            <goal>check</goal>
+-                        </goals>
+-                    </execution>
+-                </executions>
+-                <configuration>
+-                    <excludes>
+-                        <exclude>.gitignore</exclude>
+-                        <exclude>.git/**</exclude>
+-                        <exclude>.pmd/**</exclude>
+-                        <exclude>.checkstyle/**</exclude>
+-                        <!-- RAT doesn't recognize this one as notes file -->
+-                        <exclude>RELEASE-NOTE.txt</exclude>
+-                        <!-- Files licensed by the W3C, as mentioned in the NOTICE file -->
+-                        <exclude>src/test/test-resources/w3tests/**</exclude>
+-                    </excludes>
+-                </configuration> 
+-            </plugin>
+         </plugins>
+ 	<pluginManagement>
+ 	  <plugins>
diff --git a/neethi.spec b/neethi.spec
new file mode 100644
index 0000000..04612db
--- /dev/null
+++ b/neethi.spec
@@ -0,0 +1,71 @@
+Name:           neethi
+Version:        3.0.1
+Release:        1%{?dist}
+Summary:        Web Services Policy framework
+
+Group:          Development/Libraries  
+License:        ASL 2.0
+URL:            http://ws.apache.org/neethi/
+# svn export https://svn.apache.org/repos/asf/webservices/commons/tags/neethi/neethi-3.0.1/ neethi-3.0.1
+# tar caf neethi-3.0.1.tar.xz neethi-3.0.1
+Source0:        %{name}-%{version}.tar.xz
+Patch0:         %{name}-disable-rat.patch
+BuildArch:      noarch
+
+BuildRequires: java-devel
+BuildRequires: jpackage-utils    
+BuildRequires: maven
+BuildRequires: wsdl4j
+BuildRequires: axiom
+Requires:      java
+Requires:      jpackage-utils
+Requires:      wsdl4j
+Requires:      axiom
+
+%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}
+Group:        Documentation
+Requires:     jpackage-utils
+
+%description javadoc
+API documentation for %{name}.
+
+%prep
+%setup -q -n %{name}-%{version}
+%patch0 -p1
+
+%build
+# skip tests due to requirement for old wstx
+mvn-rpmbuild -D maven.test.skip=true install javadoc:javadoc
+
+%install
+install -d -m 755 %{buildroot}%{_javadir}
+install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+cp pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+install -d -m 755 %{buildroot}%{_javadocdir}
+cp -rp target/site/apidocs %{buildroot}%{_javadocdir}/%{name}
+
+%files
+%doc README.txt RELEASE-NOTE.txt
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+
+%files javadoc
+%{_javadocdir}/%{name}
+
+
+%changelog
+* Thu Feb 16 2012 Andy Grimm <agrimm at gmail.com> - 3.0.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..d729d62 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0db8ac3edee404e7be23e578c1064067  neethi-3.0.1.tar.xz


More information about the scm-commits mailing list