From 4a0bb39ea021793208b37d6fe9b2c12860a0c773 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 06:28:41 +0000 Subject: automatic import of python-th2-data-services-utils --- .gitignore | 1 + python-th2-data-services-utils.spec | 105 ++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 107 insertions(+) create mode 100644 python-th2-data-services-utils.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..e6b1d2f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/th2_data_services_utils-0.3.5.tar.gz diff --git a/python-th2-data-services-utils.spec b/python-th2-data-services-utils.spec new file mode 100644 index 0000000..9f15462 --- /dev/null +++ b/python-th2-data-services-utils.spec @@ -0,0 +1,105 @@ +%global _empty_manifest_terminate_build 0 +Name: python-th2-data-services-utils +Version: 0.3.5 +Release: 1 +Summary: th2_data_services_utils +License: Apache License 2.0 +URL: https://github.com/th2-net/th2-data-services-utils +Source0: https://mirrors.aliyun.com/pypi/web/packages/56/8c/ae1469b0bb1e5090712b9a4c149efbfebb1db4e57bcbed01decde1e2397c/th2_data_services_utils-0.3.5.tar.gz +BuildArch: noarch + + +%description +This repository is a set of auxiliary functions for th2-data-services +library helping to solve the most common tasks. + +## Installation +``` +pip install th2-data-services-utils +``` +This package can be found on [PyPI](https://pypi.org/project/th2-data-services-utils/ "th2-data-services-utils"). + + + + + +%package -n python3-th2-data-services-utils +Summary: th2_data_services_utils +Provides: python-th2-data-services-utils +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-th2-data-services-utils +This repository is a set of auxiliary functions for th2-data-services +library helping to solve the most common tasks. + +## Installation +``` +pip install th2-data-services-utils +``` +This package can be found on [PyPI](https://pypi.org/project/th2-data-services-utils/ "th2-data-services-utils"). + + + + + +%package help +Summary: Development documents and examples for th2-data-services-utils +Provides: python3-th2-data-services-utils-doc +%description help +This repository is a set of auxiliary functions for th2-data-services +library helping to solve the most common tasks. + +## Installation +``` +pip install th2-data-services-utils +``` +This package can be found on [PyPI](https://pypi.org/project/th2-data-services-utils/ "th2-data-services-utils"). + + + + + +%prep +%autosetup -n th2_data_services_utils-0.3.5 + +%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-th2-data-services-utils -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot - 0.3.5-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..dbe0fd7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +753a42e466698734d91c7e6cc58deb40 th2_data_services_utils-0.3.5.tar.gz -- cgit v1.2.3