diff options
Diffstat (limited to 'python-neo.spec')
-rw-r--r-- | python-neo.spec | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/python-neo.spec b/python-neo.spec new file mode 100644 index 0000000..0e2b11a --- /dev/null +++ b/python-neo.spec @@ -0,0 +1,121 @@ +%global _empty_manifest_terminate_build 0 +Name: python-neo +Version: 0.12.0 +Release: 1 +Summary: Neo is a package for representing electrophysiology data in Python, together with support for reading a wide range of neurophysiology file formats +License: BSD 3-Clause License +URL: https://pypi.org/project/neo/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4d/95/e79e05c9bc8ef61d89a8a6b949db03adb2046b9fca38422d570c7add543d/neo-0.12.0.tar.gz +BuildArch: noarch + +Requires: python3-packaging +Requires: python3-numpy +Requires: python3-quantities +Requires: python3-coverage +Requires: python3-coveralls +Requires: python3-h5py +Requires: python3-igor +Requires: python3-ipython +Requires: python3-klusta +Requires: python3-matplotlib +Requires: python3-nixio +Requires: python3-pillow +Requires: python3-probeinterface +Requires: python3-pyedflib +Requires: python3-pynwb +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-scipy +Requires: python3-sonpy +Requires: python3-tqdm +Requires: python3-h5py +Requires: python3-sonpy +Requires: python3-docutils +Requires: python3-pyedflib +Requires: python3-igor +Requires: python3-klusta +Requires: python3-h5py +Requires: python3-scipy +Requires: python3-nixio +Requires: python3-pynwb +Requires: python3-stfio +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-scipy +Requires: python3-pyedflib +Requires: python3-h5py +Requires: python3-igor +Requires: python3-klusta +Requires: python3-tqdm +Requires: python3-nixio +Requires: python3-matplotlib +Requires: python3-ipython +Requires: python3-coverage +Requires: python3-coveralls +Requires: python3-pillow +Requires: python3-sonpy +Requires: python3-pynwb +Requires: python3-probeinterface +Requires: python3-pillow + +%description + + +%package -n python3-neo +Summary: Neo is a package for representing electrophysiology data in Python, together with support for reading a wide range of neurophysiology file formats +Provides: python-neo +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-neo + + +%package help +Summary: Development documents and examples for neo +Provides: python3-neo-doc +%description help + + +%prep +%autosetup -n neo-0.12.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-neo -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.12.0-1 +- Package Spec generated |