]> git.pld-linux.org Git - packages/python-SOAP.git/blob - python-SOAP.spec
- up to 0.12.0
[packages/python-SOAP.git] / python-SOAP.spec
1 Summary:        A SOAP library for Python
2 Summary(pl):    Biblioteka SOAP dla Pythona
3 Name:           python-SOAP
4 Version:        0.12.0
5 Release:        1
6 License:        Python
7 Group:          Libraries/Python
8 Source0:        http://dl.sourceforge.net/pywebsvcs/SOAPpy-%{version}.tar.gz
9 # Source0-md5:  d0d29f9b6fb27bfadc69b64a36321e20
10 Patch0:         %{name}-urltry.patch
11 URL:            http://sourceforge.net/projects/pywebsvcs/
12 %pyrequires_eq  python
13 Requires:               python-fpconst
14 BuildRequires:  python-devel >= 1:2.3
15 BuildRequires:  python-fpconst
16 BuildRequires:  python-PyXML
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Web services for Python programmers, both client and servers. This
22 includes SOAP, WSDL, UDDI, etc.
23
24 %description -l pl
25 Serwisy WWW dla programistów Pythona, zarówno klient i serwery. W tym
26 SOAP, WSDL, UDDI itp.
27
28 %prep
29 %setup -q -n SOAPpy-%{version}
30 %patch0 -p1
31
32 %build
33 python setup.py build
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
38
39 python setup.py install \
40         --optimize=2 \
41         --root=$RPM_BUILD_ROOT
42
43 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" -exec rm {} \;
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc README docs/*.txt validate tests tools contrib bid
51 %dir %{py_sitescriptdir}/SOAPpy
52 %{py_sitescriptdir}/SOAPpy/*.py?
53 %dir %{py_sitescriptdir}/SOAPpy/wstools
54 %{py_sitescriptdir}/SOAPpy/wstools/*.py?
This page took 0.02421 seconds and 3 git commands to generate.