rpms/SOAPpy/devel SOAPpy.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Tue Apr 18 01:39:11 UTC 2006


Author: xulchris

Update of /cvs/extras/rpms/SOAPpy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9757/devel

Modified Files:
	.cvsignore sources 
Added Files:
	SOAPpy.spec 
Log Message:
auto-import SOAPpy-0.11.6-2 on branch devel from SOAPpy-0.11.6-2.src.rpm


--- NEW FILE SOAPpy.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           SOAPpy
Version:        0.11.6
Release:        2%{?dist}
Summary:        Full-featured SOAP library for Python
Group:          Development/Languages
License:        Python Software Foundation License
URL:            http://pywebsvcs.sourceforge.net/
Source0:        http://dl.sourceforge.net/pywebsvcs/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  python-fpconst >= 0.6.0
Requires:       python-fpconst >= 0.6.0
Requires:       PyXML >= 0.8.3
Requires:       python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")

%description
The goal of the SOAPpy team is to provide a full-featured SOAP library
for Python that is very simple to use and that fully supports dynamic
interaction between clients and servers.


%prep
%setup -q

# remove shell bangs
pushd %{name}/wstools
for file in $(find . -type f -name "*.py"); do
  cp $file $file.orig
  grep -v "\#\! \/usr\/bin" $file.orig > $file
  rm -f $file.orig
done
popd

# remove executable flag from example scripts
chmod -x bid/* contrib/* docs/* tools/* validate/*


%build
CFLAGS="%{optflags}" %{__python} setup.py build


%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}


%check
# testTime is meant to pass, testArray is a known failure.
# ERROR: testTime (__main__.SOAPTestCase)
# FAIL: testArray (__main__.SOAPTestCase)
PYTHONPATH="%{buildroot}%{python_sitelib}" %{__python} tests/SOAPtest.py || :


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc ChangeLog LICENSE README RELEASE_INFO TODO docs/ contrib/ validate/ bid/ tools/

%dir %{python_sitelib}/%{name}
%{python_sitelib}/%{name}/*.py
%{python_sitelib}/%{name}/*.pyc
%ghost %{python_sitelib}/%{name}/*.pyo

%dir %{python_sitelib}/%{name}/wstools
%{python_sitelib}/%{name}/wstools/*.py
%{python_sitelib}/%{name}/wstools/*.pyc
%ghost %{python_sitelib}/%{name}/wstools/*.pyo


%changelog
* Mon Apr 17 2006 Christopher Stone <chris.stone at gmail.com> 0.11.6-2
- Add docs directory to %doc
- Remove PyXML BR
- Removed executable bits from doc files
- Added call to run test script in %check
- Added examples to %doc

* Sat Apr 11 2006 Christopher Stone <chris.stone at gmail.com> 0.11.6-1
- Initial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/SOAPpy/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	18 Apr 2006 01:38:28 -0000	1.1
+++ .cvsignore	18 Apr 2006 01:39:11 -0000	1.2
@@ -0,0 +1 @@
+SOAPpy-0.11.6.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/SOAPpy/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	18 Apr 2006 01:38:28 -0000	1.1
+++ sources	18 Apr 2006 01:39:11 -0000	1.2
@@ -0,0 +1 @@
+51ac835366badedd932c64f26fa8336b  SOAPpy-0.11.6.tar.gz




More information about the scm-commits mailing list