1 |
%define module django |
%define module django |
2 |
%define tarname Django |
%define tarname Django |
3 |
%define name python-%module |
%define name python-%module |
4 |
%define version 1.3 |
%define version 1.3.1 |
5 |
%define release %mkrel 1 |
%define release %mkrel 1 |
6 |
|
|
7 |
Summary: A high-level Python Web framework |
Summary: A high-level Python Web framework |
13 |
Group: Development/Python |
Group: Development/Python |
14 |
Url: http://www.djangoproject.com |
Url: http://www.djangoproject.com |
15 |
BuildArch: noarch |
BuildArch: noarch |
16 |
BuildRequires: python-setuptools, python-sphinx, python-devel |
BuildRequires: python-setuptools |
17 |
|
BuildRequires: python-sphinx |
18 |
|
BuildRequires: python-devel |
19 |
|
|
20 |
%description |
%description |
21 |
Django is a high-level Python Web framework that encourages rapid development |
Django is a high-level Python Web framework that encourages rapid development |
42 |
%__rm -rf %{buildroot} |
%__rm -rf %{buildroot} |
43 |
PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} |
PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} |
44 |
|
|
|
%clean |
|
|
%__rm -rf %{buildroot} |
|
|
|
|
45 |
%files |
%files |
|
%defattr(-,root,root) |
|
46 |
%doc LICENSE README docs/_build/html |
%doc LICENSE README docs/_build/html |
47 |
%_bindir/* |
%_bindir/* |
48 |
%py_puresitedir/%{module} |
%py_puresitedir/%{module} |