diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-12 03:52:51 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 03:52:51 +0000 |
commit | d84a668bbdbe3970f0c76002c6394ec72adbfe04 (patch) | |
tree | ed94406adfbfd36a5eb714c807fd91b72e8c794d | |
parent | dd78e962eee06c1edcfe969536ec3e49205a6845 (diff) |
automatic import of python-django-rest-hooksopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-django-rest-hooks.spec | 83 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 85 insertions, 0 deletions
@@ -0,0 +1 @@ +/django-rest-hooks-1.5.0.tar.gz diff --git a/python-django-rest-hooks.spec b/python-django-rest-hooks.spec new file mode 100644 index 0000000..2a8aac2 --- /dev/null +++ b/python-django-rest-hooks.spec @@ -0,0 +1,83 @@ +%global _empty_manifest_terminate_build 0 +Name: python-django-rest-hooks +Version: 1.5.0 +Release: 1 +Summary: A powerful mechanism for sending real time API notifications via a new subscription model. +License: BSD License +URL: http://github.com/zapier/django-rest-hooks +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3c/e8/20566d6f93117d4bef867fa66ec06c40764bf8b559120ce4d50ad7ab4dba/django-rest-hooks-1.5.0.tar.gz +BuildArch: noarch + +Requires: python3-Django +Requires: python3-requests + +%description +UNKNOWN + + + + +%package -n python3-django-rest-hooks +Summary: A powerful mechanism for sending real time API notifications via a new subscription model. +Provides: python-django-rest-hooks +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-django-rest-hooks +UNKNOWN + + + + +%package help +Summary: Development documents and examples for django-rest-hooks +Provides: python3-django-rest-hooks-doc +%description help +UNKNOWN + + + + +%prep +%autosetup -n django-rest-hooks-1.5.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-rest-hooks -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.0-1 +- Package Spec generated @@ -0,0 +1 @@ +de109a4435428425cbf042f909cc126f django-rest-hooks-1.5.0.tar.gz |