SPECS: python-django.spec (NEW) - new
arekm
arekm at pld-linux.org
Sat Dec 10 00:57:48 CET 2005
Author: arekm Date: Fri Dec 9 23:57:48 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
python-django.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-django.spec
diff -u /dev/null SPECS/python-django.spec:1.1
--- /dev/null Sat Dec 10 00:57:48 2005
+++ SPECS/python-django.spec Sat Dec 10 00:57:43 2005
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+
+%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}*
+
+%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 2005/12/09 23:57:43 arekm
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list