%global dat_ver 2.1.2 Summary: A python SOAP client modified for usage with Czech Databox Name: python-sudsds Version: 1.0 Release: 2%{?dist} Source0: http://www.nic.cz/public_media/datove_schranky/releases/datovka-%{dat_ver}/src/sudsds-%{version}.tar.gz License: LGPLv3+ Group: Development/Libraries BuildArch: noarch Requires: python >= 2.4 BuildRequires: python-setuptools-devel URL: https://labs.nic.cz/page/969/datovka/ %description sudsds is a fork of the suds library modified to meet the needs for interaction with the servers of Czech Databox. The modifications are related to HTTPS proxy, server certificate validation and other SSL related functions. %prep %setup -q -n sudsds-%{version} %build %{__python} setup.py sdist %install %{__python} setup.py install --optimize=1 --root=%{buildroot} # Remove wrongly installed documents, they will be correctly installed later rm -f %{buildroot}%{_datadir}/sudsds/{README,LICENSE.txt} rmdir %{buildroot}%{_datadir}/sudsds %files %{python_sitelib}/suds*.egg-info %dir %{python_sitelib}/sudsds %dir %{python_sitelib}/sudsds/bindings %dir %{python_sitelib}/sudsds/sax %dir %{python_sitelib}/sudsds/xsd %dir %{python_sitelib}/sudsds/mx %dir %{python_sitelib}/sudsds/umx %dir %{python_sitelib}/sudsds/transport %{python_sitelib}/sudsds/*.py* %{python_sitelib}/sudsds/bindings/*.py* %{python_sitelib}/sudsds/sax/*.py* %{python_sitelib}/sudsds/xsd/*.py* %{python_sitelib}/sudsds/mx/*.py* %{python_sitelib}/sudsds/umx/*.py* %{python_sitelib}/sudsds/transport/*.py* %doc README LICENSE.txt %changelog * Mon Sep 17 2012 Jaroslav Škarvada - 1.0-2 - Removed old EPEL stubs (it is currently not intended for old EPELs) - Fixed buildroot macro - Replaced python call with macro * Tue Sep 04 2012 Jaroslav Škarvada - 1.0-1 - Initial commit