[python-retask] Initial import
Kushal Das
kushal at fedoraproject.org
Wed Aug 8 14:13:08 UTC 2012
commit 1d135352d83971cb945e6b6659dfcbd547b790ca
Author: Kushal Das <kushal at fedoraproject.org>
Date: Wed Aug 8 19:42:19 2012 +0530
Initial import
.gitignore | 1 +
python-retask.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..21c8971 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/retask-0.2.tar.gz
diff --git a/python-retask.spec b/python-retask.spec
new file mode 100644
index 0000000..ddaf895
--- /dev/null
+++ b/python-retask.spec
@@ -0,0 +1,49 @@
+# 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.2
+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: python-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
+* Fri Jul 27 2012 Kushal Das <kushal at fedoraproject.org> 0.2-1
+- Initial release
+
diff --git a/sources b/sources
index e69de29..2bba645 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c4f785b5703117883b2b21cc558283a9 retask-0.2.tar.gz
More information about the scm-commits
mailing list