[RPM (6.0)] [DIST generic] axiom-e4x-0.0-0.20080828.2.jpp6

Ralph Apel <[email protected]>
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : axiom-e4x                    Relocations: (not relocatable)
Version     : 0.0                               Vendor: JPackage Project
Release     : 0.20080828.2.jpp6             Build Date: Wed 01 Aug 2012 10:20:03 AM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Libraries         Source RPM: (none)
Size        : 57071                            License: ASL 2.0
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://wso2.org/projects/wsf/js/rhino
Summary     : WSO2 Web Services Framework for Javascript Rhino
Description :
WSO2 WSF/JavaScript Rhino consists of the following components:
* E4X Implementation in Rhino:
  E4X stands for ECMAScript (a scripting programming language,
  standardized by Ecma International in the ECMA-262
  specification) for XML.
  E4X is as an extension to JavaScript language to provide
  native support for XML processing. E4X support in Rhino is
  re-implemented using Apache AXIOM in order to make JavaScript
  Web services faster in Apache Axis2/Java.
* JavaScript Message Receiver:
  This message receiver allows JavaScript services to be
  deployed in Apache Axis2/Java. It has built-in support for
  Rhino's load and print functions. The service should return
  an E4X XML object in order to use this message receiver.
* Rino version of WSRequest:
  WSRequest.js (src/WSRequest.js) is a JavaScript implementation
  of the WSRequest API
  (http://www.wso2.org/wiki/display/wsfajax/wsrequest_specification)
  using Axis2's client API.

---------------
Ralph Apel <r.apel at r-apel.de> 0:0.0-0.20080828.2
- Rebuild fpr JPP-6
---------------
axiom-e4x.src: W: no-signature
axiom-e4x.src: W: invalid-license ASL 2.0
1 packages and 0 specfiles checked; 0 errors, 2 warnings.

---------------
Index: axiom-e4x.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/axiom-e4x/axiom-e4x.spec,v
retrieving revision 1.1
diff -u -r1.1 axiom-e4x.spec
--- axiom-e4x.spec	6 Oct 2008 20:33:52 -0000	1.1
+++ axiom-e4x.spec	1 Aug 2012 08:26:52 -0000
@@ -1,4 +1,4 @@
-# Copyright (c) 2000-2008, JPackage Project
+# Copyright (c) 2000-2012, JPackage Project
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -28,14 +28,16 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
-
 %define section free
+%define _binary_payload w9.gzdio
+%define _source_payload w9.gzdio
+%define _binary_filedigest_algorithm 1
+%define _source_filedigest_algorithm 1
 
 Summary:        WSO2 Web Services Framework for Javascript Rhino
 Name:           axiom-e4x
 Version:        0.0
-Release:        0.20080828.1%{dist}
+Release:        0.20080828.2%{?dist}
 Epoch:          0
 Group:          Development/Libraries
 License:        ASL 2.0
@@ -48,9 +50,9 @@
 Source3:        wsf-javasript-rhino.pom
 
 BuildRequires:  jpackage-utils >= 0:1.7.5
-BuildRequires:  java-devel >= 0:1.5.0
+BuildRequires:  java-devel >= 0:1.6.0
 BuildRequires:  junit
-BuildRequires:  maven2 >= 0:2.0.7
+BuildRequires:  maven2 >= 0:2.0.8
 BuildRequires:  maven2-plugin-antrun
 BuildRequires:  maven2-plugin-assembly
 BuildRequires:  maven2-plugin-compiler
@@ -63,28 +65,22 @@
 BuildRequires:  maven2-plugin-resources
 BuildRequires:  maven2-plugin-source
 BuildRequires:  maven-surefire-plugin
+BuildRequires:  maven-surefire-provider-junit3
 
 BuildRequires:  rhino
 BuildRequires:  stax_1_0_api
-BuildRequires:  sun-jaf
-BuildRequires:  sun-mail
+BuildRequires:  glassfish-jaf
+BuildRequires:  glassfish-javamail
 BuildRequires:  ws-commons-axiom
 BuildRequires:  wstx
 
-Requires:  java >= 0:1.5.0
+Requires:  java >= 0:1.6.0
 Requires:  rhino
 
 Requires(post):   jpackage-utils >= 0:1.7.5
 Requires(postun): jpackage-utils >= 0:1.7.5
 
-%if %{gcj_support}
-BuildRequires:          java-gcj-compat-devel
-Requires(post):         java-gcj-compat
-Requires(postun):       java-gcj-compat
-%endif
-%if ! %{gcj_support}
 BuildArch:      noarch
-%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
 %description
@@ -132,8 +128,8 @@
 
 export M2SETTINGS=$(pwd)/maven2-settings.xml
 export MAVEN_REPO_LOCAL=`pwd`/m2_repo/repository
-mkdir -p $MAVEN_REPO_LOCAL/JPP/maven2/default_poms
-cp %{SOURCE3} $MAVEN_REPO_LOCAL/JPP/maven2/default_poms/org.wso2.wsf.javascript-wsf-javascript-rhino.pom
+mkdir -p $MAVEN_REPO_LOCAL/org/wso2/wsf/javascript/wsf-javascript-rhino/SNAPSHOT/
+cp %{SOURCE3} $MAVEN_REPO_LOCAL/org/wso2/wsf/javascript/wsf-javascript-rhino/SNAPSHOT/wsf-javascript-rhino-SNAPSHOT.pom
 
 mvn-jpp -e \
         -s ${M2SETTINGS} \
@@ -162,40 +158,20 @@
 cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
 ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
 
-%if %{gcj_support}
-%{_bindir}/aot-compile-rpm
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %postun
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %files
 %defattr(0644,root,root,0755)
 %{_javadir}/*.jar
 %{_datadir}/maven2/poms/*
 %{_mavendepmapfragdir}/*
-%if %{gcj_support}
-%attr(-,root,root) %dir %{_libdir}/gcj/%{name}
-%attr(-,root,root) %{_libdir}/gcj/%{name}/*-%{version}.jar.*
-%endif
 
 %files javadoc
 %defattr(0644,root,root,0755)
@@ -203,6 +179,9 @@
 %{_javadocdir}/%{name}
 
 %changelog
+* Wed Aug 01 2012 Ralph Apel <r.apel at r-apel.de> 0:0.0-0.20080828.2
+- Rebuild fpr JPP-6
+
 * Tue Oct 07 2008 Ralph Apel <r.apel at r-apel.de> 0:0.0-0.20080828.1.jpp5
 - Initial release
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.