%global _empty_manifest_terminate_build 0 Name: python-appinsights Version: 0.13.0 Release: 1 Summary: This project extends the Application Insights API surface to support Python. License: MIT URL: https://github.com/brennerm/python-appinsights Source0: https://mirrors.nju.edu.cn/pypi/web/packages/79/23/9321fcb1ba395cbaae73e59f93478f8bfc5719838589324e96f19d0edc31/appinsights-0.13.0.tar.gz BuildArch: noarch %description This project extends the Application Insights API surface to support Python. `Application Insights `_ is a service that allows developers to keep their application available, performing and succeeding. This Python module will allow you to send telemetry of various kinds (event, trace, exception, etc.) to the Application Insights service where they can be visualized in the Azure Portal. A link to the Application Insights API documentation can be found `here `_. This project is not officially supported and not recommended for high load production use. The project is open source and welcomes contributions. %package -n python3-appinsights Summary: This project extends the Application Insights API surface to support Python. Provides: python-appinsights BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-appinsights This project extends the Application Insights API surface to support Python. `Application Insights `_ is a service that allows developers to keep their application available, performing and succeeding. This Python module will allow you to send telemetry of various kinds (event, trace, exception, etc.) to the Application Insights service where they can be visualized in the Azure Portal. A link to the Application Insights API documentation can be found `here `_. This project is not officially supported and not recommended for high load production use. The project is open source and welcomes contributions. %package help Summary: Development documents and examples for appinsights Provides: python3-appinsights-doc %description help This project extends the Application Insights API surface to support Python. `Application Insights `_ is a service that allows developers to keep their application available, performing and succeeding. This Python module will allow you to send telemetry of various kinds (event, trace, exception, etc.) to the Application Insights service where they can be visualized in the Azure Portal. A link to the Application Insights API documentation can be found `here `_. This project is not officially supported and not recommended for high load production use. The project is open source and welcomes contributions. %prep %autosetup -n appinsights-0.13.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-appinsights -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri May 05 2023 Python_Bot - 0.13.0-1 - Package Spec generated