summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 09:03:14 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 09:03:14 +0000
commite956812af5ccc8e0d5c92bb7217bdbb821375a3f (patch)
tree39791de22efd9a590339bc041ab65ccaea2eed62
parentc846ad13b2aa6ec7ae7c7503782b716ccf27ddb5 (diff)
automatic import of python-gemlog
-rw-r--r--.gitignore1
-rw-r--r--python-gemlog.spec115
-rw-r--r--sources1
3 files changed, 117 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..3947a03 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gemlog-1.7.0.tar.gz
diff --git a/python-gemlog.spec b/python-gemlog.spec
new file mode 100644
index 0000000..ceb8af0
--- /dev/null
+++ b/python-gemlog.spec
@@ -0,0 +1,115 @@
+%global _empty_manifest_terminate_build 0
+Name: python-gemlog
+Version: 1.7.0
+Release: 1
+Summary: A set of functions for processing Gem datalogger files.
+License: GPL-3.0
+URL: https://github.com/ajakef/gemlog
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/31/70/253d60f8ecd5b1077beb195b9e518905e60336ae68c4eaf8c8ce1deb16b5/gemlog-1.7.0.tar.gz
+
+Requires: python3-setuptools
+Requires: python3-obspy
+Requires: python3-numpy
+Requires: python3-pandas
+Requires: python3-scipy
+Requires: python3-matplotlib
+Requires: python3-cython
+Requires: python3-fpdf
+Requires: python3-pytest
+Requires: python3-sphinx-rtd-theme
+Requires: python3-sphinx
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-pytest
+
+%description
+
+gemlog is a python package that provides functions for processing the
+log files from the Gem infrasound datalogger. The Gem infrasound logger
+is a low-cost, lightweight, low-power instrument for recording infrasound
+in field campaigns.
+
+Source code: https://github.com/ajakef/gemlog
+
+
+
+
+%package -n python3-gemlog
+Summary: A set of functions for processing Gem datalogger files.
+Provides: python-gemlog
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-gemlog
+
+gemlog is a python package that provides functions for processing the
+log files from the Gem infrasound datalogger. The Gem infrasound logger
+is a low-cost, lightweight, low-power instrument for recording infrasound
+in field campaigns.
+
+Source code: https://github.com/ajakef/gemlog
+
+
+
+
+%package help
+Summary: Development documents and examples for gemlog
+Provides: python3-gemlog-doc
+%description help
+
+gemlog is a python package that provides functions for processing the
+log files from the Gem infrasound datalogger. The Gem infrasound logger
+is a low-cost, lightweight, low-power instrument for recording infrasound
+in field campaigns.
+
+Source code: https://github.com/ajakef/gemlog
+
+
+
+
+%prep
+%autosetup -n gemlog-1.7.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-gemlog -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.7.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..81a7c4b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+61f149fa1a209d758aa3a932e9ae972d gemlog-1.7.0.tar.gz