1 |
%global srcname werkzeug |
2 |
%global osrcname Werkzeug |
3 |
|
4 |
Name: python-%{srcname} |
5 |
Version: 0.9.3 |
6 |
Release: %mkrel 1 |
7 |
Summary: The Swiss Army knife of Python web development |
8 |
|
9 |
Group: Development/Python |
10 |
License: BSD |
11 |
URL: http://werkzeug.pocoo.org/ |
12 |
Source0: http://pypi.python.org/packages/source/w/%{srcname}/%{osrcname}-%{version}.tar.gz |
13 |
|
14 |
BuildArch: noarch |
15 |
BuildRequires: python-devel |
16 |
BuildRequires: python-setuptools |
17 |
|
18 |
%description |
19 |
The Swiss Army knife of Python web development |
20 |
|
21 |
%prep |
22 |
%setup -q -n %{osrcname}-%{version} |
23 |
|
24 |
%build |
25 |
%{__python} setup.py build |
26 |
|
27 |
%install |
28 |
%{__python} setup.py install -O1 --skip-build --root %{buildroot} |
29 |
|
30 |
|
31 |
%files |
32 |
%{python_sitelib}/%{srcname}* |
33 |
%{python_sitelib}/%{osrcname}* |