diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-15 03:47:06 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 03:47:06 +0000 |
| commit | 063522393a204edb477bd5e2238afc5caade8e5f (patch) | |
| tree | e02d0fafd1b42f43a0e0003e8c461a3dc39b1fa7 /python-wwpdb-utils-config.spec | |
| parent | 69e939a4684778afc1c61ac0f433dac07538640b (diff) | |
automatic import of python-wwpdb-utils-config
Diffstat (limited to 'python-wwpdb-utils-config.spec')
| -rw-r--r-- | python-wwpdb-utils-config.spec | 180 |
1 files changed, 180 insertions, 0 deletions
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 + +[](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 + +[](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 + +[](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 |
