summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 15:20:35 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 15:20:35 +0000
commitd1614f43b2f9a3cfc7c25aff7086783ce60659c7 (patch)
tree1741cc729614da6b65223c858acd35b341434214
parent2d7ad288155bf1681de979c6215ccc0c5e31c4bd (diff)
automatic import of python-django-ckeditor
-rw-r--r--.gitignore1
-rw-r--r--python-django-ckeditor.spec89
-rw-r--r--sources1
3 files changed, 91 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..26cc4db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-ckeditor-6.5.1.tar.gz
diff --git a/python-django-ckeditor.spec b/python-django-ckeditor.spec
new file mode 100644
index 0000000..134c290
--- /dev/null
+++ b/python-django-ckeditor.spec
@@ -0,0 +1,89 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-ckeditor
+Version: 6.5.1
+Release: 1
+Summary: Django admin CKEditor integration.
+License: BSD License
+URL: https://github.com/django-ckeditor/django-ckeditor
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5e/7d/8d9c6f729728bb52a693725805647a15e6ab5d091755cbe4d9a808c2da74/django-ckeditor-6.5.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-Django
+Requires: python3-django-js-asset
+
+%description
+**Django admin CKEditor integration.**
+Provides a ``RichTextField``, ``RichTextUploadingField``, ``CKEditorWidget`` and ``CKEditorUploadingWidget`` utilizing CKEditor with image uploading and browsing support included.
+This version also includes:
+#. support to django-storages (works with S3)
+#. updated ckeditor to version 4.18.0
+#. included all ckeditor language and plugin files to make everyone happy! ( `only the plugins maintained by the ckeditor develops team <https://github.com/ckeditor/ckeditor-dev/tree/4.6.2/plugins>`__ )
+
+%package -n python3-django-ckeditor
+Summary: Django admin CKEditor integration.
+Provides: python-django-ckeditor
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-ckeditor
+**Django admin CKEditor integration.**
+Provides a ``RichTextField``, ``RichTextUploadingField``, ``CKEditorWidget`` and ``CKEditorUploadingWidget`` utilizing CKEditor with image uploading and browsing support included.
+This version also includes:
+#. support to django-storages (works with S3)
+#. updated ckeditor to version 4.18.0
+#. included all ckeditor language and plugin files to make everyone happy! ( `only the plugins maintained by the ckeditor develops team <https://github.com/ckeditor/ckeditor-dev/tree/4.6.2/plugins>`__ )
+
+%package help
+Summary: Development documents and examples for django-ckeditor
+Provides: python3-django-ckeditor-doc
+%description help
+**Django admin CKEditor integration.**
+Provides a ``RichTextField``, ``RichTextUploadingField``, ``CKEditorWidget`` and ``CKEditorUploadingWidget`` utilizing CKEditor with image uploading and browsing support included.
+This version also includes:
+#. support to django-storages (works with S3)
+#. updated ckeditor to version 4.18.0
+#. included all ckeditor language and plugin files to make everyone happy! ( `only the plugins maintained by the ckeditor develops team <https://github.com/ckeditor/ckeditor-dev/tree/4.6.2/plugins>`__ )
+
+%prep
+%autosetup -n django-ckeditor-6.5.1
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-django-ckeditor -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 6.5.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..8c1be41
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+79597ab935ae144ce1413381af7405f9 django-ckeditor-6.5.1.tar.gz