SPECS: axis.spec - started update to 1.4 - NFY - is it possible to build it...

pawelz pawelz at pld-linux.org
Tue Feb 24 02:11:00 CET 2009


Author: pawelz                       Date: Tue Feb 24 01:11:00 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- started update to 1.4
- NFY
- is it possible to build it using system jars? It uses xmlbeans in build
  process. It doesn't like our xmlbeans.jar. But *WHERE* is the bundled one?

---- Files affected:
SPECS:
   axis.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/axis.spec
diff -u SPECS/axis.spec:1.13 SPECS/axis.spec:1.14
--- SPECS/axis.spec:1.13	Sat Dec 27 00:49:26 2008
+++ SPECS/axis.spec	Tue Feb 24 02:10:54 2009
@@ -9,21 +9,23 @@
 Summary:	A SOAP implementation in Java
 Summary(pl.UTF-8):	Implementacja SOAP w Javie
 Name:		axis
-Version:	1.2.1
-Release:	0.3
+Version:	1.4
+Release:	0.1
 License:	Apache Software License
 Group:		Development/Languages/Java
 Source0:	http://ws.apache.org/axis//dist/%{archivever}/%{name}-src-%{archivever}.tar.gz
-# Source0-md5:	157ad070accf373565bce80de1204a4d
+# Source0-md5:	3dcce3cbd37f52d70ebeb858f90608dc
+Source1:	axis-build.properties
+Patch0:		axis-classpath.patch
 URL:		http://ws.apache.org/axis/
 BuildRequires:	ant >= 1.6
-#BuildRequires:	ant-nodeps
+BuildRequires:	ant-nodeps
 BuildRequires:	jdk
 # Mandatory requires
 BuildRequires:	jaf
-BuildRequires:	jakarta-commons-discovery
-BuildRequires:	jakarta-commons-httpclient
-BuildRequires:	jakarta-commons-logging
+BuildRequires:	java-commons-discovery
+BuildRequires:	java-commons-httpclient
+BuildRequires:	java-commons-logging
 BuildRequires:	javamail
 BuildRequires:	jaxp_parser_impl
 BuildRequires:	jpackage-utils
@@ -111,33 +113,19 @@
 %setup -q -n %{name}-%{archivever}
 
 # Remove provided binaries
-find -name '*.jar' | xargs rm -v
-find -name '*.zip' | xargs rm -v
+# find -name '*.jar' | xargs rm -v
 find -name '*.class' | xargs rm -v
 
+%patch0 -p1
+
+cp %SOURCE1 build.properties
+
 %build
 export JAVA_HOME=%{java_home}
 
-CLASSPATH=$(build-classpath wsdl4j jakarta-commons-discovery jakarta-commons-httpclient jakarta-commons-logging log4j jaf javamail/mailapi servletapi5)
-export CLASSPATH=$CLASSPATH:$(build-classpath oro junit jimi xml-security jsse httpunit jms castor 2>/dev/null)
-
-export OPT_JAR_LIST="ant/ant-nodeps"
-%ant \
-	-Dcompile.ime=true \
-	-Dwsdl4j.jar=$(find-jar wsdl4j) \
-	-Dcommons-discovery.jar=$(find-jar jakarta-commons-discovery) \
-	-Dcommons-logging.jar=$(find-jar jakarta-commons-logging) \
-	-Dcommons-httpclient.jar=$(find-jar jakarta-commons-httpclient) \
-	-Dlog4j-core.jar=$(find-jar log4j) \
-	-Dactivation.jar=$(find-jar jaf) \
-	-Dmailapi.jar=$(find-jar javamail/mailapi) \
-	-Dxerces.jar=$(find-jar jaxp_parser_impl) \
-	-Dservlet.jar=$(find-jar servletapi5) \
-	-Dregexp.jar=$(find-jar oro) \
-	-Djunit.jar=$(find-jar junit) \
-	-Djimi.jar=$(find-jar jimi) \
-	-Djsse.jar=$(find-jar jsse/jsse) \
-	clean compile javadocs
+CLASSPATH=$(build-classpath ecj tools)
+export CLASSPATH
+%ant dist
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -189,6 +177,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2009/02/24 01:10:54  pawelz
+- started update to 1.4
+- NFY
+- is it possible to build it using system jars? It uses xmlbeans in build
+  process. It doesn't like our xmlbeans.jar. But *WHERE* is the bundled one?
+
 Revision 1.13  2008/12/26 23:49:26  pawelz
 - added note that explain why it does not work
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/axis.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list