summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-wwpdb-utils-config.spec180
-rw-r--r--sources1
3 files changed, 182 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..0c63915 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/wwpdb.utils.config-0.35.tar.gz
diff --git a/python-wwpdb-utils-config.spec b/python-wwpdb-utils-config.spec
new file mode 100644
index 0000000..5c36779
--- /dev/null
+++ b/python-wwpdb-utils-config.spec
@@ -0,0 +1,180 @@
+%global _empty_manifest_terminate_build 0
+Name: python-wwpdb.utils.config
+Version: 0.35
+Release: 1
+Summary: wwPDB Python Configuration Parsing
+License: Apache 2.0
+URL: https://github.com/rcsb/py-wwpdb_utils_config
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9a/af/87066f1d9d82de965949d779ca0285c4b85c248fb41b0480a4382d379f9b/wwpdb.utils.config-0.35.tar.gz
+BuildArch: noarch
+
+
+%description
+# OneDep Configuration Utility Library
+
+[![Build Status](https://dev.azure.com/wwPDB/wwPDB%20Python%20Projects/_apis/build/status/wwPDB.py-wwpdb_utils_config?branchName=master)](https://dev.azure.com/wwPDB/wwPDB%20Python%20Projects/_build/latest?definitionId=2&branchName=master)
+
+## Introduction
+
+This repository povides the tools and access to OneDep configuration environments.
+
+### Installation
+
+Download the library source software from the project repository:
+
+```bash
+
+git clone --recurse-submodules https://github.com/wwpdb/py-wwpdb_utils_config.git
+
+```
+
+Optionally, run test suite using the Tox test runner
+
+```bash
+python setup.py test
+
+or simply run
+
+tox
+
+Installation is via the program [pip](https://pypi.python.org/pypi/pip).
+
+```bash
+pip install wwpdb.utils.config
+
+or from the local repository:
+
+pip install .
+```
+
+
+%package -n python3-wwpdb.utils.config
+Summary: wwPDB Python Configuration Parsing
+Provides: python-wwpdb.utils.config
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-wwpdb.utils.config
+# OneDep Configuration Utility Library
+
+[![Build Status](https://dev.azure.com/wwPDB/wwPDB%20Python%20Projects/_apis/build/status/wwPDB.py-wwpdb_utils_config?branchName=master)](https://dev.azure.com/wwPDB/wwPDB%20Python%20Projects/_build/latest?definitionId=2&branchName=master)
+
+## Introduction
+
+This repository povides the tools and access to OneDep configuration environments.
+
+### Installation
+
+Download the library source software from the project repository:
+
+```bash
+
+git clone --recurse-submodules https://github.com/wwpdb/py-wwpdb_utils_config.git
+
+```
+
+Optionally, run test suite using the Tox test runner
+
+```bash
+python setup.py test
+
+or simply run
+
+tox
+
+Installation is via the program [pip](https://pypi.python.org/pypi/pip).
+
+```bash
+pip install wwpdb.utils.config
+
+or from the local repository:
+
+pip install .
+```
+
+
+%package help
+Summary: Development documents and examples for wwpdb.utils.config
+Provides: python3-wwpdb.utils.config-doc
+%description help
+# OneDep Configuration Utility Library
+
+[![Build Status](https://dev.azure.com/wwPDB/wwPDB%20Python%20Projects/_apis/build/status/wwPDB.py-wwpdb_utils_config?branchName=master)](https://dev.azure.com/wwPDB/wwPDB%20Python%20Projects/_build/latest?definitionId=2&branchName=master)
+
+## Introduction
+
+This repository povides the tools and access to OneDep configuration environments.
+
+### Installation
+
+Download the library source software from the project repository:
+
+```bash
+
+git clone --recurse-submodules https://github.com/wwpdb/py-wwpdb_utils_config.git
+
+```
+
+Optionally, run test suite using the Tox test runner
+
+```bash
+python setup.py test
+
+or simply run
+
+tox
+
+Installation is via the program [pip](https://pypi.python.org/pypi/pip).
+
+```bash
+pip install wwpdb.utils.config
+
+or from the local repository:
+
+pip install .
+```
+
+
+%prep
+%autosetup -n wwpdb.utils.config-0.35
+
+%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-wwpdb.utils.config -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.35-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..20bb5bf
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5abf0edb860527514ba5bf9198b079f5 wwpdb.utils.config-0.35.tar.gz