packages: python-django-south/python-django-south.spec (NEW) - new, based o...

glen glen at pld-linux.org
Mon Sep 13 16:17:17 CEST 2010


Author: glen                         Date: Mon Sep 13 14:17:17 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, based on fc spec

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

---- Diffs:

================================================================
Index: packages/python-django-south/python-django-south.spec
diff -u /dev/null packages/python-django-south/python-django-south.spec:1.1
--- /dev/null	Mon Sep 13 16:17:17 2010
+++ packages/python-django-south/python-django-south.spec	Mon Sep 13 16:17:12 2010
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+Summary:	Intelligent schema migrations for Django apps
+Name:		python-django-south
+Version:	0.7.2
+Release:	1
+License:	ASL 2.0
+Group:		Development/Languages
+URL:		http://south.aeracode.org
+Source0:	http://www.aeracode.org/releases/south/south-%{version}.tar.gz
+# Source0-md5:	4c6b60b38a9464509f2671ae540e1446
+BuildRequires:	python-devel
+BuildRequires:	python-distribute
+BuildRequires:	rpmbuild(macros) >= 1.219
+Requires:	python-django
+Obsoletes:	Django-south
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+South brings migrations to Django applications. Its main objectives
+are to provide a simple, stable and database-independent migration
+layer to prevent all the hassle schema changes over time bring to your
+Django applications.
+
+%prep
+%setup -q -n south
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/south/tests
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs/*
+%{py_sitescriptdir}/south
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/South-*.egg-info
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/09/13 14:17:12  glen
+- new, based on fc spec
================================================================


More information about the pld-cvs-commit mailing list