Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 8724e28967cdc64125b43786a9c949b3 > files > 1

python-retask-0.3-1.fc18.src.rpm

# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-retask
Version:        0.3
Release:        1%{?dist}
Summary:        Python module to create and manage distributed task queues

Group:          Development/Languages
License:        MIT
URL:            http://retask.readthedocs.org/en/latest/index.html
Source0:        https://github.com/downloads/kushaldas/retask/retask-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python2-devel, python-setuptools
Requires:       python-redis

%description
Python module to create and manage distributed task queues.

%prep
%setup -q -n retask-%{version}


%build
%{__python} setup.py build


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


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE
# For noarch packages: sitelib
%{python_sitelib}/retask*


%changelog
* Mon Dec 10 2012 Kushal Das <kushal@fedoraproject.org> 0.3-1
- 0.3 release

* Fri Jul 27 2012 Kushal Das <kushal@fedoraproject.org> 0.2-1
- Initial release