[python-django-bootstrap-toolkit] initial commit
Matthias Runge
mrunge at fedoraproject.org
Thu Aug 23 12:01:28 UTC 2012
commit b0e76a59a6fd2b3713d01fcc0c9f3987983dcfcf
Author: Matthias Runge <mrunge at matthias-runge.de>
Date: Thu Aug 23 13:59:56 2012 +0200
initial commit
.gitignore | 1 +
python-django-bootstrap-toolkit.spec | 50 ++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3f8b59a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-bootstrap-toolkit-2.5.6.tar.gz
diff --git a/python-django-bootstrap-toolkit.spec b/python-django-bootstrap-toolkit.spec
new file mode 100644
index 0000000..e17a480
--- /dev/null
+++ b/python-django-bootstrap-toolkit.spec
@@ -0,0 +1,50 @@
+# Created by pyp2rpm-0.5.1
+%global pypi_name django-bootstrap-toolkit
+
+Name: python-%{pypi_name}
+Version: 2.5.6
+Release: 1%{?dist}
+Summary: Bootstrap support for Django projects
+
+License: ASL 2.0
+URL: http://pypi.python.org/pypi/django-bootstrap-toolkit/2.5.6
+Source0: http://pypi.python.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+BuildArch: noarch
+
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+
+%if 0%{?fedora} >= 18
+Requires: python-django
+%else
+Requires: Django
+%endif
+
+%description
+Django Toolkit for integration with Twitter's Bootstrap
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+# Remove bundled egg-info
+rm -rf %{pypi_name}.egg-info
+
+# correct file permissions
+chmod ugo-x bootstrap_toolkit/static/datepicker/*/*datepicker.*
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+
+%files
+%doc PKG-INFO
+%{python_sitelib}/bootstrap_toolkit
+%{python_sitelib}/django_bootstrap_toolkit-%{version}-py?.?.egg-info
+
+%changelog
+* Tue Aug 21 2012 Matthias Runge <mrunge at matthias-runge.de> - 2.5.6-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..e1a944e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ec84e4cf177af8a244b28dec167f8d4f django-bootstrap-toolkit-2.5.6.tar.gz
More information about the scm-commits
mailing list