diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:22:31 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:22:31 +0000 |
commit | 9db70d86ecb5bc3a256316dd84ce603c6f59e8bf (patch) | |
tree | 27e07f0deef7859c9c6b9786e88cab56d5ca4293 | |
parent | 0c53b02ac1f9177ea9999307c719d6c84c00446a (diff) |
automatic import of python-zerodb-serveropeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-zerodb-server.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/zerodb-server-0.1.25.tar.gz diff --git a/python-zerodb-server.spec b/python-zerodb-server.spec new file mode 100644 index 0000000..d52a9d2 --- /dev/null +++ b/python-zerodb-server.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-zerodb-server +Version: 0.1.25 +Release: 1 +Summary: ZeroDB server +License: AGPLv3 +URL: http://zerodb.io +Source0: https://mirrors.aliyun.com/pypi/web/packages/d4/a2/353be56544fef86e95d03c609e5d3b232379baa983b7f54cf297583883fe/zerodb-server-0.1.25.tar.gz +BuildArch: noarch + + +%description +UNKNOWN + +%package -n python3-zerodb-server +Summary: ZeroDB server +Provides: python-zerodb-server +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-zerodb-server +UNKNOWN + +%package help +Summary: Development documents and examples for zerodb-server +Provides: python3-zerodb-server-doc +%description help +UNKNOWN + +%prep +%autosetup -n zerodb-server-0.1.25 + +%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-zerodb-server -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.25-1 +- Package Spec generated @@ -0,0 +1 @@ +487f9387cfe62990f6b988d3e5559176 zerodb-server-0.1.25.tar.gz |