diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-10 03:27:01 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 03:27:01 +0000 |
| commit | 9072c123cad0f0fd67aac564e4ccb93ea2abe31a (patch) | |
| tree | 3360f67e0557c0de6e147a497aa2bae806effd6f | |
| parent | 9a3c51aca60e1eac019ef8310a4b3ea1486d1876 (diff) | |
automatic import of python-config-clientopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-config-client.spec | 153 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 155 insertions, 0 deletions
@@ -0,0 +1 @@ +/config-client-1.3.0.tar.gz diff --git a/python-config-client.spec b/python-config-client.spec new file mode 100644 index 0000000..7575025 --- /dev/null +++ b/python-config-client.spec @@ -0,0 +1,153 @@ +%global _empty_manifest_terminate_build 0 +Name: python-config-client +Version: 1.3.0 +Release: 1 +Summary: config client for Spring Cloud Config Server and Cloud Foundry +License: Apache-2.0 +URL: https://github.com/amenezes/config-client +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/da/e7/095c57bfd1fc005106e5b7ea8115bd803183d157de447324297d509891d1/config-client-1.3.0.tar.gz +BuildArch: noarch + +Requires: python3-attrs +Requires: python3-glom +Requires: python3-requests +Requires: python3-click +Requires: python3-mkdocs-material +Requires: python3-rich +Requires: python3-click +Requires: python3-rich +Requires: python3-mkdocs-material + +%description +[](https://github.com/amenezes/config-client/actions/workflows/ci.yml) +[](https://codecov.io/gh/amenezes/config-client) +[](https://badge.fury.io/py/config-client) + +[](https://github.com/psf/black) + +# config-client + +config-client for [spring cloud config server](https://spring.io/projects/spring-cloud-config) and [cloud foundry](https://www.cloudfoundry.org). + +## Installing + +Install and update using pip: + +````bash +pip install config-client +```` + +## Links + +- License: [Apache License](https://choosealicense.com/licenses/apache-2.0/) +- Code: [https://github.com/amenezes/config-client](https://github.com/amenezes/config-client) +- Issue tracker: [https://github.com/amenezes/config-client/issues](https://github.com/amenezes/config-client/issues) +- Docs: [https://config-client.amenezes.net](https://config-client.amenezes.net) + + +%package -n python3-config-client +Summary: config client for Spring Cloud Config Server and Cloud Foundry +Provides: python-config-client +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-config-client +[](https://github.com/amenezes/config-client/actions/workflows/ci.yml) +[](https://codecov.io/gh/amenezes/config-client) +[](https://badge.fury.io/py/config-client) + +[](https://github.com/psf/black) + +# config-client + +config-client for [spring cloud config server](https://spring.io/projects/spring-cloud-config) and [cloud foundry](https://www.cloudfoundry.org). + +## Installing + +Install and update using pip: + +````bash +pip install config-client +```` + +## Links + +- License: [Apache License](https://choosealicense.com/licenses/apache-2.0/) +- Code: [https://github.com/amenezes/config-client](https://github.com/amenezes/config-client) +- Issue tracker: [https://github.com/amenezes/config-client/issues](https://github.com/amenezes/config-client/issues) +- Docs: [https://config-client.amenezes.net](https://config-client.amenezes.net) + + +%package help +Summary: Development documents and examples for config-client +Provides: python3-config-client-doc +%description help +[](https://github.com/amenezes/config-client/actions/workflows/ci.yml) +[](https://codecov.io/gh/amenezes/config-client) +[](https://badge.fury.io/py/config-client) + +[](https://github.com/psf/black) + +# config-client + +config-client for [spring cloud config server](https://spring.io/projects/spring-cloud-config) and [cloud foundry](https://www.cloudfoundry.org). + +## Installing + +Install and update using pip: + +````bash +pip install config-client +```` + +## Links + +- License: [Apache License](https://choosealicense.com/licenses/apache-2.0/) +- Code: [https://github.com/amenezes/config-client](https://github.com/amenezes/config-client) +- Issue tracker: [https://github.com/amenezes/config-client/issues](https://github.com/amenezes/config-client/issues) +- Docs: [https://config-client.amenezes.net](https://config-client.amenezes.net) + + +%prep +%autosetup -n config-client-1.3.0 + +%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-config-client -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.0-1 +- Package Spec generated @@ -0,0 +1 @@ +95ebf6f0d78bd937a8b3d11bdb7383fc config-client-1.3.0.tar.gz |
