summaryrefslogtreecommitdiff
path: root/python-cmemsapi.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-cmemsapi.spec')
-rw-r--r--python-cmemsapi.spec94
1 files changed, 94 insertions, 0 deletions
diff --git a/python-cmemsapi.spec b/python-cmemsapi.spec
new file mode 100644
index 0000000..c39d512
--- /dev/null
+++ b/python-cmemsapi.spec
@@ -0,0 +1,94 @@
+%global _empty_manifest_terminate_build 0
+Name: python-cmemsapi
+Version: 0.1.17
+Release: 1
+Summary: A package to help generating reliable data requests about earth observation and marine related information from Copernicus Marine Database.
+License: MIT
+URL: https://github.com/copernicusmarine/cmemsapi
+Source0: https://mirrors.aliyun.com/pypi/web/packages/70/64/8cd0e4533667060abce1dd6dd23db0f8986b183aac8d723da1e00589a0e1/cmemsapi-0.1.17.tar.gz
+BuildArch: noarch
+
+Requires: python3-dask
+Requires: python3-fire
+Requires: python3-funcy
+Requires: python3-ipython
+Requires: python3-jedi
+Requires: python3-lxml
+Requires: python3-motuclient
+Requires: python3-netCDF4
+Requires: python3-pandas
+Requires: python3-requests
+Requires: python3-scipy
+Requires: python3-toolz
+Requires: python3-xarray
+
+%description
+long description
+
+
+
+
+%package -n python3-cmemsapi
+Summary: A package to help generating reliable data requests about earth observation and marine related information from Copernicus Marine Database.
+Provides: python-cmemsapi
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-cmemsapi
+long description
+
+
+
+
+%package help
+Summary: Development documents and examples for cmemsapi
+Provides: python3-cmemsapi-doc
+%description help
+long description
+
+
+
+
+%prep
+%autosetup -n cmemsapi-0.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-cmemsapi -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.17-1
+- Package Spec generated