[django-tables] Initial import (#654909).

poetinha poetinha at fedoraproject.org
Wed Nov 24 20:57:01 UTC 2010


commit 5cb589505853dc79af067cf7d4afacbc55fe8c03
Author: William Lima <wlima at primate.com.br>
Date:   Wed Nov 24 18:57:05 2010 -0200

    Initial import (#654909).

 .gitignore         |    1 +
 django-tables.spec |   61 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..486dfb9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-tables-0.3-20101124git02ecf61.tar.gz
diff --git a/django-tables.spec b/django-tables.spec
new file mode 100644
index 0000000..cb5aeab
--- /dev/null
+++ b/django-tables.spec
@@ -0,0 +1,61 @@
+%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())")}
+%endif
+
+%define gitdate 20101124
+%define git_version 02ecf61
+
+%define snapshot %{gitdate}git%{git_version}
+
+Name:           django-tables
+Version:        0.3
+Release:        0.1.%{snapshot}%{?dist}
+Summary:        A Django Queryset renderer
+
+Group:          Development/Languages
+License:        BSD
+URL:            http://github.com/miracle2k/django-tables
+# The source for this package was pulled from upstream's vcs.  Use the
+# following commands to generate the tarball:
+#  git clone https://github.com/miracle2k/django-tables.git
+#  cd django-tables
+#  git archive --format=tar --prefix=django-tables-0.3/ 02ecf61 | gzip >django-tables-0.3-20101124git02ecf61.tar.gz
+Source0:        django-tables-%{version}-%{snapshot}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  python-setuptools
+BuildRequires:  python2-devel
+Requires:       Django
+
+%description
+Render QuerySets as tabular data in Django.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE README TODO tests
+%{python_sitelib}/*
+
+%changelog
+* Wed Nov 24 2010 William Lima <wlima at primate.com.br> - 0.3-0.1.20101124git02ecf61
+- update to snapshot 20101124git02ecf61
+
+* Sun Nov 21 2010 William Lima <wlima at primate.com.br> - 0.2-2
+- fixed wrong-file-end-of-line-encoding rpmlint issue
+- use python2-devel instead of python-devel
+
+* Thu Nov 18 2010 William Lima <wlima at primate.com.br> - 0.2-1
+- initial packaging
diff --git a/sources b/sources
index e69de29..8cf1ca1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+faabb12ed4c28965732c3a237ddb1835  django-tables-0.3-20101124git02ecf61.tar.gz


More information about the scm-commits mailing list