summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-arm-pyart.spec107
-rw-r--r--sources1
3 files changed, 109 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..cd9f6ff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/arm_pyart-1.15.0.tar.gz
diff --git a/python-arm-pyart.spec b/python-arm-pyart.spec
new file mode 100644
index 0000000..8924cd7
--- /dev/null
+++ b/python-arm-pyart.spec
@@ -0,0 +1,107 @@
+%global _empty_manifest_terminate_build 0
+Name: python-arm-pyart
+Version: 1.15.0
+Release: 1
+Summary: Py-ART: Python ARM Radar Toolkit
+License: BSD
+URL: https://github.com/ARM-DOE/pyart
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/29/22/43ff61803ce99df2b9b58d42d82830ad13e047c39718272e302b0810f6ce/arm_pyart-1.15.0.tar.gz
+
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-netCDF4
+Requires: python3-matplotlib
+Requires: python3-pooch
+Requires: python3-cftime
+Requires: python3-fsspec
+Requires: python3-s3fs
+Requires: python3-open-radar-data
+Requires: python3-xradar
+Requires: python3-pandas
+Requires: python3-xarray
+
+%description
+a growing collection of weather radar algorithms and utilities build on top of
+the Scientific Python stack and distributed under the 3-Clause BSD license.
+Py-ART is used by the Atmospheric Radiation Measurement (ARM) Climate Research
+Facility for working with data from a number of precipitation and cloud radars,
+but has been designed so that it can be used by others in the radar and
+atmospheric communities to examine, processes, and analyse data from many types
+of weather radars.
+
+
+%package -n python3-arm-pyart
+Summary: Py-ART: Python ARM Radar Toolkit
+Provides: python-arm-pyart
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-arm-pyart
+a growing collection of weather radar algorithms and utilities build on top of
+the Scientific Python stack and distributed under the 3-Clause BSD license.
+Py-ART is used by the Atmospheric Radiation Measurement (ARM) Climate Research
+Facility for working with data from a number of precipitation and cloud radars,
+but has been designed so that it can be used by others in the radar and
+atmospheric communities to examine, processes, and analyse data from many types
+of weather radars.
+
+
+%package help
+Summary: Development documents and examples for arm-pyart
+Provides: python3-arm-pyart-doc
+%description help
+a growing collection of weather radar algorithms and utilities build on top of
+the Scientific Python stack and distributed under the 3-Clause BSD license.
+Py-ART is used by the Atmospheric Radiation Measurement (ARM) Climate Research
+Facility for working with data from a number of precipitation and cloud radars,
+but has been designed so that it can be used by others in the radar and
+atmospheric communities to examine, processes, and analyse data from many types
+of weather radars.
+
+
+%prep
+%autosetup -n arm-pyart-1.15.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-arm-pyart -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.15.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..ffb8563
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7a2ba35be652bc0006da2708cb60218c arm_pyart-1.15.0.tar.gz