[python-django-ckeditor] Initial import BZ 982077
Eduardo Javier Echeverria Alvarado
echevemaster at fedoraproject.org
Sat Jul 20 06:14:34 UTC 2013
commit 334d2ef7eb66ae41440c9b1e04c99679aad3174a
Author: Eduardo Echeverria <echevemaster at gmail.com>
Date: Sat Jul 20 01:44:16 2013 -0430
Initial import BZ 982077
.gitignore | 1 +
python-django-ckeditor.spec | 71 +++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 73 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f436ab0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-ckeditor-4.0.2.tar.gz
diff --git a/python-django-ckeditor.spec b/python-django-ckeditor.spec
new file mode 100644
index 0000000..e5c5d1f
--- /dev/null
+++ b/python-django-ckeditor.spec
@@ -0,0 +1,71 @@
+%global pkgname django-ckeditor
+Name: python-django-ckeditor
+Version: 4.0.2
+Release: 3%{?dist}
+Summary: Django admin CKEditor integration
+Group: Development/Languages
+
+# ckeditor included can be GPLv2+ or LGPLv2+ or MPLv1.1
+# jush are licensed under Apache license
+# jquery are licensed under MIT license
+# all the remaining source code is licensed under BSD
+
+License: BSD and (GPLv2+ or LGPLv2+ or MPLv1.1) and MIT and ASL 2.0
+URL: https://pypi.python.org/pypi/django-ckeditor
+Source0: https://pypi.python.org/packages/source/d/%{pkgname}/%{pkgname}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+
+%if 0%{?fedora} >= 19
+Requires: python-pillow
+%else
+Requires: python-imaging
+%endif
+
+%if 0%{?fedora} >= 18
+Requires: python-django
+BuildRequires: python-django
+%else
+Requires: Django
+BuildRequires: Django
+%endif
+
+%description
+Provides a RichTextField and CKEditorWidget utilizing CKEditor
+with image upload and browsing support included
+
+%prep
+%setup -qn %{pkgname}-%{version}
+#empty files
+echo "# Just a comment" > ckeditor/models.py
+# Remove bundled egg
+rm -rf django_ckeditor.egg-info
+# Remove Ds_Store files
+find . -iname "*.Ds_Store" | xargs rm -f
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+%files
+%doc LICENSE README.rst AUTHORS.rst CHANGELOG.rst PKG-INFO
+%{python_sitelib}/ckeditor
+%{python_sitelib}/django_ckeditor-*.egg-info
+
+
+%changelog
+* Wed Jul 10 2013 Eduardo Echeverria <echevemaster at gmail.com> - 4.0.2-3
+- Remove Ds_Store files in %%prep.
+
+* Tue Jul 09 2013 Eduardo Echeverria <echevemaster at gmail.com> - 4.0.2-2
+- Change the license field with the correct licenses.
+
+* Sun Jul 07 2013 Eduardo Echeverria <echevemaster at gmail.com> - 4.0.2-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..08afa94 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1d8066b124f2cab85f14c2266b828fd3 django-ckeditor-4.0.2.tar.gz
More information about the scm-commits
mailing list