[django-mptt/f15/master] Initial Import (#645484)

Dave Riches dcr226 at fedoraproject.org
Mon Apr 11 17:53:28 UTC 2011


commit 6c98b89fbe968a3ae0bad2aada47ecef8591d5d6
Author: Dave Riches <dcr226 at fedoraproject.org>
Date:   Mon Apr 11 18:53:29 2011 +0100

    Initial Import (#645484)

 .gitignore       |    1 +
 django-mptt.spec |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..411d0be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-mptt-0.4.2.zip
diff --git a/django-mptt.spec b/django-mptt.spec
new file mode 100644
index 0000000..cf3dd2c
--- /dev/null
+++ b/django-mptt.spec
@@ -0,0 +1,55 @@
+#$Id$
+
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
+
+Summary:	Utilities for implementing Modified Preorder Tree Traversal
+Name:		django-mptt
+Version:	0.4.2
+Release:	2%{?dist}
+License:	BSD
+Group:		Development/Libraries
+URL:		http://code.google.com/p/django-mptt/
+Source:		http://pypi.python.org/packages/source/d/django-mptt/django-mptt-0.4.2.zip
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
+BuildArch:	noarch
+
+BuildRequires:	python2-devel python-setuptools
+
+%description
+Utilities for implementing Modified Preorder Tree Traversal (MPTT) 
+with your Django Model classes and working with trees of Model instances.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
+
+%clean
+rm  -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc INSTALL LICENSE MANIFEST.in PKG-INFO README
+%{python_sitelib}/django_mptt-%{version}-py2.*.egg-info
+%{python_sitelib}/mptt
+
+%changelog
+* Mon Nov 29 2010 Dave Riches <dcr226 at fedorapeople.org> - 0.4.2-2
+- removed redundant comments from spec
+
+
+* Sun Nov 28 2010 Clint Savage <herlo at fedorapeople.org> - 0.4.2-1
+- Updated the package to 0.4.2 and removed a couple unneeded lines from the spec
+
+* Thu Oct 21 2010 Dave Riches <dcr226 at fedorapeople.org> - 0.4.1-1
+- Packaged for Fedora
+
diff --git a/sources b/sources
index e69de29..18983b3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+25156bf76b434e844a6141b24c4929da  django-mptt-0.4.2.zip


More information about the scm-commits mailing list