%global _empty_manifest_terminate_build 0 Name: python-ocs-sample-library-preview Version: 0.7.1rc0 Release: 1 Summary: A preview of an OCS (OSIsoft Cloud Services) client library. Note: This library has been deprecated in favor of the AVEVA Data Hub library at https://pypi.org/project/adh-sample-library-preview/ License: Apache 2.0 URL: https://github.com/osisoft/sample-ocs-sample_libraries-python Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6a/71/377ffb0f73683b51a101f3e964ab11fc10b498beef7e79e9ee0404d83aa1/ocs_sample_library_preview-0.7.1rc0.tar.gz BuildArch: noarch Requires: python3-adh-sample-library-preview %description Developed using Python 3.9.5. [AVEVA Samples](https://github.com/osisoft/OSI-samples) are licensed under the Apache 2 license. For the main ADH sample libraries page [ReadMe](https://github.com/osisoft/OSI-Samples-OCS/blob/main/docs/SAMPLE_LIBRARIES.md) For the main ADH samples page [ReadMe](https://github.com/osisoft/OSI-Samples-OCS) For the main AVEVA samples page [ReadMe](https://github.com/osisoft/OSI-Samples) %package -n python3-ocs-sample-library-preview Summary: A preview of an OCS (OSIsoft Cloud Services) client library. Note: This library has been deprecated in favor of the AVEVA Data Hub library at https://pypi.org/project/adh-sample-library-preview/ Provides: python-ocs-sample-library-preview BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-ocs-sample-library-preview Developed using Python 3.9.5. [AVEVA Samples](https://github.com/osisoft/OSI-samples) are licensed under the Apache 2 license. For the main ADH sample libraries page [ReadMe](https://github.com/osisoft/OSI-Samples-OCS/blob/main/docs/SAMPLE_LIBRARIES.md) For the main ADH samples page [ReadMe](https://github.com/osisoft/OSI-Samples-OCS) For the main AVEVA samples page [ReadMe](https://github.com/osisoft/OSI-Samples) %package help Summary: Development documents and examples for ocs-sample-library-preview Provides: python3-ocs-sample-library-preview-doc %description help Developed using Python 3.9.5. [AVEVA Samples](https://github.com/osisoft/OSI-samples) are licensed under the Apache 2 license. For the main ADH sample libraries page [ReadMe](https://github.com/osisoft/OSI-Samples-OCS/blob/main/docs/SAMPLE_LIBRARIES.md) For the main ADH samples page [ReadMe](https://github.com/osisoft/OSI-Samples-OCS) For the main AVEVA samples page [ReadMe](https://github.com/osisoft/OSI-Samples) %prep %autosetup -n ocs-sample-library-preview-0.7.1rc0 %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-ocs-sample-library-preview -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Wed May 10 2023 Python_Bot - 0.7.1rc0-1 - Package Spec generated