]> git.pld-linux.org Git - packages/python-SOAP.git/blobdiff - python-SOAP.spec
- Release 2. Ac rebuild with changed Pythons ABI.
[packages/python-SOAP.git] / python-SOAP.spec
index b763b7dd462d229c2e009b6500c0eae502d4b303..81ad004bddf686376d14764d872d5835824ee296 100644 (file)
@@ -2,15 +2,18 @@
 Summary:       A SOAP library for Python
 Summary(pl):   Biblioteka SOAP dla Pythona
 Name:          python-SOAP
-Version:       0.9.7
-Release:       6
+Version:       0.10.4
+Release:       2
 License:       Python
 Group:         Libraries/Python
-Source0:       http://dl.sourceforge.net/pywebsvcs/SOAPpy097.tgz
+Source0:       http://dl.sourceforge.net/pywebsvcs/SOAPpy-%{version}.tar.gz
+# Source0-md5: db2d6abeed95ad040bb38de1fbc45e80
 URL:           http://sourceforge.net/projects/pywebsvcs/
 %pyrequires_eq python
-BuildRequires: python-devel >= 2.2.1
+BuildRequires: python-devel >= 2.3
 BuildRequires: rpm-pythonprov
+BuildRequires: python-fpconst
+BuildRequires: python-PyXML
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -23,20 +26,26 @@ Serwisy WWW dla programist
 SOAP, WSDL, UDDI itp.
 
 %prep
-%setup -q -n SOAPpy097
+%setup -q -n SOAPpy-%{version}
+
+%build
+python setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{py_sitedir}
 
-install SOAP.py $RPM_BUILD_ROOT%{py_sitedir}
-%py_comp $RPM_BUILD_ROOT%{py_sitedir}
-%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+python setup.py install \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README CHANGELOG docs/*.txt validate tests tools contrib bid *.py
-%{py_sitedir}/*.py?
+%doc README.* docs/*.txt validate tests tools contrib bid
+%dir %{py_sitedir}/SOAPpy
+%{py_sitedir}/SOAPpy/*.py?
+%dir %{py_sitedir}/SOAPpy/wstools
+%{py_sitedir}/SOAPpy/wstools/*.py?
This page took 0.06585 seconds and 4 git commands to generate.