[python-django-dynamite] import tar and spec

Luis Enrique Bazán De León lbazan at fedoraproject.org
Mon Sep 24 16:48:50 UTC 2012


commit 86674744456e624e8f9a1fa4abda1d6cd5458255
Author: Luis Bazan <lbazan at fedoraproject.org>
Date:   Mon Sep 24 11:48:22 2012 -0500

    import tar and spec

 .gitignore                  |    1 +
 python-django-dynamite.spec |   74 +++++++++++++++++++++++++++++++++++++++++++
 sources                     |    1 +
 3 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6172aa2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-dynamite-0.4.1.tar.gz
diff --git a/python-django-dynamite.spec b/python-django-dynamite.spec
new file mode 100644
index 0000000..adfc92a
--- /dev/null
+++ b/python-django-dynamite.spec
@@ -0,0 +1,74 @@
+%global pkgname django-dynamite 
+
+Name:           python-django-dynamite
+Version:        0.4.1
+Release:        5%{?dist}
+Summary:        Dynamic models framework
+
+Group:          Development/Languages
+License:        ASL 2.0
+URL:            http://pypi.python.org/packages/source/d/django-dynamite/
+Source0:        http://pypi.python.org/packages/source/d/%{pkgname}/%{pkgname}-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+
+%if 0%{?fedora} >= 18
+Requires:       python-django-south
+BuildRequires:  python-django-south
+%else
+Requires:       Django-south
+BuildRequires:  Django-south
+%endif
+
+%if 0%{?fedora} >= 18
+Requires:       python-django
+BuildRequires:  python-django
+%else
+Requires:       Django
+BuildRequires:  Django
+%endif
+
+
+%description
+This package provides a module to create dynamic models 
+in django and use it in view and admin interface. Thx to 
+`Will Hardy`_ for this fantastic paper `Runtime Dynamic 
+Models Documentation`
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+rm -rf %{pkgname}.egg-info
+
+%build
+python setup.py build
+
+%install
+python setup.py install --skip-build --root %{buildroot}
+
+%check
+python setup.py test
+ 
+%files
+%doc
+%{python_sitelib}/dynamite
+%{python_sitelib}/django_dynamite-%{version}-py?.?.egg-info
+
+%changelog
+* Sun Sep 23 2012 Luis Bazan <lbazan at fedoraproject.org> 0.4.1-5
+- fix BZ 844775 comment 3
+
+* Fri Sep 07 2012 Luis Bazan <lbazan at fedoraproject.org> 0.4.1-4
+- fix check section
+- fix install section
+
+* Thu Aug 09 2012 Luis Bazan <lbazan at fedoraproject.org> 0.4.1-3
+- fix BuildRequires
+
+* Thu Aug 02 2012 Luis Bazan <lbazan at fedoraproject.org> 0.4.1-2
+- Remove define python lib
+- add check section
+
+* Tue Jul 31 2012 Luis Bazan <lbazan at fedoraproject.org> 0.4.1-1
+- Initial Import
diff --git a/sources b/sources
index e69de29..1448e09 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3ba7ec5d20c92eff2bcf667b50b92406  django-dynamite-0.4.1.tar.gz


More information about the scm-commits mailing list