[python-django-tinymce/el6] Initial import (#845890)

Ralph Bean ralph at fedoraproject.org
Thu Feb 7 14:33:19 UTC 2013


commit 7671d2f89fb76fc501eaec49e7f94acb7a177298
Author: Ralph Bean <rbean at redhat.com>
Date:   Thu Feb 7 09:31:42 2013 -0500

    Initial import (#845890)

 .gitignore                 |    1 +
 python-django-tinymce.spec |   47 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7faa2c0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-tinymce-1.5.1b4.tar.gz
diff --git a/python-django-tinymce.spec b/python-django-tinymce.spec
new file mode 100644
index 0000000..8e338e9
--- /dev/null
+++ b/python-django-tinymce.spec
@@ -0,0 +1,47 @@
+%global modname tinymce
+
+Name:               python-django-tinymce
+Version:            1.5.1b4
+Release:            1%{?dist}
+Summary:            A Django application that contains a widget to render a form field as a TinyMCE editor.
+
+Group:              Development/Libraries
+License:            MIT
+URL:                http://pypi.python.org/pypi/django-tinymce
+Source0:            http://pypi.python.org/packages/source/d/django-tinymce/django-tinymce-%{version}.tar.gz
+
+BuildArch:          noarch
+
+BuildRequires:      python2-devel
+BuildRequires:      python-setuptools
+
+%description
+django-tinymce is a Django application that contains a widget to render
+a form field as a TinyMCE editor.
+
+%prep
+%setup -q -n django-tinymce-%{version}
+
+# Remove bundled egg-info in case it exists
+rm -rf %{modname}.egg-info
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
+
+%check
+%{__python} setup.py test
+
+# Remove tests once done with them
+rm -rf %{buildroot}%{python_sitelib}/testtinymce/
+
+%files
+%doc docs/ LICENSE.txt
+%{python_sitelib}/%{modname}/
+%{python_sitelib}/django_tinymce-%{version}*
+
+%changelog
+* Mon Feb 04 2013 Ralph Bean <rbean at redhat.com> - 1.5.1b4-1
+- Initial packaging for Fedora
diff --git a/sources b/sources
index e69de29..e8c0fb5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5a5aa8031be3cad2109fe35fa09207d2  django-tinymce-1.5.1b4.tar.gz


More information about the scm-commits mailing list