summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-12 01:50:00 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-12 01:50:00 +0000
commit21d57c5d2781b4e4b22a917c166f7e77962c312e (patch)
tree6bac2c03053fe09da888920f46c831adeec0df82
parentc37f01cad4ef5ebd1aad9de0d229bc4543662403 (diff)
automatic import of python-gbak
-rw-r--r--.gitignore1
-rw-r--r--python-gbak.spec84
-rw-r--r--sources1
3 files changed, 86 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..096c55c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gbak-2.73.tar.gz
diff --git a/python-gbak.spec b/python-gbak.spec
new file mode 100644
index 0000000..a4e9374
--- /dev/null
+++ b/python-gbak.spec
@@ -0,0 +1,84 @@
+%global _empty_manifest_terminate_build 0
+Name: python-gbak
+Version: 2.73
+Release: 1
+Summary: A Des of gbak
+License: MIT License
+URL: https://github.com/vtandroid/gbackup
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3f/7b/3cdd3c97a3e48306ecf2f3e94da711c4bee0688497592891f7a34bd3573a/gbak-2.73.tar.gz
+BuildArch: noarch
+
+Requires: python3-youtube-dl
+Requires: python3-google-api-python-client
+Requires: python3-click
+Requires: python3-google-auth-httplib2
+Requires: python3-google-auth-oauthlib
+Requires: python3-httplib2
+Requires: python3-cryptography
+Requires: python3-slugify
+Requires: python3-boto3
+
+%description
+Gbak
+
+
+%package -n python3-gbak
+Summary: A Des of gbak
+Provides: python-gbak
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-gbak
+Gbak
+
+
+%package help
+Summary: Development documents and examples for gbak
+Provides: python3-gbak-doc
+%description help
+Gbak
+
+
+%prep
+%autosetup -n gbak-2.73
+
+%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-gbak -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 2.73-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..eabe505
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+4fbded446eff29c8e91d9463e0080ed1 gbak-2.73.tar.gz