%define modname billiard Name: python-%{modname} Version: 0.2.2 Release: 1 Summary: Multiprocessing Pool Extensions URL: http://github.com/ask/billiard License: BSD Group: Development/Libraries/Python Source: %{modname}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot %{py_requires} BuildRequires: fdupes python-devel python-setuptools %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch %endif %description This package contains extensions to the multiprocessing pool. Authors: -------- Ask Solem Jesper Noehr %prep %setup -q -n %{modname}-%{version} %build export CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install --single-version-externally-managed --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES %fdupes %buildroot %clean rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-,root,root) %doc AUTHORS Changelog LICENSE README TODO docs %changelog