Author: cieciwa                      Date: Tue Jun  7 08:12:55 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial, based on python-django-evolution.

---- Files affected:
packages/python-django-celery:
   python-django-celery.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-django-celery/python-django-celery.spec
diff -u /dev/null packages/python-django-celery/python-django-celery.spec:1.1
--- /dev/null   Tue Jun  7 10:12:55 2011
+++ packages/python-django-celery/python-django-celery.spec     Tue Jun  7 
10:12:49 2011
@@ -0,0 +1,84 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+
+%define        module  django-celery
+Summary:       
+Name:          python-%module
+Version:       2.2.4
+Release:       0.1
+License:       BSD
+Group:         Development/Languages
+URL:           http://code.google.com/p/%{module}/
+Source0:       
http://pypi.python.org/packages/source/d/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5: 8cc00d8247e8a612deaa355044b59939
+BuildRequires: python-coverage
+BuildRequires: python-devel
+BuildRequires: python-django
+BuildRequires: python-nose
+BuildRequires: python-pyflakes
+BuildRequires: python-setuptools
+BuildRequires: python-sqlite
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: sed >= 4.0
+Requires:      python-django
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+When you run ./manage.py syncdb, Django will look for any new models
+that have been defined, and add a database table to represent those
+new models. However, if you make a change to an existing model,
+./manage.py syncdb will not make any changes to the database.
+
+This is where Django Evolution fits in. Django Evolution is an
+extension to Django that allows you to track changes in your models
+over time, and to update the database to reflect those changes.
+
+%prep
+%setup -q -n django_evolution-%{version}
+%{__sed} -i -e 's/^from ez_setup/#from ez_setup/' setup.py
+%{__sed} -i -e 's/^use_setuptools()/#use_setuptools()/' setup.py
+
+%build
+%{__python} setup.py build
+
+%if %{with tests}
+%{__python} tests/runtests.py
+%{__python} tests/run-pyflakes.py
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --optimize=2 \
+       --skip-build \
+       --root $RPM_BUILD_ROOT
+
+%py_postclean
+
+rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/django_evolution/tests
+rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/tests
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS LICENSE README docs
+%{py_sitescriptdir}/django_evolution
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/django_evolution-%{version}-*.egg-info
+%endif
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/06/07 08:12:49  cieciwa
+- initial, based on python-django-evolution.
+
+Revision 1.1  2011/02/17 07:10:07  glen
\ No newline at end of file
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to