[woden] Initial commit

Andy Grimm arg at fedoraproject.org
Mon Mar 12 16:09:34 UTC 2012


commit d58fd79d5b4ea9b139157e65a7971a4514dd5f69
Author: Andy Grimm <agrimm at gmail.com>
Date:   Mon Mar 12 12:08:18 2012 -0400

    Initial commit

 .gitignore                  |    1 +
 sources                     |    1 +
 woden-disable-modules.patch |   27 ++++++++++++
 woden.spec                  |   96 +++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 125 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1fb3d16 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/woden-1.0M9.tar.xz
diff --git a/sources b/sources
index e69de29..66f743f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c9bdc5512cc99d1c2f5ea35ef9708cc7  woden-1.0M9.tar.xz
diff --git a/woden-disable-modules.patch b/woden-disable-modules.patch
new file mode 100644
index 0000000..37cd314
--- /dev/null
+++ b/woden-disable-modules.patch
@@ -0,0 +1,27 @@
+Only in woden-1.0M9.new: .m2
+diff -ur woden-1.0M9/pom.xml woden-1.0M9.new/pom.xml
+--- woden-1.0M9/pom.xml	2011-02-09 14:21:40.000000000 -0500
++++ woden-1.0M9.new/pom.xml	2012-02-20 10:34:24.505077491 -0500
+@@ -204,15 +204,10 @@
+ 				<activeByDefault>true</activeByDefault>
+ 			</activation>
+ 			<modules>
+-				<module>woden-qname</module>
+ 				<module>woden-api</module>
+ 				<module>woden-commons</module>
+ 				<module>woden-dom</module>
+ 				<module>woden-om</module>
+-				<module>woden-tests</module>
+-				<module>woden-tool</module>
+-				<module>woden-converter-maven-plugin</module>
+-				<module>woden-ant</module>
+ 			</modules>
+ 		</profile>
+ 		
+Only in woden-1.0M9.new: target
+Only in woden-1.0M9.new/woden-api: target
+Only in woden-1.0M9.new/woden-commons: target
+Only in woden-1.0M9.new/woden-dom: target
+Only in woden-1.0M9.new/woden-om: out.wsdl
+Only in woden-1.0M9.new/woden-om: target
+Only in woden-1.0M9.new/woden-qname: target
diff --git a/woden.spec b/woden.spec
new file mode 100644
index 0000000..c3a6736
--- /dev/null
+++ b/woden.spec
@@ -0,0 +1,96 @@
+%global oversion 1.0M9
+
+Name:           woden
+Version:        1.0
+Release:        0.1.M9%{?dist}
+Summary:        Web Service Description Language (WSDL) validating parser
+
+Group:          Development/Libraries  
+License:        ASL 2.0
+URL:            http://ws.apache.org/woden/
+# svn export https://svn.apache.org/repos/asf/webservices/woden/tags/1.0M9/ woden-1.0M9
+# tar caf woden-1.0M9.tar.xz woden-1.0M9
+Source0:        %{name}-%{oversion}.tar.xz
+# Disable modules whose dependencies are not present in Fedora.  
+Patch0:         %{name}-disable-modules.patch
+BuildArch:      noarch
+
+BuildRequires: java-devel
+BuildRequires: jpackage-utils    
+BuildRequires: maven
+BuildRequires: XmlSchema
+BuildRequires: apache-commons-logging
+BuildRequires: log4j
+BuildRequires: xerces-j2
+BuildRequires: axiom
+Requires:      java
+Requires:      jpackage-utils
+Requires:      wsdl4j
+Requires:      XmlSchema
+Requires:      apache-commons-logging
+Requires:      log4j
+Requires:      xerces-j2
+Requires:      axiom
+
+%description
+The Woden project is a sub-project of the Apache Web Services Project
+to develop a Java class library for reading, manipulating, creating
+and writing WSDL documents, initially to support WSDL 2.0 but with the
+longer term aim of supporting past, present and future versions of WSDL.
+
+%package javadoc
+Summary:      API documentation for %{name}
+Group:        Documentation
+Requires:     jpackage-utils
+
+%description javadoc
+API documentation for %{name}.
+
+%prep
+%setup -q -n %{name}-%{oversion}
+%patch0 -p1
+
+%build
+mvn-rpmbuild install javadoc:aggregate
+
+# Fix encoding
+iconv -f iso8859-1 -t utf-8 LICENSE > LICENSE.utf8
+mv LICENSE.utf8 LICENSE
+
+%install
+install -d -m 755 %{buildroot}%{_javadir}/%{name}
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+
+# parent POM
+cp pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-parent.pom
+%add_maven_depmap JPP.%{name}-parent.pom
+
+# api
+install -m 644 %{name}-api/target/%{name}-api-%{oversion}.jar %{buildroot}%{_javadir}/%{name}/%{name}-api.jar
+cp %{name}-api/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}-api.pom
+%add_maven_depmap JPP.%{name}-%{name}-api.pom %{name}/%{name}-api.jar
+
+# impl-commons
+for mod in commons dom om; do
+  install -m 644 %{name}-${mod}/target/%{name}-impl-${mod}-%{oversion}.jar %{buildroot}%{_javadir}/%{name}/%{name}-impl-${mod}.jar
+  cp %{name}-${mod}/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}-impl-${mod}.pom
+  %add_maven_depmap JPP.%{name}-%{name}-impl-${mod}.pom %{name}/%{name}-impl-${mod}.jar
+done
+
+install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
+cp -rp target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+%files
+%doc LICENSE NOTICE
+%{_javadir}/%{name}
+%{_mavenpomdir}/JPP*.pom
+%{_mavendepmapfragdir}/%{name}
+
+%files javadoc
+%doc LICENSE
+%{_javadocdir}/%{name}
+
+
+%changelog
+* Mon Feb 20 2012 Andy Grimm <agrimm at gmail.com> - 1.0-0.1.M9
+- Initial package


More information about the scm-commits mailing list