File python-processing.spec of Package python-processing
#
# spec file for package python-processing
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define modname processing
Name: python-%{modname}
BuildRequires: python-devel unzip
%if 0%{?suse_version} < 1020
Requires: python-ctypes
%endif
Url: http://pypi.python.org/pypi/%{modname}/
License: BSD Licence
Group: Productivity/System
Autoreqprov: on
Version: 0.52
Release: 1
Summary: Python module for using processes mimicking the 'threading' module
Source: http://pypi.python.org/packages/source/p/%{modname}/%{modname}-%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
%description
The processing package is and analogue of the `threading` module, but
using processes instead of threads. A sub-package `processing.dummy` has
the same API, but is a thin wrapper around `threading`.
Objects can be shared between processes by using a manager.
Communication between processes uses sockets (or named pipes).
See `<INSTALL.txt>`_ for installation instructions.
The package is released under a BSD Licence, see `<LICENCE.txt>`_.
For further documentation see `<doc/index.html>`_.
Authors:
--------
R Oudkerk <r.m.oudkerk at gmail.com>
%prep
%setup -n %{modname}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc *.txt
%doc doc
%doc examples
%doc tests
%changelog -n python-%{modname}