[python-django-threaded-multihost] Initial import (#840714).
kumarpraveen
kumarpraveen at fedoraproject.org
Wed Jul 18 16:20:08 UTC 2012
commit 24c15e3cd8382ec02e1bb1da63d31435be682dd1
Author: Praveen Kumar <kumarpraveen.nitdgp at gmail.com>
Date: Wed Jul 18 21:48:49 2012 +0530
Initial import (#840714).
.gitignore | 1 +
python-django-threaded-multihost.spec | 60 +++++++++++++++++++++++++++++++++
setup.patch | 8 ++++
sources | 1 +
4 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..48f7dff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-threaded-multihost-1.4.0.20120717hg80ee24.tar.xz
diff --git a/python-django-threaded-multihost.spec b/python-django-threaded-multihost.spec
new file mode 100644
index 0000000..a805f03
--- /dev/null
+++ b/python-django-threaded-multihost.spec
@@ -0,0 +1,60 @@
+%global pkgname django-threaded-multihost
+%global hg_date 20120717
+%global hg_version 80ee24
+
+Name: python-django-threaded-multihost
+Version: 1.4.0
+Release: 4.%{hg_date}hg%{hg_version}%{?dist}
+Summary: Django module to enable multi-site awareness in Django apps
+
+Group: Development/Libraries
+License: BSD
+URL: https://bitbucket.org/bkroeze/%{pkgname}
+
+# hg clone https://bitbucket.org/bkroeze/django-threaded-multihost django-threaded-multihost-1.4.0
+# rm -fr django-threaded-multihost-1.4.0/.hg django-threaded-multihost-1.4.0/.hgignore
+# tar -cJvf {pkgname}-{version}.{hg_date}hg{hg_version}.tar.xz {pkgname}-{version}
+
+Source0: %{pkgname}-%{version}.%{hg_date}hg%{hg_version}.tar.xz
+Patch0: setup.patch
+
+BuildArch: noarch
+BuildRequires: python-setuptools
+BuildRequires: python2-devel
+
+Requires: python-django
+
+Provides: %{pkgname} = %{version}-%{release}
+Obsoletes: %{pkgname} < 1.4.0-4.20120717hg80ee24
+
+%description
+django-threaded multihost provides support utilities to
+enable easy multi-site awareness in Django apps.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+%patch0 -p0
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install --skip-build --root=%{buildroot}
+
+%files
+%doc docs/ LICENSE.rst
+%{python_sitelib}/threaded_multihost/
+%{python_sitelib}/*.egg-info/
+
+%changelog
+* Tue Jul 17 2012 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 1.4.0-4.20120717hg80ee24
+- Package rename for django
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Mon Jul 18 2011 Rahul Sundaram <sundaram at fedoraproject.org> - 1.4.0-2
+- Add requires on Django
+
+* Tue Jul 12 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 1.4.0-1
+- Initial RPM release
diff --git a/setup.patch b/setup.patch
new file mode 100644
index 0000000..2021d1f
--- /dev/null
+++ b/setup.patch
@@ -0,0 +1,8 @@
+--- django-threaded-multihost-1.4-0/setup.py 2010-03-20 04:33:26.000000000 +0530
++++ setup.py 2011-07-14 11:00:06.802345990 +0530
+@@ -25,5 +25,4 @@
+ packages = ['threaded_multihost'],
+ #package_dir = {'':'threaded_multihost'},
+ include_package_data = False,
+- setup_requires = ["setuptools_hg"],
+ )
diff --git a/sources b/sources
index e69de29..08c3f50 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+49b47260d8e2c583c0af387ac4f519cf django-threaded-multihost-1.4.0.20120717hg80ee24.tar.xz
More information about the scm-commits
mailing list