diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 12:50:44 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 12:50:44 +0000 |
| commit | b79552cacfc70eebac27b342f3e2f34d1fc0421a (patch) | |
| tree | afda5a997bee1989f1b1f6bc252b696e73258115 | |
| parent | 4c459ae0bdfb4f9115160bdfcebe591fea7a6342 (diff) | |
automatic import of python-appinsightsopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-appinsights.spec | 102 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 104 insertions, 0 deletions
@@ -0,0 +1 @@ +/appinsights-0.13.0.tar.gz diff --git a/python-appinsights.spec b/python-appinsights.spec new file mode 100644 index 0000000..6cab1bd --- /dev/null +++ b/python-appinsights.spec @@ -0,0 +1,102 @@ +%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 +<http://azure.microsoft.com/services/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 +<https://brennerm.github.io/python-appinsights/>`_. +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 +<http://azure.microsoft.com/services/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 +<https://brennerm.github.io/python-appinsights/>`_. +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 +<http://azure.microsoft.com/services/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 +<https://brennerm.github.io/python-appinsights/>`_. +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 <Python_Bot@openeuler.org> - 0.13.0-1 +- Package Spec generated @@ -0,0 +1 @@ +3a2be2adc109369eb11b066352a3d698 appinsights-0.13.0.tar.gz |
