--- /dev/null
+
+%define module Django
+
+Summary: The web framework for perfectionists with deadlines
+Name: python-django
+Version: 0.90
+Release: 1
+License: BSD
+Group: Development/Languages/Python
+Source0: http://media.djangoproject.com/releases/0.90/Django-%{version}.tar.gz
+# Source0-md5: 16e1a377e58c25e8b36df49fb7d9d122
+URL: http://www.djangoproject.com/
+%pyrequires_eq python
+BuildRequires: python-devel
+BuildRequires: unzip
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Django is a high-level Python Web framework that encourages rapid
+development and clean, pragmatic design.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python ./setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python ./setup.py install \
+ --optimize 2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs/*.* README
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/%{module}*