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

Contents of /cauldron/python-django-evolution/pristine/SPECS/python-django-evolution.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 42370 - (show annotations) (download)
Thu Jan 27 21:41:54 2011 UTC (13 years, 2 months ago) by ahmad
File size: 1469 byte(s)
Copying release 0.0-1.svnr164.3mdv2011.0 to pristine/ directory.
1 %define alphatag r164
2 %define realname django-evolution
3
4 Name: python-django-evolution
5 Version: 0.0
6 Release: 1.svn%{alphatag}.%mkrel 3
7 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 Requires: python-django
20
21 %description
22 When you run ./manage.py syncdb, Django will look for any new models that
23 have been defined, and add a database table to represent those new models.
24 However, if you make a change to an existing model, ./manage.py syncdb will
25 not make any changes to the database.
26
27 This is where Django Evolution fits in. Django Evolution is an extension to
28 Django that allows you to track changes in your models over time, and to
29 update the database to reflect those changes.
30
31 %prep
32 %setup -q -n %{realname}-%{alphatag}
33
34 %build
35 %{__python} setup.py build
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(-,root,root,-)
46 %doc AUTHORS LICENSE README docs/
47 %{py_puresitedir}/*
48
49

  ViewVC Help
Powered by ViewVC 1.1.30