/[packages]/cauldron/python-django-evolution/current/SPECS/python-django-evolution.spec
ViewVC logotype

Annotation of /cauldron/python-django-evolution/current/SPECS/python-django-evolution.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 174579 - (hide annotations) (download)
Wed Nov 30 20:20:00 2011 UTC (12 years, 4 months ago) by philippem
File size: 1474 byte(s)
Update to 0.6.5
1 philippem 174579 %define alphatag r212
2 ahmad 42369 %define realname django-evolution
3    
4     Name: python-django-evolution
5 philippem 174579 Version: 0.6.5
6     Release: 1.svn%{alphatag}.%mkrel 1
7 ahmad 42369 Summary: Schema evolution for Django
8    
9     Group: Development/Python
10     License: BSD
11     URL: http://code.google.com/p/django-evolution/
12     # svn export -%{alphatag} http://django-evolution.googlecode.com/svn/trunk/ django-evolution-%{alphatag}
13     # tar zcf django-evolution-%{alphatag}.tar.gz django-evolution-%{alphatag}
14     Source0: %{realname}-%{alphatag}.tar.gz
15     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
16    
17     BuildArch: noarch
18     BuildRequires: python-devel
19 philippem 174579 BuildRequires: python-setuptools
20 ahmad 42369 Requires: python-django
21    
22     %description
23     When you run ./manage.py syncdb, Django will look for any new models that
24     have been defined, and add a database table to represent those new models.
25     However, if you make a change to an existing model, ./manage.py syncdb will
26     not make any changes to the database.
27    
28     This is where Django Evolution fits in. Django Evolution is an extension to
29     Django that allows you to track changes in your models over time, and to
30     update the database to reflect those changes.
31    
32     %prep
33     %setup -q -n %{realname}-%{alphatag}
34    
35     %build
36     %{__python} setup.py build
37    
38     %install
39     rm -rf $RPM_BUILD_ROOT
40     %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
41    
42     %files
43     %defattr(-,root,root,-)
44     %doc AUTHORS LICENSE README docs/
45     %{py_puresitedir}/*
46    
47    

  ViewVC Help
Powered by ViewVC 1.1.30