summaryrefslogtreecommitdiff
path: root/python-ekpmeasure.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-ekpmeasure.spec')
-rw-r--r--python-ekpmeasure.spec97
1 files changed, 97 insertions, 0 deletions
diff --git a/python-ekpmeasure.spec b/python-ekpmeasure.spec
new file mode 100644
index 0000000..4926c8c
--- /dev/null
+++ b/python-ekpmeasure.spec
@@ -0,0 +1,97 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ekpmeasure
+Version: 0.1.7
+Release: 1
+Summary: A collection of control and analysis code for experiments
+License: MIT License
+URL: https://github.com/eparsonnet93/ekpmeasure
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/50/25/d6421229d5cf2065b64f4229b1a1437f18a544761e80b16dfdb5666e5739/ekpmeasure-0.1.7.tar.gz
+BuildArch: noarch
+
+Requires: python3-pandas
+Requires: python3-numpy
+Requires: python3-matplotlib
+Requires: python3-scipy
+Requires: python3-pyvisa
+Requires: python3-IPython
+Requires: python3-igor
+
+%description
+# Installation:
+Find the latest build [here](https://pypi.org/project/ekpmeasure/).
+```bash
+pip install ekpmeasure
+```
+You can also access `.whl` or `.tar.gz` files in the `dist/` directory directly for installation.
+For installation issues, please see [Issue Tracker](https://github.com/eparsonnet93/ekpmeasure/issues)
+
+%package -n python3-ekpmeasure
+Summary: A collection of control and analysis code for experiments
+Provides: python-ekpmeasure
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-ekpmeasure
+# Installation:
+Find the latest build [here](https://pypi.org/project/ekpmeasure/).
+```bash
+pip install ekpmeasure
+```
+You can also access `.whl` or `.tar.gz` files in the `dist/` directory directly for installation.
+For installation issues, please see [Issue Tracker](https://github.com/eparsonnet93/ekpmeasure/issues)
+
+%package help
+Summary: Development documents and examples for ekpmeasure
+Provides: python3-ekpmeasure-doc
+%description help
+# Installation:
+Find the latest build [here](https://pypi.org/project/ekpmeasure/).
+```bash
+pip install ekpmeasure
+```
+You can also access `.whl` or `.tar.gz` files in the `dist/` directory directly for installation.
+For installation issues, please see [Issue Tracker](https://github.com/eparsonnet93/ekpmeasure/issues)
+
+%prep
+%autosetup -n ekpmeasure-0.1.7
+
+%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-ekpmeasure -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.7-1
+- Package Spec generated