rpms/tclsoap/devel tclsoap.patch, NONE, 1.1 tclsoap.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michael Thomas (wart) fedora-extras-commits at redhat.com
Sun Jan 29 03:31:51 UTC 2006


Author: wart

Update of /cvs/extras/rpms/tclsoap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv325/devel

Modified Files:
	.cvsignore sources 
Added Files:
	tclsoap.patch tclsoap.spec 
Log Message:
auto-import tclsoap-1.6.7-1 on branch devel from tclsoap-1.6.7-1.src.rpm

tclsoap.patch:

--- NEW FILE tclsoap.patch ---
diff -Naur --exclude '*.swp' tclsoap1.6.7/Makefile.in tclsoap1.6.7.new/Makefile.in
--- tclsoap1.6.7/Makefile.in	2003-09-06 10:08:46.000000000 -0700
+++ tclsoap1.6.7.new/Makefile.in	2004-11-06 13:07:03.000000000 -0800
@@ -150,7 +150,16 @@
 install-doc: doc
 
 test:
-	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/tests/all.tcl`
+	if test -f pkgIndex.tcl ; then \
+	    cp -f pkgIndex.tcl pkgIndex.tcl.bak ; \
+	fi
+	sed -e "s#\\\$$dir#$(srcdir)/\\\$$dir#" < $(srcdir)/pkgIndex.tcl > pkgIndex.tcl.new
+	mv pkgIndex.tcl.new pkgIndex.tcl
+	TCLLIBPATH=. \
+	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/tests/all.tcl` $(TESTFLAGS)
+	if test -f pkgIndex.tcl.bak ; then \
+	    mv -f pkgIndex.tcl.bak pkgIndex.tcl ; \
+	fi
 
 depend:
 
diff -Naur --exclude '*.swp' tclsoap1.6.7/SOAP.tcl tclsoap1.6.7.new/SOAP.tcl
--- tclsoap1.6.7/SOAP.tcl	2003-09-06 10:08:46.000000000 -0700
+++ tclsoap1.6.7.new/SOAP.tcl	2004-11-06 08:24:09.000000000 -0800
@@ -17,16 +17,19 @@
 catch {package require uri::urn};       # tcllib 1.2
 package require SOAP::Utils;            # TclSOAP
 package require rpcvar;                 # TclSOAP 
+catch {package require xml};            # Needed for dom 3.0
 
 # -------------------------------------------------------------------------
 
 namespace eval ::SOAP {variable domVersion}
 if {[catch {package require SOAP::dom 1.0} ::SOAP::domVersion]} {
-    if { [catch {package require dom 2.0} ::SOAP::domVersion]} {
-        if { [catch {package require dom 1.6} ::SOAP::domVersion]} {
-            error "require dom package greater than 1.6"
-        }
-        package require SOAP::xpath;    # TclSOAP
+    if { [catch {package require dom 3.0} ::SOAP::domVersion]} {
+	if { [catch {package require dom 2.0} ::SOAP::domVersion]} {
+	    if { [catch {package require dom 1.6} ::SOAP::domVersion]} {
+		error "require dom package greater than 1.6"
+	    }
+	    package require SOAP::xpath;    # TclSOAP
+	}
     }
     proc ::SOAP::createDocument {name} {
         set doc [dom::DOMImplementation create]
diff -Naur --exclude '*.swp' tclsoap1.6.7/xpath.tcl tclsoap1.6.7.new/xpath.tcl
--- tclsoap1.6.7/xpath.tcl	2003-09-06 10:08:46.000000000 -0700
+++ tclsoap1.6.7.new/xpath.tcl	2004-11-06 08:34:31.000000000 -0800
@@ -14,9 +14,13 @@
 # for more details.
 # -------------------------------------------------------------------------
 
-if { [catch {package require dom 2.0}] } {
-    if { [catch {package require dom 1.6}] } {
-        error "require dom package greater than 1.6"
+catch {package require xml};            # Needed for dom 3.0
+
+if { [catch {package require dom 3.0}] } {
+    if { [catch {package require dom 2.0}] } {
+        if { [catch {package require dom 1.6}] } {
+            error "require dom package greater than 1.6"
+        }
     }
 }
 


--- NEW FILE tclsoap.spec ---
Summary:  Tcl commands for SOAP remote procedure calls
Name: tclsoap
Version: 1.6.7
Release: 1%{?dist}
License: MIT
URL: http://tclsoap.sourceforge.net/
Group: Development/Libraries
Source0:        http://download.sourceforge.net/tclsoap/TclSOAP-1.6.7.tar.gz
Patch0: tclsoap.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: tcl
Requires: tcl tcldom

%description
Provides support for building clients and servers for the
SOAP remote procedure call protocol from Tcl. SOAP is an 
XML based RPC mechanism which provides cross-platform
cross language compatibility.

%prep
%setup -q -n %{name}%{version}
%patch0 -p1
chmod a-x doc/*

%build
%configure --libdir=%{_datadir}
# Nothing to build.  Don't run 'make'

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_datadir}/%{name}%{version}
%doc CHANGES LICENSE DESCRIPTION.txt TclSOAP.ANN
%doc doc/*

%changelog
* Sat Dec 10 2005 Wart <wart at kobold.org> - 1.6.7-1
- Initial spec file.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/tclsoap/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	29 Jan 2006 03:31:23 -0000	1.1
+++ .cvsignore	29 Jan 2006 03:31:51 -0000	1.2
@@ -0,0 +1 @@
+TclSOAP-1.6.7.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/tclsoap/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	29 Jan 2006 03:31:23 -0000	1.1
+++ sources	29 Jan 2006 03:31:51 -0000	1.2
@@ -0,0 +1 @@
+6e07a5dad13233851fc9eecd9f7319e1  TclSOAP-1.6.7.tar.gz




More information about the fedora-extras-commits mailing list