packages: python-south/python-south.spec (NEW)=?UTF-8?Q?=20?=- new package
jajcus
jajcus at pld-linux.org
Fri May 11 14:21:20 CEST 2012
Author: jajcus Date: Fri May 11 12:21:20 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new package
---- Files affected:
packages/python-south:
python-south.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/python-south/python-south.spec
diff -u /dev/null packages/python-south/python-south.spec:1.1
--- /dev/null Fri May 11 14:21:20 2012
+++ packages/python-south/python-south.spec Fri May 11 14:21:15 2012
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+
+%define module south
+Summary: South - schema and data migrations for Django projects
+Name: python-%{module}
+Version: 0.7.5
+Release: 0.1
+License: Apache v2.0
+Group: Development/Languages/Python
+Source0: http://www.aeracode.org/releases/south/%{module}-%{version}.tar.gz
+# Source0-md5: 69c73d67c953249f9c33a85de3ed5321
+URL: http://south.aeracode.org/
+BuildRequires: python-distribute
+BuildRequires: rpm-pythonprov
+Requires: python-django
+Requires: python-modules
+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-%{version}
+
+%build
+%{__python} setup.py build
+
+%{?with_tests:%{__python} setup.py test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --skip-build \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{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 2012/05/11 12:21:15 jajcus
+- new package
+
================================================================
More information about the pld-cvs-commit
mailing list