[python-sudsds] Initial import (#854679)

Jaroslav Škarvada jskarvad at fedoraproject.org
Mon Sep 24 13:27:58 UTC 2012


commit dbc31c56b87ac2f666f18d831799d9b8e9814999
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date:   Mon Sep 24 15:26:45 2012 +0200

    Initial import (#854679)

 .gitignore         |    1 +
 python-sudsds.spec |   61 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..60bb57e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+sudsds-*.tar.gz
diff --git a/python-sudsds.spec b/python-sudsds.spec
new file mode 100644
index 0000000..4cc7b96
--- /dev/null
+++ b/python-sudsds.spec
@@ -0,0 +1,61 @@
+%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 <jskarvad at redhat.com> - 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 <jskarvad at redhat.com> - 1.0-1
+- Initial commit
+
diff --git a/sources b/sources
index e69de29..1b238e3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5381a6c55a148e533ddbe0c4befd580b  sudsds-1.0.tar.gz


More information about the scm-commits mailing list