%global upstream_name gunicorn Name: python-gunicorn Version: 0.13.4 Release: 3%{?dist} Summary: Python WSGI application server Group: System Environment/Daemons License: MIT URL: http://gunicorn.org/ Source0: http://pypi.python.org/packages/source/g/gunicorn/gunicorn-%{version}.tar.gz # https://github.com/benoitc/gunicorn/issues/294 Patch0: %{name}-%{version}-no-read-0.patch BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-nose %description Gunicorn ("Green Unicorn") is a Python WSGI HTTP server for UNIX. It uses the pre-fork worker model, ported from Ruby's Unicorn project. It supports WSGI, Django, and Paster applications. %prep %setup -q -n %{upstream_name}-%{version} %patch0 -p1 %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %check %{__python} setup.py test %files %doc LICENSE NOTICE README.rst THANKS %{python_sitelib}/%{upstream_name}* %{_bindir}/%{upstream_name} %{_bindir}/%{upstream_name}_django %{_bindir}/%{upstream_name}_paster %changelog * Wed Feb 08 2012 Dan Callaghan - 0.13.4-3 - renamed package to python-gunicorn, and other minor fixes * Tue Jan 31 2012 Dan Callaghan - 0.13.4-2 - patch for failing test (gunicorn issue #294) * Mon Jan 30 2012 Dan Callaghan - 0.13.4-1 - initial version