diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 05:47:07 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 05:47:07 +0000 |
| commit | 248a3f9ec47eb9071649f6ba559e76510bb88ed1 (patch) | |
| tree | cda6b5954b32a4f2d0ef9e291a06ca28e80572c4 | |
| parent | 53f8d4565fc284d4d5bb30161ab5cf97c526cfd2 (diff) | |
automatic import of python-django-websocket-redisopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-django-websocket-redis.spec | 78 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 80 insertions, 0 deletions
@@ -0,0 +1 @@ +/django-websocket-redis-0.6.0.tar.gz diff --git a/python-django-websocket-redis.spec b/python-django-websocket-redis.spec new file mode 100644 index 0000000..a98b7c9 --- /dev/null +++ b/python-django-websocket-redis.spec @@ -0,0 +1,78 @@ +%global _empty_manifest_terminate_build 0 +Name: python-django-websocket-redis +Version: 0.6.0 +Release: 1 +Summary: Websocket support for Django using Redis as datastore +License: MIT +URL: https://github.com/jrief/django-websocket-redis +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4d/06/a6de22f0e4e4c926be881b45d97b8a4abe47393705ae64a008afbf7236da/django-websocket-redis-0.6.0.tar.gz +BuildArch: noarch + + +%description +Project home: https://github.com/jrief/django-websocket-redis +Detailed documentation on [ReadTheDocs](http://django-websocket-redis.readthedocs.org/en/latest/). +Online demo: http://django-websocket-redis.awesto.com/ + +%package -n python3-django-websocket-redis +Summary: Websocket support for Django using Redis as datastore +Provides: python-django-websocket-redis +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-django-websocket-redis +Project home: https://github.com/jrief/django-websocket-redis +Detailed documentation on [ReadTheDocs](http://django-websocket-redis.readthedocs.org/en/latest/). +Online demo: http://django-websocket-redis.awesto.com/ + +%package help +Summary: Development documents and examples for django-websocket-redis +Provides: python3-django-websocket-redis-doc +%description help +Project home: https://github.com/jrief/django-websocket-redis +Detailed documentation on [ReadTheDocs](http://django-websocket-redis.readthedocs.org/en/latest/). +Online demo: http://django-websocket-redis.awesto.com/ + +%prep +%autosetup -n django-websocket-redis-0.6.0 + +%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-websocket-redis -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.0-1 +- Package Spec generated @@ -0,0 +1 @@ +7676e1ea0bd55994a643af68ec8def71 django-websocket-redis-0.6.0.tar.gz |
