From faf863e7727ca8e7f36456281e39ae89fc58bc33 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 18 May 2023 06:13:00 +0000 Subject: automatic import of python-tgedr-pipeline-common --- python-tgedr-pipeline-common.spec | 161 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 161 insertions(+) create mode 100644 python-tgedr-pipeline-common.spec (limited to 'python-tgedr-pipeline-common.spec') diff --git a/python-tgedr-pipeline-common.spec b/python-tgedr-pipeline-common.spec new file mode 100644 index 0000000..73cf9cc --- /dev/null +++ b/python-tgedr-pipeline-common.spec @@ -0,0 +1,161 @@ +%global _empty_manifest_terminate_build 0 +Name: python-tgedr-pipeline-common +Version: 0.1.10 +Release: 1 +Summary: This package provides interfaces to the pipeline set of packages +License: Unlicense +URL: https://github.com/tgedr/pipeline-common +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5a/85/711e2ceb740f10636a4b1ab86c56252731e5de0bfcea1c089682e8394e29/tgedr-pipeline-common-0.1.10.tar.gz +BuildArch: noarch + +Requires: python3-configlookup +Requires: python3-pytest + +%description +# Introduction +common library to define pipeline interfaces + +# Getting Started + +## installation +you can install the package from [pypi](https://pypi.org/project/tgedr-pipeline-common/): + +`pip install tgedr-pipeline-common` + +## usage + +TODO + +## rationale + +TODO + + +# Build +- check the `helper.sh` script + +# Test +- check the `helper.sh` script + +# Contribute +- just submit a PR to our [repository](https://github.com/tgedr/pipeline-common) when you want, we'll look at it + + + + +%package -n python3-tgedr-pipeline-common +Summary: This package provides interfaces to the pipeline set of packages +Provides: python-tgedr-pipeline-common +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-tgedr-pipeline-common +# Introduction +common library to define pipeline interfaces + +# Getting Started + +## installation +you can install the package from [pypi](https://pypi.org/project/tgedr-pipeline-common/): + +`pip install tgedr-pipeline-common` + +## usage + +TODO + +## rationale + +TODO + + +# Build +- check the `helper.sh` script + +# Test +- check the `helper.sh` script + +# Contribute +- just submit a PR to our [repository](https://github.com/tgedr/pipeline-common) when you want, we'll look at it + + + + +%package help +Summary: Development documents and examples for tgedr-pipeline-common +Provides: python3-tgedr-pipeline-common-doc +%description help +# Introduction +common library to define pipeline interfaces + +# Getting Started + +## installation +you can install the package from [pypi](https://pypi.org/project/tgedr-pipeline-common/): + +`pip install tgedr-pipeline-common` + +## usage + +TODO + +## rationale + +TODO + + +# Build +- check the `helper.sh` script + +# Test +- check the `helper.sh` script + +# Contribute +- just submit a PR to our [repository](https://github.com/tgedr/pipeline-common) when you want, we'll look at it + + + + +%prep +%autosetup -n tgedr-pipeline-common-0.1.10 + +%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-tgedr-pipeline-common -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot - 0.1.10-1 +- Package Spec generated -- cgit v1.2.3