/[packages]/updates/1/python-django/current/SPECS/python-django.spec
ViewVC logotype

Annotation of /updates/1/python-django/current/SPECS/python-django.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 55593 - (hide annotations) (download)
Mon Feb 21 18:56:23 2011 UTC (13 years, 2 months ago) by ahmad
Original Path: cauldron/python-django/current/SPECS/python-django.spec
File size: 1528 byte(s)
- rebuild to make all pythonegg requires/provides lowercase
1 dmorgan 42460 %define module django
2     %define tarname Django
3     %define name python-%module
4     %define version 1.2.3
5 ahmad 55593 %define release %mkrel 4
6 dmorgan 42460
7     Summary: A high-level Python Web framework
8     Name: %{name}
9     Version: %{version}
10     Release: %{release}
11     Source0: http://media.djangoproject.com/releases/%{version}/%{tarname}-%{version}.tar.gz
12     License: BSD
13     Group: Development/Python
14     Url: http://www.djangoproject.com
15     BuildRoot: %{_tmppath}/%{name}-buildroot
16     BuildArch: noarch
17 ahmad 46241 BuildRequires: python-setuptools, python-sphinx, python-devel
18 dmorgan 42460
19     %description
20     Django is a high-level Python Web framework that encourages rapid development
21     and clean, pragmatic design.
22    
23     Developed and used over the past two years by a fast-moving online-news
24     operation, Django was designed from scratch to handle two challenges: the
25     intensive deadlines of a newsroom and the stringent requirements of experienced
26     Web developers. It has convenient niceties for developing content-management
27     systems, but it's an excellent tool for building any Web site.
28    
29     Django focuses on automating as much as possible and adhering to the
30     DRY principle.
31    
32     %prep
33     %setup -q -n %{tarname}-%{version}
34     sed -i 's/^\(ez_setup.use_setuptools\)/#\1/' setup.py
35    
36     %build
37     PYTHONDONTWRITEBYTECODE= %__python setup.py build
38     make -C docs/ html
39    
40     %install
41     %__rm -rf %{buildroot}
42     PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot}
43    
44     %clean
45     %__rm -rf %{buildroot}
46    
47     %files
48     %defattr(-,root,root)
49     %doc LICENSE README docs/_build/html
50     %_bindir/*
51     %py_puresitedir/%{module}
52     %py_puresitedir/%{tarname}-*.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30