diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-18 03:06:01 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 03:06:01 +0000 |
| commit | 09096f9fced5cad61027e37b0e8658b79b269af6 (patch) | |
| tree | 8e30758c73afcb19bfaa34c3e8680e444aeb5eef /python-bits-appengine.spec | |
| parent | cbc349c6ff36e76654055274fe3e609511ffd443 (diff) | |
automatic import of python-bits-appengine
Diffstat (limited to 'python-bits-appengine.spec')
| -rw-r--r-- | python-bits-appengine.spec | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/python-bits-appengine.spec b/python-bits-appengine.spec new file mode 100644 index 0000000..f566624 --- /dev/null +++ b/python-bits-appengine.spec @@ -0,0 +1,79 @@ +%global _empty_manifest_terminate_build 0 +Name: python-bits-appengine +Version: 1.2.0 +Release: 1 +Summary: BITS App Engine +License: Apache Software License +URL: https://pypi.org/project/bits-appengine/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bb/0a/ce2d8352d31738461bad574525478d90163fbae4f7c5b6e4f47e8a0ee542/bits-appengine-1.2.0.tar.gz +BuildArch: noarch + +Requires: python3-flask +Requires: python3-google-api-python-client +Requires: python3-google-auth +Requires: python3-google-cloud-datastore +Requires: python3-google-cloud-firestore +Requires: python3-httplib2 +Requires: python3-oauth2client + +%description + + +%package -n python3-bits-appengine +Summary: BITS App Engine +Provides: python-bits-appengine +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-bits-appengine + + +%package help +Summary: Development documents and examples for bits-appengine +Provides: python3-bits-appengine-doc +%description help + + +%prep +%autosetup -n bits-appengine-1.2.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-bits-appengine -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.0-1 +- Package Spec generated |
