summaryrefslogtreecommitdiff
path: root/python-bapy.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 18:28:01 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 18:28:01 +0000
commite7900522d4957d2cb99ec5db43765afd84be4283 (patch)
tree745063de4ff7eabb5167ba999b4ead3fb0e3d4b3 /python-bapy.spec
parenta43a6dece2a0d273eeeda85396de59f808271e11 (diff)
automatic import of python-bapy
Diffstat (limited to 'python-bapy.spec')
-rw-r--r--python-bapy.spec316
1 files changed, 316 insertions, 0 deletions
diff --git a/python-bapy.spec b/python-bapy.spec
new file mode 100644
index 0000000..19f4db1
--- /dev/null
+++ b/python-bapy.spec
@@ -0,0 +1,316 @@
+%global _empty_manifest_terminate_build 0
+Name: python-bapy
+Version: 1.0.43
+Release: 1
+Summary: Bapy Package.
+License: GNU General Public License v3 or later (GPLv3+)
+URL: https://pypi.org/project/bapy/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6d/18/cb32512390008548a41281027054a762297168b3c2dadc14115983af739d/bapy-1.0.43.tar.gz
+BuildArch: noarch
+
+Requires: python3-decorator
+Requires: python3-devtools
+Requires: python3-distro
+Requires: python3-dpath
+Requires: python3-icecream
+Requires: python3-environs
+Requires: python3-furl
+Requires: python3-gitpython
+Requires: python3-inflect
+Requires: python3-intervaltree
+Requires: python3-jinja2
+Requires: python3-jsonpickle
+Requires: python3-loguru
+Requires: python3-marshmallow
+Requires: python3-more_itertools
+Requires: python3-motor
+Requires: python3-nested_lookup
+Requires: python3-paramiko
+Requires: python3-pip
+Requires: python3-pymongo[srv,tls]
+Requires: python3-box
+Requires: python3-requests[security]
+Requires: python3-rich
+Requires: python3-semver
+Requires: python3-setuptools
+Requires: python3-structlog
+Requires: python3-typer[all]
+Requires: python3-wheel
+
+%description
+# Bash, Ansible and Python Utils.
+
+## Install
+
+## Docker
+```bash
+docker pull kalilinux/kali:latest
+```
+
+```bash
+apt update -y; apt full-upgrade -y; apt install -y kali-linux-everything
+sudo python3 -m pip install --upgrade bapy
+```
+
+### With pip available
+
+#### No python
+```bash
+sudo apt update -y; apt install python3.8 python3-pip -y
+sudo python3 -m pip install --upgrade bapy
+
+```
+
+#### With sudo in debian/kali or macos in bootstrap if brew not installed
+```bash
+sudo python3 -m pip install --upgrade bapy
+```
+
+#### When brew installed:
+
+```bash
+python3 -m pip install --upgrade bapy
+```
+
+### Upload & Upgrade
+
+```bash
+rebashrc
+```
+
+## Update secrets (token, etc.) and ssh keys on source server and other servers
+
+### On the git source code server
+
+Update the repository and:
+
+```bash
+rc secrets # secrets-push.sh
+rebash
+```
+
+#### On other servers
+```bash
+rc secrets #secrets-pull.sh
+rebash
+```
+
+## Other PyPi Projects Upload and Upgrade
+
+### On the git source code server
+
+Perform any tests and:
+
+```bash
+rc up # project-upload.sh <path> <major|minor> <j5pu|jose-nferx|pypi>
+```
+
+#### On other servers
+
+```bash
+upgrade.sh name
+```
+
+
+%package -n python3-bapy
+Summary: Bapy Package.
+Provides: python-bapy
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-bapy
+# Bash, Ansible and Python Utils.
+
+## Install
+
+## Docker
+```bash
+docker pull kalilinux/kali:latest
+```
+
+```bash
+apt update -y; apt full-upgrade -y; apt install -y kali-linux-everything
+sudo python3 -m pip install --upgrade bapy
+```
+
+### With pip available
+
+#### No python
+```bash
+sudo apt update -y; apt install python3.8 python3-pip -y
+sudo python3 -m pip install --upgrade bapy
+
+```
+
+#### With sudo in debian/kali or macos in bootstrap if brew not installed
+```bash
+sudo python3 -m pip install --upgrade bapy
+```
+
+#### When brew installed:
+
+```bash
+python3 -m pip install --upgrade bapy
+```
+
+### Upload & Upgrade
+
+```bash
+rebashrc
+```
+
+## Update secrets (token, etc.) and ssh keys on source server and other servers
+
+### On the git source code server
+
+Update the repository and:
+
+```bash
+rc secrets # secrets-push.sh
+rebash
+```
+
+#### On other servers
+```bash
+rc secrets #secrets-pull.sh
+rebash
+```
+
+## Other PyPi Projects Upload and Upgrade
+
+### On the git source code server
+
+Perform any tests and:
+
+```bash
+rc up # project-upload.sh <path> <major|minor> <j5pu|jose-nferx|pypi>
+```
+
+#### On other servers
+
+```bash
+upgrade.sh name
+```
+
+
+%package help
+Summary: Development documents and examples for bapy
+Provides: python3-bapy-doc
+%description help
+# Bash, Ansible and Python Utils.
+
+## Install
+
+## Docker
+```bash
+docker pull kalilinux/kali:latest
+```
+
+```bash
+apt update -y; apt full-upgrade -y; apt install -y kali-linux-everything
+sudo python3 -m pip install --upgrade bapy
+```
+
+### With pip available
+
+#### No python
+```bash
+sudo apt update -y; apt install python3.8 python3-pip -y
+sudo python3 -m pip install --upgrade bapy
+
+```
+
+#### With sudo in debian/kali or macos in bootstrap if brew not installed
+```bash
+sudo python3 -m pip install --upgrade bapy
+```
+
+#### When brew installed:
+
+```bash
+python3 -m pip install --upgrade bapy
+```
+
+### Upload & Upgrade
+
+```bash
+rebashrc
+```
+
+## Update secrets (token, etc.) and ssh keys on source server and other servers
+
+### On the git source code server
+
+Update the repository and:
+
+```bash
+rc secrets # secrets-push.sh
+rebash
+```
+
+#### On other servers
+```bash
+rc secrets #secrets-pull.sh
+rebash
+```
+
+## Other PyPi Projects Upload and Upgrade
+
+### On the git source code server
+
+Perform any tests and:
+
+```bash
+rc up # project-upload.sh <path> <major|minor> <j5pu|jose-nferx|pypi>
+```
+
+#### On other servers
+
+```bash
+upgrade.sh name
+```
+
+
+%prep
+%autosetup -n bapy-1.0.43
+
+%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-bapy -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.43-1
+- Package Spec generated