summaryrefslogtreecommitdiff
path: root/python-rioxarray.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 06:56:54 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 06:56:54 +0000
commit250f579206139b547ec850c8a285f6d1d0e954a5 (patch)
treef70312735782dbf1bc4ccb34ea1b0bd8fbeba5a7 /python-rioxarray.spec
parentda652eb3bba0a3d52233fc11dad2a2956dd3c85e (diff)
automatic import of python-rioxarray
Diffstat (limited to 'python-rioxarray.spec')
-rw-r--r--python-rioxarray.spec110
1 files changed, 110 insertions, 0 deletions
diff --git a/python-rioxarray.spec b/python-rioxarray.spec
new file mode 100644
index 0000000..ceff2f8
--- /dev/null
+++ b/python-rioxarray.spec
@@ -0,0 +1,110 @@
+%global _empty_manifest_terminate_build 0
+Name: python-rioxarray
+Version: 0.14.0
+Release: 1
+Summary: geospatial xarray extension powered by rasterio
+License: Apache
+URL: https://github.com/corteva/rioxarray
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1a/c9/08b9e8602e88c57fb28120da9254a535741b94b48a44daf6ad9686a44f29/rioxarray-0.14.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-packaging
+Requires: python3-rasterio
+Requires: python3-xarray
+Requires: python3-pyproj
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-sphinx-click
+Requires: python3-nbsphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-timeout
+Requires: python3-dask
+Requires: python3-netcdf4
+Requires: python3-pylint
+Requires: python3-mypy
+Requires: python3-pre-commit
+Requires: python3-scipy
+Requires: python3-sphinx-click
+Requires: python3-nbsphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-timeout
+Requires: python3-dask
+Requires: python3-netcdf4
+Requires: python3-pylint
+Requires: python3-mypy
+Requires: python3-pre-commit
+Requires: python3-sphinx-click
+Requires: python3-nbsphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-scipy
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-timeout
+Requires: python3-dask
+Requires: python3-netcdf4
+
+%description
+
+
+%package -n python3-rioxarray
+Summary: geospatial xarray extension powered by rasterio
+Provides: python-rioxarray
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-rioxarray
+
+
+%package help
+Summary: Development documents and examples for rioxarray
+Provides: python3-rioxarray-doc
+%description help
+
+
+%prep
+%autosetup -n rioxarray-0.14.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-rioxarray -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.14.0-1
+- Package Spec generated