summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 06:36:38 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 06:36:38 +0000
commitb6ac62cf57a636eb9b940a46fd3b10a22b20ee76 (patch)
tree8469675a4208d1006a8bec00d468d0f6dc031a86
parent8b062d9af69c16bd50468c056d6a2195a7947849 (diff)
automatic import of python-djangocms-text-ckeditor
-rw-r--r--.gitignore1
-rw-r--r--python-djangocms-text-ckeditor.spec76
-rw-r--r--sources1
3 files changed, 78 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4a9a5ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/djangocms-text-ckeditor-5.1.2.tar.gz
diff --git a/python-djangocms-text-ckeditor.spec b/python-djangocms-text-ckeditor.spec
new file mode 100644
index 0000000..18c2a4e
--- /dev/null
+++ b/python-djangocms-text-ckeditor.spec
@@ -0,0 +1,76 @@
+%global _empty_manifest_terminate_build 0
+Name: python-djangocms-text-ckeditor
+Version: 5.1.2
+Release: 1
+Summary: Text Plugin for django CMS with CKEditor support
+License: BSD-3-Clause
+URL: https://github.com/django-cms/djangocms-text-ckeditor
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f5/74/3dd6bbb8c77b42ead304f0bc7faf26efa26c12422aa871f2a2eb02e5d59a/djangocms-text-ckeditor-5.1.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-django-cms
+Requires: python3-html5lib
+Requires: python3-Pillow
+Requires: python3-packaging
+
+%description
+
+
+%package -n python3-djangocms-text-ckeditor
+Summary: Text Plugin for django CMS with CKEditor support
+Provides: python-djangocms-text-ckeditor
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-djangocms-text-ckeditor
+
+
+%package help
+Summary: Development documents and examples for djangocms-text-ckeditor
+Provides: python3-djangocms-text-ckeditor-doc
+%description help
+
+
+%prep
+%autosetup -n djangocms-text-ckeditor-5.1.2
+
+%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-djangocms-text-ckeditor -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 5.1.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..db65eb0
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f0f0a3d6fd614ee99e58b94ff64bc85d djangocms-text-ckeditor-5.1.2.tar.gz