summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 07:41:04 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 07:41:04 +0000
commitfe8b2ec7cfa4113ce301e3b53e539742f0d8941d (patch)
tree133152181a04dc5bafe8b76264d5722a48e8cd81
parente2b7a661b9cb36113714ddd9a8a090d87e98ae18 (diff)
automatic import of python-girder-sentry
-rw-r--r--.gitignore1
-rw-r--r--python-girder-sentry.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..06c574d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/girder-sentry-3.1.17.tar.gz
diff --git a/python-girder-sentry.spec b/python-girder-sentry.spec
new file mode 100644
index 0000000..dcb658d
--- /dev/null
+++ b/python-girder-sentry.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-girder-sentry
+Version: 3.1.17
+Release: 1
+Summary: Allow the automatic tracking of issues using Sentry.
+License: Apache 2.0
+URL: https://pypi.org/project/girder-sentry/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e0/d3/6bfe684f939ae5d87c23b455932f02def5086e936a90274258cfbead2f2c/girder-sentry-3.1.17.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-girder-sentry
+Summary: Allow the automatic tracking of issues using Sentry.
+Provides: python-girder-sentry
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-girder-sentry
+
+
+%package help
+Summary: Development documents and examples for girder-sentry
+Provides: python3-girder-sentry-doc
+%description help
+
+
+%prep
+%autosetup -n girder-sentry-3.1.17
+
+%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-girder-sentry -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.1.17-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..236de57
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+dd93fdb36b7a290fd2beacdc2bbfaf0f girder-sentry-3.1.17.tar.gz