]> git.pld-linux.org Git - packages/python-SOAP.git/blame - python-SOAP.spec
- new URLs, updated to 0.12.22; still not python3 ready
[packages/python-SOAP.git] / python-SOAP.spec
CommitLineData
3fb43a1a 1# TODO: how to run tests in %build?
dd4ee293 2Summary: A SOAP library for Python
34e4e606 3Summary(pl.UTF-8): Biblioteka SOAP dla Pythona
dd4ee293 4Name: python-SOAP
3fb43a1a
JB
5Version: 0.12.22
6Release: 1
7License: BSD
5f40c204 8Group: Libraries/Python
3fb43a1a
JB
9#Source0Download: https://github.com/kiorky/SOAPpy/releases
10Source0: https://github.com/kiorky/SOAPpy/archive/%{version}/SOAPpy-%{version}.tar.gz
11# Source0-md5: c93de2e7827bcbb6841a8a0ca1de5c59
f168b4e0 12Patch0: %{name}-urltry.patch
3fb43a1a 13URL: https://github.com/kiorky/SOAPpy
b1078dd7 14BuildRequires: python-devel >= 1:2.3
3fb43a1a 15BuildRequires: python-setuptools
51e7fe5d 16BuildRequires: rpm-pythonprov
3fb43a1a
JB
17BuildRequires: rpmbuild(macros) >= 1.714
18BuildRequires: sed >= 4.0
19Requires: python-modules
dd4ee293 20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
dd4ee293 23%description
35ca3d0b 24Web services for Python programmers, both client and servers. This
25includes SOAP, WSDL, UDDI, etc.
dd4ee293 26
b6eefdd3
JR
27%description -l pl.UTF-8
28Serwisy WWW dla programistów Pythona, zarówno klient i serwery. W tym
35ca3d0b 29SOAP, WSDL, UDDI itp.
31aa0424 30
dd4ee293 31%prep
dabb9b71 32%setup -q -n SOAPpy-%{version}
f168b4e0 33%patch0 -p1
3fb43a1a 34rm -f src/SOAPpy/*.orig
dabb9b71
AF
35
36%build
71171add 37%py_build
dd4ee293 38
dd4ee293 39%install
40rm -rf $RPM_BUILD_ROOT
5696cc07 41
71171add 42%py_install
5696cc07 43
3fb43a1a
JB
44install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
45cp -pr bid contrib tests tools validate $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
46%{__sed} -i -e '1s,/usr/bin/env python,%{__python},' $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/*/*.py
47%{__sed} -i -e '1s,#!/usr/bin/python\s*$,#!%{__python},' $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests/testleak.py
48
49%py_postclean
e57d0fdb 50
dd4ee293 51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
3fb43a1a 56%doc CHANGES.txt LICENSE README.txt TODO old.Changelog docs/*.txt
002a8f5f 57%dir %{py_sitescriptdir}/SOAPpy
3fb43a1a 58%{py_sitescriptdir}/SOAPpy/*.py[co]
3f72a829
JR
59%if "%{py_ver}" > "2.4"
60%{py_sitescriptdir}/SOAPpy-%{version}-py2.7.egg-info
61%endif
3fb43a1a 62%{_examplesdir}/%{name}-%{version}
This page took 0.09253 seconds and 4 git commands to generate.