# sitelib for noarch packages %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-soaplib Version: 0.8.1 Release: 4%{?dist} Summary: A python library for writing and calling soap web services Group: Development/Languages License: LGPLv2+ URL: http://pypi.python.org/pypi/soaplib/0.8.1 Source0: http://github.com/downloads/arskom/soaplib/soaplib-0.8.1.tar BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel, python-setuptools, python-lxml, pytz Requires: pytz, python-lxml %description Soaplib is an easy to use python library for writing and calling soap web services. Webservices written with soaplib are simple, lightweight, work well with other SOAP implementations, and can be deployed as WSGI applications. %prep %setup -q -c soaplib %build %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT %check %{__python} setup.py test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE soaplib_docs.markdown # For noarch packages: sitelib %{python_sitelib}/* %exclude %{python_sitelib}/tests %changelog * Mon Jul 19 2010 Jordan O'Mara - 0.8.1-4 - Reverting the last change; use 'rpmbuild-md5' from commandline instead * Wed Jun 02 2010 Chris Alfonso - 0.8.1-3 - Specifying hash algorithm * Tue Jun 01 2010 Jordan O'Mara - 0.8.1-2 - Using the upstream src package; using -c with prep * Wed May 12 2010 Jordan O'Mara - 0.8.1-1 - Replacing 0.7.2 with 0.8.1, which no longer needs patching * Tue May 11 2010 Jordan O'Mara - 0.7.2-3.20080816svn39 - Updating package based on fedora project comments * Wed Feb 4 2009 Jordan O'Mara - 0.7.2-2.20080816svn39 - Added patch for manually setting wsdl url * Tue Sep 16 2008 Jordan O'Mara - 0.7.2-1.20080816svn39 - Initial packaging for Fedora.