]> git.pld-linux.org Git - packages/python-django.git/commitdiff
- new
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 9 Dec 2005 23:57:43 +0000 (23:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-django.spec -> 1.1

python-django.spec [new file with mode: 0644]

diff --git a/python-django.spec b/python-django.spec
new file mode 100644 (file)
index 0000000..6ccb238
--- /dev/null
@@ -0,0 +1,47 @@
+
+%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}*
This page took 0.102837 seconds and 4 git commands to generate.