[python-django-tables2] initial import devel branch
Matthias Runge
mrunge at fedoraproject.org
Fri Mar 9 19:23:19 UTC 2012
commit d98d9abed970a263b4ffef249a89f3ecb1fb5b11
Author: Matthias Runge <mrunge at matthias-runge.de>
Date: Fri Mar 9 20:22:58 2012 +0100
initial import devel branch
.gitignore | 1 +
python-django-tables2.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e2a0a38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-tables2-0.9.4.tar.gz
diff --git a/python-django-tables2.spec b/python-django-tables2.spec
new file mode 100644
index 0000000..8371f68
--- /dev/null
+++ b/python-django-tables2.spec
@@ -0,0 +1,55 @@
+%global pkgname django-tables2
+Name: python-django-tables2
+Version: 0.9.4
+Release: 2%{?dist}
+Summary: Table framework for Django
+
+License: BSD
+URL: https://github.com/bradleyayers/django-tables2
+Source0: http://pypi.python.org/packages/source/d/%{pkgname}/%{pkgname}-%{version}.tar.gz
+#md5=9f073e4746afd49b660b5dcdb5fa0ae8
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+
+Requires: Django
+
+Provides: django-tables2 = %{pkgname}-%{version}-%{release}
+
+%description
+django-tables2 simplifies the task of turning sets of data into HTML tables.
+It has native support for pagination and sorting. It does for HTML tables
+what django.forms does for HTML forms.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+# remove included egg
+rm -rf django_tables2.egg-info
+
+# remove single hidden .DS_store
+%{__rm} django_tables2/static/django_tables2/themes/paleblue/img/.DS_Store
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+
+%files
+%doc LICENSE README.rst
+%{python_sitelib}/django_tables2
+%{python_sitelib}/django_tables2-%{version}-py2.?.egg-info
+
+
+%changelog
+* Wed Mar 07 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.9.4-2
+- remove included egg-info
+- more specific %%files-section
+
+* Sat Mar 03 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.9.4-1
+- initial packaging
diff --git a/sources b/sources
index e69de29..36d47b0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9f073e4746afd49b660b5dcdb5fa0ae8 django-tables2-0.9.4.tar.gz
More information about the scm-commits
mailing list