%global srcname wsme %global osrcname WSME Name: python-%{srcname} Version: 0.5 Release: %mkrel 0.b2.5 Summary: Simplify the writing of REST APIs, and extend them with additional protocols Group: Development/Python License: BSD URL: https://pypi.python.org/pypi/WSME/0.5b2 Source0: http://pypi.python.org/packages/source/w/%{srcname}/%{osrcname}-%{version}b2.tar.gz BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools Requires: python-webob %description Simplify the writing of REST APIs, and extend them with additional protocols %prep %setup -q -n %{osrcname}-%{version}b2 %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root %{buildroot} %files %{python_sitelib}/%{srcname}* %{python_sitelib}/%{osrcname}*