File python-threadpool.spec of Package python-threadpool
# norootforbuild
Name: python-threadpool
Version: 1.2.7
Release: 1
Summary: Easy to use object-oriented thread pool framework
License: MIT
Group: Development/Libraries/Python
Source: threadpool-%{version}.tar.bz2
URL: http://chrisarndt.de/projects/threadpool
BuildRequires: python-devel, python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
%description
Easy to use object-oriented thread pool framework.
Author:
--------
Christopher Arndt <chris@chrisarndt.de>
%prep
%setup -q -n threadpool-%{version}
%build
find -name .\* -delete
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)