summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-01-29 16:29:14 +0000
committerCoprDistGit <infra@openeuler.org>2024-01-29 16:29:14 +0000
commit0cd4275ed4fcb3bf4f7e24224e8262f938d9af8c (patch)
treef29d7e31891989ce636e919e62726074dc92c544
parentc93aa3443dd08aed8498163b299af45f5d9354f8 (diff)
automatic import of python-pyro-apiopeneuler23.09
-rw-r--r--.gitignore1
-rw-r--r--python-pyro-api.spec64
-rw-r--r--sources1
3 files changed, 66 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c64fa87 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyro-api-0.1.2.tar.gz
diff --git a/python-pyro-api.spec b/python-pyro-api.spec
new file mode 100644
index 0000000..8f29e1c
--- /dev/null
+++ b/python-pyro-api.spec
@@ -0,0 +1,64 @@
+%global _empty_manifest_terminate_build 0
+
+Name: python-pyro-api
+Version: 0.1.2
+Release: 1
+Summary: Alert Management API for wildfire prevention, detection & monitoring
+License: Apache-2.0
+URL: https://github.com/pyronear/pyro-api
+Source0: https://files.pythonhosted.org/packages/25/d7/a0812f5c16b0d4464f80a64a44626c5fe200098070be0f32436dbb662775/pyro-api-%{version}.tar.gz
+
+
+%description
+Alert Management API for wildfire prevention, detection & monitoring.
+The building blocks of our wildfire detection & monitoring API.
+
+%package -n python3-pyro-api
+Summary: Alert Management API for wildfire prevention, detection & monitoring
+Provides: python-pyro-api
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-setuptools_scm
+BuildRequires: python3-pbr
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+
+%description -n python3-pyro-api
+Alert Management API for wildfire prevention, detection & monitoring.
+The building blocks of our wildfire detection & monitoring API.
+
+%package help
+Summary: Development documents and examples for python-pyro-api
+Provides: python3-pyro-api-doc
+
+%description help
+Alert Management API for wildfire prevention, detection & monitoring.
+The building blocks of our wildfire detection & monitoring API.
+
+%prep
+%autosetup -p1 -n pyro-api-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+pushd %{buildroot}
+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}/doclist.lst .
+
+%files -n python3-pyro-api
+%doc *.md
+%{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Sun Jan 28 2024 Binshuo Zu <274620705z@gmail.com> - 0.1.2-1
+- Package init
diff --git a/sources b/sources
new file mode 100644
index 0000000..1913f61
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+da74f6ea59d90eef11f7c9b649bda485 pyro-api-0.1.2.tar.gz