1 |
%global srcname wsme |
2 |
%global osrcname WSME |
3 |
|
4 |
Name: python-%{srcname} |
5 |
Version: 0.5 |
6 |
Release: %mkrel 0.b2.2 |
7 |
Summary: Simplify the writing of REST APIs, and extend them with additional protocols |
8 |
|
9 |
Group: Development/Python |
10 |
License: BSD |
11 |
URL: https://pypi.python.org/pypi/WSME/0.5b2 |
12 |
Source0: http://pypi.python.org/packages/source/w/%{srcname}/%{osrcname}-%{version}b2.tar.gz |
13 |
|
14 |
BuildArch: noarch |
15 |
BuildRequires: python-devel |
16 |
BuildRequires: python-setuptools |
17 |
|
18 |
Requires: python-webob |
19 |
|
20 |
%description |
21 |
Simplify the writing of REST APIs, and extend them with additional protocols |
22 |
|
23 |
%prep |
24 |
%setup -q -n %{osrcname}-%{version}b2 |
25 |
|
26 |
%build |
27 |
%{__python} setup.py build |
28 |
|
29 |
%install |
30 |
%{__python} setup.py install -O1 --skip-build --root %{buildroot} |
31 |
|
32 |
|
33 |
%files |
34 |
%{python_sitelib}/%{srcname}* |
35 |
%{python_sitelib}/%{osrcname}* |