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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 334323 - (show annotations) (download)
Sun Dec 23 17:59:15 2012 UTC (11 years, 3 months ago) by philippem
File size: 1808 byte(s)
Update to 0.6.7
1 %define alphatag r212
2 %define realname django-evolution
3
4 Name: python-django-evolution
5 Version: 0.6.7
6 Release: %mkrel 1
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 Source0: http://pypi.python.org/packages/source/d/django_evolution/django_evolution-%{version}.tar.gz
16 # Patches from Fedora
17 Patch0001: FED01-Disable-ez_setup-when-installing-by-RPM.patch
18
19
20 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
21
22 BuildArch: noarch
23 BuildRequires: python-devel
24 BuildRequires: python-setuptools
25 BuildRequires: python-nose
26 BuildRequires: python-coverage
27 BuildRequires: pyflakes
28 BuildRequires: python-sqlite
29 Requires: python-django
30
31 %description
32 When you run ./manage.py syncdb, Django will look for any new models that
33 have been defined, and add a database table to represent those new models.
34 However, if you make a change to an existing model, ./manage.py syncdb will
35 not make any changes to the database.
36
37 This is where Django Evolution fits in. Django Evolution is an extension to
38 Django that allows you to track changes in your models over time, and to
39 update the database to reflect those changes.
40
41 %prep
42 %setup -q -n %{realname}-%{version}
43 %patch0001 -p1
44
45 %build
46 %{__python} setup.py build
47
48 %install
49 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
50
51 %check
52 %{__python} tests/runtests.py
53 %{__python} tests/run-pyflakes.py
54
55 %files
56 %doc AUTHORS LICENSE README docs/
57 %{py_puresitedir}/*
58
59

  ViewVC Help
Powered by ViewVC 1.1.30