summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 04:22:40 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 04:22:40 +0000
commit96d178200fea41531c876b1a21cf9826eeeb16f0 (patch)
tree6ac708340398deefa0f0863d1e773d89e6234424
parentb5b9068bb3d8992b48b5c15fa932b32311bce121 (diff)
automatic import of python-djangocms-apphook-setupopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-djangocms-apphook-setup.spec73
-rw-r--r--sources1
3 files changed, 75 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4b28d28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/djangocms-apphook-setup-0.4.1.tar.gz
diff --git a/python-djangocms-apphook-setup.spec b/python-djangocms-apphook-setup.spec
new file mode 100644
index 0000000..f118658
--- /dev/null
+++ b/python-djangocms-apphook-setup.spec
@@ -0,0 +1,73 @@
+%global _empty_manifest_terminate_build 0
+Name: python-djangocms-apphook-setup
+Version: 0.4.1
+Release: 1
+Summary: Library to auto setup apphooks
+License: BSD
+URL: https://github.com/nephila/djangocms-apphook-setup
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/05/b5/5515fade36345b119854871d50b7fab2712bb8a6181afbe57330e5271300/djangocms-apphook-setup-0.4.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-django-cms
+
+%description
+
+
+%package -n python3-djangocms-apphook-setup
+Summary: Library to auto setup apphooks
+Provides: python-djangocms-apphook-setup
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-djangocms-apphook-setup
+
+
+%package help
+Summary: Development documents and examples for djangocms-apphook-setup
+Provides: python3-djangocms-apphook-setup-doc
+%description help
+
+
+%prep
+%autosetup -n djangocms-apphook-setup-0.4.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-djangocms-apphook-setup -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..4565d7f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+dc4c207fce80fbc3fbdabae0fdda61c5 djangocms-apphook-setup-0.4.1.tar.gz